Hi marc,

The other way round: is it possible to compare anchors? If I get the
anchor from the toc and compare it to the start of a TexRange (or the
like), will they match if at equal position?


look at compareRegionEnds and compareRegionstarts methods on the Text object

HTH

Laurent


--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

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

Reply via email to