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 2016/02/16 11:49:46 UTC

[Bug 59009] New: SharedStringsTable addEntry

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


[Bug 59009] SharedStringsTable addEntry

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59009

Julia Andrea Rodríguez Amaro <ju...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 OS|                            |All
         Resolution|---                         |FIXED

--- Comment #1 from Julia Andrea Rodríguez Amaro <ju...@gmail.com> ---
The problem is solved in version 3.13 (last stable version)

-- 
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