[Libreoffice-bugs] [Bug 135069] FILEOPEN DOCX TOC style indent settings not imported correctly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 24 09:41:45 UTC 2020


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

--- Comment #3 from Justin L <jluth at mail.com> ---
I think that the problem is that w:styleId="Tartalomfejezetcm" tries to set
indent before text to be larger than the page width (LO UI limits it to 15.5cm)
and so I'm guessing that LO spills the excess amount into a negative indent
after text. (15.5+4.83 = 20.33)
          <w:ind w:left="11520" w:hanging="10953"/>

MS Word 2003 reports that Tartalomfejezetcm has a left indent of 1cm, and a
hanging of 19.32 (=20.32). If I apply the Tartalomfejezetcm style to the line
instead of TOC 1 (TJ1), then Word goes really bizarre. (Word 2016 does the same
thing - the text is tried to be placed one character per line at position 20.32
I guess - which is offscreen.)

For some reason, Word explicitly states TOC 1 has indent of 0, first of 0. Is
it doing something special to prevent inheritance for the TOC styles? W:ind
certainly is not defined by the style itself. And yet with the UI I can
re-inherit from Tartalomfejezetcm and then Word goes berserk as well.

So it seems there are some illegal things in this document (Word's UI does not
allow such a large left indent 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/20200724/89213291/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list