com.lowagie.text.rtf.document

Class RtfInfoGroup

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
ArrayListinfoElements
The RtfInfoElements that belong to this RtfInfoGroup
static byte[]INFO_GROUP
Information group starting tag
static byte[]INFO_PASSWORD
Constant for the password element.
Constructor Summary
RtfInfoGroup(RtfDocument doc)
Constructs a RtfInfoGroup belonging to a RtfDocument
Method Summary
voidadd(RtfInfoElement infoElement)
Adds an RtfInfoElement to the RtfInfoGroup
voidwriteContent(OutputStream result)
Writes the RTF information group and its elements.

Field Detail

infoElements

ArrayList infoElements
The RtfInfoElements that belong to this RtfInfoGroup

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

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(OutputStream result)
Writes the RTF information group and its elements.