Created attachment 21961 [details] ppt saved from open office I have a PPT that I save as PPT 97/2000 from within open office. When I do this on 3.1 beta i receive no slides back when I try to extract. File attached. The process worked fine on 3.0.2
I can't reproduce the problem. I can open the attached file and extract text and shapes. Both PowerPointExtractor and sample Java code work fine to me. (1) org.apache.poi.hslf.extractor.PowerPointExtractor sql-tips-string-concatenation.ppt The output is attached as PowerPointExtractor.txt (2) Sample Java code: public static void main(String[] args) throws Exception { SlideShow ppt = new SlideShow(new FileInputStream(args[0])); Slide[] slide = ppt.getSlides(); for (int i = 0; i < slide.length; i++) { System.out.println("slide: " + slide[i].getSlideNumber()); TextRun[] tx = slide[i].getTextRuns(); for (int j = 0; j < tx.length; j++) { System.out.println(" " + tx[j].getText()); } } } The output is attached as HSLF-test.txt Please try the latest svn trunk. Daily builds can be downloaded from http://encore.torchbox.com/poi-svn-build/ If you still have a problem, re-open this bug and attach a sample code to reproduce it. Regards, Yegor
Created attachment 21964 [details] Output from PowerPointExtractor
Created attachment 21965 [details] Output from sample java code
Sorry about this bug report, it was something really weird happening with how I load POI in ColdFusion I think.