Package | Description |
---|---|
org.apache.poi.hssf.usermodel |
usermodel package maps HSSF low level strutures 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.findFont(short boldWeight,
short color,
short fontHeight,
java.lang.String name,
boolean italic,
boolean strikeout,
short typeOffset,
byte underline)
Deprecated.
POI 3.15 beta 2. Use
Workbook.findFont(boolean, short, short, String, boolean, boolean, short, byte) instead. |
Font |
Workbook.getFontAt(short 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
|
static void |
CellUtil.setFont(Cell cell,
Workbook workbook,
Font font)
Deprecated.
3.15-beta2. Use
CellUtil.setFont(Cell, Font) instead. |
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.findFont(short boldWeight,
short color,
short fontHeight,
java.lang.String name,
boolean italic,
boolean strikeout,
short typeOffset,
byte underline)
Deprecated.
POI 3.15 beta 2. Use
SXSSFWorkbook.findFont(boolean, short, short, String, boolean, boolean, short, byte) instead. |
Font |
SXSSFWorkbook.getFontAt(short idx)
Get the font at the given index number
|
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 2017 The Apache Software Foundation or its licensors, as applicable.