/[Apache-SVN]
ViewVC logotype

Revision 1796359


Jump to revision: Previous Next
Author: gwoolsey
Date: Fri May 26 23:14:48 2017 UTC (7 years, 5 months ago)
Changed paths: 29
Log Message:
Bug 60898 - XSSFColor's getARGB() method returns a wrong color value when a workbook has a custom indexed color

teach XSSFColor and most things that create instances about indexed colors.

Null is a valid value for IndexedColorMap instances - the existing built-in default colors are used.

Whenever a workbook style is accessible in the call hierarchy its color mappings are passed down now.

Thanks for the unit test in the issue, it now passes.

Changed paths

Path Details
Directorypoi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFExtendedColor.java modified , text changed
Directorypoi/trunk/src/java/org/apache/poi/ss/usermodel/ExtendedColor.java modified , text changed
Directorypoi/trunk/src/java/org/apache/poi/ss/usermodel/IndexedColors.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/model/ThemesTable.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/CustomIndexedColorMap.java added
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/DefaultIndexedColorMap.java added
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/IndexedColorMap.java added
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColorScaleFormatting.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFConditionalFormattingRule.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCreationHelper.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataBarFormatting.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDxfStyleProvider.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFont.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPatternFormatting.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTableStyle.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.java modified , text changed
Directorypoi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCellStyle.java modified , text changed
Directorypoi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFColor.java modified , text changed
Directorypoi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFont.java modified , text changed
Directorypoi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheet.java modified , text changed
Directorypoi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/extensions/TestXSSFCellFill.java modified , text changed
Directorypoi/trunk/test-data/spreadsheet/customIndexedColors.xlsx added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26