Export Draw document to SVG programmatically

Greetings everyone,

Has anyone attempted before to export a simple Draw document (lines, circle and simple text) to an SVG file programmatically? I’m searching through the API reference plus I’m looking through posts over here, as well as the OpenOffice forum and cannot get anywhere.

soffice --convert-to svg  /path/to/some/document.odg
1 Like

If you need more control for each page in document, used method storeToURL