org.apache.fop.render.rtf.rtflib.rtfdoc
Class RtfBookmark
RTF Bookmark.
Create an RTF bookmark as a child of given container with default attributes.
This class belongs to the "id" attribute processing.
static int | MAX_BOOKMARK_LENGTH- Word 2000 supports a length of 40 characters only
|
static char | REPLACE_CHARACTER- Word 2000 converts '.' in bookmarks to "_", thats why we control this replacement.
|
close, getRtfAttributes, isEmpty, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfContent, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS |
MAX_BOOKMARK_LENGTH
public static final int MAX_BOOKMARK_LENGTH
Word 2000 supports a length of 40 characters only
REPLACE_CHARACTER
public static final char REPLACE_CHARACTER
Word 2000 converts '.' in bookmarks to "_", thats why we control this replacement.
isEmpty
public boolean isEmpty()
- isEmpty in interface RtfElement
- true if this element would generate no "useful" RTF content
writeRtfContent
public void writeRtfContent()
throws IOException Writes the RTF content to m_writer.
- writeRtfContent in interface RtfElement
writeRtfPrefix
public void writeRtfPrefix()
throws IOException Is called before writing the Rtf content.
- writeRtfPrefix in interface RtfElement
writeRtfSuffix
public void writeRtfSuffix()
throws IOException Is called after writing the Rtf content.
- writeRtfSuffix in interface RtfElement
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.