Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
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
onlyoffice_core
Commits
2df69274
Commit
2df69274
authored
Jul 26, 2016
by
konovalovsergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save lvl suff param
parent
b7e9e3e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
ASCOfficeDocxFile2/BinReader/ReaderClasses.h
ASCOfficeDocxFile2/BinReader/ReaderClasses.h
+16
-4
No files found.
ASCOfficeDocxFile2/BinReader/ReaderClasses.h
View file @
2df69274
...
...
@@ -1233,17 +1233,29 @@ public:
oWriter
.
WriteString
(
sFormatXml
);
}
}
if
(
bRestart
&&
0
==
Restart
)
{
CString
sRestart
;
sRestart
.
Format
(
_T
(
"<w:lvlRestart w:val=
\"
%d
\"
/>"
),
Restart
);
oWriter
.
WriteString
(
sRestart
);
}
if
(
bPStyle
)
{
CString
sStyleName
=
XmlUtils
::
EncodeXmlString
(
PStyle
);
CString
sFormatXml
;
sFormatXml
.
Format
(
_T
(
"<w:pStyle w:val=
\"
%ls
\"
/>"
),
sStyleName
);
oWriter
.
WriteString
(
sFormatXml
);
}
if
(
bRestart
&&
0
==
Restart
)
if
(
bSuff
)
{
CString
sRestart
;
sRestart
.
Format
(
_T
(
"<w:lvlRestart w:val=
\"
%d
\"
/>"
),
Restart
);
oWriter
.
WriteString
(
sRestart
);
CString
sSuff
;
switch
(
Suff
)
{
case
numbering_suff_Nothing
:
sSuff
=
_T
(
"nothing"
);
break
;
case
numbering_suff_Space
:
sSuff
=
_T
(
"space"
);
break
;
default:
sSuff
=
_T
(
"tab"
);
break
;
}
oWriter
.
WriteString
(
CString
(
_T
(
"<w:suff w:val=
\"
"
)));
oWriter
.
WriteString
(
sSuff
);
oWriter
.
WriteString
(
CString
(
_T
(
"
\"
/>"
)));
}
if
(
bText
)
{
...
...
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