https://bz.apache.org/bugzilla/show_bug.cgi?id=53371

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

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

--- Comment #1 from Dominik Stadler <dominik.stad...@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-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to