<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Reading XLSX format ignores horizontal alignment (generated wit Apache POI Java library)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123139#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Reading XLSX format ignores horizontal alignment (generated wit Apache POI Java library)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123139">bug 123139</a>
              from <span class="vcard"><a class="email" href="mailto:dev@sheetjs.com" title="SheetJS <dev@sheetjs.com>"> <span class="fn">SheetJS</span></a>
</span></b>
        <pre>Running into this issue with spreadsheets generated by SheetJS Pro.

In the <xf> records, Excel assumes that applyAlignment is true if an
<alignment> child is present.  You are expected to specify applyAlignment="0"
if alignment does not apply.

LibreOffice (including the latest version 6.4.1.2) assumes that applyAlignment
is false even if an <alignment> child is present.  The default behavior is
incorrect.

To verify this is the root cause, you can take the original sample file and add
the applyAlignment="1" attribute to the <cellXfs> <xf> tag:

```xml
    <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"
applyAlignment="1">
      <alignment horizontal="left"/>
    </xf>
```</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>