public void InitStandardTemplate()
{
if (this.TableOfContents.UseHyperlinks)
this.InsertIndexEntry(IndexEntryTypes.HyperlinkStart);
this.InsertIndexEntry(IndexEntryTypes.Chapter);
this.InsertIndexEntry(IndexEntryTypes.Text);
if (this.TableOfContents.UseHyperlinks)
this.InsertIndexEntry(IndexEntryTypes.HyperlinkEnd);
this.InsertIndexEntry(IndexEntryTypes.TabStop);
this.InsertIndexEntry(IndexEntryTypes.PageNumber);
}
/// <summary> /// Init the standard style source template styles. /// </summary> public void InitStandardTableOfContentStyle() { for (int i = 1; i <= 10; i++) { TableOfContentsIndexTemplate tableOfContentsIndexTemplate = new TableOfContentsIndexTemplate( TableOfContents, i, "Contents_20_" + i); tableOfContentsIndexTemplate.InitStandardTemplate(); Node.Add(tableOfContentsIndexTemplate.Node); TableOfContentsIndexTemplateCollection.Add( tableOfContentsIndexTemplate); } }