java.lang.Object
org.jfor.jfor.rtflib.rtfdoc.RtfElement
org.jfor.jfor.rtflib.rtfdoc.RtfContainer
org.jfor.jfor.rtflib.rtfdoc.RtfPageNumberCitation
- public class RtfPageNumberCitation
- extends RtfContainer
| Fields inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfContainer |
|
|
Method Summary |
boolean |
isEmpty()
true if this element would generate no "useful" RTF content |
private boolean |
isValid()
checks that the 'ref-id' attribute exists |
protected void |
writeRtfContent()
write RTF code of all our children |
| 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 |
RTF_FIELD
public static final java.lang.String RTF_FIELD
- See Also:
- Constant Field Values
RTF_FIELD_PAGEREF_MODEL
public static final java.lang.String RTF_FIELD_PAGEREF_MODEL
- See Also:
- Constant Field Values
RTF_FIELD_RESULT
public static final java.lang.String RTF_FIELD_RESULT
- See Also:
- Constant Field Values
id
private java.lang.String id
RtfPageNumberCitation
RtfPageNumberCitation(IRtfPageNumberCitationContainer parent,
java.io.Writer w,
java.lang.String id)
throws java.io.IOException
- Create an RTF page number citation as a child of given container with default attributes
RtfPageNumberCitation
RtfPageNumberCitation(RtfParagraph parent,
java.io.Writer w,
java.lang.String id)
throws java.io.IOException
- Create an RTF page number citation as a child of given
paragraph, copying its attributes
writeRtfContent
protected void writeRtfContent()
throws java.io.IOException
- Description copied from class:
RtfContainer
- write RTF code of all our children
- Overrides:
writeRtfContent in class RtfContainer
isValid
private boolean isValid()
- checks that the 'ref-id' attribute exists
isEmpty
public boolean isEmpty()
- true if this element would generate no "useful" RTF content
- Overrides:
isEmpty in class RtfContainer