org.apache.poi.hssf.usermodel
public class HSSFPatternFormatting extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static short |
ALT_BARS
Wide dots
|
static short |
BIG_SPOTS
Large spots
|
static short |
BRICKS
Brick-like layout
|
static short |
DIAMONDS
Diamonds
|
static short |
FINE_DOTS
Small fine dots
|
static short |
LEAST_DOTS
Least Dots
|
static short |
LESS_DOTS
Less Dots
|
static short |
NO_FILL
No background
|
static short |
SOLID_FOREGROUND
Solidly filled
|
static short |
SPARSE_DOTS
Sparse dots
|
static short |
SQUARES
Squares
|
static short |
THICK_BACKWARD_DIAG
Thick backward facing diagonals
|
static short |
THICK_FORWARD_DIAG
Thick forward facing diagonals
|
static short |
THICK_HORZ_BANDS
Thick horizontal bands
|
static short |
THICK_VERT_BANDS
Thick vertical bands
|
static short |
THIN_BACKWARD_DIAG
Thin backward diagonal
|
static short |
THIN_FORWARD_DIAG
Thin forward diagonal
|
static short |
THIN_HORZ_BANDS
Thin horizontal bands
|
static short |
THIN_VERT_BANDS
Thin vertical bands
|
Modifier | Constructor and Description |
---|---|
protected |
HSSFPatternFormatting(CFRuleRecord cfRuleRecord) |
Modifier and Type | Method and Description |
---|---|
short |
getFillBackgroundColor() |
short |
getFillForegroundColor() |
short |
getFillPattern() |
protected PatternFormatting |
getPatternFormattingBlock() |
void |
setFillBackgroundColor(short bg) |
void |
setFillForegroundColor(short fg) |
void |
setFillPattern(short fp) |
public static final short NO_FILL
public static final short SOLID_FOREGROUND
public static final short FINE_DOTS
public static final short ALT_BARS
public static final short SPARSE_DOTS
public static final short THICK_HORZ_BANDS
public static final short THICK_VERT_BANDS
public static final short THICK_BACKWARD_DIAG
public static final short THICK_FORWARD_DIAG
public static final short BIG_SPOTS
public static final short BRICKS
public static final short THIN_HORZ_BANDS
public static final short THIN_VERT_BANDS
public static final short THIN_BACKWARD_DIAG
public static final short THIN_FORWARD_DIAG
public static final short SQUARES
public static final short DIAMONDS
public static final short LESS_DOTS
public static final short LEAST_DOTS
protected HSSFPatternFormatting(CFRuleRecord cfRuleRecord)
protected PatternFormatting getPatternFormattingBlock()
public short getFillBackgroundColor()
public short getFillForegroundColor()
public short getFillPattern()
PatternFormatting.getFillPattern()
public void setFillBackgroundColor(short bg)
bg
- PatternFormatting.setFillBackgroundColor(int)
public void setFillForegroundColor(short fg)
fg
- PatternFormatting.setFillForegroundColor(int)
public void setFillPattern(short fp)
fp
- PatternFormatting.setFillPattern(int)
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.