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

Interface IRtfParagraphContainer

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

public interface IRtfParagraphContainer

Interface for RtfElements that can contain RtfParagraphs
Author:
Bertrand Delacretaz bdelacretaz@codeconsult.ch

Method Summary

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 Details

newParagraph

public RtfParagraph newParagraph()
            throws IOException
Close current paragraph, if any, and start a new one with default attributes.
Returns:
new paragraph object

newParagraph

public 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

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