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

Quick Search    Search Deep

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

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

public class RtfParagraphKeepTogether
extends RtfContainer


Field Summary
private  int m_status
           
static int STATUS_CLOSE_PARAGRAPH
           
static int STATUS_NULL
           
static int STATUS_OPEN_PARAGRAPH
           
 
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) RtfParagraphKeepTogether(IRtfParagraphContainer parent, java.io.Writer w)
          RtfParagraphKeepTogether
 
Method Summary
 boolean isEmpty()
          true if this element would generate no "useful" RTF content
 void setStatus(int status)
           
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

STATUS_NULL

public static final int STATUS_NULL
See Also:
Constant Field Values

STATUS_OPEN_PARAGRAPH

public static final int STATUS_OPEN_PARAGRAPH
See Also:
Constant Field Values

STATUS_CLOSE_PARAGRAPH

public static final int STATUS_CLOSE_PARAGRAPH
See Also:
Constant Field Values

m_status

private int m_status
Constructor Detail

RtfParagraphKeepTogether

RtfParagraphKeepTogether(IRtfParagraphContainer parent,
                         java.io.Writer w)
                   throws java.io.IOException
RtfParagraphKeepTogether

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

setStatus

public void setStatus(int status)

isEmpty

public boolean isEmpty()
true if this element would generate no "useful" RTF content

Overrides:
isEmpty in class RtfContainer