$ cd /tmp $ wget https://www.irs.gov/pub/irs-pdf/fw4.pdf $ /Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to docx fw4.pdf Error: no export filter for /private/tmp/fw4.docx found, aborting. Error: no export filter
Confirming with Version: 5.4.0.0.alpha0+ Build ID: b52167df08511239c3d08904a3d12a3c92141f38 CPU Threads: 4; OS Version: Mac OS X 10.12.1; UI Render: default; TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2016-12-09_23:41:33 Locale: nl-NL (nl_NL.UTF-8); Calc: group
Confirm this error still occurs, 3/31/2017 Mac OSX Sierra 10.12.3 tmp $ ls /tmp/original_file-120170331-44748-17w4eyz.xls /tmp/original_file-120170331-44748-17w4eyz.xls tmp $ soffice --invisible --headless --convert-to xslx --outdir /tmp /tmp/original_file-120170331-44748-17w4eyz.xls Error: no export filter for /private/tmp/original_file-120170331-44748-17w4eyz.xslx found, aborting. Error: no export filter tmp $ soffice --version LibreOffice 5.2.5.1 0312e1a284a7d50ca85a365c316c7abbf20a4d22
Ah sorry! Ignore my comment. It was a the wrong format, but it gives this error message. It works correctly when I have correct format. tmp $ soffice --invisible --headless --convert-to xlsx --outdir /tmp /tmp/original_file-120170331-44748-17w4eyz.xls convert /tmp/original_file-120170331-44748-17w4eyz.xls -> /private/tmp/original_file-120170331-44748-17w4eyz.xlsx using filter : Calc MS Excel 2007 XML
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Mike, are we have opportunity to convert from PDF to docx?
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 comment 0 opens the PDF in Draw component, and then fails to find a suitable export filter. You need to define import filter explicitly, like here: > soffice --infilter="writer_pdf_import" --convert-to docx file.pdf Closing NOTABUG.