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 | Description |
---|---|---|
java.lang.String |
getText() |
|
boolean |
isEmpty() |
|
void |
setText(java.lang.String s) |
|
protected void |
writeRtfContent() |
write RTF code of all our children
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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-2016 The Apache Software Foundation. All Rights Reserved.