Example usage for Java com.itextpdf.text Phrase fields, constructors, methods, implement or subclass
The text is from its open source code.
Phrase(final Phrase phrase) Copy constructor for Phrase . | |
Phrase(final float leading) Constructs a Phrase with a certain leading. | |
Phrase(final Chunk chunk) Constructs a Phrase with a certain Chunk . | |
Phrase(final String string) Constructs a Phrase with a certain String . | |
Phrase(final boolean dummy) Constructs a Phrase that can be used in the static getInstance() method. | |
Phrase(final float leading, final Chunk chunk) Constructs a Phrase with a certain Chunk and a certain leading. | |
Phrase(final String string, final Font font) Constructs a Phrase with a certain String and a certain Font . | |
Phrase(final float leading, final String string) Constructs a Phrase with a certain leading and a certain String . | |
Phrase() Constructs a Phrase without specifying a leading. | |
Phrase(final float leading, final String string, final Font font) Constructs a Phrase with a certain leading, a certain String and a certain Font . |
boolean | add(final String s) Adds a String to this Phrase . |
boolean | add(final Element element) Adds a Chunk , Anchor or another Phrase to this Phrase . |
java.util.List | getChunks() Gets all the chunks in this element. |
Font | getFont() Gets the font of the first Chunk that appears in this Phrase . |
Phrase | getInstance(final String string) Gets a special kind of Phrase that changes some characters into corresponding symbols. |
Phrase | getInstance(final int leading, String string, final Font font) Gets a special kind of Phrase that changes some characters into corresponding symbols. |
Phrase | getInstance(final int leading, final String string) Gets a special kind of Phrase that changes some characters into corresponding symbols. |
float | getTotalLeading() Gets the total leading. |
void | setFont(final Font font) Sets the main font of this phrase. |
void | setLeading(final float fixedLeading) |