Class RtfTOCEntry

  • All Implemented Interfaces:
    Element, RtfField

    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.1 $Date: 2009/08/28 20:31:00 $
    Author:
    Steffen.Stundzig@smb-tec.com
    • Field Detail

      • hideText

        private boolean hideText
        Deprecated.
      • hidePageNumber

        private boolean hidePageNumber
        Deprecated.
      • entryName

        private java.lang.String entryName
        Deprecated.
      • entryFont

        private Font entryFont
        Deprecated.
      • contentFont

        private Font contentFont
        Deprecated.
    • Constructor Detail

      • RtfTOCEntry

        public RtfTOCEntry​(java.lang.String content,
                           Font contentFont)
        Deprecated.
        Constructs an entry for the Table of Contents
        Parameters:
        content - the content of the entry
        contentFont - the font
      • RtfTOCEntry

        public RtfTOCEntry​(java.lang.String content,
                           Font contentFont,
                           java.lang.String entryName,
                           Font entryFont)
        Deprecated.
        Constructs an entry for the Table of Contents
        Parameters:
        content - the content of the entry
        contentFont - the font
        entryName - name of the entry
        entryFont - font of the entryname
    • Method Detail

      • writeField

        private void writeField​(java.io.OutputStream out)
                         throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • hideText

        public void hideText()
        Deprecated.
        sets the hideText value to true
      • hidePageNumber

        public void hidePageNumber()
        Deprecated.
        sets the hidePageNumber value to true