Class RtfPageBreak


  • public class RtfPageBreak
    extends RtfElement

    Model of an RTF page break.

    This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch).

    • Constructor Detail

      • RtfPageBreak

        RtfPageBreak​(IRtfPageBreakContainer parent,
                     java.io.Writer w)
              throws java.io.IOException
        Create an RTF paragraph as a child of given container with default attributes
        Throws:
        java.io.IOException
    • Method Detail

      • writeRtfContent

        protected void writeRtfContent()
                                throws java.io.IOException
        Overridden to write our attributes before our content
        Specified by:
        writeRtfContent in class RtfElement
        Throws:
        java.io.IOException - for I/O problems
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in class RtfElement
        Returns:
        true if this element would generate no "useful" RTF content