Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
856d6a29
Commit
856d6a29
authored
Aug 22, 2017
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not change position special paste icon if add into header
parent
3d2c203e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
common/wordcopypaste.js
common/wordcopypaste.js
+3
-2
No files found.
common/wordcopypaste.js
View file @
856d6a29
...
...
@@ -2279,8 +2279,9 @@ PasteProcessor.prototype =
//SpecialPasteButtonById_Show вызываю здесь, если пересчет документа завершился раньше, чем мы попали сюда и сгенерировали параметры вставки
//в противном случае вызываю SpecialPasteButtonById_Show в drawingDocument->OnEndRecalculate
//TODO пересмотреть проверку на CDrawingDocContent и CShape
if
(
window
[
'
AscCommon
'
].
g_clipboardBase
.
endRecalcDocument
||
(
this
.
oDocument
.
Parent
&&
this
.
oDocument
.
Parent
instanceof
CShape
)
||
(
this
.
oDocument
instanceof
AscFormat
.
CDrawingDocContent
))
{
if
(
window
[
'
AscCommon
'
].
g_clipboardBase
.
endRecalcDocument
||
(
this
.
oDocument
.
Parent
&&
(
this
.
oDocument
.
Parent
instanceof
CShape
||
this
.
oDocument
.
Parent
instanceof
CHeaderFooter
))
||
(
this
.
oDocument
instanceof
AscFormat
.
CDrawingDocContent
))
{
window
[
'
AscCommon
'
].
g_clipboardBase
.
SpecialPasteButtonById_Show
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment