Package | Description |
---|---|
org.apache.poi.hssf.usermodel |
The usermodel package maps HSSF low level structures to familiar workbook/sheet model
|
org.apache.poi.ss.usermodel | |
org.apache.poi.ss.util | |
org.apache.poi.xssf.streaming | |
org.apache.poi.xssf.usermodel |
Modifier and Type | Class and Description |
---|---|
class |
HSSFFont
Represents a Font used in a workbook.
|
Modifier and Type | Method and Description |
---|---|
void |
HSSFRichTextString.applyFont(Font font)
Sets the font of the entire string.
|
void |
HSSFRichTextString.applyFont(int startIndex,
int endIndex,
Font font)
Applies a font to the specified characters of a string.
|
void |
HSSFCellStyle.setFont(Font font)
set the font for this style
|
Modifier and Type | Method and Description |
---|---|
Font |
Workbook.createFont()
Create a new Font and add it to the workbook's font table
|
Font |
Workbook.findFont(boolean bold,
short color,
short fontHeight,
java.lang.String name,
boolean italic,
boolean strikeout,
short typeOffset,
byte underline)
Finds a font that matches the one with the supplied attributes
|
Font |
Workbook.getFontAt(int idx)
Get the font at the given index number
|
Modifier and Type | Method and Description |
---|---|
void |
RichTextString.applyFont(Font font)
Sets the font of the entire string.
|
void |
RichTextString.applyFont(int startIndex,
int endIndex,
Font font)
Applies a font to the specified characters of a string.
|
void |
CellStyle.setFont(Font font)
set the font for this style
|
Modifier and Type | Method and Description |
---|---|
static boolean |
SheetUtil.canComputeColumnWidth(Font font)
Check if the Fonts are installed correctly so that Java can compute the size of
columns.
|
static void |
CellUtil.setFont(Cell cell,
Font font)
Take a cell, and apply a font to it
|
Modifier and Type | Method and Description |
---|---|
Font |
SXSSFWorkbook.createFont()
Create a new Font and add it to the workbook's font table
|
Font |
SXSSFWorkbook.findFont(boolean bold,
short color,
short fontHeight,
java.lang.String name,
boolean italic,
boolean strikeout,
short typeOffset,
byte underline)
Finds a font that matches the one with the supplied attributes
|
Font |
SXSSFWorkbook.getFontAt(int idx) |
Modifier and Type | Class and Description |
---|---|
class |
XSSFFont
Represents a font used in a workbook.
|
Modifier and Type | Method and Description |
---|---|
void |
XSSFRichTextString.applyFont(Font font)
Sets the font of the entire string.
|
void |
XSSFRichTextString.applyFont(int startIndex,
int endIndex,
Font font)
Applies a font to the specified characters of a string.
|
void |
XSSFCellStyle.setFont(Font font)
Set the font for this style
|
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.