[Libreoffice-bugs] [Bug 114948] FILEOPEN: Wrong position of drawing in DOCX import for rl-tb writing mode
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Apr 6 13:53:58 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=114948
Regina Henschel <rb.henschel at t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|FILEOPEN: Wrong position of |FILEOPEN: Wrong position of
|drawing in DOCX import |drawing in DOCX import for
| |rl-tb writing mode
CC| |rb.henschel at t-online.de
--- Comment #7 from Regina Henschel <rb.henschel at t-online.de> ---
The relevant attribute in ODF is "style:horizontal-pos" with its values
'center', 'left', 'right', and 'from-left' and 'inside', 'outside',
'from-inside' for mirrored page-layout. The value 'from-left' means always
'from-left'; there exists no rule, that it would mean 'from-right' in a rl-tb
writing mode.
The docx-file has the attribute posOffset="748030". That value is in EMU, so
converted gives 20,78mm. So Word too, uses the offset as "from-left".
LibreOffice is wrong to interpret it as "from-right" in rl-tb writing mode. I
have added rl-tb to the summary to reflect the dependence to the writing-mode.
--
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/20190406/306c8d86/attachment.html>
More information about the Libreoffice-bugs
mailing list