Hi Shreyas,
On 09.12.08 07:10, gans92 wrote:
One more question..
I found this method getLocation() and getLocationOnScreen()
Do these give the coordinates of the objects on the screen alone or in the
entire document? The doubt i have is what about objects that are not in the
current screen space and have to be scrolled down to be seen? Will we get
the relative positions of these objects as well?
I just had a quick look at the code. It looks like these methods return
the position of the objects but only the objects in the currently
visible area. getLocation() returns the bounding rectangle in twips and
whereas getLocationOnScreen() returns a pixel bounding rectangle.
Hope this helps,
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]