Ask Your Question

Command line export: Select design/options for Impress HTML export [closed]

asked 2015-02-19 09:27:24 +0200

frederick.schulz gravatar image

updated 2020-08-15 23:23:31 +0200

Alex Kemp gravatar image

I have quite a large number of .ppt files to convert. The Impress HTML export does a very good job when started from GUI, even with the default design settings.

However, when I try to export from command line like this

/Applications/ --headless --convert-to html:"impress_html_Export" --outdir "./Desktop/test/" ./Desktop/test.ppt

I just get the flat HTML view.

How can I define a saved "design" to use with the Export filter or pass options to the filter?

I just need to use the default html linked pages settings.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-08-15 23:23:49.085055

1 Answer

Sort by » oldest newest most voted

answered 2015-02-20 12:07:54 +0200

frederick.schulz gravatar image

Instead of calling office directly, I now use

./ -vvv --doctype=presentation --format=html -e "PublishMode"=0 -e "IsExportContentsPage"=false -output=test/ test.ppt

-e allows me to pass all kinds of options to the filter, which unfortunately are not that well documented.

For HTML export I found a good example at this forum.

"PublishMode" is the crucial one here, defaulting to 2 (single html), but I need 0 (pages) or 1 (frames), as per sequence in the export wizard dialogue.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-02-19 09:27:24 +0200

Seen: 1,329 times

Last updated: Feb 20 '15