Class RtfPageNumber
- java.lang.Object
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.RtfPageNumber
-
public class RtfPageNumber extends RtfContainer
Page number container.
This work was authored by Christopher Scott (scottc@westinghouse.com).
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
RTF_FIELD
constant for fieldstatic java.lang.String
RTF_FIELD_PAGE
constant for field on pagestatic 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
protected void
writeRtfContent()
Write our attributes and content-
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
addChild, findChildren, getChildCount, getChildren, okToWriteRtf, setChildren, setOptions, toString
-
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getParentOfClass, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
-
-
-
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 classRtfContainer
- Throws:
java.io.IOException
- for I/O problems
-
isEmpty
public boolean isEmpty()
- Overrides:
isEmpty
in classRtfContainer
- Returns:
- true if this element would generate no "useful" RTF content
-
-