- Code: Select all Expand viewCollapse view
document.storeToURL("file:///path/to/file.odt", ())
document.dispose()
which has worked fine to store the document in odt format. This wiki entry indicates that there are more storage options documented here.
I'd like to store this document in doc or docx format. It seems to work to just change the file extension in the URL, but considering that there are two different kinds of docx export filters, how can I be more precise here? I assume it's got to do with FilterName and perhaps FilterOptions but the documentation seems somewhat sparse.