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: [email protected]
Reporter: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]