diff options
author | Glen Stampoultzis <glens@apache.org> | 2002-03-04 11:36:50 +0000 |
---|---|---|
committer | Glen Stampoultzis <glens@apache.org> | 2002-03-04 11:36:50 +0000 |
commit | 365fb39ea02c5e916a60e53e4d786c464be8c54b (patch) | |
tree | 4ae8a9224a7bf83fd196f3e80a92f53641ae62d0 | |
parent | c79eeffb7d5fd2c52c52c4df1e8e591c625698f9 (diff) | |
download | poi-365fb39ea02c5e916a60e53e4d786c464be8c54b.tar.gz poi-365fb39ea02c5e916a60e53e4d786c464be8c54b.zip |
Patch applied
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352146 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java | 9 |
1 files 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 * <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. * |