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

            Bug ID: 95846
           Summary: UI: Ruler does not honor TabsRelativeToIndent document
                    setting
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 120568
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120568&action=edit
ODT with a table with TabsRelativeToIndent set to false

If a document has TabsRelativeToIndent set to false, horizontal ruler shows tab
positions incorrectly. One cannot set tabs with mouse, because the tab position
on page is shifted by current indent.

To reproduce, open the attached file (that is simply new Writer document with
one two-cell table, and its settings.xml modified to change
TabsRelativeToIndent to false), put cursor to cell B1, and see that the tab on
the ruler there is shifted. Try to put new tab stops using ruler and use
"ctrl+tab" to insert tabs to see their actual placement.

This is actual problem, because DOCX importer sets TabsRelativeToIndent to
false (see writerfilter/source/dmapper/DomainMapper.cxx,
DomainMapper::DomainMapper()). It is so since
https://bz.apache.org/ooo/show_bug.cgi?id=24363. So, any use of DOCX for
document exchange results in such problem:

1. Create an empty Writer document
2. Add a table
3. Put caret in second column
4. Set a tab stop using ruler, insert tab (see that everything is OK)
5. Save as DOCX and reopen.

This will make the described behaviour.

Inherited from OOo, tested with OOo 3.3.0, AOO 4.1.2, LO 5.0.3.2 x64.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to