From 365fb39ea02c5e916a60e53e4d786c464be8c54b Mon Sep 17 00:00:00 2001 From: Glen Stampoultzis Date: Mon, 4 Mar 2002 11:36:50 +0000 Subject: [PATCH] Patch applied git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352146 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hssf/usermodel/HSSFCellStyle.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java b/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java index 39ecf2ef96..a87df50fa6 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java @@ -832,8 +832,13 @@ public class HSSFCellStyle *

* For example: *

-     * cs.setFillPattern( (short) 1 );
-     * cs.setFillBackgroundColor(HSSFColor.RED.index);
+     * cs.setFillPattern(HSSFCellStyle.FINE_DOTS );
+     * cs.setFillBackgroundColor(HSSFCellStyle.RED);
+     * 
+ * or, for the special case of SOLID_FILL: + *
+     * cs.setFillPattern(HSSFCellStyle.SOLID_FILL );
+     * cs.setFillForgroundColor(HSSFSeCellStyle.RED);
      * 
* You will need to set the fill style first. * -- 2.39.5