https://issues.apache.org/bugzilla/show_bug.cgi?id=48962
Summary: XSSFColor.getRgb() always returns null
Product: POI
Version: 3.6
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=25167)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25167)
Example file with font and background colors
When examining an XLSX file created with Microsoft Excel that has both font
colors and background colors in it, those colors cannot be extracted because
the XSSFColor method always returns null.
1) Open the attached XLSX file (or any XLSX file that has a font color or fill
color)
2) Navigate the sheet to one of the cells with color
3) Get that cell's style and font and notice that the getXSSFColor() method
returns non-null XSSFColor
4) Call getRgb() on the XSSFColor and receive null value in return
An array with the RGB values should be returned.
To make this bug more painful, I have been unable to find any workaround.
--
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]