Summary: | Support getCellFormula() for CHOOSE formulas without triggering EmptyStackException | ||
---|---|---|---|
Product: | POI | Reporter: | Nick Burch <apache> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.0-dev | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other |
Description
Nick Burch
2008-01-28 04:15:42 UTC
Fixed in svn r657702. There were two problems: tAttrChoose was ignoring the following jump-table and FormulaParser.toFormulaString() needed to handle the extra case of tAttrChoose. By not reading the extra data belonging to the choose AttrPtg, POI would interpret that data as subsequent Ptgs which had unpredictable results (none good). Note - as of this fix POI is still not able to evaluate formulas involving CHOOSE() (see bug 45031) |