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
ac1398dc
Commit
ac1398dc
authored
Feb 22, 2017
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not read setting and footer/header fron binary(copy/paste)
parent
e80cd0cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
word/Editor/Serialize2.js
word/Editor/Serialize2.js
+8
-2
No files found.
word/Editor/Serialize2.js
View file @
ac1398dc
...
@@ -5728,7 +5728,10 @@ function BinaryFileReader(doc, openParams)
...
@@ -5728,7 +5728,10 @@ function BinaryFileReader(doc, openParams)
if
(
c_oSerConstants
.
ReadOk
!=
res
)
if
(
c_oSerConstants
.
ReadOk
!=
res
)
return
res
;
return
res
;
//todo сделать зачитывание в oReadResult, одновременно с кодом презентаций
//todo сделать зачитывание в oReadResult, одновременно с кодом презентаций
if
(
!
this
.
openParams
.
bCopyPaste
)
{
res
=
(
new
Binary_SettingsTableReader
(
this
.
Document
,
this
.
oReadResult
,
this
.
stream
)).
Read
();
res
=
(
new
Binary_SettingsTableReader
(
this
.
Document
,
this
.
oReadResult
,
this
.
stream
)).
Read
();
}
if
(
c_oSerConstants
.
ReadOk
!=
res
)
if
(
c_oSerConstants
.
ReadOk
!=
res
)
return
res
;
return
res
;
}
}
...
@@ -5764,7 +5767,10 @@ function BinaryFileReader(doc, openParams)
...
@@ -5764,7 +5767,10 @@ function BinaryFileReader(doc, openParams)
// break;
// break;
case
c_oSerTableTypes
.
HdrFtr
:
case
c_oSerTableTypes
.
HdrFtr
:
//todo сделать зачитывание в oReadResult
//todo сделать зачитывание в oReadResult
if
(
!
this
.
openParams
.
bCopyPaste
)
{
res
=
(
new
Binary_HdrFtrTableReader
(
this
.
Document
,
this
.
oReadResult
,
this
.
openParams
,
this
.
stream
)).
Read
();
res
=
(
new
Binary_HdrFtrTableReader
(
this
.
Document
,
this
.
oReadResult
,
this
.
openParams
,
this
.
stream
)).
Read
();
}
break
;
break
;
// case c_oSerTableTypes.Numbering:
// case c_oSerTableTypes.Numbering:
// res = (new Binary_NumberingTableReader(this.Document, this.stream, oDocxNum)).Read();
// res = (new Binary_NumberingTableReader(this.Document, this.stream, oDocxNum)).Read();
...
...
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