Re: [dev] how to get image position in writer

2009-04-24 Thread Andrew Douglas Pitonyak
First, it is late and I am tired, so I may not be thinking clearly Pedro wrote: XTextViewCursor vc = xViewCursorSupplier.getViewCursor(); for (short i = 0; i 150; i++) { vc.goRight(i, false); Point p = (Point) vc.getPosition();

Re: [dev] how to get image position in writer

2009-03-31 Thread Pedro
Peter Eberlein escribió: 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.

Re: [dev] how to get image position in writer

2009-03-31 Thread Pedro
Pedro escribió: Peter Eberlein escribió: 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