poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45768] New: HSSFFormulaEvaluator evaluateFormulaCell() returns -1 for non-formula cells
Date Mon, 08 Sep 2008 23:17:32 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45768

           Summary: HSSFFormulaEvaluator evaluateFormulaCell() returns -1
                    for non-formula cells
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: niallp@apache.org


I read the following docs on HSSFFormulaEvaluator's evaluateFormulaCell()
method:

http://poi.apache.org/hssf/eval.html#EvaluateFormulaCell

...and assumed that this would return a valid cell type for all cells whether
they were formula or not - but found that for Non-formula cells it returns -1.

Is this working as it should? If it is I think the docs need to be made clearer
in that example and evaluateFormulaCell() method javadocs that it only works
with formula cell types.

(using POI 3.1-FINAL - but bugzilla doesn't have that version)


-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message