org.jfor.jfor.rtflib.rtfdoc
Class RtfParagraphKeepTogether
java.lang.Object
org.jfor.jfor.rtflib.rtfdoc.RtfElement
org.jfor.jfor.rtflib.rtfdoc.RtfContainer
org.jfor.jfor.rtflib.rtfdoc.RtfParagraphKeepTogether
- public class RtfParagraphKeepTogether
- extends RtfContainer
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.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 |
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
RtfParagraphKeepTogether
RtfParagraphKeepTogether(IRtfParagraphContainer parent,
java.io.Writer w)
throws java.io.IOException
- RtfParagraphKeepTogether
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
- Throws:
java.io.IOException
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