org.apache.fop.render.rtf.rtflib.rtfdoc
Class RtfContainer
public class RtfContainer
An RtfElement that can contain other elements.
- Bertrand Delacretaz bdelacretaz@codeconsult.ch
close , getRtfAttributes , isEmpty , newLine , okToWriteRtf , toString , writeAttributes , writeControlWord , writeControlWordNS , writeExceptionInRtf , writeGroupMark , writeOneAttribute , writeOneAttributeNS , writeRtf , writeRtfContent , writeRtfPrefix , writeRtfSuffix , writeStarControlWord , writeStarControlWordNS |
getChildCount
public int getChildCount()
getChildren
public List getChildren()
- a copy of our children's list
isEmpty
public boolean isEmpty()
- isEmpty in interface RtfElement
- true if this element would generate no "useful" RTF content,
i.e. (for RtfContainer) true if it has no children where isEmpty() is false
okToWriteRtf
protected boolean okToWriteRtf()
- okToWriteRtf in interface RtfElement
- false if empty or if our options block writing
setChildren
public boolean setChildren(List list)
Add by Boris Poud??rous on 07/22/2002
Set the children list
list
- list of child objects
- true if process succeeded
setOptions
public void setOptions(RtfOptions opt)
set options
toString
public String toString()
minimal debugging display
- toString in interface RtfElement
- String representation of object contents
writeRtfContent
protected void writeRtfContent()
throws IOException
write RTF code of all our children
- writeRtfContent in interface RtfElement
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.