Search results
Sep 10, 2011 · 119. You can also use the command-line of libreoffice for your purpose. That gives you the advantage of batch conversion. But single files are also possible. This example converts all ODT files in the current directory to PDF: libreoffice --convert-to pdf *.odt. Tested on LibreOffice 7.5.5.2 50 (Build:2), Ubuntu 23.04.
I need to export odt writer file that contains forms to pdf via command line, but without exporting the odt as pdf form (the same thing as you do in libreoffice when you choose export as PDF and don't select forms). I know I can do conversion via unoconv or libreoffice command line, but both export odt to pdf with forms, as far as I have tried.
2. You can also run libreoffice from the command line for your purpose. This gives you the advantage of batch conversion, but single files are also possible. This example converts all ODT files in the current directory to PDF: libreoffice --headless --convert-to pdf *.odt. Get more information on command line options with: man libreoffice. Share.
Oct 30, 2019 · GWL-letter.odt opened in Office Writer and exported as pdf. No problems and the pdf file is good : $ unoconv -f pdf /home/bill/GWL-letter.odt ~~ unoconv: RuntimeException during import phase: Office probably died.
Jul 4, 2015 · Open the ODT file, you can then go to File > Save As (or 'Save as copy'), you can save to those formats and others: You can also use 'Export to' and 'Export to PDF' to export to PDF and other formats. For more information, you can use Help > 'libreoffice help' (or just press F1) - or use the online help (e.g. Save As, Export, Export PDF)
Jul 16, 2020 · I am using the following libreoffice command to convert my pdf files into word (doc) lowriter --headless --infilter='writer_pdf_import' --convert-to doc:"MS Word 2007 XML" sample.pdf. After converting the output document is having each line bordered with a rectangular box. But if I use the same command with MS Word 97 it is working perfectly.
Jun 11, 2018 · This will generate a folder with the same texfile name, so you'll be able to convert the generated HTML to ODT: libreoffice --headless --convert-to odt:"OpenDocument Text Flat XML" texfile/index.html. This will produce a index.odt file. Take a look at this answer to check how to use LibreOffice's convert filters. Edit from comment discussion:
Jun 29, 2015 · The PDF utilities from the poppler-utils packages include many tools to deal with PDF files, one of them is pdftotext. pdftotext can be used to convert PDF files to ODT. I want the same result using GUI application not command line.
Dec 29, 2022 · How to reproduce: Create a new calc file. Write foo into cell A1. Save the calc file as /tmp/calc.ods. Create a new writer file. Embed /tmp/calc.ods as linked object into the writer file: Insert > OLE Object > OLE Object > Create from file > Check Link to file. Save the writer file as /tmp/result.odt. Replace foo in the calc file with bar using ...
Jan 20, 2018 · libreoffice comes with an option to convert an odt file to plain text, which then can be edited with your preferred command-line text editor and (if wanted) converted back to odt. Convert document.odt: libreoffice --convert-to txt document.odt. Edit the file with your preferred text editor, e.g.: gedit document.txt. nano document.txt.