Bug 57934 - Cannot set conditional formatting fill color to XSSFColor
Summary: Cannot set conditional formatting fill color to XSSFColor
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on: 58138
  Show dependency tree
Reported: 2015-05-19 07:12 UTC by Andy Carpenter
Modified: 2016-02-17 21:19 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Andy Carpenter 2015-05-19 07:12:54 UTC
The XSSFPatternFormatting class does not include setFillForegroundColor and setFillBackgroundColor methids that take an XSSFColor parameter.. Thus, conditional formatting can only used IndexedColors
Comment 1 Nick Burch 2015-07-14 21:27:33 UTC
This has hopefully been solved with bug #58138, as XSSFPatternFormatting now additionally accepts XSSFColor objects for its colour setters

Would you be able to check a nightly build / 3.13 beta 1 once released, and confirm that your use case is now covered?
Comment 2 Dominik Stadler 2016-02-17 21:19:18 UTC
Setting to fixed as it should work and there was no response for some time.