com.lowagie.text.rtf.text
public class RtfSection extends RtfElement
Version: $Id: RtfSection.java 2776 2007-05-23 20:01:40Z hallm $
Field Summary | |
---|---|
protected ArrayList | items
The sub-items of this RtfSection |
protected RtfParagraph | title
The title paragraph of this RtfSection |
Constructor Summary | |
---|---|
RtfSection(RtfDocument doc, Section section)
Constructs a RtfSection for a given Section. |
Method Summary | |
---|---|
void | setInHeader(boolean inHeader)
Sets whether this RtfSection is in a header. |
void | setInTable(boolean inTable)
Sets whether this RtfSection is in a table. |
void | updateIndentation(float indentLeft, float indentRight, float indentContent)
Updates the left, right and content indentation of all RtfParagraph and RtfSection
elements that this RtfSection contains.
|
byte[] | write()
Write this RtfSection and its contents
|
void | writeContent(OutputStream result)
Write this RtfSection and its contents |
Parameters: doc The RtfDocument this RtfSection belongs to section The Section this RtfSection is based on
Parameters: inHeader True
if this RtfSection is in a header, false
otherwise
Parameters: inTable True
if this RtfSection is in a table, false
otherwise
Parameters: indentLeft The left indentation to add. indentRight The right indentation to add. indentContent The content indentation to add.
Deprecated: replaced by writeContent
Write this RtfSection and its contentsReturns: A byte array with the RtfSection and its contents