| Package | Description |
|---|---|
| org.apache.poi.common.usermodel.fonts | |
| org.apache.poi.sl.draw | |
| org.apache.poi.sl.usermodel |
| Modifier and Type | Class and Description |
|---|---|
class |
FontHeader
The header data of an EOT font.
|
| Modifier and Type | Method and Description |
|---|---|
FontInfo |
DrawFontManagerDefault.getFallbackFont(Graphics2D graphics,
FontInfo fontInfo) |
FontInfo |
DrawFontManager.getFallbackFont(Graphics2D graphics,
FontInfo fontInfo)
In case the original font doesn't contain a glyph, use the
returned fallback font as an alternative
|
FontInfo |
DrawFontManagerDefault.getMappedFont(Graphics2D graphics,
FontInfo fontInfo) |
FontInfo |
DrawFontManager.getMappedFont(Graphics2D graphics,
FontInfo fontInfo)
select a font to be used to paint text
|
| Modifier and Type | Method and Description |
|---|---|
Font |
DrawFontManagerDefault.createAWTFont(Graphics2D graphics,
FontInfo fontInfo,
double fontSize,
boolean bold,
boolean italic) |
Font |
DrawFontManager.createAWTFont(Graphics2D graphics,
FontInfo fontInfo,
double size,
boolean bold,
boolean italic)
Create an AWT font object with the given attributes
|
FontInfo |
DrawFontManagerDefault.getFallbackFont(Graphics2D graphics,
FontInfo fontInfo) |
FontInfo |
DrawFontManager.getFallbackFont(Graphics2D graphics,
FontInfo fontInfo)
In case the original font doesn't contain a glyph, use the
returned fallback font as an alternative
|
FontInfo |
DrawFontManagerDefault.getMappedFont(Graphics2D graphics,
FontInfo fontInfo) |
FontInfo |
DrawFontManager.getMappedFont(Graphics2D graphics,
FontInfo fontInfo)
select a font to be used to paint text
|
String |
DrawFontManagerDefault.mapFontCharset(Graphics2D graphics,
FontInfo fontInfo,
String text)
Symbol fonts like "Wingdings" or "Symbol" have glyphs mapped to a Unicode private use range via the Java font loader,
although a system font viewer might show you the glyphs in the ASCII range.
|
String |
DrawFontManager.mapFontCharset(Graphics2D graphics,
FontInfo fontInfo,
String text)
Map text charset depending on font family.
|
| Modifier and Type | Method and Description |
|---|---|
FontInfo |
SlideShow.addFont(InputStream fontData)
Add an EOT font to the slideshow.
|
FontInfo |
TextRun.getFontInfo(FontGroup fontGroup)
Get the font info for the given font group
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends FontInfo> |
SlideShow.getFonts() |
| Modifier and Type | Method and Description |
|---|---|
void |
TextRun.setFontInfo(FontInfo fontInfo,
FontGroup fontGroup)
Specifies the font to be used for this text run.
|