https://issues.apache.org/bugzilla/show_bug.cgi?id=45145
Summary: RowRecordsAggregate must come before
ValueRecordsAggregate
Product: POI
Version: 3.0-dev
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
The following code:
wb.createSheet("SheetX").createRow(0).createCell((short)0);
causes the new Sheet object to have the ValueRecordsAggregate listed before the
RowRecordsAggregate.
This causes a bug in Sheet.serializeIndexRecord() where 'sheetRecSize'
incorrectly includes the VRA size, thus causing the INDEX record to have wrong
offsets to the DBCELL records. When a workbookis read from file, the RRA is
created before the VRA, so the bug does not occur in that case. Re-serializing
a workbook fixes the incorrect INDEX record.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]