<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - FILESAVE: DOCX - Heading styles incorrectly exported"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107683">107683</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILESAVE: DOCX - Heading styles incorrectly exported
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Inherited From OOo
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>philipz85@hotmail.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>104520, 107681
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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@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></pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] DOCX (OOXML) bug tracker"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=104520">Bug 104520</a>] [META] DOCX (OOXML) bug tracker
              </li>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Writer heading style bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107681">Bug 107681</a>] [META] Writer heading style bugs and enhancements
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>