| Package | Description |
|---|---|
| org.apache.poi.common.usermodel.fonts | |
| org.apache.poi.sl.usermodel |
| Modifier and Type | Method and Description |
|---|---|
FontGroup |
FontGroup.FontGroupRange.getFontGroup() |
static FontGroup |
FontGroup.getFontGroupFirst(String runText) |
static FontGroup |
FontGroup.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontGroup[] |
FontGroup.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
String |
TextRun.getFontFamily(FontGroup fontGroup)
Get the font family - convenience method for
TextRun.getFontInfo(FontGroup) |
FontInfo |
TextRun.getFontInfo(FontGroup fontGroup)
Get the font info for the given font group
|
void |
TextRun.setFontFamily(String typeface,
FontGroup fontGroup)
Specifies the typeface, or name of the font that is to be used for this text run -
convenience method for calling
TextRun.setFontInfo(FontInfo, FontGroup) with just a font name |
void |
TextRun.setFontInfo(FontInfo fontInfo,
FontGroup fontGroup)
Specifies the font to be used for this text run.
|