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
32f66324
Commit
32f66324
authored
May 30, 2017
by
SergeyLuzyanin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
writing connectors bug; add SkipRecord to each default
parent
069febbb
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
151 additions
and
10 deletions
+151
-10
common/Shapes/Serialize.js
common/Shapes/Serialize.js
+139
-3
common/Shapes/SerializeWriter.js
common/Shapes/SerializeWriter.js
+12
-7
No files found.
common/Shapes/Serialize.js
View file @
32f66324
This diff is collapsed.
Click to expand it.
common/Shapes/SerializeWriter.js
View file @
32f66324
...
@@ -2896,12 +2896,12 @@ function CBinaryFileWriter()
...
@@ -2896,12 +2896,12 @@ function CBinaryFileWriter()
}
}
else
{
else
{
oThis
.
StartRecord
(
1
);
oThis
.
StartRecord
(
1
);
}
oThis
.
WriteUChar
(
g_nodeAttributeStart
);
oThis
.
WriteUChar
(
g_nodeAttributeStart
);
oThis
.
_WriteBool2
(
0
,
shape
.
attrUseBgFill
);
oThis
.
_WriteBool2
(
0
,
shape
.
attrUseBgFill
);
oThis
.
WriteUChar
(
g_nodeAttributeEnd
);
oThis
.
WriteUChar
(
g_nodeAttributeEnd
);
}
shape
.
spPr
.
WriteXfrm
=
shape
.
spPr
.
xfrm
;
shape
.
spPr
.
WriteXfrm
=
shape
.
spPr
.
xfrm
;
...
@@ -4782,11 +4782,16 @@ function CBinaryFileWriter()
...
@@ -4782,11 +4782,16 @@ function CBinaryFileWriter()
this
.
WriteShape
=
function
(
shape
,
Document
,
oMapCommentId
,
oNumIdMap
,
copyParams
,
saveParams
)
this
.
WriteShape
=
function
(
shape
,
Document
,
oMapCommentId
,
oNumIdMap
,
copyParams
,
saveParams
)
{
{
var
_writer
=
this
.
BinaryFileWriter
;
var
_writer
=
this
.
BinaryFileWriter
;
_writer
.
StartRecord
(
1
);
if
(
shape
.
getObjectType
()
===
AscDFH
.
historyitem_type_Cnx
){
_writer
.
StartRecord
(
3
);
}
else
{
_writer
.
StartRecord
(
1
);
_writer
.
WriteUChar
(
AscCommon
.
g_nodeAttributeStart
);
_writer
.
WriteUChar
(
AscCommon
.
g_nodeAttributeStart
);
_writer
.
_WriteBool2
(
0
,
shape
.
attrUseBgFill
);
_writer
.
_WriteBool2
(
0
,
shape
.
attrUseBgFill
);
_writer
.
WriteUChar
(
AscCommon
.
g_nodeAttributeEnd
);
_writer
.
WriteUChar
(
AscCommon
.
g_nodeAttributeEnd
);
}
shape
.
spPr
.
WriteXfrm
=
shape
.
spPr
.
xfrm
;
shape
.
spPr
.
WriteXfrm
=
shape
.
spPr
.
xfrm
;
...
...
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