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
c4c9d50a
Commit
c4c9d50a
authored
Mar 06, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 34222
parent
5d8dda02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
17 deletions
+15
-17
ASCOfficePPTXFile/PPTXFormat/Logic/GraphicFrame.cpp
ASCOfficePPTXFile/PPTXFormat/Logic/GraphicFrame.cpp
+14
-16
X2tConverter/build/Qt/X2tConverter.pri
X2tConverter/build/Qt/X2tConverter.pri
+1
-1
No files found.
ASCOfficePPTXFile/PPTXFormat/Logic/GraphicFrame.cpp
View file @
c4c9d50a
...
...
@@ -298,6 +298,15 @@ namespace PPTX
{
nvGraphicFramePr
.
toXmlWriter
(
pWriter
);
if
(
xfrm
.
IsInit
()
&&
pWriter
->
m_lDocType
!=
XMLWRITER_DOC_TYPE_DOCX
)
{
std
::
wstring
namespace_
=
m_namespace
;
if
(
pWriter
->
m_lDocType
==
XMLWRITER_DOC_TYPE_XLSX
&&
pWriter
->
m_lGroupIndex
>=
0
)
namespace_
=
L"xdr"
;
xfrm
->
m_ns
=
namespace_
;
xfrm
->
toXmlWriter
(
pWriter
);
}
if
(
table
.
is_init
())
{
pWriter
->
WriteString
(
L"<a:graphic><a:graphicData uri=
\"
http://schemas.openxmlformats.org/drawingml/2006/table
\"
>"
);
...
...
@@ -322,11 +331,6 @@ namespace PPTX
pWriter
->
EndAttributes
();
if
(
xfrm
.
IsInit
())
{
xfrm
->
m_ns
=
namespace_
;
xfrm
->
toXmlWriter
(
pWriter
);
}
toXmlWriter2
(
pWriter
);
pWriter
->
EndNode
(
namespace_
+
L":graphicFrame"
);
...
...
@@ -535,6 +539,11 @@ namespace PPTX
std
::
wstring
sXml
;
sXml
+=
nvGraphicFramePr
.
toXML
();
if
(
xfrm
.
IsInit
()
&&
m_namespace
!=
L"wp"
)
{
sXml
+=
xfrm
->
toXML
();
}
if
(
table
.
IsInit
())
{
sXml
+=
L"<a:graphic><a:graphicData uri=
\"
http://schemas.openxmlformats.org/drawingml/2006/table
\"
>"
;
...
...
@@ -555,17 +564,6 @@ namespace PPTX
sXml
+=
L"<"
+
m_namespace
+
L":graphicFrame macro=
\"\"
>"
;
if
(
xfrm
.
IsInit
())
{
xfrm
->
m_ns
=
m_namespace
;
sXml
+=
xfrm
->
toXML
();
}
else
{
sXml
+=
L"<"
+
m_namespace
+
L":xfrm><a:off x=
\"
0
\"
y=
\"
0
\"
/><a:ext cx=
\"
0
\"
cy=
\"
0
\"
/>"
;
sXml
+=
L"</"
+
m_namespace
+
L":xfrm>"
;
}
sXml
+=
toXML2
();
sXml
+=
L"</"
+
m_namespace
+
L":graphicFrame>"
;
...
...
X2tConverter/build/Qt/X2tConverter.pri
View file @
c4c9d50a
...
...
@@ -7,7 +7,7 @@
QT -= core
QT -= gui
VERSION = 2.0.3.44
5
VERSION = 2.0.3.44
6
DEFINES += INTVER=$$VERSION
TARGET = x2t
...
...
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