All notes
Libreoffic

Quick Start

libreOffice: docx to pdf.


soffice.exe -convert-to pdf -outdir C:\temp C:\temp\a.docx -headless

libreoffice paramters table.

--norestore	Disables restart and file recovery after a system crash.

In JODConverter:

ps aux | grep soffice
157:tomcat     2190  0.0  0.7 1046560 32148 ?       Sl   03:04   0:02 /opt/libreoffice4.4/program/soffice.bin -accept=socket,host=127.0.0.1,port=2005;urp; -env:UserInstallation=file:///var/cache/tomcat6/temp/.jodconverter_socket_host-127.0.0.1_port-2005 -headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck -nologo -norestore
158:tomcat     2218  0.0  0.0 802668     0 ?        Sl   03:04   0:00 /opt/libreoffice4.4/program/soffice.bin -accept=socket,host=127.0.0.1,port=2006;urp; -env:UserInstallation=file:///var/cache/tomcat6/temp/.jodconverter_socket_host-127.0.0.1_port-2006 -headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck -nologo -norestore
159:tomcat     2221  0.0  0.0      0     0 ?        Z    03:04   0:00 [soffice.bin] <defunct>
160:tomcat     2246  0.0  0.0 802660     0 ?        Sl   03:04   0:00 /opt/libreoffice4.4/program/soffice.bin -accept=socket,host=127.0.0.1,port=2007;urp; -env:UserInstallation=file:///var/cache/tomcat6/temp/.jodconverter_socket_host-127.0.0.1_port-2007 -headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck -nologo -norestore
161:tomcat     2249  0.0  0.0      0     0 ?        Z    03:04   0:00 [soffice.bin] <defunct>
162:tomcat     2272  0.0  0.0 728796     0 ?        Sl   03:04   0:00 /opt/libreoffice5.1/program/soffice.bin -accept=socket,host=127.0.0.1,port=12005;urp; -env:UserInstallation=file:///var/cache/tomcat6/temp/.jodconverter_socket_host-127.0.0.1_port-12005 -headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck -nologo -norestore
163:tomcat     2275  0.0  0.0      0     0 ?        Z    03:04   0:00 [soffice.bin] <defunct>
164:tomcat     2295  0.0  0.0 802660     0 ?        Sl   03:04   0:00 /opt/libreoffice5.1/program/soffice.bin -accept=socket,host=127.0.0.1,port=12006;urp; -env:UserInstallation=file:///var/cache/tomcat6/temp/.jodconverter_socket_host-127.0.0.1_port-12006 -headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck -nologo -norestore
165:tomcat     2298  0.0  0.0      0     0 ?        Z    03:04   0:00 [soffice.bin] <defunct>
166:tomcat     2319  0.0  0.0 802528     0 ?        Sl   03:04   0:00 /opt/libreoffice5.1/program/soffice.bin -accept=socket,host=127.0.0.1,port=12007;urp; -env:UserInstallation=file:///var/cache/tomcat6/temp/.jodconverter_socket_host-127.0.0.1_port-12007 -headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck -nologo -norestore
167:tomcat     2322  0.0  0.0      0     0 ?        Z    03:04   0:00 [soffice.bin] <defunct>

Command line

Full command line for libreoffice: help.libreoffice.org.


# Replace {install} with the path to your installation of the LibreOffice software (for example, C:\Program Files\Office, or ~/office)
{install}/program/soffice -h
# --version

Full command line for openoffice: wiki.openoffice.org.


soffice -help