| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FontFormatting
High level representation for Font Formatting component of Conditional Formatting settings
| Field Summary | |
|---|---|
| static short | SS_NONEEscapement type - None | 
| static short | SS_SUBEscapement type - Subscript | 
| static short | SS_SUPEREscapement type - Superscript | 
| static byte | U_DOUBLEUnderline type - Double | 
| static byte | U_DOUBLE_ACCOUNTINGUnderline type - Double Accounting | 
| static byte | U_NONEUnderline type - None | 
| static byte | U_SINGLEUnderline type - Single | 
| static byte | U_SINGLE_ACCOUNTINGUnderline type - Single Accounting | 
| Method Summary | |
|---|---|
|  short | getEscapementType()get the type of super or subscript for the font | 
|  Color | getFontColor() | 
|  short | getFontColorIndex() | 
|  int | getFontHeight()gets the height of the font in 1/20th point units | 
|  short | getUnderlineType()get the type of underlining for the font | 
|  boolean | isBold()get whether the font weight is set to bold or not | 
|  boolean | isItalic() | 
|  boolean | isStruckout() | 
|  void | resetFontStyle()set font style options to default values (non-italic, non-bold) | 
|  void | setEscapementType(short escapementType)set the escapement type for the font | 
|  void | setFontColor(Color color)Sets the colour to use | 
|  void | setFontColorIndex(short color)Sets the indexed colour to use | 
|  void | setFontHeight(int height)Sets the height of the font in 1/20th point units | 
|  void | setFontStyle(boolean italic,
             boolean bold)set font style options. | 
|  void | setUnderlineType(short underlineType)set the type of underlining type for the font | 
| Field Detail | 
|---|
static final short SS_NONE
static final short SS_SUPER
static final short SS_SUB
static final byte U_NONE
static final byte U_SINGLE
static final byte U_DOUBLE
static final byte U_SINGLE_ACCOUNTING
static final byte U_DOUBLE_ACCOUNTING
| Method Detail | 
|---|
short getEscapementType()
SS_NONE, 
SS_SUPER, 
SS_SUBvoid setEscapementType(short escapementType)
escapementType - super or subscript optionSS_NONE, 
SS_SUPER, 
SS_SUBshort getFontColorIndex()
void setFontColorIndex(short color)
color - font colour indexColor getFontColor()
void setFontColor(Color color)
color - font colour to useint getFontHeight()
void setFontHeight(int height)
height - the height in twips (in points/20)short getUnderlineType()
U_NONE, 
U_SINGLE, 
U_DOUBLE, 
U_SINGLE_ACCOUNTING, 
U_DOUBLE_ACCOUNTINGvoid setUnderlineType(short underlineType)
underlineType - super or subscript optionU_NONE, 
U_SINGLE, 
U_DOUBLE, 
U_SINGLE_ACCOUNTING, 
U_DOUBLE_ACCOUNTINGboolean isBold()
boolean isItalic()
boolean isStruckout()
void setFontStyle(boolean italic,
                  boolean bold)
italic - - if true, set posture style to italic, otherwise to normalbold - if true, set font weight to bold, otherwise to normalvoid resetFontStyle()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||