[Libreoffice-bugs] [Bug 126795] A document with indented bulleted paragraphs saved to DOCX in Writer 6.2.1 looks wrong, but is fine when saved to DOCX from Writer 6.2.0

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 16 07:33:41 UTC 2019


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

--- Comment #4 from Serge Krot (CIB) <serge.krot at cib.de> ---
Quick analysis of regression:
- DocumentSettingId::TABS_RELATIVE_TO_INDENT: In DOCX, w:pos specifies the
position of the current custom tab stop with respect to the current page
margins. But in ODT, zero position could be page margins or paragraph indent
according to used settings.
- In our initial commit (tdf#124106) we perform correction using offset for all
tabs according to TABS_RELATIVE_TO_INDENT flag. The same code was developed
before in the past but somehow was disabled (I didn't find out why it was done
- needs some more analysis there at least for extraction of the test cases).
- Moreover the same check (which was added in tdf#124106) for
TABS_RELATIVE_TO_INDENT exists in RTF output.
- The difference between original test case and new one:
-- in original test case (tdf#124106) we had wrong tab position aligned at the
right border of the page for different paragraphs with different left
indentation,
-- in new test case (tdf#126795) we have new tab stop between first line indent
and left indent - and this make text to be layouted starting from this tab stop
instead of left indent. Without check TABS_RELATIVE_TO_INDENT this tab stop is
placed before first line indent and therefore it is not used during layout
making text to be placed starting from left indent.

-- 
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/20190816/b4771459/attachment.html>


More information about the Libreoffice-bugs mailing list