<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Error: no export filter for docx found, aborting."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=104666">bug 104666</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;">Resolution</td>
           <td>---
           </td>
           <td>NOTABUG
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Error: no export filter for docx found, aborting."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=104666#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Error: no export filter for docx found, aborting."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=104666">bug 104666</a>
              from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
        <pre>This is not a bug. Using --convert-to includes normal opening a document
detecting the appropriate module; and then exporting from that module's data to
a chosen format, *if such export filter exists for that module*.

As you possibly know, using LibreOffice GUI to handle PDFs opens them in Draw.
You need to choose Writer's import filter explicitly to open PDF in Writer. And
only from Writer you can export to a text document format like DOCX.

That is also true for CLI. The command line from <a href="show_bug.cgi?id=104666#c0">comment 0</a> opens the PDF in
Draw component, and then fails to find a suitable export filter.

You need to define import filter explicitly, like here:

<span class="quote">> soffice --infilter="writer_pdf_import" --convert-to docx file.pdf</span >

Closing NOTABUG.</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>