|Summary:||Can't open wookbook with MS Excell|
|Product:||POI||Reporter:||Duc Nguyen <duc.nguyen>|
|Component:||HSSF||Assignee:||POI Developers List <dev>|
Description Duc Nguyen 2008-06-05 01:32:11 UTC
I have a workbook, I can use Microsoft Office Excel 2003 (11.8211.8172) SP3 to open the workbook. But after I open and save workbook by POI 3.0.2 Released, I can't open it with Microsoft Office Excel 2003 (11.8211.8172) SP3. But I can open it with Open Office well.
Comment 2 Josh Micich 2008-06-06 01:40:31 UTC
Fixed in svn r663855. Looks like the fix for bug 41242 wasn't exactly right. The EndSubRecord was being skipped because its 'sid' is zero, and RecordInputStream assumes that all 'sid's are non-zero. The main change with the fix here was to add padding to the sub-record data. It seems to be padded to a 4-byte boundary even though this is not mentioned in the "MICROSOFT OFFICE EXCEL 97-2007 BINARY FILE FORMAT SPECIFICATION" (OOO document doesn't even include the OBJ(5Dh) record).
Comment 4 Duc Nguyen 2008-06-12 00:21:17 UTC
Bug fixed. Thanks so much.