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 2010/05/26 19:48:27 UTC
DO NOT REPLY [Bug 48779] XSSFCellStyle.getFillForegroundColor dosn't
return the right value
https://issues.apache.org/bugzilla/show_bug.cgi?id=48779
Nick Burch <ni...@alfresco.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Nick Burch <ni...@alfresco.com> 2010-05-26 13:48:22 EDT ---
The problem is that XSSF does some colours differently to HSSF. HSSF only ever
had indexed colours, while XSSF has a mixture of indexed colours and inline
defined colours
I'd suggest you try the new getFillForegroundColorColor() and
getFillBackgroundColorColor() methods on a CellStyle, which'll always get you
the underlying Color object no matter if they're inline or indexed
Please give feedback on the mailing list about the new ss.usermodel.Color
class, as at the moment it's a stub, but if we can decide what's generic
between XSSFColor and HSSFColor we can add in methods to it
(You'll need a svn checkout of r948511 of later)
--
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