Hello

I have problem in finding relation between placement of a text section
and a text range .
Things are easy when section and range are placed in main document,
and get complicated when at least one of them is "nested" inside text table.
In this case they belong to differend XText object and
XTextRangeCompare can not be used (exception  would be thrown).
The only reasonable way to do this seems to be to compare of an anchor
of the nested XText with position of the section/range placed in main
document.

Problem is that I don't know which one is nested (posibly both of them
are nested).
My question is: how can I determin relation between two XText objects
which are part of one document.

Finding out that XText is nested and determination of its parent would
be very helpful.

I wouldn't like to "steal" text view cursor from user to figure it
out, and would love to find solution based on "model level" analize.


Best regards
Zbyszek

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to