Class RtfPageBreak
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfPageBreak
Model of an RTF page break.
This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch).
-
Field Summary
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer -
Constructor Summary
ConstructorsConstructorDescriptionRtfPageBreak(IRtfPageBreakContainer parent, Writer w) Create an RTF paragraph as a child of given container with default attributes -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEmpty()protected voidOverridden to write our attributes before our contentMethods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, dump, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Constructor Details
-
RtfPageBreak
RtfPageBreak(IRtfPageBreakContainer parent, Writer w) throws IOException Create an RTF paragraph as a child of given container with default attributes- Throws:
IOException
-
-
Method Details
-
writeRtfContent
Overridden to write our attributes before our content- Specified by:
writeRtfContentin classRtfElement- Throws:
IOException- for I/O problems
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classRtfElement- Returns:
- true if this element would generate no "useful" RTF content
-