Java org.apache.poi.hssf.usermodel HSSFFont fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Field

shortBOLDWEIGHT_NORMAL
Normal boldness (not bold)
shortBOLDWEIGHT_BOLD
Bold boldness (bold)
StringFONT_ARIAL
Arial font

Method

booleangetBold()
get if the font is bold or not
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
StringgetFontName()
get the name for the font (i.e.
shortgetIndex()
get the index within the HSSFWorkbook (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)
sets the font to be bold or not
voidsetCharSet(int charset)
set character-set to use.
voidsetCharSet(byte 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