Class RtfNewPage

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

    public class RtfNewPage
    extends RtfElement
    The RtfNewPage creates a new page. INTERNAL CLASS
    Version:
    $Id: RtfNewPage.java 3580 2008-08-06 15:52:00Z howard_s $
    • Field Detail

      • NEW_PAGE

        public static final byte[] NEW_PAGE
        Constant for a new page
    • Constructor Detail

      • RtfNewPage

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

      • writeContent

        public void writeContent​(java.io.OutputStream result)
                          throws java.io.IOException
        Writes a new page
        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