Package | Description |
---|---|
org.apache.poi.xssf.model | |
org.apache.poi.xssf.usermodel |
Modifier and Type | Method and Description |
---|---|
XSSFFont |
StylesTable.findFont(boolean bold,
Color 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,
where color is the actual Color-value, not the indexed color
|
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,
where color is the indexed-value, not the actual color.
|
XSSFFont |
StylesTable.getFontAt(int idx) |
XSSFFont |
Styles.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 |
Styles.putFont(XSSFFont font)
Records the given font in the font table.
|
int |
StylesTable.putFont(XSSFFont font,
boolean forceRegistration)
Records the given font in the font table.
|
int |
Styles.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 |
XSSFCellStyle.getFont()
Gets the font for this style
|
XSSFFont |
XSSFWorkbook.getFontAt(int idx) |
XSSFFont |
XSSFWorkbook.getFontAt(short idx) |
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 2018 The Apache Software Foundation or its licensors, as applicable.