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 and Description |
---|---|
protected Font |
Phrase.font
This is the font of this phrase.
|
protected Font |
Chunk.font
This is the Font of this chunk of text.
|
Modifier and Type | Method and Description |
---|---|
Font |
Font.difference(Font font)
Replaces the attributes that are equal to null with the attributes of a given font.
|
Font |
Phrase.getFont()
Gets the font of the first Chunk that appears in this Phrase .
|
Font |
Chunk.getFont()
Gets the font of this Chunk .
|
static Font |
FontFactory.getFont(String fontname)
Constructs a Font -object.
|
Font |
FontFactoryImp.getFont(String fontname)
Constructs a Font -object.
|
static Font |
FontFactory.getFont(String fontname, float size)
Constructs a Font -object.
|
Font |
FontFactoryImp.getFont(String fontname, float size)
Constructs a Font -object.
|
static Font |
FontFactory.getFont(String fontname, float size, BaseColor color)
Constructs a Font -object.
|
Font |
FontFactoryImp.getFont(String fontname, float size, BaseColor color)
Constructs a Font -object.
|
static Font |
FontFactory.getFont(String fontname, float size, int style)
Constructs a Font -object.
|
Font |
FontFactoryImp.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.
|
Font |
FontFactoryImp.getFont(String fontname, float size, int style, BaseColor color)
Constructs a Font -object.
|
static Font |
FontFactory.getFont(String fontname, String encoding)
Constructs a Font -object.
|
Font |
FontFactoryImp.getFont(String fontname, String encoding)
Constructs a Font -object.
|
static Font |
FontFactory.getFont(String fontname, String encoding, boolean embedded)
Constructs a Font -object.
|
Font |
FontFactoryImp.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.
|
Font |
FontFactoryImp.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.
|
Font |
FontFactoryImp.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.
|
Font |
FontProvider.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)
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.
|
Font |
FontFactoryImp.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.
|
Font |
FontFactoryImp.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.
|
Font |
FontFactoryImp.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, String encoding, float size, int style, BaseColor color)
Constructs a Font -object.
|
Modifier and Type | Method and 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 |
Phrase.setFont(Font font)
Sets the main font of this phrase.
|
void |
Chunk.setFont(Font font)
Sets the font of this Chunk .
|
Constructor and 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 and Description |
---|---|
Font |
ElementFactory.getFont(ChainedProperties chain)
Deprecated.
Creates a Font object based on a chain of properties.
|
Modifier and Type | Field and Description |
---|---|
protected Font |
FontSelector.currentFont |
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Font> |
FontSelector.fonts |
protected ArrayList<Font> |
FontSelector.unsupportedFonts |
Modifier and Type | Method and Description |
---|---|
protected Font |
FontSelector.getFont(int i) |
Font |
PdfSignatureAppearance.getLayer2Font()
Gets the n2 and n4 layer font.
|
Modifier and Type | Method and 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 and Description |
---|
LineSeparator(Font font)
Creates a new instance of the LineSeparator class.
|
Modifier and Type | Method and Description |
---|---|
static Chunk |
EntitiesToSymbol.get(String e, Font font)
Gets a chunk with a symbol character.
|
Modifier and Type | Method and Description |
---|---|
Font |
XMLWorkerFontProvider.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color) |
Font |
XMLWorkerFontProvider.getFont(String fontname, String encoding, float size, int style) |
Modifier and Type | Method and Description |
---|---|
Font |
ChunkCssApplier.applyFontStyles(Tag t) |
Constructor and Description |
---|
NoNewLineParagraph(float leading, String string, Font font)
Constructs a Paragraph with a certain leading, String and Font .
|
NoNewLineParagraph(String string, Font font)
Constructs a Paragraph with a certain String and a certain Font .
|
Copyright © 1998–2017. All rights reserved.