Package | Description |
---|---|
org.apache.poi.xssf.model | |
org.apache.poi.xssf.usermodel |
Modifier and Type | Method and Description |
---|---|
XSSFFont |
StylesTable.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
|
XSSFFont |
StylesTable.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
StylesTable.findFont(boolean, short, short, String, boolean, boolean, short, byte) instead. |
XSSFFont |
StylesTable.getFontAt(int idx) |
Modifier and Type | Method and Description |
---|---|
java.util.List<XSSFFont> |
StylesTable.getFonts() |
Modifier and Type | Method and Description |
---|---|
int |
StylesTable.putFont(XSSFFont font) |
int |
StylesTable.putFont(XSSFFont font,
boolean forceRegistration)
Records the given font in the font table.
|
Modifier and Type | Method and Description |
---|---|
XSSFFont |
XSSFWorkbook.createFont()
Create a new Font and add it to the workbook's font table
|
XSSFFont |
XSSFWorkbook.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
|
XSSFFont |
XSSFWorkbook.findFont(short boldWeight,
short color,
short fontHeight,
java.lang.String name,
boolean italic,
boolean strikeout,
short typeOffset,
byte underline)
Deprecated.
POI 3.15. Use
XSSFWorkbook.findFont(boolean, short, short, String, boolean, boolean, short, byte) instead. |
XSSFFont |
XSSFCellStyle.getFont()
Gets the font for this style
|
XSSFFont |
XSSFWorkbook.getFontAt(short idx)
Get the font at the given index number
|
XSSFFont |
XSSFRichTextString.getFontAtIndex(int index)
Return a copy of the font in use at a particular index.
|
XSSFFont |
XSSFRichTextString.getFontOfFormattingRun(int index)
Gets a copy of the font used in a particular formatting run.
|
Modifier and Type | Method and Description |
---|---|
void |
XSSFRichTextString.append(java.lang.String text,
XSSFFont font)
Append new text to this text run and apply the specify font to it
|
Copyright 2017 The Apache Software Foundation or its licensors, as applicable.