poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53371] XSSFColor not correctly created from hex code
Date Thu, 03 Sep 2015 21:05:07 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=53371

Dominik Stadler <dominik.stadler@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Dominik Stadler <dominik.stadler@gmx.at> ---
If you construct a color with a color-value, it is not indexed, POI does
currently not try to map known colors to indexes. Thus getIndexed() returns 0
by design in this case. Use isIndexed() to check if the color is actually
indexed. And if not, use getRGB() to get the color value.

-- 
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