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
0708c1f4
Commit
0708c1f4
authored
Jun 22, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ee577e62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
ASCOfficeDocFile/DocDocxConverter/VMLShapeMapping.cpp
ASCOfficeDocFile/DocDocxConverter/VMLShapeMapping.cpp
+17
-3
No files found.
ASCOfficeDocFile/DocDocxConverter/VMLShapeMapping.cpp
View file @
0708c1f4
...
...
@@ -247,9 +247,8 @@ namespace DocFileFormat
{
freeform
=
false
;
m_pXmlWriter
->
WriteAttribute
(
L"type"
,
(
std
::
wstring
(
L"#"
)
+
VMLShapeTypeMapping
::
GenerateTypeId
(
pShape
->
GetShapeType
())));
m_pXmlWriter
->
WriteAttribute
(
L"style"
,
FormatUtils
::
XmlEncode
(
buildStyle
(
pShape
,
pAnchor
,
options
,
pContainer
->
Index
)));
}
m_pXmlWriter
->
WriteAttribute
(
L"style"
,
FormatUtils
::
XmlEncode
(
buildStyle
(
pShape
,
pAnchor
,
options
,
pContainer
->
Index
)));
if
(
pShape
->
is
<
LineType
>
())
{
...
...
@@ -446,7 +445,7 @@ namespace DocFileFormat
{
yCoord
=
iter
->
op
;
}
break
;
//
OUT
LINE
// LINE
case
lineColor
:
{
RGBColor
lineColor
((
int
)
iter
->
op
,
RedFirst
);
...
...
@@ -493,6 +492,21 @@ namespace DocFileFormat
{
appendValueAttribute
(
&
m_stroke
,
L"startarrowwidth"
,
getArrowWidth
(
iter
->
op
));
}
break
;
case
cxstyle
:
{
if
(
pShape
->
GetShapeType
()
==
NULL
)
{
freeform
=
false
;
m_pXmlWriter
->
WriteAttribute
(
L"type"
,
L"#_x0000_t32"
);
}
switch
(
iter
->
op
)
{
case
0
:
m_pXmlWriter
->
WriteAttribute
(
L"o:connectortype"
,
L"straight"
);
break
;
case
1
:
m_pXmlWriter
->
WriteAttribute
(
L"o:connectortype"
,
L"elbow"
);
break
;
case
2
:
m_pXmlWriter
->
WriteAttribute
(
L"o:connectortype"
,
L"curved"
);
break
;
case
3
:
m_pXmlWriter
->
WriteAttribute
(
L"o:connectortype"
,
L"none"
);
break
;
}
}
break
;
// FILL
case
fillColor
:
{
...
...
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