Example usage for Java org.apache.poi.xssf.usermodel XSSFFont fields, constructors, methods, implement or subclass
The text is from its open source code.
String | DEFAULT_FONT_NAME By default, Microsoft Office Excel 2007 uses the Calibri font in font size 11 |
short | DEFAULT_FONT_SIZE By default, Microsoft Office Excel 2007 uses the Calibri font in font size 11 |
short | DEFAULT_FONT_COLOR Default font color is black |
boolean | getBold() get a boolean value for the boldness to use. |
short | getColor() get the indexed color value for the font References a color defined in IndexedColors. |
CTFont | getCTFont() get the underlying CTFont 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 of the font (i.e. |
boolean | getItalic() get a boolean value that specify whether to use italics or not |
short | getTypeOffset() get normal,super or subscript. |
byte | getUnderline() get type of text underlining to use |
XSSFColor | getXSSFColor() get the color value for the font References a color defined as Standard Alpha Red Green Blue color value (ARGB). |
void | setBold(boolean bold) set a boolean value for the boldness to use. |
void | setCharSet(byte charset) set character-set to use. |
void | setCharSet(int charset) set character-set to use. |
void | setCharSet(FontCharset charSet) set character-set to use. |
void | setColor(short color) set the indexed color for the font |
void | setColor(XSSFColor color) set the color for the font in Standard Alpha Red Green Blue color value |
void | setFamily(int value) Set the font family this font belongs to. |
void | setFamily(FontFamily family) set an enumeration representing the font family this font belongs to. |
void | setFontHeight(short height) set the font height in points. |
void | setFontHeight(double height) set the font height in points. |
void | setFontHeightInPoints(short height) set the font height in points. |
void | setFontName(String name) set the name for the font (i.e. |
void | setItalic(boolean italic) set a boolean value for the property specifying whether to use italics or not If omitted, the default value is true. |
void | setStrikeout(boolean strikeout) set a boolean value for the property specifying whether to use a strikeout horizontal line through the text or not If omitted, the default value is true. |
void | setTypeOffset(short offset) set normal,super or subscript, that representing the vertical-alignment setting. |
void | setUnderline(byte underline) set the style of underlining that is used. |
void | setUnderline(FontUnderline underline) set an enumeration representing the style of underlining that is used. |