poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48962] New: XSSFColor.getRgb() always returns null
Date Mon, 22 Mar 2010 22:25:11 GMT
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: dev@poi.apache.org
        ReportedBy: mkbitbucket@mac.com


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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message