fop 1.0

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

java.lang.Object
  extended by org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
      extended by org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
          extended by org.apache.fop.render.rtf.rtflib.rtfdoc.RtfPageNumber

public class RtfPageNumber
extends RtfContainer

Author:
Christopher Scott, scottc@westinghouse.com

Field Summary
static java.lang.String RTF_FIELD
          constant for field
static java.lang.String RTF_FIELD_PAGE
          constant for field on page
static java.lang.String RTF_FIELD_RESULT
          constant for field result
 
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
 
Method Summary
 boolean isEmpty()
           
protected  void writeRtfContent()
          Write our attributes and content
 
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
addChild, getChildCount, getChildren, okToWriteRtf, setChildren, setOptions, toString
 
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getRtfAttributes, newLine, 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
 

Field Detail

RTF_FIELD

public static final java.lang.String RTF_FIELD
constant for field

See Also:
Constant Field Values

RTF_FIELD_PAGE

public static final java.lang.String RTF_FIELD_PAGE
constant for field on page

See Also:
Constant Field Values

RTF_FIELD_RESULT

public static final java.lang.String RTF_FIELD_RESULT
constant for field result

See Also:
Constant Field Values
Method Detail

writeRtfContent

protected void writeRtfContent()
                        throws java.io.IOException
Write our attributes and content

Overrides:
writeRtfContent in class RtfContainer
Throws:
java.io.IOException - for I/O problems

isEmpty

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

fop 1.0

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