]> source.dussan.org Git - poi.git/commitdiff
Patch applied
authorGlen Stampoultzis <glens@apache.org>
Mon, 4 Mar 2002 11:36:50 +0000 (11:36 +0000)
committerGlen Stampoultzis <glens@apache.org>
Mon, 4 Mar 2002 11:36:50 +0000 (11:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352146 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java

index 39ecf2ef9690284697258d4bc8b957ceaa3a75ff..a87df50fa6570436cd00ae51262fa1255d0326c4 100644 (file)
@@ -832,8 +832,13 @@ public class HSSFCellStyle
      * <p>
      * For example:
      * <pre>
-     * cs.setFillPattern( (short) 1 );
-     * cs.setFillBackgroundColor(HSSFColor.RED.index);
+     * cs.setFillPattern(HSSFCellStyle.FINE_DOTS );
+     * cs.setFillBackgroundColor(HSSFCellStyle.RED);
+     * </pre>
+     * or, for the special case of SOLID_FILL:
+     * <pre>
+     * cs.setFillPattern(HSSFCellStyle.SOLID_FILL );
+     * cs.setFillForgroundColor(HSSFSeCellStyle.RED);
      * </pre>
      * You will need to set the fill style first.
      *