Class RtfListItem.RtfListItemLabel

    • Constructor Detail

      • RtfListItemLabel

        public RtfListItemLabel​(RtfListItem item)
                         throws java.io.IOException
        Constructs the RtfListItemLabel
        Parameters:
        item - The RtfListItem the label belongs to
        Throws:
        java.io.IOException - Thrown when an IO-problem occurs
    • Method Detail

      • getTextrun

        public RtfTextrun getTextrun()
                              throws java.io.IOException
        Returns the current RtfTextrun object. Opens a new one if necessary.
        Specified by:
        getTextrun in interface IRtfTextrunContainer
        Returns:
        The RtfTextrun object
        Throws:
        java.io.IOException - Thrown when an IO-problem occurs
      • addString

        public void addString​(java.lang.String s)
                       throws java.io.IOException
        Sets the content of the list item label.
        Overrides:
        addString in class RtfTextrun
        Parameters:
        s - Content of the list item label.
        Throws:
        java.io.IOException - Thrown when an IO-problem occurs