Hello, I’m trying to convert a Microsoft Word document to text using the convert-to command-line parameter using LibreOffice 3.4.5, OOO340m1 (Build:1505), on OpenSuse 12.1. I tried these two commands.
soffice --convert-to txt filename.doc
Nothing happened.
soffice --headless --convert-to txt filename.doc
Produced a PDF file.
Why do I need --headless
? If this is mandatory, the documentation should state this. Can LibreOffice convert Word Perfect documents?
The format for “convert-to” parameter is:
--convert-to output_file_extension[:output_filter_name] [--outdir output_dir]
What are the valid output_file_extension
values? What are the valid output_filter_name
values?
For the documentation, the soffice --help
showed the --convert-to
parameter. The help->LibreOffice Help does not show this parameter.
Thank you