Re: [api-dev] delete content of a section and the section itself

2006-08-24 Thread Jimmy
This does just remove the Text of the TextSection though ...it misses the bookmarks for example. cheers jimmy Fabricio Lemos schrieb: To delete the content, try: XTextSectionsSupplier textSectionsSupplier = (XTextSectionsSupplier) UnoRuntime.queryInterface(XTextSectionsSupplier.c

Re: [api-dev] delete content of a section and the section itself

2006-08-22 Thread Fabricio Lemos
To delete the content, try: XTextSectionsSupplier textSectionsSupplier = (XTextSectionsSupplier) UnoRuntime.queryInterface(XTextSectionsSupplier.class, component); XNameAccess nameAccess = textSectionsSupplier.getTextSections();

[api-dev] delete content of a section and the section itself

2006-08-21 Thread Jimmy
I'm trying to delete the whole content of a section but can't get it to work. (Java) The section includes paragraphs, which include bookmarks and Text. Well to go further, is there a chance to delete everything for example between two sections? How can I handle this since I can't iterate the u