From commits-return-11799-archive-asf-public=cust-asf.ponee.io@poi.apache.org Thu Nov 15 22:21:45 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CE0D1180669 for ; Thu, 15 Nov 2018 22:21:44 +0100 (CET) Received: (qmail 74250 invoked by uid 500); 15 Nov 2018 21:21:43 -0000 Mailing-List: contact commits-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@poi.apache.org Delivered-To: mailing list commits@poi.apache.org Received: (qmail 74241 invoked by uid 99); 15 Nov 2018 21:21:43 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2018 21:21:43 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 68ED13A05F9 for ; Thu, 15 Nov 2018 21:21:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1846683 - /poi/site/src/documentation/content/xdocs/components/spreadsheet/quick-guide.xml Date: Thu, 15 Nov 2018 21:21:42 -0000 To: commits@poi.apache.org From: fanningpj@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20181115212143.68ED13A05F9@svn01-us-west.apache.org> Author: fanningpj Date: Thu Nov 15 21:21:42 2018 New Revision: 1846683 URL: http://svn.apache.org/viewvc?rev=1846683&view=rev Log: fix sample code Modified: poi/site/src/documentation/content/xdocs/components/spreadsheet/quick-guide.xml Modified: poi/site/src/documentation/content/xdocs/components/spreadsheet/quick-guide.xml URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/components/spreadsheet/quick-guide.xml?rev=1846683&r1=1846682&r2=1846683&view=diff ============================================================================== --- poi/site/src/documentation/content/xdocs/components/spreadsheet/quick-guide.xml (original) +++ poi/site/src/documentation/content/xdocs/components/spreadsheet/quick-guide.xml Thu Nov 15 21:21:42 2018 @@ -652,7 +652,7 @@ Examples: cell.setCellValue("custom XSSF colors"); XSSFCellStyle style1 = wb.createCellStyle(); - style1.setFillForegroundColor(new XSSFColor(new java.awt.Color(128, 0, 128))); + style1.setFillForegroundColor(new XSSFColor(new java.awt.Color(128, 0, 128), new DefaultIndexedColorMap())); style1.setFillPattern(FillPatternType.SOLID_FOREGROUND); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org For additional commands, e-mail: commits-help@poi.apache.org