| Package | Description |
|---|---|
| com.itextpdf.text | |
| com.itextpdf.text.html.simpleparser | |
| com.itextpdf.text.pdf | |
| com.itextpdf.text.pdf.draw | |
| com.itextpdf.text.xml.simpleparser |
| Modifier and Type | Field | Description |
|---|---|---|
protected Font |
Chunk.font |
This is the
Font of this chunk of text. |
protected Font |
Phrase.font |
This is the font of this phrase.
|
| Modifier and Type | Method | Description |
|---|---|---|
Font |
Font.difference(Font font) |
Replaces the attributes that are equal to null with the
attributes of a given font.
|
Font |
Chunk.getFont() |
Gets the font of this
Chunk. |
static Font |
FontFactory.getFont(String fontname) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
float size) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
float size,
int style) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
float size,
int style,
BaseColor color) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
float size,
BaseColor color) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
String encoding) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
String encoding,
boolean embedded) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
String encoding,
boolean embedded,
float size) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style,
BaseColor color) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style,
BaseColor color,
boolean cached) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
String encoding,
float size) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
String encoding,
float size,
int style) |
Constructs a
Font-object. |
static Font |
FontFactory.getFont(String fontname,
String encoding,
float size,
int style,
BaseColor color) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
float size) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
float size,
int style) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
float size,
int style,
BaseColor color) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
float size,
BaseColor color) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding,
boolean embedded) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding,
boolean embedded,
float size) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style,
BaseColor color) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style,
BaseColor color,
boolean cached) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding,
float size) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding,
float size,
int style) |
Constructs a
Font-object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding,
float size,
int style,
BaseColor color) |
Constructs a
Font-object. |
Font |
FontProvider.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style,
BaseColor color) |
Constructs a
Font-object. |
Font |
Phrase.getFont() |
Gets the font of the first
Chunk that appears in this Phrase. |
| Modifier and Type | Method | Description |
|---|---|---|
int |
Font.compareTo(Font font) |
Compares this
Font with another |
Font |
Font.difference(Font font) |
Replaces the attributes that are equal to null with the
attributes of a given font.
|
static Chunk |
SpecialSymbol.get(char c,
Font font) |
Gets a chunk with a symbol character.
|
static Phrase |
Phrase.getInstance(int leading,
String string,
Font font) |
Gets a special kind of Phrase that changes some characters into corresponding symbols.
|
void |
Chunk.setFont(Font font) |
Sets the font of this
Chunk. |
void |
Phrase.setFont(Font font) |
Sets the main font of this phrase.
|
| Constructor | Description |
|---|---|
Anchor(float leading,
String string,
Font font) |
Constructs an
Anchor with a certain leading,
a certain String and a certain Font. |
Anchor(String string,
Font font) |
Constructs an
Anchor with a certain String
and a certain Font. |
Chunk(char c,
Font font) |
Constructs a chunk of text with a char and a certain
Font. |
Chunk(String content,
Font font) |
Constructs a chunk of text with a certain content and a certain
Font. |
Font(Font other) |
Copy constructor of a Font
|
ListItem(float leading,
String string,
Font font) |
Constructs a
ListItem with a certain leading, String
and Font. |
ListItem(String string,
Font font) |
Constructs a
ListItem with a certain String
and a certain Font. |
Paragraph(float leading,
String string,
Font font) |
Constructs a
Paragraph with a certain leading, String
and Font. |
Paragraph(String string,
Font font) |
Constructs a
Paragraph with a certain String
and a certain Font. |
Phrase(float leading,
String string,
Font font) |
Constructs a
Phrase with a certain leading, a certain String
and a certain Font. |
Phrase(String string,
Font font) |
Constructs a
Phrase with a certain String and a certain Font. |
| Modifier and Type | Method | Description |
|---|---|---|
Font |
ElementFactory.getFont(ChainedProperties chain) |
Deprecated.
Creates a Font object based on a chain of properties.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected Font |
FontSelector.currentFont |
| Modifier and Type | Field | Description |
|---|---|---|
protected ArrayList<Font> |
FontSelector.fonts |
| Modifier and Type | Method | Description |
|---|---|---|
Font |
PdfSignatureAppearance.getLayer2Font() |
Gets the n2 and n4 layer font.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
FontSelector.addFont(Font font) |
Adds a
Font to be searched for valid characters. |
protected void |
PdfDocument.addSpacing(float extraspace,
float oldleading,
Font f) |
Calls addSpacing(float, float, Font, boolean (false)).
|
protected void |
PdfDocument.addSpacing(float extraspace,
float oldleading,
Font f,
boolean spacingAfter) |
Adds extra spacing.
|
static float |
ColumnText.fitText(Font font,
String text,
Rectangle rect,
float maxFontSize,
int runDirection) |
Fits the text to some rectangle adjusting the font size as needed.
|
void |
PdfSignatureAppearance.setLayer2Font(Font layer2Font) |
Sets the n2 and n4 layer font.
|
| Constructor | Description |
|---|---|
LineSeparator(Font font) |
Creates a new instance of the LineSeparator class.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Chunk |
EntitiesToSymbol.get(String e,
Font font) |
Gets a chunk with a symbol character.
|
Copyright © 2018. All rights reserved.