| |
|
| com.lowagie.text.rtf.field.RtfField com.lowagie.text.rtf.field.RtfTableOfContents
RtfTableOfContents | public class RtfTableOfContents extends RtfField (Code) | | The RtfTableOfContents together with multiple RtfTOCEntry objects generates a table
of contents. The table of contents will display no entries in the viewing program
and the user will have to update it first. A text to inform the user of this is
displayed instead.
version: $Id: RtfTableOfContents.java 2784 2007-05-24 15:43:40Z hallm $ author: Mark Hall (mhall@edu.uni-klu.ac.at) author: Steffen.Stundzig (Steffen.Stundzig@smb-tec.com) author: Thomas Bickel (tmb99@inode.at) |
RtfTableOfContents | public RtfTableOfContents(String defaultText)(Code) | | Constructs a RtfTableOfContents. The default text is the text that is displayed
before the user updates the table of contents
Parameters: defaultText - The default text to display |
writeFieldInstContent | protected byte[] writeFieldInstContent() throws IOException(Code) | | Writes the field instruction content
A byte array containing with the field instructions throws: IOException - |
writeFieldResultContent | protected byte[] writeFieldResultContent() throws IOException(Code) | | Writes the field result content
An byte array containing the default text throws: IOException - |
|
|
|