create default properties for table-of-contents instruction

This commit is contained in:
Sergio Mendonça
2018-09-04 12:05:41 -03:00
parent 12c1f82efe
commit e9a007d446
3 changed files with 49 additions and 3 deletions

View File

@ -5,6 +5,8 @@ import { Document, Packer, Paragraph, TableOfContents } from "../build";
const doc = new Document();
// WordprocessingML docs for TableOfContents can be found here:
// http://officeopenxml.com/WPtableOfContents.php
// Creates an table of contents with default properties
const toc = new TableOfContents();