org.apache.fop.render.rtf.rtflib.rtfdoc

Class RtfBookmarkContainerImpl

Implemented Interfaces:
IRtfBookmarkContainer
Known Direct Subclasses:
RtfParagraph

public class RtfBookmarkContainerImpl
extends RtfContainer
implements IRtfBookmarkContainer

RTF Bookmark container implementation. Nearly all containers or elements can have a bookmark, that is why the bookmark container is implemented as stand alone.
Author:
Andreas Putz

Field Summary

Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement

attrib, parent, writer

Method Summary

RtfBookmark
newBookmark(String bookmark)
Create a new RTF bookmark.

Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer

addChild, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContent

Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement

close, getRtfAttributes, isEmpty, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfContent, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS

Method Details

newBookmark

public RtfBookmark newBookmark(String bookmark)
            throws IOException
Create a new RTF bookmark.
Specified by:
newBookmark in interface IRtfBookmarkContainer
Parameters:
bookmark - Name of the bookmark
Returns:
RTF bookmark

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.