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
d9979d12
Commit
d9979d12
authored
Sep 18, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 3135585.doc
parent
81f8b67d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
30 deletions
+34
-30
ASCOfficeDocFile/DocDocxConverter/VMLShapeMapping.cpp
ASCOfficeDocFile/DocDocxConverter/VMLShapeMapping.cpp
+3
-3
ASCOfficePPTXFile/ASCOfficeDrawingConverter.cpp
ASCOfficePPTXFile/ASCOfficeDrawingConverter.cpp
+1
-1
ASCOfficePPTXFile/Editor/Drawing/Shapes/BaseShape/PPTShape/PPTShape.h
...XFile/Editor/Drawing/Shapes/BaseShape/PPTShape/PPTShape.h
+30
-26
No files found.
ASCOfficeDocFile/DocDocxConverter/VMLShapeMapping.cpp
View file @
d9979d12
...
...
@@ -232,7 +232,7 @@ namespace DocFileFormat
if
(
pShape
->
GetShapeType
())
{
freeform
=
false
;
freeform
=
false
;
m_pXmlWriter
->
WriteAttribute
(
_T
(
"type"
),
(
std
::
wstring
(
_T
(
"#"
))
+
VMLShapeTypeMapping
::
GenerateTypeId
(
pShape
->
GetShapeType
())).
c_str
());
}
...
...
@@ -678,7 +678,7 @@ namespace DocFileFormat
break
;
}
}
break
;
// Word Art
)
// Word Art
case
gtextUNICODE
:
{
std
::
wstring
text
=
NSStringExt
::
CConverter
::
GetUnicodeFromUTF16
((
unsigned
short
*
)
iter
->
opComplex
,
(
iter
->
op
)
/
2
);
...
...
@@ -1008,7 +1008,7 @@ namespace DocFileFormat
WriteEndShapeNode
(
pShape
);
//ShapeType
if
(
NULL
!=
pShape
->
GetShapeType
()
&&
!
m_isInlineShape
)
//bullete only???
if
(
NULL
!=
pShape
->
GetShapeType
()
/* && !m_isInlineShape*/
)
//bullete only???
{
VMLShapeTypeMapping
oXmlMapper
(
m_pXmlWriter
);
pShape
->
GetShapeType
()
->
Convert
(
&
oXmlMapper
);
...
...
ASCOfficePPTXFile/ASCOfficeDrawingConverter.cpp
View file @
d9979d12
...
...
@@ -3630,7 +3630,7 @@ void CDrawingConverter::CheckBrushShape(PPTX::Logic::SpTreeElem& oElem, XmlUtils
Gs_
.
pos
=
100
*
1000
;
pGradFill
->
GsLst
.
push_back
(
Gs_
);
}
if
(
pGradFill
->
GsLst
.
size
()
<
2
)
//Sindicatum.docx
if
(
pGradFill
->
GsLst
.
size
()
==
1
)
//Sindicatum.docx
{
PPTX
::
Logic
::
Gs
Gs_
;
Gs_
.
pos
=
0
;
...
...
ASCOfficePPTXFile/Editor/Drawing/Shapes/BaseShape/PPTShape/PPTShape.h
View file @
d9979d12
...
...
@@ -223,37 +223,41 @@ public:
m_eType
=
(
PPTShapes
::
ShapeType
)
id
;
}
}
//else
CString
strAdj
=
oNodeShapeType
.
GetAttribute
(
_T
(
"adj"
));
if
(
strAdj
!=
_T
(
""
))
LoadAdjustValuesList
(
strAdj
);
XmlUtils
::
CXmlNode
oNodeGuides
;
if
(
oNodeShapeType
.
GetNode
(
_T
(
"v:formulas"
),
oNodeGuides
))
{
CString
strAdj
=
oNodeShapeType
.
GetAttribute
(
_T
(
"adj"
));
if
(
strAdj
!=
_T
(
""
))
LoadAdjustValuesList
(
strAdj
);
LoadGuidesList
(
oNodeGuides
.
GetXml
());
}
XmlUtils
::
CXmlNode
oNodeGuides
;
if
(
oNodeShapeType
.
GetNode
(
_T
(
"v:formulas"
),
oNodeGuides
))
{
LoadGuidesList
(
oNodeGuides
.
GetXml
());
}
XmlUtils
::
CXmlNode
oNodePath
;
if
(
oNodeShapeType
.
GetNode
(
_T
(
"v:path"
),
oNodePath
))
{
CString
strTextR
=
oNodePath
.
GetAttribute
(
_T
(
"textboxrect"
));
if
(
strTextR
!=
_T
(
""
))
LoadTextRect
(
strTextR
);
}
XmlUtils
::
CXmlNode
oNodePath
;
if
(
oNodeShapeType
.
GetNode
(
_T
(
"v:path"
),
oNodePath
))
{
CString
strTextR
=
oNodePath
.
GetAttribute
(
_T
(
"textboxrect"
));
if
(
strTextR
!=
_T
(
""
))
LoadTextRect
(
strTextR
);
}
XmlUtils
::
CXmlNode
oNodeAHs
;
if
(
oNodeShapeType
.
GetNode
(
_T
(
"v:handles"
),
oNodeAHs
))
{
LoadAHList
(
oNodeAHs
);
}
XmlUtils
::
CXmlNode
oNodeAHs
;
if
(
oNodeShapeType
.
GetNode
(
_T
(
"v:handles"
),
oNodeAHs
))
{
LoadAHList
(
oNodeAHs
);
}
CString
strPath
=
oNodeShapeType
.
GetAttribute
(
_T
(
"path"
))
;
if
(
strPath
!=
_T
(
""
))
{
LoadPathList
(
strPath
);
}
CString
strPath
=
oNodeShapeType
.
GetAttribute
(
_T
(
"path"
))
;
if
(
strPath
!=
_T
(
""
))
{
LoadPathList
(
strPath
);
}
XmlUtils
::
CXmlNode
oNodeTextPath
;
if
(
oNodeShapeType
.
GetNode
(
_T
(
"v:textpath"
),
oNodeTextPath
))
{
if
(
m_eType
<
PPTShapes
::
ShapeType
::
sptCTextPlain
||
m_eType
>
PPTShapes
::
ShapeType
::
sptCTextCanDown
)
m_eType
=
PPTShapes
::
ShapeType
::
sptCTextPlain
;
}
CString
strFilled
=
oNodeShapeType
.
GetAttribute
(
_T
(
"filled"
));
...
...
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