<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:fralau@settlenext.com" title="fralau@settlenext.com">fralau@settlenext.com</a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Docx export: In non-English versions, styles.xml does not contain reference to international styles"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=115856">bug 115856</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEEDINFO
           </td>
           <td>REOPENED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Docx export: In non-English versions, styles.xml does not contain reference to international styles"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=115856#c16">Comment # 16</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Docx export: In non-English versions, styles.xml does not contain reference to international styles"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=115856">bug 115856</a>
              from <span class="vcard"><a class="email" href="mailto:fralau@settlenext.com" title="fralau@settlenext.com">fralau@settlenext.com</a>
</span></b>
        <pre>I have made another check to this issue by comparing the styles.xml for the
same document generated by MS Word and LibreOffice and I may have found what is
wrong! The problem is not with document.xml.

The predefined styles are defined, in this extract from the styles.xml
generated by MS Word, with lower case:

  <w:latentStyles w:defLockedState="0" w:defUIPriority="99" w:defSemiHidden="0"
w:defUnhideWhenUsed="0" w:defQFormat="0" w:count="375">
    <w:lsdException w:name="Normal" w:uiPriority="0" w:qFormat="1"/>
    <w:lsdException w:name="heading 1" w:uiPriority="9" w:qFormat="1"/>
    <w:lsdException w:name="heading 2" w:semiHidden="1" w:uiPriority="9"
w:unhideWhenUsed="1" w:qFormat="1"/>
...

Whereas LibreOffice used capitals:
  <w:style w:type="paragraph" w:styleId="Titre1">
    <w:name w:val="Heading 1"/>
    <w:basedOn w:val="Titre"/>
    <w:next w:val="Corpsdetexte"/>
    <w:qFormat/>
  ...

Is that the cause of the issue? Just to verify this hypothesis, I manually
changed 'Heading 1' and 'Heading 2' into 'heading 1' and 'heading 2' in
styles.xml, regenerated the docx file (by zipping, etc.), and then ran that
document through pandoc. And it worked, pandoc recognized the standard
headings!

Conclusion: in order to make the styles.xml file really standard, the w:val
attribute of the w:name tag should use lowercase, e.g.:

<w:name w:val="heading 1"/>

It seems that would fix the issue.</pre>
        </div>
      </p>


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

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