LibreOffice documents batch conversion
#commandline #pdf #filter #libreoffice #headless #convert_to #filetype
`Convert-to` command line parameter
https://ask.libreoffice.org/t/convert-to-command-line-parameter/840
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.
This is the general format of convert-to (noting that on windows the parameter is -convert-to not --convert-to):
soffice --headless --convert-to <TargetFileExtension>:<NameOfFilter> file_to_convert.xxx
Use the link above (http://cgit.freedesktop.org/libreoffice/core/tree/filter/source/config/fragments/filters) to look for the filter names in the .xcu files.