Class RtfDocumentArea


  • public class RtfDocumentArea
    extends RtfContainer

    The RTF document area, container for RtfSection objects.

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

    • Field Detail

      • currentSection

        private RtfSection currentSection
    • Constructor Detail

      • RtfDocumentArea

        RtfDocumentArea​(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

      • newSection

        public RtfSection newSection()
                              throws java.io.IOException
        Close current RtfSection if any and create a new one
        Returns:
        the new RtfSection
        Throws:
        java.io.IOException - for I/O problems