Class RtfInfoGroup

  • All Implemented Interfaces:
    RtfBasicElement, com.lowagie.text.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 $
    • 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

        private final java.util.List<RtfInfoElement> 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.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:
        java.io.IOException