Java com.itextpdf.text Paragraph fields, constructors, methods, implement or subclass

Example usage for Java com.itextpdf.text Paragraph fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.itextpdf.text Paragraph.

The text is from its open source code.

Subclass

com.itextpdf.text.Paragraph has subclasses.
Click this link to see all its subclasses.

Constructor

Paragraph(float leading)
Constructs a Paragraph with a certain leading.
Paragraph(Chunk chunk)
Constructs a Paragraph with a certain Chunk.
Paragraph(String string)
Constructs a Paragraph with a certain String.
Paragraph(Phrase phrase)
Constructs a Paragraph with a certain Phrase.
Paragraph(float leading, Chunk chunk)
Constructs a Paragraph with a certain Chunk and a certain leading.
Paragraph(String string, Font font)
Constructs a Paragraph with a certain String and a certain Font.
Paragraph(float leading, String string)
Constructs a Paragraph with a certain String and a certain leading.
Paragraph()
Constructs a Paragraph.
Paragraph(float leading, String string, Font font)
Constructs a Paragraph with a certain leading, String and Font.

Method

booleanadd(Element o)
Adds an Element to the Paragraph.
voidadd(final int index, final Element element)
Adds a Chunk, an Anchor or another Phrase to this Phrase.
java.util.ListgetChunks()
Gets all the chunks in this element.
StringgetContent()
Returns the content as a String object.
FontgetFont()
Gets the font of the first Chunk that appears in this Phrase.
floatgetIndentationLeft()
floatgetLeading()
Gets the leading of this phrase.
floatgetMultipliedLeading()
Gets the variable leading
booleanisEmpty()
Checks is this Phrase contains no or 1 empty Chunk.
voidsetAlignment(int alignment)
Sets the alignment of this paragraph.
voidsetExtraParagraphSpace(float extraParagraphSpace)
Setter for property extraParagraphSpace.
voidsetFirstLineIndent(float firstLineIndent)
Setter for property firstLineIndent.
voidsetFont(final Font font)
Sets the main font of this phrase.
voidsetIndentationLeft(float indentation)
voidsetIndentationRight(float indentation)
voidsetKeepTogether(boolean keeptogether)
Indicates that the paragraph has to be kept together on one page.
voidsetLeading(final float fixedLeading)
voidsetLeading(final float fixedLeading, final float multipliedLeading)
Sets the leading fixed and variable.
voidsetMultipliedLeading(final float multipliedLeading)
Sets the variable leading.
voidsetPaddingTop(float paddingTop)
voidsetSpacingAfter(float spacing)
voidsetSpacingBefore(float spacing)
voidsetTabSettings(TabSettings tabSettings)
Setter for the tab stops.