[Libreoffice-bugs] [Bug 100072] FILEOPEN DOCX Horizontal lines misplaced

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 18 07:28:44 UTC 2017


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

--- Comment #5 from Patrick Jaap <patj at mail.de> ---
Hello,
I made a few investigations on the bug.

The horizontal lines are given in the docx file (header.xml) by
[…]
<a:off x="0" y="0"/>
<a:ext cx="5760085" cy="0"/>
[…]
<a:gd name="T0" fmla="*/ 0 w 8504"/>
<a:gd name="T1" fmla="*/ 8504 w 8504"/>
[…]
<a:path w="8504">
<a:moveTo><a:pt x="0" y="0"/>
</a:moveTo>
<a:lnTo>
<a:pt x="8504" y="0"/>
[…]

The lines are anchored at the header and have a width of 5760085 Emu. I don’t
understand the “formula” completely, but I think there is an internal
measurement in 8504 units and the line speads from 0 to 8504, thus the complete
width. 

What LO does: it shows the green boundig rectangles completely in the right
posiltion (!) but the rendered lines are misplaced.
Furthermore, placing the lines elsewhere or change their width leads always to
a line of 8504 twip in width. 

So, the bounding rectangle is shown correctly, thus the importing is done
right. But the rendering does not use the “formula” correctly. The rendered
line is always 8504 twip long.

I hope the information is helpful.
Regards,
Patrick

-- 
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/20170418/f7910634/attachment.html>


More information about the Libreoffice-bugs mailing list