I have a writer document.  In this document I am moving TextSection objects
using the API.

section1
  section1.1
  section1.2
section2
  section2.1
section3
section4

If I move section3 before section2 - and I view the section structure using
Format->Sections the new structure is displayed correctly.

When I query the structure using the API :

getTextSections().getByName(sectionName).ChildSections

I still get the old structure of the document.

I have tried calling the refresh() + reformat() of the XTextDocument but
unfortunately that doesnt have any effect.

If I save the document, close it, and reopen it, the API reflects the structure
correctly...

What am i doing wrong ? Is there something other than refresh() + reformat()
that I need to call ?

thanks

ashok_

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

Reply via email to