InitStandardTemplate() public method

Inits the standard template.
public InitStandardTemplate ( ) : void
return void
Beispiel #1
0
        /// <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);
            }
        }
Beispiel #2
0
        /// <summary>
        /// Init the standard style source template styles.
        /// </summary>
        public void InitStandardTableOfContentStyle()
        {
            for (int i = 1; i <= 10; i++)
            {
                TableOfContentsIndexTemplate tableOfContentsIndexTemplate =
                    new TableOfContentsIndexTemplate(
                        this.TableOfContents,
                        i,
                        "Contents_20_" + i.ToString());

                tableOfContentsIndexTemplate.InitStandardTemplate();
                this.Node.AppendChild(tableOfContentsIndexTemplate.Node);
                this.TableOfContentsIndexTemplateCollection.Add(
                    tableOfContentsIndexTemplate);
            }
        }
        /// <summary>
        /// Init the standard style source template styles.
        /// </summary>
        public void InitStandardTableOfContentStyle()
        {
            for(int i=1; i<=10; i++)
            {
                TableOfContentsIndexTemplate tableOfContentsIndexTemplate =
                    new TableOfContentsIndexTemplate(
                        this.TableOfContents,
                        i,
                        "Contents_20_"+i.ToString());

                tableOfContentsIndexTemplate.InitStandardTemplate();
                this.Node.AppendChild(tableOfContentsIndexTemplate.Node);
                this.TableOfContentsIndexTemplateCollection.Add(
                    tableOfContentsIndexTemplate);
            }
        }