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
2dc5c291
Commit
2dc5c291
authored
Mar 03, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
..
parent
5f9631a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
ASCOfficePPTXFile/PPTXFormat/Logic/TxBody.h
ASCOfficePPTXFile/PPTXFormat/Logic/TxBody.h
+9
-7
No files found.
ASCOfficePPTXFile/PPTXFormat/Logic/TxBody.h
View file @
2dc5c291
...
...
@@ -129,6 +129,9 @@ namespace PPTX
}
virtual
std
::
wstring
toXML
()
const
{
if
(
!
bodyPr
.
IsInit
())
bodyPr
=
new
Logic
::
BodyPr
();
XmlUtils
::
CNodeValue
oValue
;
oValue
.
WriteNullable
(
bodyPr
);
...
...
@@ -140,6 +143,9 @@ namespace PPTX
virtual
void
toXmlWriter
(
NSBinPptxRW
::
CXmlWriter
*
pWriter
)
const
{
if
(
!
bodyPr
.
IsInit
())
bodyPr
=
new
Logic
::
BodyPr
();
pWriter
->
StartNode
(
m_name
);
pWriter
->
EndAttributes
();
...
...
@@ -161,10 +167,9 @@ namespace PPTX
void
toXmlWriterExcel
(
NSBinPptxRW
::
CXmlWriter
*
pWriter
)
const
{
/*
pWriter->StartNode(_T("c:rich"));
pWriter->EndAttributes();
*/
if
(
!
bodyPr
.
IsInit
())
bodyPr
=
new
Logic
::
BodyPr
();
if
(
bodyPr
.
IsInit
())
{
bodyPr
->
m_namespace
=
_T
(
"a"
);
...
...
@@ -252,9 +257,6 @@ namespace PPTX
}
pReader
->
Seek
(
_end_rec
);
if
(
!
bodyPr
.
IsInit
())
bodyPr
=
new
Logic
::
BodyPr
();
}
nullable
<
BodyPr
>
bodyPr
;
...
...
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