Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jfor.jfor.rtflib.rtfdoc
Class RtfPageNumberCitation  view RtfPageNumberCitation download RtfPageNumberCitation.java

java.lang.Object
  extended byorg.jfor.jfor.rtflib.rtfdoc.RtfElement
      extended byorg.jfor.jfor.rtflib.rtfdoc.RtfContainer
          extended byorg.jfor.jfor.rtflib.rtfdoc.RtfPageNumberCitation

public class RtfPageNumberCitation
extends RtfContainer


Field Summary
private  java.lang.String id
           
static java.lang.String RTF_FIELD
           
static java.lang.String RTF_FIELD_PAGEREF_MODEL
           
static java.lang.String RTF_FIELD_RESULT
           
 
Fields inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfContainer
 
Fields inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement
m_attrib, m_parent, m_writer
 
Constructor Summary
(package private) RtfPageNumberCitation(IRtfPageNumberCitationContainer parent, java.io.Writer w, java.lang.String id)
          Create an RTF page number citation as a child of given container with default attributes
(package private) RtfPageNumberCitation(RtfParagraph parent, java.io.Writer w, java.lang.String id)
          Create an RTF page number citation as a child of given paragraph, copying its attributes
 
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.RtfContainer
addChild, containsText, dump, getChildCount, getChildren, getOptions, okToWriteRtf, setChildren, setOptions, toString
 
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
 

Field Detail

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
Constructor Detail

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

Method Detail

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