There is a Shape.getAnchor() which returns anchor of the shape.

see the example:

        SlideShow ppt = new SlideShow(new HSLFSlideShow(filename));

        Slide sl = ppt.getSlides()[0];
        Shape[] sh = sl.getShapes();
        for (int i = 0; i < sh.length; i++) {
            //anchor of the shape
            java.awt.Rectangle anchor = sh[i].getAnchor();

       }

Some documentation is available at
       
http://jakarta.apache.org/poi/hslf/how-to-shapes.html

Yegor

SP> How to do to capture the position and size of the boxes of text of an
SP> archive .ppt?

SP> Thanks!

SP> Saulo Passos
SP> (Developer)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to