Class RtfBookmarkContainerImpl
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.RtfBookmarkContainerImpl
- All Implemented Interfaces:
IRtfBookmarkContainer
- Direct Known Subclasses:
RtfParagraph
RTF Bookmark container implementation. Nearly all containers or elements can have a bookmark, that is why the bookmark container is implemented as stand alone.
This work was authored by Andreas Putz (a.putz@skynamics.com).
-
Field Summary
FieldsFields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
-
Constructor Summary
ConstructorsConstructorDescriptionRtfBookmarkContainerImpl
(RtfContainer parent, Writer w) Constructor.RtfBookmarkContainerImpl
(RtfContainer parent, Writer w, RtfAttributes attr) Constructor. -
Method Summary
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 Details
-
mBookmark
Rtf bookmark
-
-
Constructor Details
-
RtfBookmarkContainerImpl
RtfBookmarkContainerImpl(RtfContainer parent, Writer w) throws IOException Constructor. Create an RTF container as a child of given container.- Parameters:
parent
- The parent containerw
- Writer- Throws:
IOException
- On error
-
RtfBookmarkContainerImpl
RtfBookmarkContainerImpl(RtfContainer parent, Writer w, RtfAttributes attr) throws IOException Constructor. Create an RTF container as a child of given container.- Parameters:
parent
- The parent containerw
- Writerattr
- Rtf attributes- Throws:
IOException
- On error
-
-
Method Details
-
newBookmark
Create a new RTF bookmark.- Specified by:
newBookmark
in interfaceIRtfBookmarkContainer
- Parameters:
bookmark
- Name of the bookmark- Returns:
- RTF bookmark
- Throws:
IOException
- On eror
-