C# Класс 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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

InitStandardTemplate() публичный Метод

Inits the standard template.
public InitStandardTemplate ( ) : void
Результат void

InsertIndexEntry() публичный Метод

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.
Результат void

TableOfContentsIndexTemplate() публичный Метод

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.
Результат System