public class RtfInfoGroup extends RtfElement
Modifier and Type | Field and Description |
---|---|
private static byte[] |
INFO_GROUP
Information group starting tag
|
(package private) java.util.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
|
byte[] |
write()
Writes the RtfInfoGroup and its RtfInfoElement elements.
|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
private static final byte[] INFO_GROUP
java.util.ArrayList infoElements
public RtfInfoGroup(RtfDocument doc)
doc
- The RtfDocument this RtfInfoGroup belongs topublic void add(RtfInfoElement infoElement)
infoElement
- The RtfInfoElement to addpublic byte[] write()
write
in interface RtfBasicElement
write
in class RtfElement