unoconv / unoserver

MIT License
496 stars 69 forks source link

Can't convert pdf to word #14

Closed Feniksss closed 1 year ago

Feniksss commented 2 years ago

receive the error could not find an export from com.sun.star.drawing.DrawingDocument to writer_MS_Word_2007

I tested with any pdf documents. The libreoffice command works perfect.

Feniksss commented 2 years ago

Example of PDF attached test.pdf

regebro commented 2 years ago

When I do this with LibreOffice I get the same error as with unoconv:

$ soffice --convert-to docx reportFileTypes.pdf 

Error: no export filter for /home/lregebro/Shoobx/unoserver/reportFileTypes.docx found, aborting.
Error: no export filter
sandhya-sago commented 1 year ago

Try this soffice --infilter="writer_pdf_import" --convert-to docx test.pdf