Class RtfParagraphKeepTogether
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraphKeepTogether
Models the keep together attributes of paragraphs
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
constant for close paragraphstatic final int
constant for unset statusstatic final int
constant for open paragraphFields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
-
Method Summary
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
addChild, findChildren, getChildCount, getChildren, okToWriteRtf, setChildren, setOptions, toString
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getParentOfClass, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Field Details
-
STATUS_NULL
public static final int STATUS_NULLconstant for unset status- See Also:
-
STATUS_OPEN_PARAGRAPH
public static final int STATUS_OPEN_PARAGRAPHconstant for open paragraph- See Also:
-
STATUS_CLOSE_PARAGRAPH
public static final int STATUS_CLOSE_PARAGRAPHconstant for close paragraph- See Also:
-
-
Method Details
-
writeRtfContent
Write the content- Overrides:
writeRtfContent
in classRtfContainer
- Throws:
IOException
- for I/O problems
-
setStatus
public void setStatus(int status) set the status- Parameters:
status
- the status to be set
-
isEmpty
public boolean isEmpty()- Overrides:
isEmpty
in classRtfContainer
- Returns:
- true if this element would generate no "useful" RTF content
-