poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46938] New: Existing color palette is broken(or not used) when using cell styles from opened workbook and creating new
Date Mon, 30 Mar 2009 14:11:53 GMT
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: dev@poi.apache.org
        ReportedBy: Maksym_Symonov@epam.com


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


Mime
View raw message