public class RtfPageNumber extends RtfContainer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RTF_FIELD
RtfText attributes: fields
|
static java.lang.String |
RTF_FIELD_PAGE |
static java.lang.String |
RTF_FIELD_RESULT |
m_attrib, m_parent, m_writer| Constructor and Description |
|---|
RtfPageNumber(IRtfPageNumberContainer parent,
java.io.Writer w)
Create an RTF paragraph as a child of given container with default attributes
|
RtfPageNumber(RtfParagraph parent,
java.io.Writer w)
Create an RTF page number as a child of given paragraph,
copying the paragraph attributes
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
true if this element would generate no "useful" RTF content
|
protected void |
writeRtfContent()
write our attributes and content
|
addChild, containsText, dump, getChildCount, getChildren, getOptions, okToWriteRtf, setChildren, setOptions, toStringclose, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNSpublic static java.lang.String RTF_FIELD
public static java.lang.String RTF_FIELD_PAGE
public static java.lang.String RTF_FIELD_RESULT
RtfPageNumber(IRtfPageNumberContainer parent, java.io.Writer w) throws java.io.IOException
java.io.IOExceptionRtfPageNumber(RtfParagraph parent, java.io.Writer w) throws java.io.IOException
java.io.IOExceptionprotected void writeRtfContent()
throws java.io.IOException
writeRtfContent in class RtfContainerjava.io.IOExceptionpublic boolean isEmpty()
isEmpty in class RtfContainer