[Libreoffice-bugs] [Bug 118001] New: FORMATTING: DOCX from MACINTOSH, default paragraph style has wrongly a level 1

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 4 23:08:05 UTC 2018


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

            Bug ID: 118001
           Summary: FORMATTING: DOCX from MACINTOSH, default paragraph
                    style has wrongly a level 1
           Product: LibreOffice
           Version: 5.1.6.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mm.tsuchi at gmail.com

Created attachment 142528
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142528&action=edit
Styles.xml_extracted_from_Macintosh_Microsoft_.docx_file

OVERVIEW :
A .docx written in Microsoft Word in a Macintosh causes the default paragraph
style to get a level "heading 1" instead of "Text body".
As a consequence, the table of content is populated by all default paragraphs
and the navigator (F5) shows nearly all document content.

STEPS TO REPRODUCE:
1 - On a Macintosh, with a Microsoft Office, save a .docx which some titles,
text bodies...

2 - Open with LibreOffice : tested versions : 
    5.1.6.2 on Ubuntu
    5.0.x on Windows XP
    5.4.7.x on Windows 7

ACTUAL RESULTS:
Open Navigator tab (F5), you will see too many entries
Go to "styles and Formats", Edit "Default paragraph style", in [FR]"Plan et
numérotation", for "level", you will see "Level 1" something like that.

SOLUTIONS by hand : 
1) modify "Default paragraph style" level to "text body"
2) Reload Default LibreOffice styles


Please see styles.xml attachment, fault might be here :
in <w:style w:type="paragraph" w:default="1" w:styleId="Normal"> section, there
is 
    <w:outlineLvl w:val="0"/>
Hope it helps.

Best regards.

-- 
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/20180604/29476b18/attachment-0001.html>


More information about the Libreoffice-bugs mailing list