Class RtfPageArea
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.RtfPageArea
Page area container.
This work was authored by Christopher Scott (scottc@westinghouse.com).
-
Field Summary
Fields inherited from class RtfElement
attrib, parent, writer -
Method Summary
Modifier and TypeMethodDescriptionnewPage(RtfAttributes attr) Close current Rtfpage if any and create a new oneprotected booleancan be overridden to suppress all RTF outputMethods inherited from class RtfContainer
addChild, findChildren, getChildCount, getChildren, isEmpty, setChildren, setOptions, toString, writeRtfContentMethods inherited from class RtfElement
close, getParentOfClass, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Method Details
-
newPage
Close current Rtfpage if any and create a new one- Parameters:
attr- attributes for new RtfPage- Returns:
- new RtfPage
- Throws:
IOException- for I/O problems
-
okToWriteRtf
protected boolean okToWriteRtf()Description copied from class:RtfElementcan be overridden to suppress all RTF output- Overrides:
okToWriteRtfin classRtfContainer- Returns:
- true
-