public class RtfString extends RtfElement
Plain text in a RTF file, without any formatings.
This work was authored by Peter Herweg (pherweg@web.de).
attrib, parent, writer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText() |
boolean |
isEmpty() |
void |
setText(java.lang.String s) |
protected void |
writeRtfContent()
write RTF code of all our children
|
close, getParentOfClass, getRtfAttributes, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
public boolean isEmpty()
isEmpty
in class RtfElement
protected void writeRtfContent() throws java.io.IOException
writeRtfContent
in class RtfElement
java.io.IOException
- for I/O problemspublic java.lang.String getText()
public void setText(java.lang.String s)
s
- some textCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.