Add shading

This commit is contained in:
Dolan
2019-03-21 01:06:07 +00:00
parent 48c17d51bb
commit c6ab47e838
9 changed files with 164 additions and 50 deletions

View File

@ -1,5 +1,6 @@
import { XmlComponent } from "file/xml-components";
import { ITableShadingAttributesProperties, TableShading } from "../shading";
import { WidthType } from "../table-cell";
import { TableBorders } from "./table-borders";
import { TableCellMargin } from "./table-cell-margin";
@ -40,4 +41,10 @@ export class TableProperties extends XmlComponent {
this.root.push(new TableFloatProperties(tableFloatOptions));
return this;
}
public setShading(attrs: ITableShadingAttributesProperties): TableProperties {
this.root.push(new TableShading(attrs));
return this;
}
}