Package com.lowagie.text.rtf.document
Class RtfInfoGroup
- java.lang.Object
-
- com.lowagie.text.rtf.RtfElement
-
- com.lowagie.text.rtf.document.RtfInfoGroup
-
- All Implemented Interfaces:
RtfBasicElement,RtfElementInterface
public class RtfInfoGroup extends RtfElement
The RtfInfoGroup stores information group elements.- Version:
- $Id: RtfInfoGroup.java 3580 2008-08-06 15:52:00Z howard_s $
- Author:
- Mark Hall (Mark.Hall@mail.room3b.eu), Thomas Bickel (tmb99@inode.at), Howard Shank (hgshank@yahoo.com)
-
-
Field Summary
Fields Modifier and Type Field Description private static byte[]INFO_GROUPInformation group starting tagprivate static byte[]INFO_PASSWORDConstant for the password element.(package private) java.util.ArrayListinfoElementsThe RtfInfoElements that belong to this RtfInfoGroup-
Fields inherited from class com.lowagie.text.rtf.RtfElement
document, inHeader, inTable
-
Fields inherited from interface com.lowagie.text.rtf.RtfBasicElement
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR
-
-
Constructor Summary
Constructors Constructor Description RtfInfoGroup(RtfDocument doc)Constructs a RtfInfoGroup belonging to a RtfDocument
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(RtfInfoElement infoElement)Adds an RtfInfoElement to the RtfInfoGroupvoidwriteContent(java.io.OutputStream result)Writes the RTF information group and its elements.-
Methods inherited from class com.lowagie.text.rtf.RtfElement
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
-
-
-
-
Field Detail
-
INFO_GROUP
private static final byte[] INFO_GROUP
Information group starting tag
-
INFO_PASSWORD
private static final byte[] INFO_PASSWORD
Constant for the password element. Author: Howard Shank (hgshank@yahoo.com)- Since:
- 2.1.1
-
infoElements
java.util.ArrayList infoElements
The RtfInfoElements that belong to this RtfInfoGroup
-
-
Constructor Detail
-
RtfInfoGroup
public RtfInfoGroup(RtfDocument doc)
Constructs a RtfInfoGroup belonging to a RtfDocument- Parameters:
doc- The RtfDocument this RtfInfoGroup belongs to
-
-
Method Detail
-
add
public void add(RtfInfoElement infoElement)
Adds an RtfInfoElement to the RtfInfoGroup- Parameters:
infoElement- The RtfInfoElement to add
-
writeContent
public void writeContent(java.io.OutputStream result) throws java.io.IOExceptionWrites the RTF information group and its elements.- Specified by:
writeContentin interfaceRtfBasicElement- Specified by:
writeContentin classRtfElement- Parameters:
result- TheOutputStreamto write the content to- Throws:
java.io.IOException
-
-