Hi,

i want to extract the contents from PowerPoint files.
I use the hslf classes!

But i get the Exception:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 8
        at org.apache.poi.util.HexDump.toHex(HexDump.java:406)
        at org.apache.poi.util.HexDump.toHex(HexDump.java:397)
        at
org.apache.poi.hpsf.UnsupportedVariantTypeException.<init>(UnsupportedVariantTypeException.java:49)
        at
org.apache.poi.hpsf.ReadingNotSupportedException.<init>(ReadingNotSupportedException.java:45)
        at org.apache.poi.hpsf.VariantSupport.read(VariantSupport.java:267)
        at org.apache.poi.hpsf.Property.<init>(Property.java:146)
        at org.apache.poi.hpsf.Section.<init>(Section.java:281)
        at org.apache.poi.hpsf.PropertySet.init(PropertySet.java:452)
        at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:249)
        at
org.apache.poi.hpsf.PropertySetFactory.create(PropertySetFactory.java:59)
        at 
org.apache.poi.hslf.HSLFSlideShow.getPropertySet(HSLFSlideShow.java:214)
        at 
org.apache.poi.hslf.HSLFSlideShow.readProperties(HSLFSlideShow.java:182)
        at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:105)
        at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:85)
        at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:72)
        at
org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:73)
        at handlers.PPTHandler.getContents(PPTHandler.java:33)
        at handlers.PPTHandler.main(PPTHandler.java:50)

when i initialise:
PowerPointExtractor extractor = new PowerPointExtractor(file.getPath());

what i'm doing wrong?

Thanks in forward!
Bye Derya

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner

---------------------------------------------------------------------
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