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
de75a8b8
Commit
de75a8b8
authored
Oct 07, 2016
by
konovalovsergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-4 special value for FramePr x/y
parent
5bf7342d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
word/Editor/Serialize2.js
word/Editor/Serialize2.js
+16
-6
No files found.
word/Editor/Serialize2.js
View file @
de75a8b8
...
...
@@ -6960,13 +6960,23 @@ function Binary_pPrReader(doc, oReadResult, stream)
}
oFramePr
.
Wrap
=
nEditorWrap
;
}
else
if
(
c_oSer_FramePrType
.
X
==
type
)
oFramePr
.
X
=
g_dKoef_twips_to_mm
*
this
.
stream
.
GetULongLE
();
else
if
(
c_oSer_FramePrType
.
XAlign
==
type
)
else
if
(
c_oSer_FramePrType
.
X
==
type
)
{
var
xTw
=
this
.
stream
.
GetULongLE
();
if
(
-
4
===
xTw
)
{
oFramePr
.
XAlign
=
c_oAscXAlign
.
Center
;
}
else
{
oFramePr
.
X
=
g_dKoef_twips_to_mm
*
xTw
;
}
}
else
if
(
c_oSer_FramePrType
.
XAlign
==
type
)
oFramePr
.
XAlign
=
this
.
stream
.
GetUChar
();
else
if
(
c_oSer_FramePrType
.
Y
==
type
)
oFramePr
.
Y
=
g_dKoef_twips_to_mm
*
this
.
stream
.
GetULongLE
();
else
if
(
c_oSer_FramePrType
.
YAlign
==
type
)
else
if
(
c_oSer_FramePrType
.
Y
==
type
)
{
var
yTw
=
this
.
stream
.
GetULongLE
();
if
(
-
4
===
yTw
)
{
oFramePr
.
YAlign
=
c_oAscYAlign
.
Top
;
}
else
{
oFramePr
.
Y
=
g_dKoef_twips_to_mm
*
yTw
;
}
}
else
if
(
c_oSer_FramePrType
.
YAlign
==
type
)
oFramePr
.
YAlign
=
this
.
stream
.
GetUChar
();
else
res
=
c_oSerConstants
.
ReadUnknown
;
...
...
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