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, writeStarControlWordNSpublic boolean isEmpty()
isEmpty in class RtfElementprotected void writeRtfContent()
throws java.io.IOException
writeRtfContent in class RtfElementjava.io.IOException - for I/O problemspublic java.lang.String getText()
public void setText(java.lang.String s)
s - some textCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.