com.lowagie.text.rtf.document

Class RtfInfoGroup

public class RtfInfoGroup extends RtfElement

The RtfInfoGroup stores information group elements.

Version: $Version:$

Author: Mark Hall (mhall@edu.uni-klu.ac.at)

Field Summary
ArrayListinfoElements
The RtfInfoElements that belong to this RtfInfoGroup
static byte[]INFO_GROUP
Information group starting tag
Constructor Summary
RtfInfoGroup(RtfDocument doc)
Constructs a RtfInfoGroup belonging to a RtfDocument
Method Summary
voidadd(RtfInfoElement infoElement)
Adds an RtfInfoElement to the RtfInfoGroup
byte[]write()
Writes the RtfInfoGroup and its RtfInfoElement 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

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

write

public byte[] write()
Writes the RtfInfoGroup and its RtfInfoElement elements.

Returns: A byte array containing the group and its elements