Ask Your Question

what is the correct syntax to use for convert-to filter options?

asked 2015-07-03 16:48:59 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am trying to use --convert-to option to convert OOXML files to PDF and HTML but I couldn't find any information how to use specific filter options. Specifically, I want to use ExportNotes and ExportNotesPages for impress_pdf_Export filter and Publishmode for 'XHTML Impress File' filter. I tried the following and none of them make any difference:

libreoffice --headless --convert-to pdf:"impress_pdf_Export:ExportNotesPages" myfile.pptx

libreoffice --headless --convert-to pdf:"impress_pdf_Export:ExportNotesPages=1" myfile.pptx

libreoffice --headless --convert-to pdf:"impress_pdf_Export:ExportNotesPages=true" myfile.pptx

libreoffice --headless --convert-to pdf:"impress_pdf_Export:ExportNotesPages 1" myfile.pptx

libreoffice --headless --convert-to html:"XHTML Impress File:Publishmode" myfile.pptx

libreoffice --headless --convert-to html:"XHTML Impress File:Publishmode=1" myfile.pptx

libreoffice --headless --convert-to html:"XHTML Impress File:Publishmode 1" myfile.pptx

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-10-26 22:34:28 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Well, this is a very old question but I think what you're looking for is.

libreoffice --headless --convert-to pdf:"impress_pdf_Export:ExportNotesPages=True" myfile.pptx

That's the same as one of your examples above but with a capital "T" on True.

But be warned, the behaviour may not be very useful. When I run this I get a PDF with:

  • All the slides one page at a time.

  • Followed by a repeat of the presentation in a fairly useless format - if there are notes then you get the notes but not the slide on a page, if there are NO notes then you get the slide.

This is with LibreOffice on OS X. (Actually the command in this case is soffice not libreoffice)

If anyone knows the flags for a more useful export it would be great to post them here the filters in Libreoffice are not documented anywhere.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-07-03 16:48:59 +0200

Seen: 1,398 times

Last updated: Oct 26 '17