incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fabian <>
Subject [EXT] clear all content from a document
Date Fri, 16 Mar 2012 13:52:50 GMT

I like to clear all content from a document's model, all text and all kind of XComponents
which can be included. 

Do I have to manually remove the text content and iterate over all kind of XComponents to
achieve this or is there a way to "reset" the document's model?

In particular my goal is to clear "unwanted" pages during  a mailMerge from which I don't
know what kind of content the user has included.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message