Class RtfChapter

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

    public class RtfChapter
    extends RtfSection
    The RtfChapter wraps a Chapter element. INTERNAL CLASS
    Version:
    $Id: RtfChapter.java 3580 2008-08-06 15:52:00Z howard_s $
    • Constructor Detail

      • RtfChapter

        public RtfChapter​(RtfDocument doc,
                          com.lowagie.text.Chapter chapter)
        Constructs a RtfChapter for a given Chapter
        Parameters:
        doc - The RtfDocument this RtfChapter belongs to
        chapter - The Chapter this RtfChapter is based on
    • Method Detail

      • writeContent

        public void writeContent​(java.io.OutputStream result)
                          throws java.io.IOException
        Writes the RtfChapter and its contents
        Specified by:
        writeContent in interface RtfBasicElement
        Overrides:
        writeContent in class RtfSection
        Parameters:
        result - The OutputStream to write the content to
        Throws:
        java.io.IOException