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 3126 2008-02-07 20:30:46Z hallm $
- Author:
- Mark Hall (mhall@edu.uni-klu.ac.at), Thomas Bickel (tmb99@inode.at)
|
Field Summary |
private static byte[] |
INFO_GROUP
Information group starting tag |
(package private) ArrayList |
infoElements
The RtfInfoElements that belong to this RtfInfoGroup |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INFO_GROUP
private static final byte[] INFO_GROUP
- Information group starting tag
infoElements
ArrayList infoElements
- The RtfInfoElements that belong to this RtfInfoGroup
RtfInfoGroup
public RtfInfoGroup(RtfDocument doc)
- Constructs a RtfInfoGroup belonging to a RtfDocument
- Parameters:
doc - The RtfDocument this RtfInfoGroup belongs to
add
public void add(RtfInfoElement infoElement)
- Adds an RtfInfoElement to the RtfInfoGroup
- Parameters:
infoElement - The RtfInfoElement to add
writeContent
public void writeContent(OutputStream result)
throws IOException
- Writes the RTF information group and its elements.
- Specified by:
writeContent in interface RtfBasicElement- Specified by:
writeContent in class RtfElement
- Parameters:
result - The OutputStream to write the content to
- Throws:
IOException