https://bugs.documentfoundation.org/show_bug.cgi?id=84254

Andras Timar <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |

--- Comment #14 from Andras Timar <[email protected]> ---
I started to work on this on the Cambridge Hackfest. Here are my findings:

1. 4.4 export: the problem is that the shape is put into a PolyPolygon, which
contains only one Polygon. The WritePolyPolygon function in DrawingML export
code uses the first point of each Polygon as a MoveTo command. In our case we
have distinct shapes. We cannot model this shape as single Polygon where only
the first point is mapped to MoveTo. 

2. 5.0 export: it uses the GetLineGeometry() function, which uses the custom
shape engine to convert the shape into a B2DPolyPolygon. In this case we loose
size information, all polygons are fit to the bounding box, thus we get the
green rectangle.

I think we should get rid of PolyPolygon representation of shape, we loose
information. Rather, we should export the shape directly from the XShape
object. This approach seems to be working well, but I still have issues. For
example what to write to w and h attributes to a:path element, when the shape
does not have SubViewSize property.

-- 
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

Reply via email to