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 2003/09/10 22:31:52 UTC

DO NOT REPLY [Bug 23083] New: - Creating Workbook from existing Excel file containing Rich Text will sometimes fail

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=23083>.
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=23083

Creating Workbook from existing Excel file containing Rich Text will sometimes fail

           Summary: Creating Workbook from existing Excel file containing
                    Rich Text will sometimes fail
           Product: POI
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: wseguin@bigfoot.com


Rich Text is currently being stripped out, until it is fully supported. As 
such, the trailing formatting runs (immediately after the string chars) are 
skipped over to get to the start of the next string.

However, when the formatting run is separated, either completely or partially 
from is preceding string characters, by being flowed over into a Continue 
record, the code will behave unpredictable. This is because the code expects a 
Continue record following a SST record to begin with a string, either a 
continuation of an unfinished string from the prior record, or a new string 
entirely. It does not handle the situation where the record starts with 
formatting run (and likely Extended chars would cause same prob).

The earliest release problem found is 1.5.1 (I didn't look any further back. 
2.0-pre3 also still has problem since SSTDeserializer virtually hasn't changed 
at all.

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