Summary: | [PATCH] Odd formatting when using user data formats | ||
---|---|---|---|
Product: | POI | Reporter: | Shawn Laubach <shawn.laubach> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 1.0.2 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other | ||
Attachments: | Patch to Workbook to get user defined formats to not interfere with cell formats |
Description
Shawn Laubach
2002-10-02 20:46:21 UTC
Created attachment 3317 [details]
Patch to Workbook to get user defined formats to not interfere with cell formats
This bug was caused because some record types need to remain contiguous and the common way to ensure this is by keeping the index into the overall record list to the last record (or one past) of the particular type. This is extremely fast but if something inserts a record in front of that and does not increment all the indexes for each block the occurs afterwards (which is what I did here) things do not come out properly. Has anyone put any thought on a way around this (or at least keep track of the different blocks and their location)? Committed updates Works now. Some time soon, I'm going to look into have format records in an aggregate (and possibly some other sections) to eliminate these types of problems. |