https://issues.apache.org/bugzilla/show_bug.cgi?id=46938
Summary: Existing color palette is broken(or not used) when
using cell styles from opened workbook and creating
new
Product: POI
Version: 3.2-FINAL
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
After opening existing workbook with some created styles in Excel and applying
them to new cells, and then creating any new style by calling
HSSFWorkbook.createCellStyle() all existing styles lose their foreground
colors. Seems like they are painted with default palette colors.
After code exploring of createCellStyle() it appears that one new
ExtendedFormatRecord is created and added to HssWorkbook.workbook.records,
where palette record is stored. So somehow existing palette is overrided or
hided by default.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]