To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82420





------- Additional comments from [EMAIL PROTECTED] Sat Oct 27 14:52:26 +0000 
2007 -------
>ThisComponent.getTextSections() returs *all*(!) sections that are located in 
>the
>document! Even all child sections. So how should be there any order?

If you have a nested section hierarchy like this in your document :
root1
        sec1.1
                sec1.1.1
        sec1.2
root2
        sec2.1
                sec2.1.1
        sec2.2  

it seems logical to me that the order would be the collapsed tree :

root1
sec1.1
sec1.1.1
sec1.2
root2
sec2.1
sec2.1.1
sec2.2  

>Also Section.getChildSections() returns *all*(!) child sections, not only the
>direct childs!

Hmm....this is'nt so, at least in OOo2.3.0 ... I always get only the immediate 
children (not grand 
children, or great-grand-children....)

I was trying to build something like the navigator view for my application, for 
which getTextSections
().getByName() with getChildSections() is unusable because the order is the 
order of section creation....

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to