Fix missing media in Document Template

This commit is contained in:
Dolan
2019-01-04 00:11:50 +00:00
parent f7c372a85c
commit e3bcad6d3c
4 changed files with 28 additions and 10 deletions

View File

@ -53,8 +53,9 @@ export class Document extends XmlComponent {
return para;
}
public addTable(table: Table): void {
public addTable(table: Table): Document {
this.body.push(table);
return this;
}
public createTable(rows: number, cols: number): Table {