Search found 2 matches

by gareththered
Sat Feb 25, 2017 9:55 pm
Forum: Macros and UNO API
Topic: [Solved] storeToURL with Contents of Master Document
Replies: 2
Views: 7708

[SOLVED] storeToURL with Contents of Master Document

Thanks @hubert - that did the trick.

Just for the benefit of anyone who arrives here, the code that does this is:

Code: Select all

sections = model.Links.Sections
for name in sections:
    sections[name].dispose()
Both storeToURL as well as storeAsURL seems to work after running the above.
by gareththered
Fri Feb 24, 2017 5:05 pm
Forum: Macros and UNO API
Topic: [Solved] storeToURL with Contents of Master Document
Replies: 2
Views: 7708

[Solved] storeToURL with Contents of Master Document

I've a Python script which opens a Master Document and updates it, so that I can save the document in various formats. The issue I have is that while saving as a PDF or an MS Word (docx) saves fine as a standalone document, saving as a Writer (odt) still saves with links. That means that the output ...