[Libreoffice-bugs] [Bug 142875] FILEOPEN DOCX Shapes vertically aligned to line imported incorrectly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jul 31 14:25:03 UTC 2021


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

--- Comment #5 from Regina Henschel <rb.henschel at t-online.de> ---
Created attachment 173997
  --> https://bugs.documentfoundation.org/attachment.cgi?id=173997&action=edit
to Line by Word

I see a large confusion in the import/export code in regard to vertical
alignment.

Our text:RelOrientation::Char corresponds to ooxml docx alignment "to Line".

Our text:RelOrientation::TEXT_LINE does not exists in ooxml docx, but belongs
to the binary doc-Format.

Open attachment "to Line by Word" in Word and save it as doc. You will notice
how Word changes the alignment to that one available in doc-Format. If you then
open the doc file and save it as docx in compatibility mode and reopen that,
you get an alignment, which differs from the original docx document.

Our code needs to not only distinguish between docx and doc, but between ooxml
docx, and compatibility mode docx to produce similar rendering. "Bottom
relative to Line" is different between ooxml docx, and compatibility docx, for
example.

-- 
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/20210731/111e4342/attachment.htm>


More information about the Libreoffice-bugs mailing list