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

--- Comment #5 from Regina Henschel <rb.hensc...@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.

Reply via email to