Add table column and vertical merging

This commit is contained in:
Dolan
2019-03-04 22:50:04 +00:00
parent 4fd2b6f1d3
commit efd89f24e6
6 changed files with 59 additions and 6 deletions

View File

@ -17,7 +17,7 @@ export class TableProperties extends XmlComponent {
this.root.push(this.cellMargin);
}
public setWidth(width: number | string, type: WidthType = WidthType.AUTO): TableProperties {
public setWidth(width: number, type: WidthType = WidthType.AUTO): TableProperties {
this.root.push(new PreferredTableWidth(type, width));
return this;
}