https://issues.apache.org/bugzilla/show_bug.cgi?id=44998
--- Comment #1 from Yegor Kozlov <[EMAIL PROTECTED]> 2008-05-14 23:10:27 PST
---
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
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]