abstract-document 16.0.33 → 16.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/abstract-document/styles/page-style.d.ts +4 -0
- package/lib/abstract-document/styles/page-style.d.ts.map +1 -1
- package/lib/abstract-document/styles/page-style.js +3 -1
- package/lib/abstract-document/styles/page-style.js.map +1 -1
- package/lib/abstract-document-exporters/pdf/measure.d.ts.map +1 -1
- package/lib/abstract-document-exporters/pdf/measure.js +13 -1
- package/lib/abstract-document-exporters/pdf/measure.js.map +1 -1
- package/lib/abstract-document-exporters/pdf/paginate.d.ts +6 -0
- package/lib/abstract-document-exporters/pdf/paginate.d.ts.map +1 -1
- package/lib/abstract-document-exporters/pdf/paginate.js +39 -8
- package/lib/abstract-document-exporters/pdf/paginate.js.map +1 -1
- package/lib/abstract-document-exporters/pdf/render.js +7 -6
- package/lib/abstract-document-exporters/pdf/render.js.map +1 -1
- package/lib/abstract-document-exporters/shared/to-base-64.d.ts +3 -0
- package/lib/abstract-document-exporters/shared/to-base-64.d.ts.map +1 -0
- package/lib/abstract-document-exporters/shared/to-base-64.js +19 -0
- package/lib/abstract-document-exporters/shared/to-base-64.js.map +1 -0
- package/lib/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.js +11 -2
- package/lib/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.js.map +1 -1
- package/lib/abstract-document-xml/xsd-template/elements.d.ts +4 -3
- package/lib/abstract-document-xml/xsd-template/elements.d.ts.map +1 -1
- package/lib/abstract-document-xml/xsd-template/elements.js +20 -15
- package/lib/abstract-document-xml/xsd-template/elements.js.map +1 -1
- package/lib/abstract-document-xml/xsd-template/styles.d.ts +1 -1
- package/lib/abstract-document-xml/xsd-template/styles.d.ts.map +1 -1
- package/lib/abstract-document-xml/xsd-template/styles.js +2 -0
- package/lib/abstract-document-xml/xsd-template/styles.js.map +1 -1
- package/lib/abstract-document-xml/xsd-template/xsd-template.d.ts +2 -2
- package/lib/abstract-document-xml/xsd-template/xsd-template.d.ts.map +1 -1
- package/lib/abstract-document-xml/xsd-template/xsd-template.js +1 -0
- package/lib/abstract-document-xml/xsd-template/xsd-template.js.map +1 -1
- package/package.json +4 -4
- package/src/abstract-document/styles/page-style.ts +8 -0
- package/src/abstract-document-exporters/pdf/measure.ts +15 -3
- package/src/abstract-document-exporters/pdf/paginate.ts +48 -13
- package/src/abstract-document-exporters/pdf/render.ts +8 -7
- package/src/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.ts +9 -2
- package/src/abstract-document-xml/xsd-template/elements.ts +21 -14
- package/src/abstract-document-xml/xsd-template/styles.ts +2 -0
- package/src/abstract-document-xml/xsd-template/xsd-template.ts +1 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export declare const abstractDoc = "<xs:element name=\"AbstractDoc\">\n
|
|
1
|
+
export declare const abstractDoc = "<xs:element name=\"AbstractDoc\">\n <xs:complexType>\n\t\t<xs:sequence>\n\t\t\t<xs:element name=\"StyleNames\" type=\"StyleNames\" minOccurs=\"0\"></xs:element>\n\t\t\t<xs:element name=\"Section\" type=\"Section\"></xs:element>\n\t\t</xs:sequence>\n\t</xs:complexType>\n</xs:element>";
|
|
2
2
|
export declare const section = "<xs:complexType name=\"Section\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t\t<xs:element name=\"page\" type=\"page\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t</xs:choice>\n</xs:complexType>";
|
|
3
|
-
export declare const page = "<xs:complexType name=\"page\">\n\t<xs:annotation>\n\t\t<xs:documentation>Define header and footer.</xs:documentation>\n\t</xs:annotation>\n\t<xs:all>\n\t\t<xs:element name=\"style\" type=\"MasterPageStyle\" />\n\t\t<xs:element name=\"header\" type=\"
|
|
4
|
-
export declare const sectionElement = "<xs:complexType name=\"SectionElement\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t
|
|
3
|
+
export declare const page = "<xs:complexType name=\"page\">\n\t<xs:annotation>\n\t\t<xs:documentation>Define header and footer.</xs:documentation>\n\t</xs:annotation>\n\t<xs:all>\n\t\t<xs:element name=\"style\" type=\"MasterPageStyle\" />\n\t\t<xs:element name=\"header\" type=\"HeaderFooter\" minOccurs=\"0\" />\n\t\t<xs:element name=\"footer\" type=\"HeaderFooter\" minOccurs=\"0\" />\n\t</xs:all>\n</xs:complexType>";
|
|
4
|
+
export declare const sectionElement = "<xs:complexType name=\"SectionElement\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t</xs:choice>\n</xs:complexType>";
|
|
5
|
+
export declare const headerFooter = "<xs:complexType name=\"HeaderFooter\">\n <xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t</xs:choice>\n\t<xs:attribute name=\"differentFirstPage\" type=\"xs:boolean\" use=\"optional\"/>\n</xs:complexType>";
|
|
5
6
|
export declare const group = "<xs:complexType name=\"Group\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"style\" type=\"GroupStyle\" minOccurs=\"0\" />\n\t</xs:choice>\n\t<xs:attribute name=\"keepTogether\" type=\"xs:boolean\" />\n</xs:complexType>";
|
|
6
7
|
export declare const table = "<xs:complexType name=\"Table\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"headerRows\" type=\"headerRows\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:element name=\"style\" type=\"TableStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:sequence>\n\t\t\t<xs:choice minOccurs=\"1\">\n\t\t\t\t<xs:element name=\"TableRow\" type=\"TableRow\" maxOccurs=\"unbounded\" />\n\t\t\t\t<xs:element name=\"TextRow\" type=\"TextRow\" maxOccurs=\"unbounded\" />\n\t\t\t\t<xs:element name=\"ImageRow\" type=\"ImageRow\" maxOccurs=\"unbounded\" />\n\t\t\t</xs:choice>\n\t\t</xs:sequence>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"columnWidths\" type=\"xs:string\" use=\"required\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>ColumnWidths of table. Seperated by ,. Eg. \"100,399,200\". Need atleast one columnWidth. Use \"inf\" to automatically adjust width: \"100,Inf\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>";
|
|
7
8
|
export declare const headerRows = "<xs:complexType name=\"headerRows\">\n\t<xs:sequence>\n\t\t<xs:choice minOccurs=\"1\" maxOccurs=\"unbounded\">\n\t\t\t<xs:element name=\"TableRow\" type=\"TableRow\"/>\n\t\t\t<xs:element name=\"TextRow\" type=\"TextRow\" maxOccurs=\"unbounded\" />\n\t\t\t<xs:element name=\"ImageRow\" type=\"ImageRow\" maxOccurs=\"unbounded\" />\n\t\t</xs:choice>\n\t</xs:sequence>\n</xs:complexType>";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elements.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/elements.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"elements.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/elements.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,iSAOV,CAAC;AAEf,eAAO,MAAM,OAAO,iuBAWF,CAAC;AAEnB,eAAO,MAAM,IAAI,0YASC,CAAC;AAUnB,eAAO,MAAM,cAAc,+nBAIT,CAAC;AAEnB,eAAO,MAAM,YAAY,itBAKP,CAAC;AAEnB,eAAO,MAAM,KAAK,isBAWA,CAAC;AAEnB,eAAO,MAAM,KAAK,6uCAsBA,CAAC;AAEnB,eAAO,MAAM,UAAU,qYAQL,CAAC;AAEnB,eAAO,MAAM,QAAQ,qZAMH,CAAC;AAEnB,eAAO,MAAM,SAAS,2vCAkBJ,CAAC;AAEnB,eAAO,MAAM,QAAQ,qLAGH,CAAC;AAEnB,eAAO,MAAM,SAAS,qpCAeJ,CAAC;AAEnB,eAAO,MAAM,SAAS,sjBAWJ,CAAC;AAEnB,eAAO,MAAM,YAAY,qHAEP,CAAC;AAEnB,eAAO,MAAM,UAAU,iHAEL,CAAC;AAEnB,eAAO,MAAM,OAAO,slBAWF,CAAC;AAEnB,eAAO,MAAM,SAAS,i5BAqBJ,CAAC;AAEnB,eAAO,MAAM,KAAK,+RAIA,CAAC;AAEnB,eAAO,MAAM,SAAS,0CAAwC,CAAC"}
|
|
@@ -33,13 +33,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.pageBreak = exports.image = exports.textField = exports.textRun = exports.linkTarget = exports.tocSeparator = exports.hyperLink = exports.paragraph = exports.markdown = exports.tableCell = exports.tableRow = exports.headerRows = exports.table = exports.group = exports.sectionElement = exports.page = exports.section = exports.abstractDoc = void 0;
|
|
36
|
+
exports.pageBreak = exports.image = exports.textField = exports.textRun = exports.linkTarget = exports.tocSeparator = exports.hyperLink = exports.paragraph = exports.markdown = exports.tableCell = exports.tableRow = exports.headerRows = exports.table = exports.group = exports.headerFooter = exports.sectionElement = exports.page = exports.section = exports.abstractDoc = void 0;
|
|
37
37
|
const Custom = __importStar(require("./custom-elements.js"));
|
|
38
38
|
exports.abstractDoc = `<xs:element name="AbstractDoc">
|
|
39
|
-
|
|
39
|
+
<xs:complexType>
|
|
40
40
|
<xs:sequence>
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
<xs:element name="StyleNames" type="StyleNames" minOccurs="0"></xs:element>
|
|
42
|
+
<xs:element name="Section" type="Section"></xs:element>
|
|
43
43
|
</xs:sequence>
|
|
44
44
|
</xs:complexType>
|
|
45
45
|
</xs:element>`;
|
|
@@ -61,22 +61,27 @@ exports.page = `<xs:complexType name="page">
|
|
|
61
61
|
</xs:annotation>
|
|
62
62
|
<xs:all>
|
|
63
63
|
<xs:element name="style" type="MasterPageStyle" />
|
|
64
|
-
<xs:element name="header" type="
|
|
65
|
-
<xs:element name="footer" type="
|
|
66
|
-
<xs:element name="frontHeader" type="SectionElement" minOccurs="0" />
|
|
67
|
-
<xs:element name="frontFooter" type="SectionElement" minOccurs="0" />
|
|
64
|
+
<xs:element name="header" type="HeaderFooter" minOccurs="0" />
|
|
65
|
+
<xs:element name="footer" type="HeaderFooter" minOccurs="0" />
|
|
68
66
|
</xs:all>
|
|
69
67
|
</xs:complexType>`;
|
|
68
|
+
const sectionElementBody = `<xs:element name="Table" type="Table" minOccurs="0" />
|
|
69
|
+
<xs:element name="Group" type="Group" minOccurs="0" />
|
|
70
|
+
<xs:element name="PageBreak" type="PageBreak" minOccurs="0" />
|
|
71
|
+
<xs:element name="Paragraph" type="Paragraph" minOccurs="0" />
|
|
72
|
+
${Custom.textParagraphElement}
|
|
73
|
+
${Custom.imageParagraphElement}
|
|
74
|
+
<xs:element name="Markdown" type="Markdown" minOccurs="0" />`;
|
|
70
75
|
exports.sectionElement = `<xs:complexType name="SectionElement">
|
|
71
76
|
<xs:choice maxOccurs="unbounded">
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
${
|
|
78
|
-
<xs:element name="Markdown" type="Markdown" minOccurs="0" />
|
|
77
|
+
${sectionElementBody}
|
|
78
|
+
</xs:choice>
|
|
79
|
+
</xs:complexType>`;
|
|
80
|
+
exports.headerFooter = `<xs:complexType name="HeaderFooter">
|
|
81
|
+
<xs:choice maxOccurs="unbounded">
|
|
82
|
+
${sectionElementBody}
|
|
79
83
|
</xs:choice>
|
|
84
|
+
<xs:attribute name="differentFirstPage" type="xs:boolean" use="optional"/>
|
|
80
85
|
</xs:complexType>`;
|
|
81
86
|
exports.group = `<xs:complexType name="Group">
|
|
82
87
|
<xs:choice maxOccurs="unbounded">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elements.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/elements.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAA+C;AAElC,QAAA,WAAW,GAAG;;;;;;;cAOb,CAAC;AAEF,QAAA,OAAO,GAAG;;;;;;IAMnB,MAAM,CAAC,oBAAoB;IAC3B,MAAM,CAAC,qBAAqB;;;;kBAId,CAAC;AAEN,QAAA,IAAI,GAAG
|
|
1
|
+
{"version":3,"file":"elements.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/elements.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAA+C;AAElC,QAAA,WAAW,GAAG;;;;;;;cAOb,CAAC;AAEF,QAAA,OAAO,GAAG;;;;;;IAMnB,MAAM,CAAC,oBAAoB;IAC3B,MAAM,CAAC,qBAAqB;;;;kBAId,CAAC;AAEN,QAAA,IAAI,GAAG;;;;;;;;;kBASF,CAAC;AAEnB,MAAM,kBAAkB,GAAG;;;;GAIxB,MAAM,CAAC,oBAAoB;GAC3B,MAAM,CAAC,qBAAqB;6DAC8B,CAAC;AAEjD,QAAA,cAAc,GAAG;;IAE1B,kBAAkB;;kBAEJ,CAAC;AAEN,QAAA,YAAY,GAAG;;IAExB,kBAAkB;;;kBAGJ,CAAC;AAEN,QAAA,KAAK,GAAG;;;;;;IAMjB,MAAM,CAAC,oBAAoB;IAC3B,MAAM,CAAC,qBAAqB;;;;kBAId,CAAC;AAEN,QAAA,KAAK,GAAG;;;;;;;MAOf,MAAM,CAAC,cAAc;MACrB,MAAM,CAAC,eAAe;;;;;;;;;;;;;;kBAcV,CAAC;AAEN,QAAA,UAAU,GAAG;;;;KAIrB,MAAM,CAAC,cAAc;KACrB,MAAM,CAAC,eAAe;;;kBAGT,CAAC;AAEN,QAAA,QAAQ,GAAG;;;IAGpB,MAAM,CAAC,eAAe;IACtB,MAAM,CAAC,gBAAgB;;kBAET,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;IAOrB,MAAM,CAAC,oBAAoB;IAC3B,MAAM,CAAC,qBAAqB;;;;;;;;;;kBAUd,CAAC;AAEN,QAAA,QAAQ,GAAG;;;kBAGN,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;kBAeP,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;kBAWP,CAAC;AAEN,QAAA,YAAY,GAAG;;kBAEV,CAAC;AAEN,QAAA,UAAU,GAAG;;kBAER,CAAC;AAEN,QAAA,OAAO,GAAG;;;;;;;;;;;kBAWL,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;kBAqBP,CAAC;AAEN,QAAA,KAAK,GAAG;;;;kBAIH,CAAC;AAEN,QAAA,SAAS,GAAG,qCAAqC,CAAC"}
|
|
@@ -5,7 +5,7 @@ export declare const tableCellStyle = "<xs:complexType name=\"TableCellStyle\">\
|
|
|
5
5
|
export declare const tableStyle = "<xs:complexType name=\"TableStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Table style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Left\" | \"Center\" | \"Right\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Left\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"Right\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>";
|
|
6
6
|
export declare const paragraphStyle = "<xs:complexType name=\"ParagraphStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Paragraph style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" minOccurs=\"0\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Start\" | \"Center\" | \"End\" | \"Justify\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Start\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"End\" />\n\t\t\t\t<xs:enumeration value=\"Justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>";
|
|
7
7
|
export declare const textStyle = "<xs:complexType name=\"TextStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Text style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"underline\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"superScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"subScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"italic\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"lineBreak\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"mediumBold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"bold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"fontScale\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"fontSize\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"lineGap\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"characterSpacing\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"verticalPosition\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"indent\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"color\" type=\"xs:string\" />\n\t<xs:attribute name=\"fontFamily\" type=\"xs:string\" />\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"left\" />\n\t\t\t\t<xs:enumeration value=\"center\" />\n\t\t\t\t<xs:enumeration value=\"right\" />\n\t\t\t\t<xs:enumeration value=\"justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"baseline\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"top\" />\n\t\t\t\t<xs:enumeration value=\"bottom\" />\n\t\t\t\t<xs:enumeration value=\"middle\" />\n\t\t\t\t<xs:enumeration value=\"alphabetic\" />\n\t\t\t\t<xs:enumeration value=\"hanging\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>";
|
|
8
|
-
export declare const masterPageStyle = "<xs:complexType name=\"MasterPageStyle\">\n\t<xs:all>\n\t\t<xs:element name=\"headerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"footerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"contentMargins\" type=\"LayoutFoundation\" />\n\t</xs:all>\n\t<xs:attribute name=\"paperSize\" use=\"required\">\n\t\t<xs:simpleType>\n\t\t<xs:annotation>\n\t\t<xs:documentation>PaperSize possible values \"A4\" | \"Letter\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"A4\" />\n\t\t\t\t<xs:enumeration value=\"Letter\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"orientation\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Portrait\" />\n\t\t\t\t<xs:enumeration value=\"Landscape\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"noTopBottomMargin\" type=\"xs:boolean\" />\n</xs:complexType>";
|
|
8
|
+
export declare const masterPageStyle = "<xs:complexType name=\"MasterPageStyle\">\n\t<xs:all>\n\t\t<xs:element name=\"headerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"footerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"firstPageHeaderMargins\" type=\"LayoutFoundation\" minOccurs=\"0\" />\n\t\t<xs:element name=\"firstPageFooterMargins\" type=\"LayoutFoundation\" minOccurs=\"0\" />\n\t\t<xs:element name=\"contentMargins\" type=\"LayoutFoundation\" />\n\t</xs:all>\n\t<xs:attribute name=\"paperSize\" use=\"required\">\n\t\t<xs:simpleType>\n\t\t<xs:annotation>\n\t\t<xs:documentation>PaperSize possible values \"A4\" | \"Letter\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"A4\" />\n\t\t\t\t<xs:enumeration value=\"Letter\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"orientation\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Portrait\" />\n\t\t\t\t<xs:enumeration value=\"Landscape\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"noTopBottomMargin\" type=\"xs:boolean\" />\n</xs:complexType>";
|
|
9
9
|
export declare const position = "<xs:simpleType name=\"Position\">\n\t<xs:annotation>\n\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t</xs:annotation>\n\t<xs:restriction base=\"xs:string\">\n\t\t<xs:enumeration value=\"absolute\" />\n\t\t<xs:enumeration value=\"relative\" />\n\t</xs:restriction>\n</xs:simpleType>";
|
|
10
10
|
export declare const layoutFoundation = "<xs:complexType name=\"LayoutFoundation\">\n\t<xs:attribute name=\"top\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"bottom\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"left\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"right\" type=\"xs:decimal\" />\n</xs:complexType>";
|
|
11
11
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,8KAIL,CAAC;AAEnB,eAAO,MAAM,SAAS,ilGAqEJ,CAAC;AAEnB,eAAO,MAAM,UAAU,kjBAcL,CAAC;AAEnB,eAAO,MAAM,cAAc,0oDA0CT,CAAC;AAEnB,eAAO,MAAM,UAAU,mnCA6BL,CAAC;AAEnB,eAAO,MAAM,cAAc,gqCA8BT,CAAC;AAEnB,eAAO,MAAM,SAAS,4uDAwCJ,CAAC;AAEnB,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,8KAIL,CAAC;AAEnB,eAAO,MAAM,SAAS,ilGAqEJ,CAAC;AAEnB,eAAO,MAAM,UAAU,kjBAcL,CAAC;AAEnB,eAAO,MAAM,cAAc,0oDA0CT,CAAC;AAEnB,eAAO,MAAM,UAAU,mnCA6BL,CAAC;AAEnB,eAAO,MAAM,cAAc,gqCA8BT,CAAC;AAEnB,eAAO,MAAM,SAAS,4uDAwCJ,CAAC;AAEnB,eAAO,MAAM,eAAe,msCA4BV,CAAC;AAEnB,eAAO,MAAM,QAAQ,gVAQJ,CAAC;AAElB,eAAO,MAAM,gBAAgB,4RAKX,CAAC"}
|
|
@@ -240,6 +240,8 @@ exports.masterPageStyle = `<xs:complexType name="MasterPageStyle">
|
|
|
240
240
|
<xs:all>
|
|
241
241
|
<xs:element name="headerMargins" type="LayoutFoundation" />
|
|
242
242
|
<xs:element name="footerMargins" type="LayoutFoundation" />
|
|
243
|
+
<xs:element name="firstPageHeaderMargins" type="LayoutFoundation" minOccurs="0" />
|
|
244
|
+
<xs:element name="firstPageFooterMargins" type="LayoutFoundation" minOccurs="0" />
|
|
243
245
|
<xs:element name="contentMargins" type="LayoutFoundation" />
|
|
244
246
|
</xs:all>
|
|
245
247
|
<xs:attribute name="paperSize" use="required">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/styles.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;;;;kBAIR,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqEP,CAAC;AAEN,QAAA,UAAU,GAAG;;;;;;;;;;;;;;kBAcR,CAAC;AAEN,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0CZ,CAAC;AAEN,QAAA,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6BR,CAAC;AAEN,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA8BZ,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAwCP,CAAC;AAEN,QAAA,eAAe,GAAG
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/styles.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;;;;kBAIR,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqEP,CAAC;AAEN,QAAA,UAAU,GAAG;;;;;;;;;;;;;;kBAcR,CAAC;AAEN,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0CZ,CAAC;AAEN,QAAA,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6BR,CAAC;AAEN,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA8BZ,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAwCP,CAAC;AAEN,QAAA,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA4Bb,CAAC;AAEN,QAAA,QAAQ,GAAG;;;;;;;;iBAQP,CAAC;AAEL,QAAA,gBAAgB,GAAG;;;;;kBAKd,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const xsd = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n <xs:complexType name=\"LayoutFoundation\">\n\t<xs:attribute name=\"top\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"bottom\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"left\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"right\" type=\"xs:decimal\" />\n</xs:complexType>\n<xs:complexType name=\"Section\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t\t<xs:element name=\"page\" type=\"page\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"SectionElement\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"page\">\n\t<xs:annotation>\n\t\t<xs:documentation>Define header and footer.</xs:documentation>\n\t</xs:annotation>\n\t<xs:all>\n\t\t<xs:element name=\"style\" type=\"MasterPageStyle\" />\n\t\t<xs:element name=\"header\" type=\"SectionElement\" minOccurs=\"0\" />\n\t\t<xs:element name=\"footer\" type=\"SectionElement\" minOccurs=\"0\" />\n\t\t<xs:element name=\"frontHeader\" type=\"SectionElement\" minOccurs=\"0\" />\n\t\t<xs:element name=\"frontFooter\" type=\"SectionElement\" minOccurs=\"0\" />\n\t</xs:all>\n</xs:complexType>\n<xs:complexType name=\"PageBreak\" />\n<xs:complexType name=\"Image\">\n <xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n <xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n <xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextField\">\n\t<xs:sequence>\n\t\t<xs:element name=\"style\" type=\"TextStyle\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"fieldType\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Date\" />\n\t\t\t\t<xs:enumeration value=\"PageNumber\" />\n\t\t\t\t<xs:enumeration value=\"TotalPages\" />\n\t\t\t\t<xs:enumeration value=\"PageNumberOf\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TextRun\">\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"HyperLink\">\n\t<xs:choice>\n\t\t<xs:element name=\"style\" type=\"TextStyle\" minOccurs=\"0\"/>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TocSeperator\">\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" />\n</xs:complexType>\n<xs:complexType name=\"LinkTarget\">\n\t<xs:attribute name=\"name\" type=\"xs:string\" />\n</xs:complexType>\n<xs:simpleType name=\"Position\">\n\t<xs:annotation>\n\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t</xs:annotation>\n\t<xs:restriction base=\"xs:string\">\n\t\t<xs:enumeration value=\"absolute\" />\n\t\t<xs:enumeration value=\"relative\" />\n\t</xs:restriction>\n</xs:simpleType>\n<xs:complexType name=\"MasterPageStyle\">\n\t<xs:all>\n\t\t<xs:element name=\"headerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"footerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"contentMargins\" type=\"LayoutFoundation\" />\n\t</xs:all>\n\t<xs:attribute name=\"paperSize\" use=\"required\">\n\t\t<xs:simpleType>\n\t\t<xs:annotation>\n\t\t<xs:documentation>PaperSize possible values \"A4\" | \"Letter\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"A4\" />\n\t\t\t\t<xs:enumeration value=\"Letter\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"orientation\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Portrait\" />\n\t\t\t\t<xs:enumeration value=\"Landscape\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"noTopBottomMargin\" type=\"xs:boolean\" />\n</xs:complexType>\n<xs:complexType name=\"Group\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"style\" type=\"GroupStyle\" minOccurs=\"0\" />\n\t</xs:choice>\n\t<xs:attribute name=\"keepTogether\" type=\"xs:boolean\" />\n</xs:complexType>\n<xs:complexType name=\"GroupStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Group style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TextStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Text style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"underline\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"superScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"subScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"italic\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"lineBreak\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"mediumBold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"bold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"fontScale\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"fontSize\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"lineGap\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"characterSpacing\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"verticalPosition\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"indent\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"color\" type=\"xs:string\" />\n\t<xs:attribute name=\"fontFamily\" type=\"xs:string\" />\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"left\" />\n\t\t\t\t<xs:enumeration value=\"center\" />\n\t\t\t\t<xs:enumeration value=\"right\" />\n\t\t\t\t<xs:enumeration value=\"justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"baseline\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"top\" />\n\t\t\t\t<xs:enumeration value=\"bottom\" />\n\t\t\t\t<xs:enumeration value=\"middle\" />\n\t\t\t\t<xs:enumeration value=\"alphabetic\" />\n\t\t\t\t<xs:enumeration value=\"hanging\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"ParagraphStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Paragraph style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" minOccurs=\"0\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Start\" | \"Center\" | \"End\" | \"Justify\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Start\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"End\" />\n\t\t\t\t<xs:enumeration value=\"Justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Table style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Left\" | \"Center\" | \"Right\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Left\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"Right\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"Paragraph\">\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"TextRun\" type=\"TextRun\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"TextField\" type=\"TextField\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t\t<xs:element name=\"Image\" type=\"Image\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"HyperLink\" type=\"HyperLink\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"LinkTarget\" type=\"LinkTarget\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"TocSeperator\" type=\"TocSeperator\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"Markdown\">\n\t<xs:attribute name=\"keepTogetherSections\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TableCellStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Table cell style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"background\" type=\"xs:string\" />\n\t<xs:attribute name=\"border\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Border \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borders\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Border \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borderColor\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Bordercolor \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borderColors\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Bordercolor \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"padding\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Padding \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"verticalAlignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Vertical alignment possible values \"Top\" | \"Middle\" | \"Bottom\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Top\" />\n\t\t\t\t<xs:enumeration value=\"Middle\" />\n\t\t\t\t<xs:enumeration value=\"Bottom\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableRow\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"TableCell\" type=\"TableCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"TextCell\" type=\"TextCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageCell\" type=\"ImageCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"headerRows\">\n\t<xs:sequence>\n\t\t<xs:choice minOccurs=\"1\" maxOccurs=\"unbounded\">\n\t\t\t<xs:element name=\"TableRow\" type=\"TableRow\"/>\n\t\t\t<xs:element name=\"TextRow\" type=\"TextRow\" maxOccurs=\"unbounded\" />\n\t\t\t<xs:element name=\"ImageRow\" type=\"ImageRow\" maxOccurs=\"unbounded\" />\n\t\t</xs:choice>\n\t</xs:sequence>\n</xs:complexType>\n<xs:complexType name=\"Table\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"headerRows\" type=\"headerRows\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:element name=\"style\" type=\"TableStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:sequence>\n\t\t\t<xs:choice minOccurs=\"1\">\n\t\t\t\t<xs:element name=\"TableRow\" type=\"TableRow\" maxOccurs=\"unbounded\" />\n\t\t\t\t<xs:element name=\"TextRow\" type=\"TextRow\" maxOccurs=\"unbounded\" />\n\t\t\t\t<xs:element name=\"ImageRow\" type=\"ImageRow\" maxOccurs=\"unbounded\" />\n\t\t\t</xs:choice>\n\t\t</xs:sequence>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"columnWidths\" type=\"xs:string\" use=\"required\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>ColumnWidths of table. Seperated by ,. Eg. \"100,399,200\". Need atleast one columnWidth. Use \"inf\" to automatically adjust width: \"100,Inf\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableCell\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t</xs:choice>\n\t<xs:attribute name=\"rowSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TextRow\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableRow> \\<TableCell> \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph> \\</TableCell> \\</TableRow></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextCell\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableCell> \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph> \\</TableCell></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextParagraph\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"ImageRow\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableRow> \\<TableCell> \\<Paragraph> \\<Image src text=\"...\" /> \\</Paragraph> \\</TableCell> \\</TableRow></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"ImageCell\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<ImageCell> \\<Paragraph> \\<Image src=\"...\" /> \\</Paragraph> \\</TableCell></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"ImageParagraph\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create \\<Paragraph> \\<Image src=\"...\" /> \\</Paragraph></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n <xs:complexType name=\"StyleNames\">\n\t<xs:sequence>\n\t\t<xs:element name=\"StyleName\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t</xs:sequence>\n</xs:complexType>\n <xs:complexType name=\"StyleName\">\n\t<xs:attribute name=\"name\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"type\" use=\"required\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>The type of style used. One of: \"GroupStyle\", \"TableStyle\", \"TableCellStyle\", \"ParagraphStyle\", \"TextStyle\", </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"GroupStyle\" />\n\t\t\t\t<xs:enumeration value=\"TableStyle\" />\n\t\t\t\t<xs:enumeration value=\"TableCellStyle\" />\n\t\t\t\t<xs:enumeration value=\"ParagraphStyle\" />\n\t\t\t\t<xs:enumeration value=\"TextStyle\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" />\n\t<xs:attribute name=\"position\" type=\"Position\"/>\n\t<xs:attribute name=\"background\" type=\"xs:string\" />\n\t<xs:attribute name=\"border\" type=\"xs:string\" />\n\t<xs:attribute name=\"borders\" type=\"xs:string\" />\n\t<xs:attribute name=\"borderColor\" type=\"xs:string\" />\n\t<xs:attribute name=\"borderColors\" type=\"xs:string\" />\n\t<xs:attribute name=\"padding\" type=\"xs:string\" />\n\t<xs:attribute name=\"verticalAlignment\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Top\" />\n\t\t\t\t<xs:enumeration value=\"Middle\" />\n\t\t\t\t<xs:enumeration value=\"Bottom\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"underline\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"superScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"subScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"italic\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"lineBreak\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"mediumBold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"bold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"fontScale\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"fontSize\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"lineGap\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"characterSpacing\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"verticalPosition\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"indent\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"color\" type=\"xs:string\" />\n\t<xs:attribute name=\"fontFamily\" type=\"xs:string\" />\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"left\" />\n\t\t\t\t<xs:enumeration value=\"center\" />\n\t\t\t\t<xs:enumeration value=\"right\" />\n\t\t\t\t<xs:enumeration value=\"justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"baseline\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"top\" />\n\t\t\t\t<xs:enumeration value=\"bottom\" />\n\t\t\t\t<xs:enumeration value=\"middle\" />\n\t\t\t\t<xs:enumeration value=\"alphabetic\" />\n\t\t\t\t<xs:enumeration value=\"hanging\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n <xs:element name=\"AbstractDoc\">\n <xs:complexType>\n\t\t<xs:sequence>\n\t\t\t\t<xs:element name=\"StyleNames\" type=\"StyleNames\" minOccurs=\"0\"></xs:element>\n\t\t\t\t<xs:element name=\"Section\" type=\"Section\"></xs:element>\n\t\t</xs:sequence>\n\t</xs:complexType>\n</xs:element>\n</xs:schema>";
|
|
2
|
-
export declare const xsdPartial = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n <xs:complexType name=\"Section\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t\t<xs:element name=\"page\" type=\"page\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t</xs:choice>\n</xs:complexType>\n <xs:complexType name=\"LayoutFoundation\">\n\t<xs:attribute name=\"top\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"bottom\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"left\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"right\" type=\"xs:decimal\" />\n</xs:complexType>\n<xs:complexType name=\"Section\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t\t<xs:element name=\"page\" type=\"page\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"SectionElement\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"page\">\n\t<xs:annotation>\n\t\t<xs:documentation>Define header and footer.</xs:documentation>\n\t</xs:annotation>\n\t<xs:all>\n\t\t<xs:element name=\"style\" type=\"MasterPageStyle\" />\n\t\t<xs:element name=\"header\" type=\"SectionElement\" minOccurs=\"0\" />\n\t\t<xs:element name=\"footer\" type=\"SectionElement\" minOccurs=\"0\" />\n\t\t<xs:element name=\"frontHeader\" type=\"SectionElement\" minOccurs=\"0\" />\n\t\t<xs:element name=\"frontFooter\" type=\"SectionElement\" minOccurs=\"0\" />\n\t</xs:all>\n</xs:complexType>\n<xs:complexType name=\"PageBreak\" />\n<xs:complexType name=\"Image\">\n <xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n <xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n <xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextField\">\n\t<xs:sequence>\n\t\t<xs:element name=\"style\" type=\"TextStyle\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"fieldType\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Date\" />\n\t\t\t\t<xs:enumeration value=\"PageNumber\" />\n\t\t\t\t<xs:enumeration value=\"TotalPages\" />\n\t\t\t\t<xs:enumeration value=\"PageNumberOf\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TextRun\">\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"HyperLink\">\n\t<xs:choice>\n\t\t<xs:element name=\"style\" type=\"TextStyle\" minOccurs=\"0\"/>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TocSeperator\">\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" />\n</xs:complexType>\n<xs:complexType name=\"LinkTarget\">\n\t<xs:attribute name=\"name\" type=\"xs:string\" />\n</xs:complexType>\n<xs:simpleType name=\"Position\">\n\t<xs:annotation>\n\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t</xs:annotation>\n\t<xs:restriction base=\"xs:string\">\n\t\t<xs:enumeration value=\"absolute\" />\n\t\t<xs:enumeration value=\"relative\" />\n\t</xs:restriction>\n</xs:simpleType>\n<xs:complexType name=\"MasterPageStyle\">\n\t<xs:all>\n\t\t<xs:element name=\"headerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"footerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"contentMargins\" type=\"LayoutFoundation\" />\n\t</xs:all>\n\t<xs:attribute name=\"paperSize\" use=\"required\">\n\t\t<xs:simpleType>\n\t\t<xs:annotation>\n\t\t<xs:documentation>PaperSize possible values \"A4\" | \"Letter\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"A4\" />\n\t\t\t\t<xs:enumeration value=\"Letter\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"orientation\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Portrait\" />\n\t\t\t\t<xs:enumeration value=\"Landscape\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"noTopBottomMargin\" type=\"xs:boolean\" />\n</xs:complexType>\n<xs:complexType name=\"Group\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"style\" type=\"GroupStyle\" minOccurs=\"0\" />\n\t</xs:choice>\n\t<xs:attribute name=\"keepTogether\" type=\"xs:boolean\" />\n</xs:complexType>\n<xs:complexType name=\"GroupStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Group style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TextStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Text style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"underline\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"superScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"subScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"italic\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"lineBreak\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"mediumBold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"bold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"fontScale\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"fontSize\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"lineGap\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"characterSpacing\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"verticalPosition\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"indent\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"color\" type=\"xs:string\" />\n\t<xs:attribute name=\"fontFamily\" type=\"xs:string\" />\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"left\" />\n\t\t\t\t<xs:enumeration value=\"center\" />\n\t\t\t\t<xs:enumeration value=\"right\" />\n\t\t\t\t<xs:enumeration value=\"justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"baseline\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"top\" />\n\t\t\t\t<xs:enumeration value=\"bottom\" />\n\t\t\t\t<xs:enumeration value=\"middle\" />\n\t\t\t\t<xs:enumeration value=\"alphabetic\" />\n\t\t\t\t<xs:enumeration value=\"hanging\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"ParagraphStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Paragraph style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" minOccurs=\"0\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Start\" | \"Center\" | \"End\" | \"Justify\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Start\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"End\" />\n\t\t\t\t<xs:enumeration value=\"Justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Table style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Left\" | \"Center\" | \"Right\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Left\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"Right\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"Paragraph\">\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"TextRun\" type=\"TextRun\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"TextField\" type=\"TextField\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t\t<xs:element name=\"Image\" type=\"Image\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"HyperLink\" type=\"HyperLink\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"LinkTarget\" type=\"LinkTarget\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"TocSeperator\" type=\"TocSeperator\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"Markdown\">\n\t<xs:attribute name=\"keepTogetherSections\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TableCellStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Table cell style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"background\" type=\"xs:string\" />\n\t<xs:attribute name=\"border\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Border \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borders\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Border \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borderColor\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Bordercolor \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borderColors\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Bordercolor \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"padding\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Padding \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"verticalAlignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Vertical alignment possible values \"Top\" | \"Middle\" | \"Bottom\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Top\" />\n\t\t\t\t<xs:enumeration value=\"Middle\" />\n\t\t\t\t<xs:enumeration value=\"Bottom\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableRow\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"TableCell\" type=\"TableCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"TextCell\" type=\"TextCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageCell\" type=\"ImageCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"headerRows\">\n\t<xs:sequence>\n\t\t<xs:choice minOccurs=\"1\" maxOccurs=\"unbounded\">\n\t\t\t<xs:element name=\"TableRow\" type=\"TableRow\"/>\n\t\t\t<xs:element name=\"TextRow\" type=\"TextRow\" maxOccurs=\"unbounded\" />\n\t\t\t<xs:element name=\"ImageRow\" type=\"ImageRow\" maxOccurs=\"unbounded\" />\n\t\t</xs:choice>\n\t</xs:sequence>\n</xs:complexType>\n<xs:complexType name=\"Table\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"headerRows\" type=\"headerRows\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:element name=\"style\" type=\"TableStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:sequence>\n\t\t\t<xs:choice minOccurs=\"1\">\n\t\t\t\t<xs:element name=\"TableRow\" type=\"TableRow\" maxOccurs=\"unbounded\" />\n\t\t\t\t<xs:element name=\"TextRow\" type=\"TextRow\" maxOccurs=\"unbounded\" />\n\t\t\t\t<xs:element name=\"ImageRow\" type=\"ImageRow\" maxOccurs=\"unbounded\" />\n\t\t\t</xs:choice>\n\t\t</xs:sequence>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"columnWidths\" type=\"xs:string\" use=\"required\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>ColumnWidths of table. Seperated by ,. Eg. \"100,399,200\". Need atleast one columnWidth. Use \"inf\" to automatically adjust width: \"100,Inf\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableCell\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t</xs:choice>\n\t<xs:attribute name=\"rowSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TextRow\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableRow> \\<TableCell> \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph> \\</TableCell> \\</TableRow></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextCell\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableCell> \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph> \\</TableCell></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextParagraph\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"ImageRow\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableRow> \\<TableCell> \\<Paragraph> \\<Image src text=\"...\" /> \\</Paragraph> \\</TableCell> \\</TableRow></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"ImageCell\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<ImageCell> \\<Paragraph> \\<Image src=\"...\" /> \\</Paragraph> \\</TableCell></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"ImageParagraph\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create \\<Paragraph> \\<Image src=\"...\" /> \\</Paragraph></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n <xs:element name=\"Table\" type=\"Table\" />\n <xs:element name=\"Group\" type=\"Group\" />\n <xs:element name=\"PageBreak\" type=\"PageBreak\" />\n <xs:element name=\"Paragraph\" type=\"Paragraph\" />\n <xs:element name=\"Markdown\" type=\"Markdown\" />\n</xs:schema>";
|
|
1
|
+
export declare const xsd = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n <xs:complexType name=\"LayoutFoundation\">\n\t<xs:attribute name=\"top\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"bottom\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"left\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"right\" type=\"xs:decimal\" />\n</xs:complexType>\n<xs:complexType name=\"Section\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t\t<xs:element name=\"page\" type=\"page\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"SectionElement\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"HeaderFooter\">\n <xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t</xs:choice>\n\t<xs:attribute name=\"differentFirstPage\" type=\"xs:boolean\" use=\"optional\"/>\n</xs:complexType>\n<xs:complexType name=\"page\">\n\t<xs:annotation>\n\t\t<xs:documentation>Define header and footer.</xs:documentation>\n\t</xs:annotation>\n\t<xs:all>\n\t\t<xs:element name=\"style\" type=\"MasterPageStyle\" />\n\t\t<xs:element name=\"header\" type=\"HeaderFooter\" minOccurs=\"0\" />\n\t\t<xs:element name=\"footer\" type=\"HeaderFooter\" minOccurs=\"0\" />\n\t</xs:all>\n</xs:complexType>\n<xs:complexType name=\"PageBreak\" />\n<xs:complexType name=\"Image\">\n <xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n <xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n <xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextField\">\n\t<xs:sequence>\n\t\t<xs:element name=\"style\" type=\"TextStyle\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"fieldType\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Date\" />\n\t\t\t\t<xs:enumeration value=\"PageNumber\" />\n\t\t\t\t<xs:enumeration value=\"TotalPages\" />\n\t\t\t\t<xs:enumeration value=\"PageNumberOf\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TextRun\">\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"HyperLink\">\n\t<xs:choice>\n\t\t<xs:element name=\"style\" type=\"TextStyle\" minOccurs=\"0\"/>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TocSeperator\">\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" />\n</xs:complexType>\n<xs:complexType name=\"LinkTarget\">\n\t<xs:attribute name=\"name\" type=\"xs:string\" />\n</xs:complexType>\n<xs:simpleType name=\"Position\">\n\t<xs:annotation>\n\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t</xs:annotation>\n\t<xs:restriction base=\"xs:string\">\n\t\t<xs:enumeration value=\"absolute\" />\n\t\t<xs:enumeration value=\"relative\" />\n\t</xs:restriction>\n</xs:simpleType>\n<xs:complexType name=\"MasterPageStyle\">\n\t<xs:all>\n\t\t<xs:element name=\"headerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"footerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"firstPageHeaderMargins\" type=\"LayoutFoundation\" minOccurs=\"0\" />\n\t\t<xs:element name=\"firstPageFooterMargins\" type=\"LayoutFoundation\" minOccurs=\"0\" />\n\t\t<xs:element name=\"contentMargins\" type=\"LayoutFoundation\" />\n\t</xs:all>\n\t<xs:attribute name=\"paperSize\" use=\"required\">\n\t\t<xs:simpleType>\n\t\t<xs:annotation>\n\t\t<xs:documentation>PaperSize possible values \"A4\" | \"Letter\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"A4\" />\n\t\t\t\t<xs:enumeration value=\"Letter\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"orientation\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Portrait\" />\n\t\t\t\t<xs:enumeration value=\"Landscape\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"noTopBottomMargin\" type=\"xs:boolean\" />\n</xs:complexType>\n<xs:complexType name=\"Group\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"style\" type=\"GroupStyle\" minOccurs=\"0\" />\n\t</xs:choice>\n\t<xs:attribute name=\"keepTogether\" type=\"xs:boolean\" />\n</xs:complexType>\n<xs:complexType name=\"GroupStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Group style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TextStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Text style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"underline\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"superScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"subScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"italic\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"lineBreak\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"mediumBold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"bold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"fontScale\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"fontSize\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"lineGap\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"characterSpacing\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"verticalPosition\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"indent\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"color\" type=\"xs:string\" />\n\t<xs:attribute name=\"fontFamily\" type=\"xs:string\" />\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"left\" />\n\t\t\t\t<xs:enumeration value=\"center\" />\n\t\t\t\t<xs:enumeration value=\"right\" />\n\t\t\t\t<xs:enumeration value=\"justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"baseline\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"top\" />\n\t\t\t\t<xs:enumeration value=\"bottom\" />\n\t\t\t\t<xs:enumeration value=\"middle\" />\n\t\t\t\t<xs:enumeration value=\"alphabetic\" />\n\t\t\t\t<xs:enumeration value=\"hanging\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"ParagraphStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Paragraph style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" minOccurs=\"0\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Start\" | \"Center\" | \"End\" | \"Justify\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Start\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"End\" />\n\t\t\t\t<xs:enumeration value=\"Justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Table style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Left\" | \"Center\" | \"Right\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Left\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"Right\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"Paragraph\">\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"TextRun\" type=\"TextRun\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"TextField\" type=\"TextField\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t\t<xs:element name=\"Image\" type=\"Image\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"HyperLink\" type=\"HyperLink\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"LinkTarget\" type=\"LinkTarget\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"TocSeperator\" type=\"TocSeperator\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"Markdown\">\n\t<xs:attribute name=\"keepTogetherSections\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TableCellStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Table cell style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"background\" type=\"xs:string\" />\n\t<xs:attribute name=\"border\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Border \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borders\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Border \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borderColor\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Bordercolor \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borderColors\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Bordercolor \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"padding\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Padding \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"verticalAlignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Vertical alignment possible values \"Top\" | \"Middle\" | \"Bottom\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Top\" />\n\t\t\t\t<xs:enumeration value=\"Middle\" />\n\t\t\t\t<xs:enumeration value=\"Bottom\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableRow\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"TableCell\" type=\"TableCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"TextCell\" type=\"TextCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageCell\" type=\"ImageCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"headerRows\">\n\t<xs:sequence>\n\t\t<xs:choice minOccurs=\"1\" maxOccurs=\"unbounded\">\n\t\t\t<xs:element name=\"TableRow\" type=\"TableRow\"/>\n\t\t\t<xs:element name=\"TextRow\" type=\"TextRow\" maxOccurs=\"unbounded\" />\n\t\t\t<xs:element name=\"ImageRow\" type=\"ImageRow\" maxOccurs=\"unbounded\" />\n\t\t</xs:choice>\n\t</xs:sequence>\n</xs:complexType>\n<xs:complexType name=\"Table\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"headerRows\" type=\"headerRows\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:element name=\"style\" type=\"TableStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:sequence>\n\t\t\t<xs:choice minOccurs=\"1\">\n\t\t\t\t<xs:element name=\"TableRow\" type=\"TableRow\" maxOccurs=\"unbounded\" />\n\t\t\t\t<xs:element name=\"TextRow\" type=\"TextRow\" maxOccurs=\"unbounded\" />\n\t\t\t\t<xs:element name=\"ImageRow\" type=\"ImageRow\" maxOccurs=\"unbounded\" />\n\t\t\t</xs:choice>\n\t\t</xs:sequence>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"columnWidths\" type=\"xs:string\" use=\"required\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>ColumnWidths of table. Seperated by ,. Eg. \"100,399,200\". Need atleast one columnWidth. Use \"inf\" to automatically adjust width: \"100,Inf\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableCell\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t</xs:choice>\n\t<xs:attribute name=\"rowSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TextRow\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableRow> \\<TableCell> \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph> \\</TableCell> \\</TableRow></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextCell\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableCell> \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph> \\</TableCell></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextParagraph\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"ImageRow\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableRow> \\<TableCell> \\<Paragraph> \\<Image src text=\"...\" /> \\</Paragraph> \\</TableCell> \\</TableRow></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"ImageCell\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<ImageCell> \\<Paragraph> \\<Image src=\"...\" /> \\</Paragraph> \\</TableCell></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"ImageParagraph\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create \\<Paragraph> \\<Image src=\"...\" /> \\</Paragraph></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n <xs:complexType name=\"StyleNames\">\n\t<xs:sequence>\n\t\t<xs:element name=\"StyleName\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t</xs:sequence>\n</xs:complexType>\n <xs:complexType name=\"StyleName\">\n\t<xs:attribute name=\"name\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"type\" use=\"required\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>The type of style used. One of: \"GroupStyle\", \"TableStyle\", \"TableCellStyle\", \"ParagraphStyle\", \"TextStyle\", </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"GroupStyle\" />\n\t\t\t\t<xs:enumeration value=\"TableStyle\" />\n\t\t\t\t<xs:enumeration value=\"TableCellStyle\" />\n\t\t\t\t<xs:enumeration value=\"ParagraphStyle\" />\n\t\t\t\t<xs:enumeration value=\"TextStyle\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" />\n\t<xs:attribute name=\"position\" type=\"Position\"/>\n\t<xs:attribute name=\"background\" type=\"xs:string\" />\n\t<xs:attribute name=\"border\" type=\"xs:string\" />\n\t<xs:attribute name=\"borders\" type=\"xs:string\" />\n\t<xs:attribute name=\"borderColor\" type=\"xs:string\" />\n\t<xs:attribute name=\"borderColors\" type=\"xs:string\" />\n\t<xs:attribute name=\"padding\" type=\"xs:string\" />\n\t<xs:attribute name=\"verticalAlignment\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Top\" />\n\t\t\t\t<xs:enumeration value=\"Middle\" />\n\t\t\t\t<xs:enumeration value=\"Bottom\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"underline\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"superScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"subScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"italic\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"lineBreak\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"mediumBold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"bold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"fontScale\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"fontSize\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"lineGap\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"characterSpacing\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"verticalPosition\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"indent\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"color\" type=\"xs:string\" />\n\t<xs:attribute name=\"fontFamily\" type=\"xs:string\" />\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"left\" />\n\t\t\t\t<xs:enumeration value=\"center\" />\n\t\t\t\t<xs:enumeration value=\"right\" />\n\t\t\t\t<xs:enumeration value=\"justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"baseline\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"top\" />\n\t\t\t\t<xs:enumeration value=\"bottom\" />\n\t\t\t\t<xs:enumeration value=\"middle\" />\n\t\t\t\t<xs:enumeration value=\"alphabetic\" />\n\t\t\t\t<xs:enumeration value=\"hanging\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n <xs:element name=\"AbstractDoc\">\n <xs:complexType>\n\t\t<xs:sequence>\n\t\t\t<xs:element name=\"StyleNames\" type=\"StyleNames\" minOccurs=\"0\"></xs:element>\n\t\t\t<xs:element name=\"Section\" type=\"Section\"></xs:element>\n\t\t</xs:sequence>\n\t</xs:complexType>\n</xs:element>\n</xs:schema>";
|
|
2
|
+
export declare const xsdPartial = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n <xs:complexType name=\"Section\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t\t<xs:element name=\"page\" type=\"page\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t</xs:choice>\n</xs:complexType>\n <xs:complexType name=\"LayoutFoundation\">\n\t<xs:attribute name=\"top\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"bottom\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"left\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"right\" type=\"xs:decimal\" />\n</xs:complexType>\n<xs:complexType name=\"Section\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t\t<xs:element name=\"page\" type=\"page\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"SectionElement\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"HeaderFooter\">\n <xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" />\n\t</xs:choice>\n\t<xs:attribute name=\"differentFirstPage\" type=\"xs:boolean\" use=\"optional\"/>\n</xs:complexType>\n<xs:complexType name=\"page\">\n\t<xs:annotation>\n\t\t<xs:documentation>Define header and footer.</xs:documentation>\n\t</xs:annotation>\n\t<xs:all>\n\t\t<xs:element name=\"style\" type=\"MasterPageStyle\" />\n\t\t<xs:element name=\"header\" type=\"HeaderFooter\" minOccurs=\"0\" />\n\t\t<xs:element name=\"footer\" type=\"HeaderFooter\" minOccurs=\"0\" />\n\t</xs:all>\n</xs:complexType>\n<xs:complexType name=\"PageBreak\" />\n<xs:complexType name=\"Image\">\n <xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n <xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n <xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextField\">\n\t<xs:sequence>\n\t\t<xs:element name=\"style\" type=\"TextStyle\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"fieldType\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Date\" />\n\t\t\t\t<xs:enumeration value=\"PageNumber\" />\n\t\t\t\t<xs:enumeration value=\"TotalPages\" />\n\t\t\t\t<xs:enumeration value=\"PageNumberOf\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TextRun\">\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"HyperLink\">\n\t<xs:choice>\n\t\t<xs:element name=\"style\" type=\"TextStyle\" minOccurs=\"0\"/>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TocSeperator\">\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" />\n</xs:complexType>\n<xs:complexType name=\"LinkTarget\">\n\t<xs:attribute name=\"name\" type=\"xs:string\" />\n</xs:complexType>\n<xs:simpleType name=\"Position\">\n\t<xs:annotation>\n\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t</xs:annotation>\n\t<xs:restriction base=\"xs:string\">\n\t\t<xs:enumeration value=\"absolute\" />\n\t\t<xs:enumeration value=\"relative\" />\n\t</xs:restriction>\n</xs:simpleType>\n<xs:complexType name=\"MasterPageStyle\">\n\t<xs:all>\n\t\t<xs:element name=\"headerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"footerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"firstPageHeaderMargins\" type=\"LayoutFoundation\" minOccurs=\"0\" />\n\t\t<xs:element name=\"firstPageFooterMargins\" type=\"LayoutFoundation\" minOccurs=\"0\" />\n\t\t<xs:element name=\"contentMargins\" type=\"LayoutFoundation\" />\n\t</xs:all>\n\t<xs:attribute name=\"paperSize\" use=\"required\">\n\t\t<xs:simpleType>\n\t\t<xs:annotation>\n\t\t<xs:documentation>PaperSize possible values \"A4\" | \"Letter\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"A4\" />\n\t\t\t\t<xs:enumeration value=\"Letter\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"orientation\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Portrait\" />\n\t\t\t\t<xs:enumeration value=\"Landscape\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"noTopBottomMargin\" type=\"xs:boolean\" />\n</xs:complexType>\n<xs:complexType name=\"Group\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"style\" type=\"GroupStyle\" minOccurs=\"0\" />\n\t</xs:choice>\n\t<xs:attribute name=\"keepTogether\" type=\"xs:boolean\" />\n</xs:complexType>\n<xs:complexType name=\"GroupStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Group style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TextStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Text style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"underline\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"superScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"subScript\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"italic\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"lineBreak\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"mediumBold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"bold\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"fontScale\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"fontSize\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"lineGap\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"characterSpacing\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"verticalPosition\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"indent\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"color\" type=\"xs:string\" />\n\t<xs:attribute name=\"fontFamily\" type=\"xs:string\" />\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"left\" />\n\t\t\t\t<xs:enumeration value=\"center\" />\n\t\t\t\t<xs:enumeration value=\"right\" />\n\t\t\t\t<xs:enumeration value=\"justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"baseline\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"top\" />\n\t\t\t\t<xs:enumeration value=\"bottom\" />\n\t\t\t\t<xs:enumeration value=\"middle\" />\n\t\t\t\t<xs:enumeration value=\"alphabetic\" />\n\t\t\t\t<xs:enumeration value=\"hanging\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"ParagraphStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Paragraph style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" minOccurs=\"0\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Start\" | \"Center\" | \"End\" | \"Justify\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Start\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"End\" />\n\t\t\t\t<xs:enumeration value=\"Justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Table style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Left\" | \"Center\" | \"Right\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Left\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"Right\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"Paragraph\">\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"TextRun\" type=\"TextRun\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"TextField\" type=\"TextField\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t\t<xs:element name=\"Image\" type=\"Image\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"HyperLink\" type=\"HyperLink\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"LinkTarget\" type=\"LinkTarget\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"TocSeperator\" type=\"TocSeperator\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" minOccurs=\"0\" maxOccurs=\"1\"></xs:element>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"Markdown\">\n\t<xs:attribute name=\"keepTogetherSections\" type=\"xs:boolean\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>\n<xs:complexType name=\"TableCellStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Table cell style</xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"background\" type=\"xs:string\" />\n\t<xs:attribute name=\"border\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Border \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borders\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Border \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borderColor\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Bordercolor \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"borderColors\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Bordercolor \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"padding\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Padding \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"verticalAlignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Vertical alignment possible values \"Top\" | \"Middle\" | \"Bottom\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Top\" />\n\t\t\t\t<xs:enumeration value=\"Middle\" />\n\t\t\t\t<xs:enumeration value=\"Bottom\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableRow\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"TableCell\" type=\"TableCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"TextCell\" type=\"TextCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageCell\" type=\"ImageCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"headerRows\">\n\t<xs:sequence>\n\t\t<xs:choice minOccurs=\"1\" maxOccurs=\"unbounded\">\n\t\t\t<xs:element name=\"TableRow\" type=\"TableRow\"/>\n\t\t\t<xs:element name=\"TextRow\" type=\"TextRow\" maxOccurs=\"unbounded\" />\n\t\t\t<xs:element name=\"ImageRow\" type=\"ImageRow\" maxOccurs=\"unbounded\" />\n\t\t</xs:choice>\n\t</xs:sequence>\n</xs:complexType>\n<xs:complexType name=\"Table\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"headerRows\" type=\"headerRows\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:element name=\"style\" type=\"TableStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:sequence>\n\t\t\t<xs:choice minOccurs=\"1\">\n\t\t\t\t<xs:element name=\"TableRow\" type=\"TableRow\" maxOccurs=\"unbounded\" />\n\t\t\t\t<xs:element name=\"TextRow\" type=\"TextRow\" maxOccurs=\"unbounded\" />\n\t\t\t\t<xs:element name=\"ImageRow\" type=\"ImageRow\" maxOccurs=\"unbounded\" />\n\t\t\t</xs:choice>\n\t\t</xs:sequence>\n\t</xs:choice>\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"columnWidths\" type=\"xs:string\" use=\"required\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>ColumnWidths of table. Seperated by ,. Eg. \"100,399,200\". Need atleast one columnWidth. Use \"inf\" to automatically adjust width: \"100,Inf\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TableCell\">\n\t<xs:choice maxOccurs=\"unbounded\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t\t<xs:element name=\"Table\" type=\"Table\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Group\" type=\"Group\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"PageBreak\" type=\"PageBreak\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Paragraph\" type=\"Paragraph\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageParagraph\" type=\"ImageParagraph\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"Markdown\" type=\"Markdown\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t</xs:choice>\n\t<xs:attribute name=\"rowSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"styleName\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n</xs:complexType>\n<xs:complexType name=\"TextRow\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableRow> \\<TableCell> \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph> \\</TableCell> \\</TableRow></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextCell\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableCell> \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph> \\</TableCell></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"TextParagraph\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create \\<Paragraph> \\<TextRun text=\"...\" /> \\</Paragraph></xs:documentation>\n\t</xs:annotation>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" />\n\t</xs:choice>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name=\"...\" /> \\</StyleNames> \\</AbstractDoc></xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"target\" type=\"xs:string\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>\n<xs:complexType name=\"ImageRow\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableRow> \\<TableCell> \\<Paragraph> \\<Image src text=\"...\" /> \\</Paragraph> \\</TableCell> \\</TableRow></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"ImageCell\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<ImageCell> \\<Paragraph> \\<Image src=\"...\" /> \\</Paragraph> \\</TableCell></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"TableCellStyle\" />\n\t</xs:choice>\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"paragraphStyle\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n<xs:complexType name=\"ImageParagraph\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create \\<Paragraph> \\<Image src=\"...\" /> \\</Paragraph></xs:documentation>\n\t</xs:annotation>\n\t<xs:attribute name=\"styleNames\" type=\"xs:string\" />\n\t<xs:attribute name=\"src\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" use=\"required\" />\n\t<xs:choice minOccurs=\"0\" maxOccurs=\"1\">\n\t\t<xs:element name=\"style\" type=\"ParagraphStyle\" />\n\t</xs:choice>\n</xs:complexType>\n <xs:element name=\"Table\" type=\"Table\" />\n <xs:element name=\"Group\" type=\"Group\" />\n <xs:element name=\"PageBreak\" type=\"PageBreak\" />\n <xs:element name=\"Paragraph\" type=\"Paragraph\" />\n <xs:element name=\"Markdown\" type=\"Markdown\" />\n</xs:schema>";
|
|
3
3
|
export declare const parsedXsd: readonly import("handlebars-xml").XmlElement[];
|
|
4
4
|
export declare const parsedXsdPartial: readonly import("handlebars-xml").XmlElement[];
|
|
5
5
|
//# sourceMappingURL=xsd-template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xsd-template.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/xsd-template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"xsd-template.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/xsd-template.ts"],"names":[],"mappings":"AAsCA,eAAO,MAAM,GAAG,202BAMH,CAAC;AAEd,eAAO,MAAM,UAAU,0xxBASV,CAAC;AAEd,eAAO,MAAM,SAAS,gDAAgB,CAAC;AAEvC,eAAO,MAAM,gBAAgB,gDAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xsd-template.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/xsd-template.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAA0C;AAC1C,oDAAsC;AACtC,qEAAuD;AACvD,mDAA0C;AAE1C,MAAM,WAAW,GAAG,GAAG,MAAM,CAAC,gBAAgB;EAC5C,QAAQ,CAAC,OAAO;EAChB,QAAQ,CAAC,cAAc;EACvB,QAAQ,CAAC,IAAI;EACb,QAAQ,CAAC,SAAS;EAClB,QAAQ,CAAC,KAAK;EACd,QAAQ,CAAC,SAAS;EAClB,QAAQ,CAAC,OAAO;EAChB,QAAQ,CAAC,SAAS;EAClB,QAAQ,CAAC,YAAY;EACrB,QAAQ,CAAC,UAAU;EACnB,MAAM,CAAC,QAAQ;EACf,MAAM,CAAC,eAAe;EACtB,QAAQ,CAAC,KAAK;EACd,MAAM,CAAC,UAAU;EACjB,MAAM,CAAC,SAAS;EAChB,MAAM,CAAC,cAAc;EACrB,MAAM,CAAC,UAAU;EACjB,QAAQ,CAAC,SAAS;EAClB,QAAQ,CAAC,QAAQ;EACjB,MAAM,CAAC,cAAc;EACrB,QAAQ,CAAC,QAAQ;EACjB,QAAQ,CAAC,UAAU;EACnB,QAAQ,CAAC,KAAK;EACd,QAAQ,CAAC,SAAS;EAClB,cAAc,CAAC,OAAO;EACtB,cAAc,CAAC,QAAQ;EACvB,cAAc,CAAC,aAAa;EAC5B,cAAc,CAAC,QAAQ;EACvB,cAAc,CAAC,SAAS;EACxB,cAAc,CAAC,cAAc,EAAE,CAAC;AAErB,QAAA,GAAG,GAAG;;MAEb,WAAW;MACX,MAAM,CAAC,UAAU;MACjB,MAAM,CAAC,SAAS;MAChB,QAAQ,CAAC,WAAW;aACb,CAAC;AAED,QAAA,UAAU,GAAG;;MAEpB,QAAQ,CAAC,OAAO;MAChB,WAAW;;;;;;aAMJ,CAAC;AAED,QAAA,SAAS,GAAG,IAAA,yBAAQ,EAAC,WAAG,CAAC,CAAC;AAE1B,QAAA,gBAAgB,GAAG,IAAA,yBAAQ,EAAC,kBAAU,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"xsd-template.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/xsd-template.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAA0C;AAC1C,oDAAsC;AACtC,qEAAuD;AACvD,mDAA0C;AAE1C,MAAM,WAAW,GAAG,GAAG,MAAM,CAAC,gBAAgB;EAC5C,QAAQ,CAAC,OAAO;EAChB,QAAQ,CAAC,cAAc;EACvB,QAAQ,CAAC,YAAY;EACrB,QAAQ,CAAC,IAAI;EACb,QAAQ,CAAC,SAAS;EAClB,QAAQ,CAAC,KAAK;EACd,QAAQ,CAAC,SAAS;EAClB,QAAQ,CAAC,OAAO;EAChB,QAAQ,CAAC,SAAS;EAClB,QAAQ,CAAC,YAAY;EACrB,QAAQ,CAAC,UAAU;EACnB,MAAM,CAAC,QAAQ;EACf,MAAM,CAAC,eAAe;EACtB,QAAQ,CAAC,KAAK;EACd,MAAM,CAAC,UAAU;EACjB,MAAM,CAAC,SAAS;EAChB,MAAM,CAAC,cAAc;EACrB,MAAM,CAAC,UAAU;EACjB,QAAQ,CAAC,SAAS;EAClB,QAAQ,CAAC,QAAQ;EACjB,MAAM,CAAC,cAAc;EACrB,QAAQ,CAAC,QAAQ;EACjB,QAAQ,CAAC,UAAU;EACnB,QAAQ,CAAC,KAAK;EACd,QAAQ,CAAC,SAAS;EAClB,cAAc,CAAC,OAAO;EACtB,cAAc,CAAC,QAAQ;EACvB,cAAc,CAAC,aAAa;EAC5B,cAAc,CAAC,QAAQ;EACvB,cAAc,CAAC,SAAS;EACxB,cAAc,CAAC,cAAc,EAAE,CAAC;AAErB,QAAA,GAAG,GAAG;;MAEb,WAAW;MACX,MAAM,CAAC,UAAU;MACjB,MAAM,CAAC,SAAS;MAChB,QAAQ,CAAC,WAAW;aACb,CAAC;AAED,QAAA,UAAU,GAAG;;MAEpB,QAAQ,CAAC,OAAO;MAChB,WAAW;;;;;;aAMJ,CAAC;AAED,QAAA,SAAS,GAAG,IAAA,yBAAQ,EAAC,WAAG,CAAC,CAAC;AAE1B,QAAA,gBAAgB,GAAG,IAAA,yBAAQ,EAAC,kBAAU,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abstract-document",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.35",
|
|
4
4
|
"description": "Dynamically create documents using code or JSX and render to any format",
|
|
5
5
|
"repository": "https://github.com/dividab/abstract-visuals/tree/master/packages/abstract-document",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"!/**/__tests__"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"abstract-image": "^11.2.
|
|
22
|
+
"abstract-image": "^11.2.8",
|
|
23
23
|
"docx": "^6.0.3",
|
|
24
24
|
"fast-xml-parser": "^4.5.0",
|
|
25
25
|
"handlebars": "4.7.8",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"unified": "^6.1.6"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"react": ">=17.0.0
|
|
37
|
+
"react": ">=17.0.0 <20.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/isomorphic-fetch": "^0.0.34",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"vite": "^6.0.1",
|
|
49
49
|
"vitest": "^2.1.6"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "238a184dbb6658068579166db384d2c28b653ec7"
|
|
52
52
|
}
|