generating the content for a table of contents
This commit is contained in:
@ -66,4 +66,12 @@ export class Document extends XmlComponent {
|
||||
public get Body(): Body {
|
||||
return this.body;
|
||||
}
|
||||
|
||||
public getTablesOfContents(): TableOfContents[] {
|
||||
return this.body.getTablesOfContents();
|
||||
}
|
||||
|
||||
public getParagraphs(): Paragraph[] {
|
||||
return this.body.getParagraphs();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user