[Libreoffice-bugs] [Bug 138529] Drawing opens correctly in LibO 6.4 but not in 7.x

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 27 23:29:46 UTC 2020


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

--- Comment #4 from Regina Henschel <rb.henschel at t-online.de> ---
The document is faulty. It has an element <office:graphics> where it should be
<office:drawing>.

The different placed triangle is the element <draw:polygon> in the first
<draw:g> element in content.xml. Problematic values are svg:width="-1.999cm"
and svg:height="-1.599cm" and svg:viewBox="0 0 -2000 -1600". Width and height
may not be negative in SVG.

I cannot create such shape, tested older OOo and LO 3.5. Meta data tell, that
the document was created with a Linux version of LO 3.4 in 2011-11-29. It might
be, that Novell Go-oo had used these negative values.

I suspect that the negative values were used to describe a 180 degree rotation.
But I don't know:
the center of rotation,
order of this rotation in regard to other transformations,
whether this was used for all kind of shapes,
how skew was written by that version.
So I see no obvious way how to repair such documents and keep the skew fixes. 

Open and save the file in LO 6.4. It repairs the document and then it will be
OK in LO 7.1 too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201127/a3815a61/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list