https://bz.apache.org/bugzilla/show_bug.cgi?id=59009

            Bug ID: 59009
           Summary: SharedStringsTable addEntry
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: juliandre...@gmail.com

When adding two String cells (XSSFCell)  with the following values:
"  O"
" O "

The method  public void setCellValue(RichTextString str) from XSSFCell adds the
same value for both of them. 
--> Both are shown as "  O" in Excel file, this is the value of first String
processed.


This happens because  public int addEntry(CTRst st) (from SharedStringsTable
class) treats both string as the same value. The generated XML for the cells is
in both cases:

<t xml:space="preserve"
xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main";>O</t>

<t xml:space="preserve"
xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main";>O</t>

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to