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 50299] NullPointer Exception in XSSFCellStyle.getFillForegroundXSSFColor()
Date Fri, 25 Feb 2011 21:22:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50299

Nick Burch <nick.burch@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #11 from Nick Burch <nick.burch@alfresco.com> 2011-02-25 16:22:12 EST ---
One snag - ctColor.getRGB() almost always returns 4 values, including the
Alpha. It's only theme colours where you only get the 3, and in most cases one
your construct yourself

After trying a few things, the safest thing seemed to be to offer two methods,
one which returns the RGB and one that returns ARGB (assuming that if it wasn't
given, then the alpha if 0xFF). Hopefully that does the right thing?

-- 
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