Java org.apache.poi.ss.usermodel Font fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.ss.usermodel Font fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.ss.usermodel Font.

The text is from its open source code.

Field

shortCOLOR_NORMAL
normal type of black color.
shortCOLOR_RED
Dark Red color
shortSS_NONE
no type offsetting (not super or subscript)
shortSS_SUPER
superscript
shortSS_SUB
subscript
byteU_NONE
not underlined
byteU_SINGLE
single (normal) underline
byteU_DOUBLE
double underlined
byteU_SINGLE_ACCOUNTING
accounting style single underline
byteU_DOUBLE_ACCOUNTING
accounting style double underline

Method

booleangetBold()
intgetCharSet()
get character-set to use.
shortgetColor()
get the color for the font
shortgetFontHeight()
Get the font height in unit's of 1/20th of a point.
shortgetFontHeightInPoints()
Get the font height in points.
StringgetFontName()
get the name for the font (i.e.
shortgetIndex()
Get the index within the XSSFWorkbook (sequence within the collection of Font objects)
booleangetItalic()
get whether to use italics or not
booleangetStrikeout()
get whether to use a strikeout horizontal line through the text or not
shortgetTypeOffset()
get normal,super or subscript.
bytegetUnderline()
get type of text underlining to use
voidsetBold(boolean bold)
voidsetCharSet(byte charset)
set character-set to use.
voidsetCharSet(int charset)
set character-set to use.
voidsetColor(short color)
set the color for the font
voidsetFontHeight(short height)
set the font height in unit's of 1/20th of a point.
voidsetFontHeightInPoints(short height)
set the font height
voidsetFontName(String name)
set the name for the font (i.e.
voidsetItalic(boolean italic)
set whether to use italics or not
voidsetStrikeout(boolean strikeout)
set whether to use a strikeout horizontal line through the text or not
voidsetTypeOffset(short offset)
set normal,super or subscript.
voidsetUnderline(byte underline)
set type of text underlining to use