public class RtfInfoGroup extends RtfElement
Modifier and Type | Field and Description |
---|---|
private static byte[] |
INFO_GROUP
Information group starting tag
|
private static byte[] |
INFO_PASSWORD
Constant for the password element.
|
(package private) ArrayList |
infoElements
The RtfInfoElements that belong to this RtfInfoGroup
|
document, inHeader, inTable
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR
Constructor and Description |
---|
RtfInfoGroup(RtfDocument doc)
Constructs a RtfInfoGroup belonging to a RtfDocument
|
Modifier and Type | Method and Description |
---|---|
void |
add(RtfInfoElement infoElement)
Adds an RtfInfoElement to the RtfInfoGroup
|
void |
writeContent(OutputStream result)
Writes the RTF information group and its elements.
|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
private static final byte[] INFO_GROUP
private static final byte[] INFO_PASSWORD
ArrayList infoElements
public RtfInfoGroup(RtfDocument doc)
doc
- The RtfDocument this RtfInfoGroup belongs topublic void add(RtfInfoElement infoElement)
infoElement
- The RtfInfoElement to addpublic void writeContent(OutputStream result) throws IOException
writeContent
in interface RtfBasicElement
writeContent
in class RtfElement
result
- The OutputStream
to write the content toIOException