Remove create table helper function

This commit is contained in:
Dolan
2019-06-25 01:21:28 +01:00
parent dfe986331d
commit c97d15cb9f
22 changed files with 132 additions and 422 deletions

View File

@ -1,7 +1,7 @@
// http://officeopenxml.com/WPdocument.php
import { XmlComponent } from "file/xml-components";
import { Paragraph } from "../paragraph";
import { ITableOptions, Table } from "../table";
import { Table } from "../table";
import { TableOfContents } from "../table-of-contents";
import { Body } from "./body";
import { SectionPropertiesOptions } from "./body/section-properties";
@ -52,12 +52,6 @@ export class Document extends XmlComponent {
return this;
}
public createTable(options: ITableOptions): Table {
const table = new Table(options);
this.addTable(table);
return table;
}
public get Body(): Body {
return this.body;
}