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
f653c6eb
Commit
f653c6eb
authored
Jan 11, 2017
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WriteULong -> WriteString2 (table_styles_ids)
parent
90ab9782
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
common/wordcopypaste.js
common/wordcopypaste.js
+7
-7
No files found.
common/wordcopypaste.js
View file @
f653c6eb
...
...
@@ -1424,7 +1424,7 @@ CopyProcessor.prototype =
this
.
oPresentationWriter
.
WriteBool
(
table_styles_ids
[
i
]
!==
null
);
if
(
table_styles_ids
[
i
]
!==
null
)
{
this
.
oPresentationWriter
.
Write
ULong
(
table_styles_ids
[
i
]);
this
.
oPresentationWriter
.
Write
String2
(
table_styles_ids
[
i
]);
}
}
...
...
@@ -3061,14 +3061,14 @@ PasteProcessor.prototype =
for
(
var
i
=
0
;
i
<
slide_count
;
++
i
)
{
arr_layouts_id
[
i
]
=
stream
.
GetString2
();
var
table_style_ids_len
=
stream
.
GetULong
();
var
table_style_ids
=
[];
for
(
var
j
=
0
;
j
<
table_style_ids_len
;
++
j
)
var
table_style
s
_ids_len
=
stream
.
GetULong
();
var
table_style
s
_ids
=
[];
for
(
var
j
=
0
;
j
<
table_style
s
_ids_len
;
++
j
)
{
if
(
stream
.
GetBool
())
table_style
_ids
.
push
(
stream
.
GetULong
());
table_style
s_ids
.
push
(
stream
.
GetString2
());
else
table_style_ids
.
push
(
-
1
);
table_style
s
_ids
.
push
(
-
1
);
}
arr_slides
[
i
]
=
loader
.
ReadSlide
(
0
);
var
sp_tree
=
arr_slides
[
i
].
cSld
.
spTree
;
...
...
@@ -3077,7 +3077,7 @@ PasteProcessor.prototype =
{
if
(
sp_tree
[
s
]
instanceof
CGraphicFrame
)
{
sp_tree
[
s
].
graphicObject
.
Set_TableStyle
(
table_style_ids
[
t
],
true
);
sp_tree
[
s
].
graphicObject
.
Set_TableStyle
(
table_style
s
_ids
[
t
],
true
);
++
t
;
}
}
...
...
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