OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

section within section

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
Jeroen
Guest





PostPosted: Thu Jun 24, 2004 2:14 am    Post subject: section within section Reply with quote

Does anyone know how see if a section is included in another section? I can't seem to find anything in the properties of a section that reflects this. I prefer a solution in Java code...
Back to top
pitonyak
Administrator
Administrator


Joined: 09 Mar 2004
Posts: 3655
Location: Columbus, Ohio, USA

PostPosted: Thu Jun 24, 2004 6:40 am    Post subject: Reply with quote

Have you looked at http://api.openoffice.org/docs/common/ref/com/sun/star/text/XTextSection.html, which documents the methods getParentSection() and getChildSections()? I have not tried these, but I think that it is what you want.
_________________
--
Andrew Pitonyak
http://www.pitonyak.org/oo.php
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Jeroen
Guest





PostPosted: Thu Jun 24, 2004 7:02 am    Post subject: Reply with quote

Ai, I haven't looked at that all Confused Thank you!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group