Table of Contents

Class RtfTableOfContents

Namespace
iTextSharp.text.rtf.field
Assembly
iTextSharp.LGPLv2.Core.dll

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 \(Version:\) @author Mark Hall (Mark.Hall@mail.room3b.eu) @author Steffen.Stundzig@smb-tec.com

public class RtfTableOfContents : RtfField, IElement, IRtfBasicElement, IRtfElementInterface
Inheritance
RtfTableOfContents
Implements
Inherited Members

Constructors

RtfTableOfContents(string)

Constructs a RtfTableOfContents. The default text is the text that is displayed before the user updates the table of contents

public RtfTableOfContents(string defaultText)

Parameters

defaultText string

The default text to display

Methods

WriteFieldInstContent(Stream)

Writes the field instruction content

protected override void WriteFieldInstContent(Stream oupt)

Parameters

oupt Stream

WriteFieldResultContent(Stream)

Writes the field result content

protected override void WriteFieldResultContent(Stream oupt)

Parameters

oupt Stream