Add table row height
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { HeightRule, TableRowHeight } from "file/table/table-row/table-row-height";
|
||||
import { IgnoreIfEmptyXmlComponent, XmlAttributeComponent, XmlComponent } from "file/xml-components";
|
||||
|
||||
export class TableRowProperties extends IgnoreIfEmptyXmlComponent {
|
||||
@ -16,6 +17,12 @@ export class TableRowProperties extends IgnoreIfEmptyXmlComponent {
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public setHeight(height: number, rule: HeightRule): TableRowProperties {
|
||||
this.root.push(new TableRowHeight(height, rule));
|
||||
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
class CantSplitAttributes extends XmlAttributeComponent<{ readonly val: boolean }> {
|
||||
|
Reference in New Issue
Block a user