org.apache.fop.render.rtf.rtflib.rtfdoc
Class RtfBookmark
java.lang.Object
|
+--org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
|
+--org.apache.fop.render.rtf.rtflib.rtfdoc.RtfBookmark
- public class RtfBookmark
- extends RtfElement
RTF Bookmark.
Create an RTF bookmark as a child of given container with default attributes.
This class belongs to the "id" attribute processing.
- Author:
- Andreas Putz
Field Summary |
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. |
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
close, getRtfAttributes, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
writeRtfPrefix
public void writeRtfPrefix()
throws java.io.IOException
- Is called before writing the Rtf content.
- Overrides:
writeRtfPrefix
in class RtfElement
- Throws:
java.io.IOException
- On Error
writeRtfContent
public void writeRtfContent()
throws java.io.IOException
- Writes the RTF content to m_writer.
- Overrides:
writeRtfContent
in class RtfElement
- Throws:
java.io.IOException
- On error
writeRtfSuffix
public void writeRtfSuffix()
throws java.io.IOException
- Is called after writing the Rtf content.
- Overrides:
writeRtfSuffix
in class RtfElement
- Throws:
java.io.IOException
- On Error
isEmpty
public boolean isEmpty()
- Overrides:
isEmpty
in class RtfElement
- Returns:
- true if this element would generate no "useful" RTF content
Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.