[Libreoffice-bugs] [Bug 107683] New: FILESAVE: DOCX - Heading styles incorrectly exported

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun May 7 14:21:40 UTC 2017


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

            Bug ID: 107683
           Summary: FILESAVE: DOCX - Heading styles incorrectly exported
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: philipz85 at hotmail.com
            Blocks: 104520, 107681

Steps:
1) Open attached doc
2) Export to docx
3) Open docx in MS Word
4) Select the 'Outline Level 1 Paragraph Style' line or any of the ones below
it
5) Notice that the bullets button is toggled in the paragraph group of the Home
tab

Version: 5.4.0.0.alpha0+
Build ID: 74ccd02eda2d6325a27266fd935aba29b3d75020
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64 at 70-TDF, Branch:master, Time:
2017-04-27_23:51:14
Locale: en-US (en_US.UTF-8); Calc: group

LO is incorrectly exporting headings outline level info into <w:numPr> tags,
when it is already defined in the <w:outlineLvl> tag, like so

<w:style w:type="paragraph" w:styleId="Heading4">
  <...>
  <w:pPr>
    <w:numPr>
      <w:ilvl w:val="3" />
      <w:numId w:val="1" />
    </w:numPr>
    <...>
    <w:outlineLvl w:val="3" />
  </w:pPr>
  <...>
</w:style>

This is how MS word exports it

<w:style w:type="paragraph" w:styleId="Heading4">
  <...>
  <w:pPr>
    <...>
    <w:outlineLvl w:val="3" />
  </w:pPr>
  <...>
</w:style>


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104520
[Bug 104520] [META] DOCX (OOXML) bug tracker
https://bugs.documentfoundation.org/show_bug.cgi?id=107681
[Bug 107681] [META] Writer heading style bugs and enhancements
-- 
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/20170507/9d240bba/attachment-0001.html>


More information about the Libreoffice-bugs mailing list