You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2012/06/06 11:26:32 UTC
[Bug 53371] New: XSSFColor not correctly created from hex code
https://issues.apache.org/bugzilla/show_bug.cgi?id=53371
Priority: P2
Bug ID: 53371
Assignee: dev@poi.apache.org
Summary: XSSFColor not correctly created from hex code
Severity: major
Classification: Unclassified
Reporter: adinamita@gmail.com
Hardware: PC
Status: NEW
Version: unspecified
Component: XSSF
Product: POI
I want to set the foreground color of a cell to a given color in hex code. For
example, when I try to set it to red:
style.setFillForegroundColor(new
XSSFColor(Color.decode("#FF0000")).getIndexed());
No matter what Hex value I set in the parameter for the decode function, the
getIndexed function will always return the black color.
--
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