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
ccb47b0b
Commit
ccb47b0b
authored
Feb 23, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
8aefacd4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
23 deletions
+33
-23
ASCOfficePPTXFile/PPTXFormat/Logic/RunProperties.h
ASCOfficePPTXFile/PPTXFormat/Logic/RunProperties.h
+23
-18
ASCOfficePPTXFile/PPTXFormat/Logic/TextListStyle.h
ASCOfficePPTXFile/PPTXFormat/Logic/TextListStyle.h
+5
-4
ASCOfficePPTXFile/PPTXFormat/Logic/TextParagraphPr.h
ASCOfficePPTXFile/PPTXFormat/Logic/TextParagraphPr.h
+5
-1
No files found.
ASCOfficePPTXFile/PPTXFormat/Logic/RunProperties.h
View file @
ccb47b0b
...
...
@@ -98,14 +98,19 @@ namespace PPTX
{
public:
WritingElement_AdditionConstructors
(
RunProperties
)
PPTX_LOGIC_BASE2
(
RunProperties
)
RunProperties
()
{
m_name
=
L"a:rPr"
;
}
virtual
OOX
::
EElementType
getType
()
const
{
return
OOX
::
et_a_rPr
;
}
virtual
void
fromXML
(
XmlUtils
::
CXmlLiteReader
&
oReader
)
{
m_name
=
oReader
.
GetName
();
ReadAttributes
(
oReader
);
if
(
oReader
.
IsEmptyNode
()
)
...
...
@@ -114,34 +119,34 @@ namespace PPTX
int
nParentDepth
=
oReader
.
GetDepth
();
while
(
oReader
.
ReadNextSiblingNode
(
nParentDepth
)
)
{
std
::
wstring
sName
=
oReader
.
GetName
(
);
std
::
wstring
sName
=
XmlUtils
::
GetNameNoNS
(
oReader
.
GetName
()
);
if
(
L"
a:
blipFill"
==
sName
||
L"
a:
gradFill"
==
sName
||
L"
a:
grpFill"
==
sName
||
L"
a:noFill"
==
sName
||
L"
a:
pattFill"
==
sName
||
L"
a:
solidFill"
==
sName
)
if
(
L"blipFill"
==
sName
||
L"gradFill"
==
sName
||
L"grpFill"
==
sName
||
L"
noFill"
==
sName
||
L"pattFill"
==
sName
||
L"solidFill"
==
sName
)
{
Fill
.
fromXML
(
oReader
);
}
else
if
(
_T
(
"
a:
ln"
)
==
sName
)
else
if
(
_T
(
"ln"
)
==
sName
)
ln
=
oReader
;
else
if
(
_T
(
"
a:
cs"
)
==
sName
)
else
if
(
_T
(
"cs"
)
==
sName
)
cs
=
oReader
;
else
if
(
_T
(
"
a:
ea"
)
==
sName
)
else
if
(
_T
(
"ea"
)
==
sName
)
ea
=
oReader
;
else
if
(
_T
(
"
a:
latin"
)
==
sName
)
else
if
(
_T
(
"latin"
)
==
sName
)
latin
=
oReader
;
else
if
(
_T
(
"
a:
sym"
)
==
sName
)
else
if
(
_T
(
"sym"
)
==
sName
)
sym
=
oReader
;
else
if
(
_T
(
"
a:
hlinkClick"
)
==
sName
)
else
if
(
_T
(
"hlinkClick"
)
==
sName
)
hlinkClick
=
oReader
;
else
if
(
_T
(
"
a:
rtl"
)
==
sName
)
else
if
(
_T
(
"rtl"
)
==
sName
)
rtl
=
oReader
;
else
if
(
L"
a:
effectDag"
==
sName
||
L"
a:
effectLst"
==
sName
||
L"
a:
extLst"
==
sName
)
else
if
(
L"effectDag"
==
sName
||
L"effectLst"
==
sName
||
L"extLst"
==
sName
)
{
EffectList
.
fromXML
(
oReader
);
}
...
...
ASCOfficePPTXFile/PPTXFormat/Logic/TextListStyle.h
View file @
ccb47b0b
...
...
@@ -45,7 +45,11 @@ namespace PPTX
{
public:
WritingElement_AdditionConstructors
(
TextListStyle
)
PPTX_LOGIC_BASE2
(
TextListStyle
)
TextListStyle
()
{
m_name
=
L"a:lstStyle"
;
}
virtual
void
fromXML
(
XmlUtils
::
CXmlNode
&
node
)
{
...
...
@@ -104,9 +108,6 @@ namespace PPTX
}
virtual
std
::
wstring
toXML
()
const
{
if
(
m_name
.
empty
())
m_name
=
L"a:lstStyle"
;
XmlUtils
::
CNodeValue
oValue
;
oValue
.
WriteNullable
(
/*defPPr*/
levels
[
9
]);
oValue
.
WriteNullable
(
/*lvl1pPr*/
levels
[
0
]);
...
...
ASCOfficePPTXFile/PPTXFormat/Logic/TextParagraphPr.h
View file @
ccb47b0b
...
...
@@ -53,8 +53,11 @@ namespace PPTX
{
public:
WritingElement_AdditionConstructors
(
TextParagraphPr
)
PPTX_LOGIC_BASE2
(
TextParagraphPr
)
TextParagraphPr
()
{
m_name
=
L"a:pPr"
;
}
TextParagraphPr
&
operator
=
(
const
TextParagraphPr
&
oSrc
)
{
parentFile
=
oSrc
.
parentFile
;
...
...
@@ -92,6 +95,7 @@ namespace PPTX
virtual
void
fromXML
(
XmlUtils
::
CXmlLiteReader
&
oReader
)
{
m_name
=
oReader
.
GetName
();
ReadAttributes
(
oReader
);
if
(
oReader
.
IsEmptyNode
()
)
...
...
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