Class RtfDocumentArea
- 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.RtfDocumentArea
-
public class RtfDocumentArea extends RtfContainer
The RTF document area, container for RtfSection objects.
This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch).
-
-
Field Summary
Fields Modifier and Type Field Description private RtfSection
currentSection
-
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
-
-
Constructor Summary
Constructors Constructor Description RtfDocumentArea(RtfFile f, java.io.Writer w)
Create an RTF element as a child of given container
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RtfSection
newSection()
Close current RtfSection if any and create a new one-
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
addChild, containsText, dump, findChildren, getChildCount, getChildren, getOptions, isEmpty, okToWriteRtf, 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 Detail
-
currentSection
private RtfSection currentSection
-
-
Constructor Detail
-
RtfDocumentArea
RtfDocumentArea(RtfFile f, java.io.Writer w) throws java.io.IOException
Create an RTF element as a child of given container- Throws:
java.io.IOException
-
-
Method Detail
-
newSection
public RtfSection newSection() throws java.io.IOException
Close current RtfSection if any and create a new one- Returns:
- the new RtfSection
- Throws:
java.io.IOException
- for I/O problems
-
-