Interface IRtfParagraphContainer

All Known Implementing Classes:
RtfAfter, RtfBefore, RtfListItem, RtfSection, RtfTableCell

public interface IRtfParagraphContainer

Interface for RtfElements that can contain RtfParagraphs.

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

  • Method Summary

    Modifier and Type
    Method
    Description
    Close current paragraph, if any, and start a new one with default attributes.
    Close current paragraph, if any, and start a new one with specified attributes
  • Method Details

    • newParagraph

      RtfParagraph newParagraph() throws IOException
      Close current paragraph, if any, and start a new one with default attributes.
      Returns:
      new paragraph object
      Throws:
      IOException - for I/O problems.
    • newParagraph

      RtfParagraph newParagraph(RtfAttributes attr) throws IOException
      Close current paragraph, if any, and start a new one with specified attributes
      Parameters:
      attr - attributes for new paragraph
      Returns:
      new paragraph object
      Throws:
      IOException - for I/O problems.