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
9ed3af2d
Commit
9ed3af2d
authored
Nov 02, 2017
by
Sergey Konovalov
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tab leader
parent
f49dd938
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
word/Editor/Serialize2.js
word/Editor/Serialize2.js
+11
-4
No files found.
word/Editor/Serialize2.js
View file @
9ed3af2d
...
...
@@ -237,7 +237,8 @@ var c_oSerProp_pPrType = {
SectPr
:
31
,
numPr_Ins
:
32
,
pPrChange
:
33
,
outlineLvl
:
34
outlineLvl
:
34
,
Tab_Item_Leader
:
35
};
var
c_oSerProp_rPrType
=
{
Bold
:
0
,
...
...
@@ -1849,6 +1850,10 @@ function Binary_pPrWriter(memory, oNumIdMap, oBinaryHeaderFooterTableWriter, sav
this
.
memory
.
WriteByte
(
c_oSerProp_pPrType
.
Tab_Item_Pos
);
this
.
memory
.
WriteByte
(
c_oSerPropLenType
.
Double
);
this
.
memory
.
WriteDouble
(
TabItem
.
Pos
);
this
.
memory
.
WriteByte
(
c_oSerProp_pPrType
.
Tab_Item_Leader
);
this
.
memory
.
WriteByte
(
c_oSerPropLenType
.
Byte
);
this
.
memory
.
WriteByte
(
TabItem
.
Leader
);
};
this
.
WriteNumPr
=
function
(
id
,
lvl
)
{
...
...
@@ -7536,7 +7541,7 @@ function Binary_pPrReader(doc, oReadResult, stream)
this
.
ReadTabItem
=
function
(
type
,
length
,
tab
)
{
var
res
=
c_oSerConstants
.
ReadOk
;
if
(
c_oSerProp_pPrType
.
Tab_Item_Val
==
type
)
if
(
c_oSerProp_pPrType
.
Tab_Item_Val
==
=
type
)
{
switch
(
this
.
stream
.
GetUChar
())
{
...
...
@@ -7546,8 +7551,10 @@ function Binary_pPrReader(doc, oReadResult, stream)
default
:
tab
.
Value
=
tab_Left
;
}
}
else
if
(
c_oSerProp_pPrType
.
Tab_Item_Pos
==
type
)
else
if
(
c_oSerProp_pPrType
.
Tab_Item_Pos
==
=
type
)
tab
.
Pos
=
this
.
bcr
.
ReadDouble
();
else
if
(
c_oSerProp_pPrType
.
Tab_Item_Leader
===
type
)
tab
.
Leader
=
this
.
bcr
.
GetUChar
();
else
res
=
c_oSerConstants
.
ReadUnknown
;
return
res
;
...
...
Boris Kocherov
@bk
mentioned in commit
24402f75
·
Nov 14, 2017
mentioned in commit
24402f75
mentioned in commit 24402f75960afb34d5dee23bb9e6c669ec19aca2
Toggle commit list
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