Summary: | FORMULAS -- Strange bug with Formulas | ||
---|---|---|---|
Product: | POI | Reporter: | Andy Oliver <poi-support> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0-dev | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other |
Description
Andy Oliver
2002-04-27 22:17:13 UTC
*** Bug 8593 has been marked as a duplicate of this bug. *** Turned out that formulas only worked by cooincidence. There was a horrid mismatch between Formula Records and Value Records aggregate. Basically we couldn't handle records whose size changed later. Calculating it earlier was more efficient but later lets us handle this. At some point this should be revisited for optimization. If some manner of lightweight notification could be performed then we could calculate size early and only update the deltas. Might not be worth it for most sheets. (Then again...it might) Another approach might make a collection of only VariableSizeCellRecords (of which there are fewer on average) and only calculate them at the end. Regardless this works now. |