public class RtfContainer extends RtfElement
attrib, parent, writer
Modifier and Type | Method and Description |
---|---|
protected void |
addChild(RtfElement e)
add a child element to this
|
int |
getChildCount() |
java.util.List |
getChildren() |
boolean |
isEmpty() |
protected boolean |
okToWriteRtf()
can be overridden to suppress all RTF output
|
boolean |
setChildren(java.util.List list)
Add by Boris Poud??rous on 07/22/2002
Set the children list
|
void |
setOptions(RtfOptions opt)
set options
|
java.lang.String |
toString()
minimal debugging display
|
protected void |
writeRtfContent()
write RTF code of all our children
|
close, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
public void setOptions(RtfOptions opt)
opt
- options to setprotected void addChild(RtfElement e) throws RtfStructureException
e
- child element to addRtfStructureException
- for trying to add an invalid child (??)public java.util.List getChildren()
public int getChildCount()
public boolean setChildren(java.util.List list)
list
- list of child objectsprotected void writeRtfContent() throws java.io.IOException
writeRtfContent
in class RtfElement
java.io.IOException
- for I/O problemspublic java.lang.String toString()
toString
in class RtfElement
protected boolean okToWriteRtf()
RtfElement
okToWriteRtf
in class RtfElement
public boolean isEmpty()
isEmpty
in class RtfElement
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.