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
6fe412aa
Commit
6fe412aa
authored
8 years ago
by
Sergey Luzyanin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 33631
parent
19209cad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
20 deletions
+29
-20
slide/api.js
slide/api.js
+29
-20
No files found.
slide/api.js
View file @
6fe412aa
...
...
@@ -6346,32 +6346,41 @@ background-repeat: no-repeat;\
break
;
}
var
_len
=
Loader
.
Reader
.
GetLong
();
_pos
+=
4
;
stream
.
size
=
_pos
+
_l
en
;
var
nChangeLen
=
stream
.
GetLong
();
_pos
+=
4
;
stream
.
size
=
_pos
+
nChangeL
en
;
var
_id
=
Loader
.
Reader
.
GetString2
();
var
_read_pos
=
Loader
.
Reader
.
GetCurPos
(
);
var
ClassId
=
stream
.
GetString2
();
var
Class
=
AscCommon
.
g_oTableId
.
Get_ById
(
ClassId
);
var
Type
=
Loader
.
Reader
.
GetLong
();
var
Class
=
null
;
var
nReaderPos
=
stream
.
GetCurPos
();
var
nChangeType
=
stream
.
GetLong
()
;
if
(
AscDFH
.
historyitem_type_HdrFtr
===
Type
)
{
Class
=
editor
.
WordControl
.
m_oLogicDocument
.
HdrFtr
;
}
else
Class
=
g_oTableId
.
Get_ById
(
_id
);
if
(
Class
)
{
var
fChangesClass
=
AscDFH
.
changesFactory
[
nChangeType
];
if
(
fChangesClass
)
{
var
oChange
=
new
fChangesClass
(
Class
);
oChange
.
ReadFromBinary
(
stream
);
stream
.
Seek
(
_read_pos
);
stream
.
Seek2
(
_read_pos
);
if
(
true
===
AscCommon
.
CollaborativeEditing
.
private_AddOverallChange
(
oChange
))
oChange
.
Load
(
_color
);
}
else
{
AscCommon
.
CollaborativeEditing
.
private_AddOverallChange
(
data
);
stream
.
Seek
(
nReaderPos
);
stream
.
Seek2
(
nReaderPos
);
if
(
null
!=
Class
)
Class
.
Load_Changes
(
Loader
.
Reader
,
Loader
.
Reader2
,
_color
);
Class
.
Load_Changes
(
stream
,
null
,
_color
);
}
}
_pos
+=
_l
en
;
stream
.
Seek2
(
_pos
);
stream
.
size
=
data
.
length
;
_pos
+=
nChangeL
en
;
stream
.
Seek2
(
_pos
);
stream
.
size
=
data
.
length
;
}
if
(
isFull
)
...
...
This diff is collapsed.
Click to expand it.
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