fop 0.90alpha1

org.apache.fop.render.rtf.rtflib.rtfdoc
Class RtfString

java.lang.Object
  |
  +--org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
        |
        +--org.apache.fop.render.rtf.rtflib.rtfdoc.RtfString

public class RtfString
extends RtfElement

Plain text in a RTF file, without any formatings.

Author:
Peter Herweg, pherweg@web.de

Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
 
Method Summary
 java.lang.String getText()
           
 boolean isEmpty()
           
 void setText(java.lang.String s)
           
protected  void writeRtfContent()
          write RTF code of all our children
 
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getRtfAttributes, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isEmpty

public boolean isEmpty()
Overrides:
isEmpty in class RtfElement
Returns:
true if this element would generate no "useful" RTF content

writeRtfContent

protected void writeRtfContent()
                        throws java.io.IOException
write RTF code of all our children
Overrides:
writeRtfContent in class RtfElement
Throws:
java.io.IOException - for I/O problems

getText

public java.lang.String getText()

setText

public void setText(java.lang.String s)

fop 0.90alpha1

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.