IRtfParagraphContainer (Apache FOP 2.7 API)
Date: 2022-01-12

org.apache.fop.render.rtf.rtflib.rtfdoc

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `RtfParagraph` | `newParagraph()` Close current paragraph, if any, and start a new one with default attributes.
    `RtfParagraph` | `newParagraph(RtfAttributes attr)` Close current paragraph, if any, and start a new one with specified attributes

- - ### Method Detail

    - #### newParagraph

          RtfParagraph newParagraph()
                             throws java.io.IOException

      Close current paragraph, if any, and start a new one with default attributes.
      Returns:
        new paragraph object
      Throws:
        `java.io.IOException` - for I/O problems.

    - #### newParagraph

          RtfParagraph newParagraph(RtfAttributes attr)
                             throws java.io.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:
        `java.io.IOException` - for I/O problems.

Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.