vladholubiev / serverless-libreoffice

Run LibreOffice in AWS Lambda to create PDFs & convert documents
https://vladholubiev.com/serverless-libreoffice
513 stars 75 forks source link

Can I use it to convert files to docx instead of PDF? #23

Open fa7al opened 4 years ago

fa7al commented 4 years ago

Hi, I don't want to convert files to pdf, but to docx. But, when I try to do that it fails, saying no filters found for docx. When I pass a filter(writer_MS_Word_2007) to the command, it still fails. The error is "Error: Please verify input parameters... (SfxBaseModel::impl_store file:///xyz/tmp/hello.docx failed: 0x81a". It is not working on lambda nor in my local. But, pdf conversion is successful. Does this mean that export filters for docx are missing? When I copied my local installation and ran the python script locally, it is working. Can you please tell me how to fix this?