com.lowagie.text.rtf
public class RtfTOCEntry extends Chunk implements RtfField
Deprecated: Please move to the RtfWriter2 and associated classes. com.lowagie.text.rtf.field.RtfTOCEntry replaces the functionality of this class.
This class can be used to insert entries for a table of contents into the RTF document. ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2. This class is based on the RtfWriter-package from Mark Hall.Version: $Revision: 1.24 $Date: 2006/09/12 12:16:35 $
| Field Summary | |
|---|---|
| Font | contentFont |
| Font | entryFont |
| String | entryName |
| boolean | hidePageNumber |
| boolean | hideText |
| Constructor Summary | |
|---|---|
| RtfTOCEntry(String content, Font contentFont)
Constructs an entry for the Table of Contents | |
| RtfTOCEntry(String content, Font contentFont, String entryName, Font entryFont)
Constructs an entry for the Table of Contents | |
| Method Summary | |
|---|---|
| void | hidePageNumber()
sets the hidePageNumber value to true |
| void | hideText()
sets the hideText value to true |
| void | write(RtfWriter writer, OutputStream out) |
| void | writeField(OutputStream out) |
Parameters: content the content of the entry contentFont the font
Parameters: content the content of the entry contentFont the font entryName name of the entry entryFont font of the entryname
See Also: RtfField