convert-to PDF command line with annotations

asked 2015-06-16 12:56:53 +0100

vadim-ka gravatar image

Hello, I need to convert writer document to PDF with keeping document comments on linux server without GUI using command line.

I use following command line: soffice --headless --invisible --nocrashreport --nodefault --nologo --nofirststartwizard --norestore --convert-to pdf --outdir {OUT_DIR} {FILE}

From Libre Office help:

To export comments of Writer documents as they are shown in LibreOffice, choose Tools - Options - LibreOffice Writer - Print and select the In margins option in the Comments area. The exported pages will be scaled down and the comments will be placed into their margins.

How can I configure that option without access to GUI?

Regards, Vadim

edit retag flag offensive close merge delete