public class RtfTOCEntry extends Chunk implements RtfField
| Modifier and Type | Field and Description |
|---|---|
private Font |
contentFont
Deprecated.
|
private Font |
entryFont
Deprecated.
|
private java.lang.String |
entryName
Deprecated.
|
private boolean |
hidePageNumber
Deprecated.
|
private boolean |
hideText
Deprecated.
|
ACTION, attributes, BACKGROUND, COLOR, content, ENCODING, font, GENERICTAG, HSCALE, HYPHENATION, IMAGE, LOCALDESTINATION, LOCALGOTO, markupAttributes, NEWLINE, NEWPAGE, NEXTPAGE, OBJECT_REPLACEMENT_CHARACTER, PDFANNOTATION, REMOTEGOTO, SKEW, SPLITCHARACTER, SUBSUPSCRIPT, TEXTRENDERMODE, UNDERLINEALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, GRAPHIC, HEADER, IMGRAW, IMGTEMPLATE, JPEG, KEYWORDS, LIST, LISTITEM, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE| Constructor and Description |
|---|
RtfTOCEntry(java.lang.String content,
Font contentFont)
Deprecated.
Constructs an entry for the Table of Contents
|
RtfTOCEntry(java.lang.String content,
Font contentFont,
java.lang.String entryName,
Font entryFont)
Deprecated.
Constructs an entry for the Table of Contents
|
| Modifier and Type | Method and Description |
|---|---|
void |
hidePageNumber()
Deprecated.
sets the hidePageNumber value to true
|
void |
hideText()
Deprecated.
sets the hideText value to true
|
void |
write(RtfWriter writer,
java.io.OutputStream out)
Deprecated.
Writes an RTF field.
|
private void |
writeField(java.io.OutputStream out)
Deprecated.
|
addToArray, append, content, font, getAttributes, getChunks, getHorizontalScaling, getImage, getKeySet, getMarkupAttribute, getMarkupAttributeNames, getMarkupAttributes, getTextRise, getWidthPoint, hasAttributes, isEmpty, isTag, process, setAction, setAnchor, setAnchor, setAnnotation, setBackground, setBackground, setFont, setGenericTag, setHorizontalScaling, setHyphenation, setLocalDestination, setLocalGoto, setMarkupAttribute, setMarkupAttributes, setNewPage, setRemoteGoto, setRemoteGoto, setSkew, setSplitCharacter, setTextRenderMode, setTextRise, setUnderline, setUnderline, toString, typeprivate boolean hideText
private boolean hidePageNumber
private java.lang.String entryName
private Font entryFont
private Font contentFont
public RtfTOCEntry(java.lang.String content,
Font contentFont)
content - the content of the entrycontentFont - the fontpublic RtfTOCEntry(java.lang.String content,
Font contentFont,
java.lang.String entryName,
Font entryFont)
content - the content of the entrycontentFont - the fontentryName - name of the entryentryFont - font of the entrynamepublic void write(RtfWriter writer, java.io.OutputStream out) throws java.io.IOException
RtfFieldwrite in interface RtfFieldjava.io.IOExceptionRtfField.write(com.lowagie.text.rtf.RtfWriter, java.io.OutputStream)private void writeField(java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic void hideText()
public void hidePageNumber()