Bug 26894 - Formula string length limitation (unsigned error)
Summary: Formula string length limitation (unsigned error)
Status: RESOLVED DUPLICATE of bug 26100
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-pre3
Hardware: All All
: P3 minor (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 16:09 UTC by Ka Fai Yu
Modified: 2005-05-20 04:11 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ka Fai Yu 2004-02-12 16:09:11 UTC
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.
Comment 1 Avik Sengupta 2005-05-20 12:11:35 UTC

*** This bug has been marked as a duplicate of 26100 ***