org.jfor.jfor.rtflib.rtfdoc
Class RtfPageNumber
java.lang.Object
org.jfor.jfor.rtflib.rtfdoc.RtfElement
org.jfor.jfor.rtflib.rtfdoc.RtfContainer
org.jfor.jfor.rtflib.rtfdoc.RtfPageNumber
- public class RtfPageNumber
- extends RtfContainer
Constructor Summary |
(package private) |
RtfPageNumber(IRtfPageNumberContainer parent,
java.io.Writer w)
Create an RTF paragraph as a child of given container with default attributes |
(package private) |
RtfPageNumber(RtfParagraph parent,
java.io.Writer w)
Create an RTF page number as a child of given paragraph,
copying the paragraph attributes |
Method Summary |
boolean |
isEmpty()
true if this element would generate no "useful" RTF content |
protected void |
writeRtfContent()
write our attributes and content |
Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement |
close, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, 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 |
RTF_FIELD
public static java.lang.String RTF_FIELD
- RtfText attributes: fields
RTF_FIELD_PAGE
public static java.lang.String RTF_FIELD_PAGE
RTF_FIELD_RESULT
public static java.lang.String RTF_FIELD_RESULT
RtfPageNumber
RtfPageNumber(IRtfPageNumberContainer parent,
java.io.Writer w)
throws java.io.IOException
- Create an RTF paragraph as a child of given container with default attributes
RtfPageNumber
RtfPageNumber(RtfParagraph parent,
java.io.Writer w)
throws java.io.IOException
- Create an RTF page number as a child of given paragraph,
copying the paragraph attributes
writeRtfContent
protected void writeRtfContent()
throws java.io.IOException
- write our attributes and content
- Overrides:
writeRtfContent
in class RtfContainer
- Throws:
java.io.IOException
isEmpty
public boolean isEmpty()
- true if this element would generate no "useful" RTF content
- Overrides:
isEmpty
in class RtfContainer