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
FieldsFields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
-
Constructor Summary
ConstructorsConstructorDescriptionRtfPageArea
(RtfFile f, Writer w) Create an RTF element as a child of given container -
Method Summary
Modifier and TypeMethodDescriptionnewPage
(RtfAttributes attr) Close current Rtfpage if any and create a new oneprotected boolean
can be overridden to suppress all RTF outputMethods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
addChild, containsText, dump, findChildren, getChildCount, getChildren, getOptions, isEmpty, setChildren, setOptions, toString, writeRtfContent
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Field Details
-
currentPage
-
-
Constructor Details
-
RtfPageArea
RtfPageArea(RtfFile f, Writer w) throws IOException Create an RTF element as a child of given container- Throws:
IOException
-
-
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:RtfElement
can be overridden to suppress all RTF output- Overrides:
okToWriteRtf
in classRtfContainer
- Returns:
- true
-