| View previous topic :: View next topic |
| Author |
Message |
whizzy General User

Joined: 14 May 2005 Posts: 42
|
Posted: Mon Jul 11, 2005 6:23 am Post subject: accessing data in section |
|
|
Hi
I have a writer document with a section called "security".
The section is at the top of the first page & is hidden.
The section contains the text "Main password list".
Via a macro how can I extract the text from within this section.
Regards
MARK |
|
| Back to top |
|
 |
Danad OOo Advocate

Joined: 22 Feb 2004 Posts: 293 Location: Brasil
|
Posted: Tue Jul 12, 2005 4:29 pm Post subject: |
|
|
| Code: |
msgBox thisComponent.getTextSections().getByName("name").getAnchor().getString()
|
HTH |
|
| Back to top |
|
 |
|