public class RtfSection extends RtfElement
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList |
items
The sub-items of this RtfSection
|
protected RtfParagraph |
title
The title paragraph of this RtfSection
|
document, inHeader, inTableCLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR| Constructor and Description |
|---|
RtfSection(RtfDocument doc,
com.lowagie.text.Section section)
Constructs a RtfSection for a given Section.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
writeContent(OutputStream result)
Write this RtfSection and its contents
|
intToByteArray, isInTable, setRtfDocumentprotected RtfParagraph title
protected ArrayList items
public RtfSection(RtfDocument doc, com.lowagie.text.Section section)
doc - The RtfDocument this RtfSection belongs tosection - The Section this RtfSection is based onpublic void writeContent(OutputStream result) throws IOException
writeContent in interface RtfBasicElementwriteContent in class RtfElementresult - The OutputStream to write the content toIOExceptionpublic void setInTable(boolean inTable)
setInTable in interface RtfBasicElementsetInTable in class RtfElementinTable - True if this RtfSection is in a table, false otherwisepublic void setInHeader(boolean inHeader)
setInHeader in interface RtfBasicElementsetInHeader in class RtfElementinHeader - True if this RtfSection is in a header, false otherwiseCopyright © 2017. All rights reserved.