Package | Description |
---|---|
org.apache.poi.common.usermodel.fonts | |
org.apache.poi.hslf.usermodel | |
org.apache.poi.sl.usermodel | |
org.apache.poi.xddf.usermodel.text | |
org.apache.poi.xslf.usermodel |
Modifier and Type | Method and Description |
---|---|
FontGroup |
FontGroup.FontGroupRange.getFontGroup() |
static FontGroup |
FontGroup.getFontGroupFirst(java.lang.String runText) |
static FontGroup |
FontGroup.valueOf(java.lang.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 |
---|---|
java.lang.String |
HSLFTextRun.getFontFamily(FontGroup fontGroup) |
HSLFFontInfo |
HSLFTextRun.getFontInfo(FontGroup fontGroup) |
void |
HSLFTextRun.setFontFamily(java.lang.String typeface,
FontGroup fontGroup) |
void |
HSLFTextRun.setFontInfo(FontInfo fontInfo,
FontGroup fontGroup) |
Modifier and Type | Method and Description |
---|---|
java.lang.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(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
FontGroup |
XDDFFont.getGroup() |
Modifier and Type | Method and Description |
---|---|
static XDDFFont |
XDDFFont.unsetFontForGroup(FontGroup group) |
Constructor and Description |
---|
XDDFFont(FontGroup group,
org.openxmlformats.schemas.drawingml.x2006.main.CTTextFont font) |
XDDFFont(FontGroup group,
java.lang.String typeface,
java.lang.Byte charset,
java.lang.Byte pitch,
byte[] panose) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
XSLFTextRun.getFontFamily(FontGroup fontGroup) |
FontInfo |
XSLFTextRun.getFontInfo(FontGroup fontGroup) |
void |
XSLFTextRun.setFontFamily(java.lang.String typeface,
FontGroup fontGroup) |
void |
XSLFTextRun.setFontInfo(FontInfo fontInfo,
FontGroup fontGroup) |
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.