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

@ -24,7 +24,7 @@ import { Settings } from "./settings";
import { Styles } from "./styles";
import { ExternalStylesFactory } from "./styles/external-styles-factory";
import { DefaultStylesFactory } from "./styles/factory";
import { ITableOptions, Table } from "./table";
import { Table } from "./table";
import { TableOfContents } from "./table-of-contents";
export class File {
@ -127,10 +127,6 @@ export class File {
return this;
}
public createTable(options: ITableOptions): Table {
return this.document.createTable(options);
}
public addImage(image: Image): File {
this.document.addParagraph(image.Paragraph);
return this;