From: Glen Stampoultzis Date: Mon, 4 Mar 2002 11:36:50 +0000 (+0000) Subject: Patch applied X-Git-Tag: prelogging~66 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=365fb39ea02c5e916a60e53e4d786c464be8c54b;p=poi.git Patch applied git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352146 13f79535-47bb-0310-9956-ffa450edef68 --- 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. *