poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yegor Kozlov <ye...@dinom.ru>
Subject Re: Position and size
Date Tue, 27 Jun 2006 08:13:49 GMT

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


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: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

View raw message