Hi Marc,

Marc Santhoff escribió:
[...]

Boris is trying to access a bookmark inserted inside a TextTable's
cell (if I understood well)

' create a cursor at the bookmark
csr = oDoc.Text.createTextCursor()
csr.gotoRange(oBookmark.getAnchor(), FALSE)

this won't work, because you are creating a text cursor for the document
body and trying to send it to *another* text object (the bookmark is
inside a cell, so text objects are different).

For this same reason is impossible the following

ThisComponent.getText().createTextCursorByRange(oBookmark.getAnchor())

because the bookmark's text range belong to another text object (not the
document text body == ThisComponent.getText() ) but the text object of
the cell.

Regards
Ariel.




--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.ArielConstenlaHaile.com.ar/ooo/



"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.



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

Reply via email to