Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try it similar to this after the path and call of soffice.exe

--infilter="Text (encoded):IBM_437,CRLF,," -o "C:\Users\pppregin\Desktop\EncodedText.txt"

The encodings are listed in http://opengrok.libreoffice.org/xref/core/sw/source/filter/basflt/fltini.cxx#GetCharSetNameMap

The line ends are LF for Linux, CR for MacOS and CRLF for Windows. The parameters missing in my example are for the font name and the language. I have not tried their syntax.