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

--- Comment #4 from Serge Krot (CIB) <[email protected]> ---
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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to