openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schmidt <joe...@j-m-schmidt.de>
Subject Is the view-cursor in the table of contents?
Date Tue, 28 Jul 2015 06:56:32 GMT
Hello,

in a text document is my view-cursor:

v_cur = ThisComponent.CurrentController.ViewCursor


How can I reliably(!) test whether this view-cursor currently located in the table of contents?


note:
Ok, I can, for example, check:

Msgbox v_cur.Textsection.LinkDisplayName

but I think this is not reliable because ".LinkDisplayName" is just a name that can be changed.



Greetings,
Jörg



---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org


Mime
View raw message