You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by fabian <fm...@netempire.de> on 2012/03/16 14:52:50 UTC
[EXT] clear all content from a document
Hi,
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.
Thanks!
Fabian