Command line export: Select design/options for Impress HTML export

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/LibreOffice.app/Contents/MacOS/soffice --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.

Instead of calling office directly, I now use unoconv.py.

./unoconv.py -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.