Bug 58138 - The Conditional Formatting code should also work with org.apache.poi.ss.usermodel.Color, as well as shorts
Summary: The Conditional Formatting code should also work with org.apache.poi.ss.userm...
Alias: None
Product: POI
Classification: Unclassified
Component: SS Common (show other bugs)
Version: 3.13-dev
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Blocks: 56774 57934 58068
  Show dependency tree
Reported: 2015-07-14 19:32 UTC by Nick Burch
Modified: 2024-03-13 11:14 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Nick Burch 2015-07-14 19:32:16 UTC
Currently, the Conditional Formatting code all uses short indexes for colours. That's fine-ish for HSSF, but not ideal for XSSF which rarely uses indexed colours

Much along the lines of how Font and CellStyle work, these conditional formatting classes+interfaces should be updated to support org.apache.poi.ss.usermodel.Color as well
Comment 1 Dominik Stadler 2015-07-14 20:30:37 UTC
I found at least bug 58068, bug 57934 and bug 56774 which all talk about missing methods for "real" colors compared to the indexed ones.
Comment 2 Nick Burch 2015-07-14 21:22:00 UTC
All 3 interfaces + their implementations updated as of r1691083.