add values checks to remaining file/table code
This commit is contained in:
@ -1,5 +1,11 @@
|
||||
import { XmlAttributeComponent, XmlComponent } from "file/xml-components";
|
||||
|
||||
// <xsd:simpleType name="ST_TblLayoutType">
|
||||
// <xsd:restriction base="xsd:string">
|
||||
// <xsd:enumeration value="fixed"/>
|
||||
// <xsd:enumeration value="autofit"/>
|
||||
// </xsd:restriction>
|
||||
// </xsd:simpleType>
|
||||
export enum TableLayoutType {
|
||||
AUTOFIT = "autofit",
|
||||
FIXED = "fixed",
|
||||
@ -12,12 +18,6 @@ class TableLayoutAttributes extends XmlAttributeComponent<{ readonly type: Table
|
||||
// <xsd:complexType name="CT_TblLayoutType">
|
||||
// <xsd:attribute name="type" type="ST_TblLayoutType"/>
|
||||
// </xsd:complexType>
|
||||
// <xsd:simpleType name="ST_TblLayoutType">
|
||||
// <xsd:restriction base="xsd:string">
|
||||
// <xsd:enumeration value="fixed"/>
|
||||
// <xsd:enumeration value="autofit"/>
|
||||
// </xsd:restriction>
|
||||
// </xsd:simpleType>
|
||||
export class TableLayout extends XmlComponent {
|
||||
constructor(type: TableLayoutType) {
|
||||
super("w:tblLayout");
|
||||
|
Reference in New Issue
Block a user