|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfBookmark
public 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.
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. |
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
---|
attrib, parent, writer |
Method Summary | |
---|---|
boolean |
isEmpty()
|
void |
writeRtfContent()
Writes the RTF content to m_writer. |
void |
writeRtfPrefix()
Is called before writing the Rtf content. |
void |
writeRtfSuffix()
Is called after writing the Rtf content. |
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 |
Field Detail |
---|
public static final int MAX_BOOKMARK_LENGTH
public static final char REPLACE_CHARACTER
Method Detail |
---|
public void writeRtfPrefix() throws java.io.IOException
writeRtfPrefix
in class RtfElement
java.io.IOException
- On Errorpublic void writeRtfContent() throws java.io.IOException
writeRtfContent
in class RtfElement
java.io.IOException
- On errorpublic void writeRtfSuffix() throws java.io.IOException
writeRtfSuffix
in class RtfElement
java.io.IOException
- On Errorpublic boolean isEmpty()
isEmpty
in class RtfElement
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |