Erez

Firstly, please always use the list. That way, others can see your question, and benefit from the answer

On Wed, 6 Sep 2006, Erez Eisenstein wrote:
When I try to init a new HSLFSlideShow instance, I get IOException:

java.io.IOException: Unable to read entire header; 89 bytes read;
expected 512 bytes

I think there's something up with your input stream - this is a low level POIFS error about not being able to get the whole OLE header.

Depending on what it is, you might need to add some buffering, or you might need to write to disk and read it from there. First up, try getting it to write to disk, and ensure powerpoint can read it. When you have that working, you can then see where your input stream is getting messed up.

Nick

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