| Modifier and Type | Field and Description |
|---|---|
| private final FontFormatting | |
| private final HSSFWorkbook |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public short | Returns: super or subscript optionImplements org. get the type of super or subscript for the font |
| public HSSFColor | |
| public short | Returns: font color indexImplements org.
|
| pack-priv FontFormatting | |
| public int | Returns: fontheight (in points/20); or -1 if not modifiedImplements org. gets the height of the font in 1/20th point units |
| public short | Returns: bw - a number between 100-1000 for the fonts "boldness"get the font weight for this font (100-1000dec or 0x64-0x3e8). |
| pack-priv byte[] | |
| public short | Returns: font underlining typeImplements org. get the type of underlining for the font |
| public boolean | Returns: bold - whether the font is bold or notImplements org. get whether the font weight is set to bold or not |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if font style was set to italicImplements org.
|
| public boolean | |
| public boolean | |
| public boolean | Returns: true if font strikeout is onImplements org.
|
| public boolean | |
| public void | resetFontStyle()
Implements org. set font style options to default values (non-italic, non-bold) |
| public void | setEscapementType(short
super or subscript option escapementType)Implements org. set the escapement type for the font |
| public void | |
| public void | |
| public void | setFontColor(Color
font colour to use color)Implements org. Sets the colour to use |
| public void | setFontColorIndex(short
the font color index fci)Implements org. Sets the indexed colour to use |
| public void | setFontHeight(int
the font height height)Implements org. Sets the height of the font in 1/20th point units |
| public void | |
| public void | |
| public void | setFontStyle(boolean
- if true, set posture style to italic, otherwise to normal italic, boolean if true, set font weight to bold, otherwise to normal bold)Implements org. set font style options. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setUnderlineType(short
super or subscript option underlineType)Implements org. set the type of underlining type for the font |
| public void |
| fontFormatting | back to summary |
|---|---|
| private final FontFormatting fontFormatting | |
| workbook | back to summary |
|---|---|
| private final HSSFWorkbook workbook | |
| HSSFFontFormatting | back to summary |
|---|---|
| pack-priv HSSFFontFormatting(CFRuleBase cfRuleRecord, HSSFWorkbook workbook) | |
| getEscapementType | back to summary |
|---|---|
| public short getEscapementType() Implements org. get the type of super or subscript for the font
| |
| getFontColor | back to summary |
|---|---|
| public HSSFColor getFontColor() Implements org.
| |
| getFontColorIndex | back to summary |
|---|---|
| public short getFontColorIndex() Implements org.
| |
| getFontFormattingBlock | back to summary |
|---|---|
| pack-priv FontFormatting getFontFormattingBlock() | |
| getFontHeight | back to summary |
|---|---|
| public int getFontHeight() Implements org. gets the height of the font in 1/20th point units
| |
| getFontWeight | back to summary |
|---|---|
| public short getFontWeight() get the font weight for this font (100-1000dec or 0x64-0x3e8). Default is 0x190 for normal and 0x2bc for bold
| |
| getRawRecord | back to summary |
|---|---|
| pack-priv byte[] getRawRecord() | |
| getUnderlineType | back to summary |
|---|---|
| public short getUnderlineType() Implements org. get the type of underlining for the font | |
| isBold | back to summary |
|---|---|
| public boolean isBold() Implements org. get whether the font weight is set to bold or not
| |
| isEscapementTypeModified | back to summary |
|---|---|
public boolean isEscapementTypeModified()
| |
| isFontCancellationModified | back to summary |
|---|---|
public boolean isFontCancellationModified()
| |
| isFontOutlineModified | back to summary |
|---|---|
public boolean isFontOutlineModified()
| |
| isFontShadowModified | back to summary |
|---|---|
public boolean isFontShadowModified()
| |
| isFontStyleModified | back to summary |
|---|---|
public boolean isFontStyleModified()
| |
| isFontWeightModified | back to summary |
|---|---|
public boolean isFontWeightModified()
| |
| isItalic | back to summary |
|---|---|
| public boolean isItalic() Implements org.
| |
| isOutlineOn | back to summary |
|---|---|
public boolean isOutlineOn()
| |
| isShadowOn | back to summary |
|---|---|
public boolean isShadowOn()
| |
| isStruckout | back to summary |
|---|---|
| public boolean isStruckout() Implements org.
| |
| isUnderlineTypeModified | back to summary |
|---|---|
public boolean isUnderlineTypeModified()
| |
| resetFontStyle | back to summary |
|---|---|
| public void resetFontStyle() Implements org. set font style options to default values (non-italic, non-bold) | |
| setEscapementType | back to summary |
|---|---|
| public void setEscapementType(short escapementType) Implements org. set the escapement type for the font
| |
| setEscapementTypeModified | back to summary |
|---|---|
public void setEscapementTypeModified(boolean modified)
| |
| setFontCancellationModified | back to summary |
|---|---|
public void setFontCancellationModified(boolean modified)
| |
| setFontColor | back to summary |
|---|---|
| public void setFontColor(Color color) Implements org. Doc from org. Sets the colour to use
| |
| setFontColorIndex | back to summary |
|---|---|
| public void setFontColorIndex(short fci) Implements org. Doc from org. Sets the indexed colour to use
| |
| setFontHeight | back to summary |
|---|---|
| public void setFontHeight(int height) Implements org. Doc from org. Sets the height of the font in 1/20th point units
| |
| setFontOutlineModified | back to summary |
|---|---|
public void setFontOutlineModified(boolean modified)
| |
| setFontShadowModified | back to summary |
|---|---|
public void setFontShadowModified(boolean modified)
| |
| setFontStyle | back to summary |
|---|---|
| public void setFontStyle(boolean italic, boolean bold) Implements org. set font style options.
| |
| setFontStyleModified | back to summary |
|---|---|
public void setFontStyleModified(boolean modified)
| |
| setOutline | back to summary |
|---|---|
public void setOutline(boolean on)
| |
| setShadow | back to summary |
|---|---|
public void setShadow(boolean on)
| |
| setStrikeout | back to summary |
|---|---|
public void setStrikeout(boolean strike)
| |
| setUnderlineType | back to summary |
|---|---|
| public void setUnderlineType(short underlineType) Implements org. set the type of underlining type for the font
| |
| setUnderlineTypeModified | back to summary |
|---|---|
public void setUnderlineTypeModified(boolean modified)
| |