org.apache.fop.render.rtf.rtflib.rtfdoc
Interface IRtfTextContainer
- IRtfHyperLinkContainer
- RtfHyperLink, RtfParagraph
public interface IRtfTextContainer
Interface for RtfElements that can contain RtfText elements
- Bertrand Delacretaz bdelacretaz@codeconsult.ch
getTextContainerAttributes
public RtfAttributes getTextContainerAttributes()
Text containers usually provide default attributes for all texts that they contain.
- a copy of the container's attributes.
newLineBreak
public void newLineBreak()
throws IOException
Add a line break
newText
public RtfText newText(String str)
throws IOException
Close current text run, if any, and start a new one with default attributes
str
- if not null, added to the RtfText created
newText
public RtfText newText(String str,
RtfAttributes attr)
throws IOException
Close current text element, if any, and start a new one
str
- if not null, added to the RtfText createdattr
- attributes for text
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.