Question

There is a problem for converting DOCX to PDF using Libreoffice.(in RTL documents) but converting same document saved in ODT format will works fine.

Anyone knows how to convert an existing DOCX file to ODT using Ubuntu bash?

Was it helpful?

Solution

Then you can use this command directly from command line

libreoffice --headless --convert-to odt *.docx

OTHER TIPS

You can directly save it to odt format in Libre Office.

  1. Click on save as

  2. Select ODT as format

  3. Name the file

  4. Click on ok

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top