https://bugs.freedesktop.org/show_bug.cgi?id=61028
Priority: medium
Bug ID: 61028
Assignee: [email protected]
Summary: Problems with OOXML custGeom and arcTo command
Severity: normal
Classification: Unclassified
OS: Windows (All)
Reporter: [email protected]
Hardware: x86 (IA32)
Status: UNCONFIRMED
Version: 4.0.0.0.alpha0+ Master
Component: Drawing
Product: LibreOffice
Created attachment 75011
--> https://bugs.freedesktop.org/attachment.cgi?id=75011&action=edit
Contains a custGeom with artTo command
Open attached document. It contains the following OOXML custGeom:
<p:spPr>
<a:xfrm>
<a:off x="1080000" y="720000" />
<a:ext cx="2160000" cy="2160000" />
</a:xfrm>
<a:custGeom>
<a:pathLst>
<a:path w="6" h="6">
<a:moveTo>
<a:pt x="3" y="3" />
</a:moveTo>
<a:arcTo hR="3" wR="3" stAng="1800000" swAng="2700000" />
<a:close />
</a:path>
</a:pathLst>
</a:custGeom>
<a:ln>
<a:solidFill>
<a:srgbClr val="FF0000" />
</a:solidFill>
</a:ln>
</p:spPr>
LO shows the correct shape, a circle segment.
Now use "save as" and save it to .pptx format. Open the resulting file in
PowerPoint or in LO. Notice, you get a square.
Open attached document again. Now use "save as" and save it to .odp format.
Open the resulting file in PowerPoint2013 or in LO. Notice, the shape still
exists, but the path is lost.
LO produces in .odp the element
<draw:enhanced-geometry
draw:mirror-horizontal="false"
draw:mirror-vertical="false"
svg:viewBox="0 0 0 0"
draw:type="ooxml-non-primitive"
draw:enhanced-path="M 3 3 Z N"
drawooo:enhanced-path="M 3 3 G 3 3 ?f0 ?f1 Z N">
It contains an attribute with an own namespace, but LO cannot read correctly,
what it has written.
I wonder, why a way with own namespace was used. I have expected an enhanced
path with T command.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs