<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 - Autofilter not recognized even when XLSX has <autoFilter> defined in openxml"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138377">138377</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Autofilter not recognized even when XLSX has <autoFilter> defined in openxml
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.6.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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>LibreOffice
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>doria.saric@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
The problem is that LibreOffice does not recognize it should set autoFilter
although it is defined in openxml format properly. 
The trick is to also define a hidden named range _xlnm._FilterDatabase on
autofilter cells so that it could recognize the autofilter -and then it works.
But such solutions highly depend on LibreOffice internals

Steps to Reproduce:
1.create xlsx that contains <autoFilter ref="A3:P103"></autoFilter> (I was
using fastexcel java library - very easy to use)
2. worksheet.setAutoFilter(0, 1, 4) sets autofilter on the first row on columns
B to E
3. try to open it in libreoffice and see how autofilter is not recognized

Actual Results:
No autofilter arrows

Expected Results:
autofilter arrows with dropdown menus


Reproducible: Always


User Profile Reset: No



Additional Info:
it should recognize the autoFilter tag in XLSX documents without the defined
hidden named range _xlnm._FilterDatabase.</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>