You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2004/02/12 17:09:12 UTC

DO NOT REPLY [Bug 26894] New: - Formula string length limitation (unsigned error)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26894>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26894

Formula string length limitation (unsigned error)

           Summary: Formula string length limitation (unsigned error)
           Product: POI
           Version: 2.0-pre3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: yukafai@hotmail.com


The hssf.record.formula.StringPtg class seems to have errors dealing with 
formulas with expression parts longer than 127 characters.  The source 
comments suggests that it should handle strings upto 255 characters.  And, I 
got error reading a valid Excel spreadsheet with such formulas.  I believe the 
solution might lie in handling the string length as a short after reading it 
from the first byte of the data in StringPtg.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org