Constructor Summary |
|
public | Paragraph() Constructs a Paragraph . |
public | Paragraph(float leading) Constructs a Paragraph with a certain leading. |
public | Paragraph(Chunk chunk) Constructs a Paragraph with a certain Chunk . |
public | Paragraph(float leading, Chunk chunk) Constructs a Paragraph with a certain Chunk
and a certain leading. |
public | Paragraph(String string) Constructs a Paragraph with a certain String . |
public | Paragraph(String string, Font font) Constructs a Paragraph with a certain String
and a certain Font . |
public | Paragraph(float leading, String string) Constructs a Paragraph with a certain String
and a certain leading. |
public | Paragraph(float leading, String string, Font font) Constructs a Paragraph with a certain leading, String
and Font . |
public | Paragraph(Phrase phrase) Constructs a Paragraph with a certain Phrase . |
public | Paragraph(java.util.Properties attributes) Returns a Paragraph that has been constructed taking in account
the value of some attributes. |
Method Summary |
|
public boolean | add(Object o) Adds an Object to the Paragraph .
Parameters: o - object the object to add. |
public int | alignment() Gets the alignment of this paragraph. |
public int | getAlignment() Gets the alignment of this paragraph. |
public float | getExtraParagraphSpace() Getter for property extraParagraphSpace. |
public float | getFirstLineIndent() Getter for property firstLineIndent. |
public float | getIndentationLeft() Gets the indentation of this paragraph on the left side. |
public float | getIndentationRight() Gets the indentation of this paragraph on the right side. |
public boolean | getKeepTogether() Checks if this paragraph has to be kept together on one page. |
public float | getMultipliedLeading() |
public float | getTotalLeading() Gets the total leading.
This method is based on the assumption that the
font of the Paragraph is the font of all the elements
that make part of the paragraph. |
public float | indentationLeft() Gets the indentation of this paragraph on the left side. |
public float | indentationRight() Gets the indentation of this paragraph on the right side. |
public void | setAlignment(int alignment) Sets the alignment of this paragraph. |
public void | setAlignment(String alignment) Sets the alignment of this paragraph. |
public void | setExtraParagraphSpace(float extraParagraphSpace) Setter for property extraParagraphSpace. |
public void | setFirstLineIndent(float firstLineIndent) Setter for property firstLineIndent. |
public void | setIndentationLeft(float indentation) Sets the indentation of this paragraph on the left side. |
public void | setIndentationRight(float indentation) Sets the indentation of this paragraph on the right side. |
public void | setKeepTogether(boolean keeptogether) Indicates that the paragraph has to be kept together on one page. |
public void | setLeading(float fixedLeading) |
public void | setLeading(float fixedLeading, float multipliedLeading) Sets the leading fixed and variable. |
public void | setMultipliedLeading(float multipliedLeading) Sets the variable leading. |
public void | setSpacingAfter(float spacing) Sets the spacing after this paragraph. |
public void | setSpacingBefore(float spacing) Sets the spacing before this paragraph. |
public float | spacingAfter() Gets the spacing after this paragraph. |
public float | spacingBefore() Gets the spacing before this paragraph. |
public int | type() Gets the type of the text element. |