Class RtfTextrun.RtfCloseGroupMark

  • Enclosing class:
    RtfTextrun

    private class RtfTextrun.RtfCloseGroupMark
    extends RtfElement
    Class which represents the closing of a RTF group mark.
    • Field Detail

      • breakType

        private int breakType
    • Constructor Detail

      • RtfCloseGroupMark

        RtfCloseGroupMark​(RtfContainer parent,
                          java.io.Writer w,
                          int breakType)
                   throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • isEmpty

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

        public int getBreakType()
        Returns the break type.
        Returns:
        the break type (BREAK_* constants)
      • writeRtfContent

        protected void writeRtfContent()
                                throws java.io.IOException
        Write RTF code of all our children.
        Specified by:
        writeRtfContent in class RtfElement
        Throws:
        java.io.IOException - for I/O problems