Package | Description |
---|---|
com.itextpdf.text | |
com.itextpdf.text.html.simpleparser | |
com.itextpdf.text.pdf | |
com.itextpdf.text.pdf.draw | |
com.itextpdf.text.xml.simpleparser | |
com.itextpdf.tool.xml |
XMLWorker package provides a framework to parse XML to PDF with iText.
|
com.itextpdf.tool.xml.css.apply |
Contains classes that can apply css rules on certain
Element s. |
com.itextpdf.tool.xml.html.pdfelement |
Element s created for specific use when processing HTML. |
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(java.lang.String fontname) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
float size) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
float size,
int style) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
float size,
BaseColor color) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
java.lang.String encoding) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded,
float size) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded,
float size,
int style) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded,
float size,
int style,
BaseColor color,
boolean cached) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
java.lang.String encoding,
float size) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
java.lang.String encoding,
float size,
int style) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(java.lang.String fontname,
java.lang.String encoding,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
float size) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
float size,
int style) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
float size,
BaseColor color) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
java.lang.String encoding) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded,
float size) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded,
float size,
int style) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded,
float size,
int style,
BaseColor color,
boolean cached) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
java.lang.String encoding,
float size) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
java.lang.String encoding,
float size,
int style) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(java.lang.String fontname,
java.lang.String encoding,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
Font |
FontProvider.getFont(java.lang.String fontname,
java.lang.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,
java.lang.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,
java.lang.String string,
Font font) |
Constructs an
Anchor with a certain leading,
a certain String and a certain Font . |
Anchor(java.lang.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(java.lang.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,
java.lang.String string,
Font font) |
Constructs a
ListItem with a certain leading, String
and Font . |
ListItem(java.lang.String string,
Font font) |
Constructs a
ListItem with a certain String
and a certain Font . |
Paragraph(float leading,
java.lang.String string,
Font font) |
Constructs a
Paragraph with a certain leading, String
and Font . |
Paragraph(java.lang.String string,
Font font) |
Constructs a
Paragraph with a certain String
and a certain Font . |
Phrase(float leading,
java.lang.String string,
Font font) |
Constructs a
Phrase with a certain leading, a certain String
and a certain Font . |
Phrase(java.lang.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 java.util.ArrayList<Font> |
FontSelector.fonts |
|
protected java.util.ArrayList<Font> |
FontSelector.unsupportedFonts |
Modifier and Type | Method | Description |
---|---|---|
protected Font |
FontSelector.getFont(int i) |
|
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,
java.lang.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(java.lang.String e,
Font font) |
Gets a chunk with a symbol character.
|
Modifier and Type | Method | Description |
---|---|---|
Font |
XMLWorkerFontProvider.getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded,
float size,
int style,
BaseColor color) |
|
Font |
XMLWorkerFontProvider.getFont(java.lang.String fontname,
java.lang.String encoding,
float size,
int style) |
Modifier and Type | Method | Description |
---|---|---|
Font |
ChunkCssApplier.applyFontStyles(Tag t) |
Constructor | Description |
---|---|
NoNewLineParagraph(float leading,
java.lang.String string,
Font font) |
Constructs a
Paragraph with a certain leading, String
and Font . |
NoNewLineParagraph(java.lang.String string,
Font font) |
Constructs a
Paragraph with a certain String
and a certain Font . |
Copyright © 1998–2018. All rights reserved.