Class RtfGenerator

  • All Implemented Interfaces:
    RtfBasicElement, com.lowagie.text.RtfElementInterface

    public class RtfGenerator
    extends RtfElement
    The RtfGenerator creates the (\*\generator ...} element.
    Since:
    2.0.8
    Version:
    $Id: RtfGenerator.java 3580 2008-08-06 15:52:00Z howard_s $
    • Field Detail

      • GENERATOR

        private static final byte[] GENERATOR
        Generator group starting tag
    • Constructor Detail

      • RtfGenerator

        public RtfGenerator​(RtfDocument doc)
        Constructs a RtfGenerator belonging to a RtfDocument
        Parameters:
        doc - The RtfDocument this RtfGenerator belongs to
    • Method Detail

      • writeContent

        public void writeContent​(java.io.OutputStream result)
                          throws java.io.IOException
        Writes the RTF generator group.
        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