poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53371] New: XSSFColor not correctly created from hex code
Date Wed, 06 Jun 2012 09:26:32 GMT
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


Mime
View raw message