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=44010>. 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=44010 Summary: Can't open the saved XLS (corrupt file) by HSSF Product: POI Version: 3.0 Platform: PC OS/Version: Windows XP Status: UNCONFIRMED Severity: blocker Priority: P1 Component: HSSF AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I work on a xls with Excel XP and POI HSSF. It contains 3 charts. I only open the workbook and then save it into a new xls (without any modifications). After that, I can t open the new workbook with Excel 2002 (it is the same with Excel 2003), I have an error message from Excel ... My code is : // open the woorkbook { POIFSFileSystem fs = new POIFSFileSystem(new FileInputStream(workbookFileNameSrc)); hssfworkbook = new HSSFWorkbook(fs); //hssfworkbook = new HSSFWorkbook(fs,true); } // write the new woorkbook without modifications FileOutputStream fileOut = new FileOutputStream(workbookFileNameDest); this.hssfworkbook.write(fileOut); fileOut.close(); I have try with POI 3.0.1 final and the latest beta poi-src-3.0.2-beta1-20071204.zip. Thanks -- 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] For additional commands, e-mail: [EMAIL PROTECTED]
