Return-Path: X-Original-To: apmail-poi-dev-archive@www.apache.org Delivered-To: apmail-poi-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B299B9234 for ; Wed, 6 Jun 2012 09:26:57 +0000 (UTC) Received: (qmail 56197 invoked by uid 500); 6 Jun 2012 09:26:57 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 56125 invoked by uid 500); 6 Jun 2012 09:26:57 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 56098 invoked by uid 99); 6 Jun 2012 09:26:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 09:26:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 09:26:54 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 1D3615A67; Wed, 6 Jun 2012 09:26:33 +0000 (UTC) From: bugzilla@apache.org To: dev@poi.apache.org Subject: [Bug 53371] New: XSSFColor not correctly created from hex code Date: Wed, 06 Jun 2012 09:26:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: XSSF X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: adinamita@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: priority bug_id assigned_to short_desc bug_severity classification reporter rep_platform bug_status version component product Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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