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 |
|---|---|
String |
getText() |
boolean |
isEmpty() |
void |
setText(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 IOException
writeRtfContent in class RtfElementIOException - for I/O problemspublic String getText()
public void setText(String s)
s - some textCopyright © 2025 Apache Software Foundation. All rights reserved.