Generate libreoffice text document programmatically from template

Viewed 3795

I'm trying to find a way to generate an .odt document from an .ott template programmatically. This should be done programmatically. Any ideas on how to achieve this?

I found some ways of generating .odt files in Java (http://incubator.apache.org/odftoolkit/odfdom/index.html) but there seems no possibility to generate a document from an .ott template.

The implementing language is more or less irrelevant but the best would be JavaScript on Node.js.

Thanks for your help in advance.

2 Answers
Related