Example usage for Java org.apache.poi.ss.usermodel Font fields, constructors, methods, implement or subclass
The text is from its open source code.
short | COLOR_NORMAL normal type of black color. |
short | COLOR_RED Dark Red color |
short | SS_NONE no type offsetting (not super or subscript) |
short | SS_SUPER superscript |
short | SS_SUB subscript |
byte | U_NONE not underlined |
byte | U_SINGLE single (normal) underline |
byte | U_DOUBLE double underlined |
byte | U_SINGLE_ACCOUNTING accounting style single underline |
byte | U_DOUBLE_ACCOUNTING accounting style double underline |
boolean | getBold() |
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 in points. |
String | getFontName() get the name for the font (i.e. |
short | getIndex() Get the index within the XSSFWorkbook (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) |
void | setCharSet(byte charset) set character-set to use. |
void | setCharSet(int 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 |