https://issues.apache.org/bugzilla/show_bug.cgi?id=50786

--- Comment #3 from andrei <[email protected]> 2011-02-16 05:56:04 EST 
---
styles.xml
<fgColor indexed="42"/>
Color is stored as indexed.

Possible solution:

XSSFColor color = ..;
short colorIndex = color.getIndexed();
HSSFColor indexedColor = HSSFColor.getIndexHash().get(colorIndex);
byte[] rgb = indexedColor.getTriplet();

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to