Hi

I have noticed that if a HSLFShape has a text of "strikethrough", its
shapename is "PictureFrame", and I cannot extract any textual contents from
this shape.

Could you advise me how to extract from this shape?

I am using apache POI 3.13 release. 
Here is my code and I enclose a sample PPT file.


 try {
       HSLFSlideShow ppt = new HSLFSlideShow(new
HSLFSlideShowImpl("test.ppt"));
       // get slides
       for (HSLFSlide slide : ppt.getSlides()) {
        for (HSLFShape sh : slide.getShapes()) {
            // name of the shape
            String name = sh.getShapeName();
            System.out.println ("shapename:" + name);
           }
       }
} catch ( Exception e) {
   System.out.println ("Exception:" + e);
}

test.ppt <http://apache-poi.1045710.n5.nabble.com/file/n5720335/test.ppt>  



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Shape-containing-strikethrough-is-converted-into-an-image-in-HSLF-ppt-tp5720335.html
Sent from the POI - User mailing list archive at Nabble.com.

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

Reply via email to