Summary: | Excel-Sheet can not write out, if original one contains a formula | ||
---|---|---|---|
Product: | POI | Reporter: | Dietmar Gausselmann <dietmar.gausselmann> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P3 | ||
Version: | 2.0-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
Dietmar Gausselmann
2002-04-22 07:08:30 UTC
Please try the CVS head. We'll be releaseing 1.5-final with experimental formula support disabled (meaning HSSF will ignore formulas and write them exactly as it found them). The head should have this in place. Actually, the 1.5 branch would be the correct place to try this out. It still not working with the 1.5 final. The exception is gone but the fomular is not computed. xls1 -> continas a formular on B2 to sum the values form A9:A14 I fill the cells with POI, set to NUMERIC, save xls1 to xls2 and open xls2. I see all values inside A9:A14 but the cell B2 show "0". I can't get it to work. Is it a bug, feature, unsorported or user error? That is the correct behavior for 1.5 (not to screw it up). Check against the CVS head or a nightly build and see if it does what you expect. Formulas are a 2.0 feature. I dont think this should be an issue any longer. 1.5 has NO formula support, so use it if you sheet has formulas, but your java code does not want to do anything to it. 2.0-dev HAS formula support, and can now indeed write out it the original sheet has a formula. |