Class RtfPageArea


  • public class RtfPageArea
    extends RtfContainer

    Page area container.

    This work was authored by Christopher Scott (scottc@westinghouse.com).

    • Field Detail

      • currentPage

        private RtfPage currentPage
    • Constructor Detail

      • RtfPageArea

        RtfPageArea​(RtfFile f,
                    java.io.Writer w)
             throws java.io.IOException
        Create an RTF element as a child of given container
        Throws:
        java.io.IOException
    • Method Detail

      • newPage

        public RtfPage newPage​(RtfAttributes attr)
                        throws java.io.IOException
        Close current Rtfpage if any and create a new one
        Parameters:
        attr - attributes for new RtfPage
        Returns:
        new RtfPage
        Throws:
        java.io.IOException - for I/O problems
      • okToWriteRtf

        protected boolean okToWriteRtf()
        Description copied from class: RtfElement
        can be overridden to suppress all RTF output
        Overrides:
        okToWriteRtf in class RtfContainer
        Returns:
        true