org.jfor.jfor.rtflib.rtfdoc
Class RtfFontTable

java.lang.Object
  extended byorg.jfor.jfor.rtflib.rtfdoc.RtfElement
      extended byorg.jfor.jfor.rtflib.rtfdoc.RtfFontTable

class RtfFontTable
extends RtfElement

RTF font table

Author:
Bertrand Delacretaz bdelacretaz@codeconsult.ch, Andreas Putz a.putz@skynamics.com

Field Summary
 
Fields inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement
m_attrib, m_parent, m_writer
 
Constructor Summary
(package private) RtfFontTable(RtfHeader h, java.io.Writer w)
          Create an RTF header
 
Method Summary
 boolean isEmpty()
          true if this element would generate no "useful" RTF content
protected  void writeRtfContent()
          write our contents to m_writer.
 
Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement
close, dump, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, 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
 

Constructor Detail

RtfFontTable

RtfFontTable(RtfHeader h,
             java.io.Writer w)
       throws java.io.IOException
Create an RTF header

Method Detail

writeRtfContent

protected void writeRtfContent()
                        throws java.io.IOException
write our contents to m_writer.

Specified by:
writeRtfContent in class RtfElement
Throws:
java.io.IOException

isEmpty

public boolean isEmpty()
true if this element would generate no "useful" RTF content

Specified by:
isEmpty in class RtfElement