com.lowagie.text.rtf.text
public class RtfParagraph extends RtfPhrase
Version: $Id: RtfParagraph.java 3670 2009-02-01 09:13:48Z blowagie $
Field Summary | |
---|---|
protected RtfParagraphStyle | paragraphStyle
An optional RtfParagraphStyle to use for styling. |
static byte[] | PARAGRAPH
Constant for the end of a paragraph |
Constructor Summary | |
---|---|
RtfParagraph(RtfDocument doc, Paragraph paragraph)
Constructs a RtfParagraph belonging to a RtfDocument based on a Paragraph.
|
Method Summary | |
---|---|
int | getIndentLeft()
Gets the left indentation of this RtfParagraph.
|
int | getIndentRight()
Gets the right indentation of this RtfParagraph.
|
void | setIndentLeft(int indentLeft)
Sets the left indentation of this RtfParagraph.
|
void | setIndentRight(int indentRight)
Sets the right indentation of this RtfParagraph.
|
void | setKeepTogetherWithNext(boolean keepTogetherWithNext)
Set whether this RtfParagraph must stay on the same page as the next one.
|
void | writeContent(OutputStream result)
Writes the content of this RtfParagraph. |
Parameters: doc The RtfDocument this RtfParagraph belongs to paragraph The Paragraph that this RtfParagraph is based on
Returns: The left indentation.
Returns: The right indentation.
Parameters: indentLeft The left indentation to use.
Parameters: indentRight The right indentation to use.
Parameters: keepTogetherWithNext Whether this RtfParagraph must keep together with the next.