You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by jh...@apache.org on 2005/08/23 05:44:59 UTC

cvs commit: jakarta-poi/src/java/org/apache/poi/hssf/usermodel HSSFCellStyle.java

jheight     2005/08/22 20:44:59

  Modified:    src/java/org/apache/poi/hssf/usermodel HSSFCellStyle.java
  Log:
  Minor javadoc update
  
  Revision  Changes    Path
  1.17      +3 -3      jakarta-poi/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java
  
  Index: HSSFCellStyle.java
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- HSSFCellStyle.java	24 May 2005 06:18:17 -0000	1.16
  +++ HSSFCellStyle.java	23 Aug 2005 03:44:59 -0000	1.17
  @@ -806,12 +806,12 @@
        * For example:
        * <pre>
        * cs.setFillPattern(HSSFCellStyle.FINE_DOTS );
  -     * cs.setFillBackgroundColor(HSSFCellStyle.RED);
  +     * cs.setFillBackgroundColor(new HSSFColor.RED().getIndex());
        * </pre>
        * or, for the special case of SOLID_FILL:
        * <pre>
  -     * cs.setFillPattern(HSSFCellStyle.SOLID_FILL );
  -     * cs.setFillForgroundColor(HSSFSeCellStyle.RED);
  +     * cs.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND );
  +     * cs.setFillForegroundColor(new HSSFColor.RED().getIndex());
        * </pre>
        * It is necessary to set the fill style in order
        * for the color to be shown in the cell.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/