DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31310>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31310





------- Additional Comments From [EMAIL PROTECTED]  2005-10-03 19:33 -------
I encountered the same type of problem while using the getBytes() of the 
HSSFWorkbook.

>From the Javadoc, 

Method getBytes - get the bytes of just the HSSF portions of the XLS file.
Use this to construct a POI POIFSFileSystem yourself.

However, when I feed it to to POIFSFileSystem I get the invalid header error.  
I've attached a VERY simple test case that create a workbook with a single 
sheet and it fails when using getBytes() but it will create a readable excel 
spreadsheet and can be contstructed using the ByteArrayOutputStream.toByeArray
() method.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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