3

"How to convert libreoffice ODT to PDF in bash" has a nice description of how to convert .odt to .pdf.

It does, however, not work if you want to check 'Export automatically inserted blank pages'.

How can I export ODT to PDF with the blank pages automatically inserted?

Ole Tange
  • 33,591
  • 31
  • 102
  • 198

1 Answers1

1

if you only have access via terminal as I do, you have to add the following line in libreoffice's config file under the user folder that will be used to convert the odt files. In my case /home/www-data/.config/libreoffice/4/user/registrymodifications.xcu:

<item
  oor:path="/org.openoffice.Office.Common/Filter/PDF/Export"><prop
  oor:name="IsSkipEmptyPages"
  oor:op="fuse"><value>false</value></prop></item>
Glorfindel
  • 805
  • 2
  • 10
  • 19