C# Class AODL.Document.Content.Text.Indexes.TableOfContentsIndexTemplate

TableOfContentsIndexTemplate represent the table of content index template. It is used to set the index entries and their order within a table of content. A common order would be: Chapter Text TabStop PageNumber
Afficher le fichier Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Méthodes publiques

Méthode Description
InitStandardTemplate ( ) : void

Inits the standard template.

InsertIndexEntry ( IndexEntryTypes indexEntryType ) : void

Insert a index entry to the template. You can define the order through the order you insert the index entry types.

TableOfContentsIndexTemplate ( TableOfContents tableOfContents, int outlineLevel, string styleName ) : System

Initializes a new instance of the TableOfContentsIndexTemplate class.

Private Methods

Méthode Description
AddIndexEntryNode ( string nodeName, IndexEntryTypes indexEntryType ) : void

Add the index entry node, with given type

NewXmlNode ( int outlineLevel, string styleName ) : void

Create the XmlNode which represent this object.

Method Details

InitStandardTemplate() public méthode

Inits the standard template.
public InitStandardTemplate ( ) : void
Résultat void

InsertIndexEntry() public méthode

Insert a index entry to the template. You can define the order through the order you insert the index entry types.
public InsertIndexEntry ( IndexEntryTypes indexEntryType ) : void
indexEntryType IndexEntryTypes Type of the index entry.
Résultat void

TableOfContentsIndexTemplate() public méthode

Initializes a new instance of the TableOfContentsIndexTemplate class.
public TableOfContentsIndexTemplate ( TableOfContents tableOfContents, int outlineLevel, string styleName ) : System
tableOfContents TableOfContents Content of the table of.
outlineLevel int For which outline level this template should be used.
styleName string Style name.
Résultat System