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

Class RtfPageNumber


public class RtfPageNumber
extends RtfContainer

Author:
Christopher Scott, scottc@westinghouse.com

Field Summary

static String
RTF_FIELD
constant for field
static String
RTF_FIELD_PAGE
constant for field on page
static 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, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContent

Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement

close, getRtfAttributes, isEmpty, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfContent, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS

Field Details

RTF_FIELD

public static final String RTF_FIELD
constant for field

RTF_FIELD_PAGE

public static final String RTF_FIELD_PAGE
constant for field on page

RTF_FIELD_RESULT

public static final String RTF_FIELD_RESULT
constant for field result

Method Details

isEmpty

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

writeRtfContent

protected void writeRtfContent()
            throws IOException
Write our attributes and content
Overrides:
writeRtfContent in interface RtfContainer

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