Class RtfInfoGroup
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.document.RtfInfoGroup
- All Implemented Interfaces:
RtfBasicElement
The RtfInfoGroup stores information group elements.
- Version:
- $Id: RtfInfoGroup.java 3580 2008-08-06 15:52:00Z howard_s $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]Information group starting tagprivate static final byte[]Constant for the password element.private final List<RtfInfoElement> The RtfInfoElements that belong to this RtfInfoGroupFields inherited from class RtfElement
document, inHeader, inTableFields inherited from interface RtfBasicElement
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR -
Constructor Summary
ConstructorsConstructorDescriptionRtfInfoGroup(RtfDocument doc) Constructs a RtfInfoGroup belonging to a RtfDocument -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(RtfInfoElement infoElement) Adds an RtfInfoElement to the RtfInfoGroupvoidwriteContent(OutputStream result) Writes the RTF information group and its elements.Methods inherited from class RtfElement
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
-
Field Details
-
INFO_GROUP
private static final byte[] INFO_GROUPInformation group starting tag -
INFO_PASSWORD
private static final byte[] INFO_PASSWORDConstant for the password element. Author: Howard Shank (hgshank@yahoo.com)- Since:
- 2.1.1
-
infoElements
The RtfInfoElements that belong to this RtfInfoGroup
-
-
Constructor Details
-
RtfInfoGroup
Constructs a RtfInfoGroup belonging to a RtfDocument- Parameters:
doc- The RtfDocument this RtfInfoGroup belongs to
-
-
Method Details
-
add
Adds an RtfInfoElement to the RtfInfoGroup- Parameters:
infoElement- The RtfInfoElement to add
-
writeContent
Writes the RTF information group and its elements.- Specified by:
writeContentin interfaceRtfBasicElement- Specified by:
writeContentin classRtfElement- Parameters:
result- TheOutputStreamto write the content to- Throws:
IOException
-