java.lang.Object
org.jfor.jfor.rtflib.rtfdoc.RtfElement
org.jfor.jfor.rtflib.rtfdoc.RtfContainer
org.jfor.jfor.rtflib.rtfdoc.RtfPageArea
- public class RtfPageArea
- extends RtfContainer
| Fields inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfContainer |
|
| Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfContainer |
addChild, containsText, dump, getChildCount, getChildren, getOptions, isEmpty, setChildren, setOptions, toString, writeRtfContent |
| 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 |
m_currentPage
private RtfPage m_currentPage
nullChild
private RtfNull nullChild
childAttributes
private RtfAttributes childAttributes
RtfPageArea
RtfPageArea(RtfFile f,
java.io.Writer w)
throws java.io.IOException
- Create an RTF element as a child of given container
newPage
public RtfPage newPage(RtfAttributes attr)
throws java.io.IOException
- close current Rtfpage if any and create a new one
okToWriteRtf
protected boolean okToWriteRtf()
- Description copied from class:
RtfContainer
- don't write any RTF if empty of if our options block it
- Overrides:
okToWriteRtf in class RtfContainer