Hi Pedro,
Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems schrieb:

BTW, XShape::getPosition() at a shape in Writer shall return the position of this shape relative to its anchor. It is not the absolute position of the shape on the text document's page.

Yes, to get the absolute position you have to jump with the XTextViewCursor to the anchor and "merge" both positions. Please keep in mind, that you must not use the lockControllers() method. Otherwise you will get wrong values of the viewCursors position,

Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to