Hi Shreyas,
On 09.12.08 09:46, gans92 wrote:
Oh ok.. Thanks Frank.
So is there any other way to get the coordinate information of the entire
text in the document(apart from screen coordinates)?
no. The only other way I can think of is using the XTextViewCursor
interface:
http://api.openoffice.org/docs/common/ref/com/sun/star/text/XTextViewCursor.html#getPosition
This lets you retrieve the position of a view cursor in a document, but
not the position of the objects.
Best regards,
Frank
--
Frank Meies (fme) - Co-Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]