Michael Hoennig wrote:
I was wondering if there is a way of getting the position of elements
(graphics objects, embedded objects, drawing elements, frames) in a Writer
document relative to the page?
All these are Shapes, but getPosition() is not implemented, most likely
because it is not known on the model level (just on the view level).
Is there another way, I don't know about? Like through accessibility API?
Michael
This is just a guess, but..... Can you position the view cursor to the
anchor and then figure out where the view cursor is? I have not tried it
and a I doubt that it will work with all types of anchors.
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw
My Macro Book: http://www.hentzenwerke.com/catalog/oome.htm
Free Info: http://www.pitonyak.org/oo.php
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]