It will be wonderful if there is a way to export a writer outline to presentation format via export filters so that one could do something like:
soffice --headless --convert-to odp file.odt
Currently there is a way to create presentation via UI with
1. File->Send->Outline To Presentaiton or
2. File->Send->Auto-abstract to presentation
This could be "scripted" with a StarBasic script. The export process unfortunately is asynchronous and IIRC was not amenable to headless operation.
Synchronous export + headless capability would be helpful for creating OpenDocument presentations within Emacs/Orgmode. (Note: Emacs-24.1/Orgmode already has support for creating ODT files out of text files)
As workaround, try write Basic script, something like this:
rem define variables
dim document as object
dim dispatcher as object
rem get access to the document
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dispatcher.executeDispatch(document, ".uno:SendOutlineToStarImpress", _
"", 0, Array())
rem TODO: add saving generated document
And start it from command line, using something like this:
libreoffice --nocrashreport --nodefault --nologo --nofirststartwizard
This is a feature/enhancement request, therefore changed 'Importance' field to 'enhancement'.
I am confirming this enhancement request. Status set to NEW. Component changed to filters and storage (from Writer). Version changed to Inherited From OOo as this feature has never been available.
Setting version back from "Inherited From OOo" to what it was prior (for bugs marked enhancement), for QA tracking purposes. My mistake. Apologies.