Example usage for Java org.apache.poi.hssf.usermodel HSSFFont fields, constructors, methods, implement or subclass
The text is from its open source code.
short | BOLDWEIGHT_NORMAL Normal boldness (not bold) |
short | BOLDWEIGHT_BOLD Bold boldness (bold) |
String | FONT_ARIAL Arial font |
boolean | getBold() get if the font is bold or not |
int | getCharSet() get character-set to use. |
short | getColor() get the color for the font |
short | getFontHeight() get the font height in unit's of 1/20th of a point. |
short | getFontHeightInPoints() get the font height |
String | getFontName() get the name for the font (i.e. |
short | getIndex() get the index within the HSSFWorkbook (sequence within the collection of Font objects) |
boolean | getItalic() get whether to use italics or not |
boolean | getStrikeout() get whether to use a strikeout horizontal line through the text or not |
short | getTypeOffset() get normal,super or subscript. |
byte | getUnderline() get type of text underlining to use |
void | setBold(boolean bold) sets the font to be bold or not |
void | setCharSet(int charset) set character-set to use. |
void | setCharSet(byte charset) set character-set to use. |
void | setColor(short color) set the color for the font |
void | setFontHeight(short height) set the font height in unit's of 1/20th of a point. |
void | setFontHeightInPoints(short height) set the font height |
void | setFontName(String name) set the name for the font (i.e. |
void | setItalic(boolean italic) set whether to use italics or not |
void | setStrikeout(boolean strikeout) set whether to use a strikeout horizontal line through the text or not |
void | setTypeOffset(short offset) set normal,super or subscript. |
void | setUnderline(byte underline) set type of text underlining to use |