abstract-document 12.0.3 → 12.0.4
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-xml/abstract-doc-of-xml/abstract-doc-of-xml.d.ts +1 -1
- package/lib/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.d.ts.map +1 -1
- package/lib/abstract-document-xml/index.d.ts +1 -2
- package/lib/abstract-document-xml/index.d.ts.map +1 -1
- package/lib/abstract-document-xml/index.js +14 -9
- package/lib/abstract-document-xml/index.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 -1
- package/lib/abstract-document-xml/xsd-template/xsd-template.js.map +1 -1
- package/package.json +3 -2
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Group.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Header and footer.docx and b/package/src/abstract-document-exporters/__tests__/docx2/tmp/Header → footer.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Mixed hyperlink and textrun.docx and b/package/src/abstract-document-exporters/__tests__/docx2/tmp/Mixed hyperlink → textrun.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Mixed textrun and images.docx and b/package/src/abstract-document-exporters/__tests__/docx2/tmp/Mixed textrun → images.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple images.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple tables.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Center alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with End alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Start alignment that linebreaks.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Start alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Page numbering.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table colSpan and rowSpan.docx and b/package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table colSpan → rowSpan.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table without rows.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single hyperlink.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single image.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Center alignment that linebreaks.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Center alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with End alignment that linebreaks.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with End alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Start alignment that linebreaks.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Start alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/hello with Arial font.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/hello.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/letter-dimensions.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/page-orientation-landscape.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/page-orientation-portrait.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/tocSeparator.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/world.docx +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position group.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position header and footer.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position paragraph.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position section in group.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position section in table.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position table.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Group Paragraphs.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Group Tables.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Group no keeptogether.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Group too big for one page.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Header and footer.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Hyperlink internal linktarget.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Hyperlink internal.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Manual line break.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Manual line breaks empty lines.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Margins header body footer.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed hyperlink and textrun no underline.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed hyperlink and textrun with underline.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed hyperlink and textrun.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed textrun and images.pdf and b/package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed textrun → images.pdf +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple images overflow.pdf +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple images.pdf +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Center alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with End alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Start alignment that linebreaks.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Start alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Page numbering.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table row that doesnt fit page.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table single row.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with group.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with header 2.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with header.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin bottom.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin top single table.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin top.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with rowSpan multipages.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with rowSpan.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table all auto.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table all fix.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table background.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table cell padding of image.pdf +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table cell padding of text.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table center alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table colSpan and rowSpan.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table minimal row height.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table mix auto fix.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table padding.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table right alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table row alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table text alignment in cell with wrapping.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table text alignment in cell.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with default colored borders.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with header.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with multi colored borders.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with single colored borders.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single date.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single figure.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink centered.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink no underline.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink right aligned.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image from URL.pdf +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color hex.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color name.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color url.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg dasharray.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image.pdf +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline alphabetic.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline bottom.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline hanging.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline middle.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline top.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Center alignment that linebreaks.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Center alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with End alignment that linebreaks.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with End alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Justify alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Start alignment that linebreaks.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Start alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with super and subscripts.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Table of content separator.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/hello with roman font.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/hello.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/pagebreak.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/world.pdf +2 -2
- package/src/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.ts +1 -1
- package/src/abstract-document-xml/index.ts +1 -22
- package/src/abstract-document-xml/xsd-template/xsd-template.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ADCreatorFn } from "./creator";
|
|
2
|
-
import { XmlElement } from "
|
|
2
|
+
import { XmlElement } from "@abstract-visuals/mustache-xml";
|
|
3
3
|
export declare function abstractDocOfXml(creators: Record<string, ADCreatorFn>, xmlElement: XmlElement, onlyChildren?: boolean): unknown;
|
|
4
4
|
export declare function extractImageFontsStyleNames(xmlElement: ReadonlyArray<XmlElement>, styleNames?: Record<string, string>, images?: Array<{
|
|
5
5
|
readonly src: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstract-doc-of-xml.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAiB,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"abstract-doc-of-xml.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAiB,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE5D,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,EACrC,UAAU,EAAE,UAAU,EACtB,YAAY,GAAE,OAAe,GAC5B,OAAO,CAoFT;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,aAAa,CAAC,UAAU,CAAC,EACrC,UAAU,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,EACvC,MAAM,GAAE,KAAK,CAAC;IAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAM,EACrH,KAAK,GAAE,KAAK,CAAC,MAAM,CAAM,GACxB,SAAS;IACV,MAAM,EAAE,aAAa,CAAC;QACpB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;QACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;KACrC,CAAC;IACF,KAAK,EAAE,aAAa,CAAC,MAAM,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CACnC,CAoBA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { parseMustacheXml, parseXml, XmlElement, errorToReadableText, findElement, getChildren, mustacheRender, validateMustacheXml } from "../../../mustache-xml";
|
|
2
1
|
export * from "./xsd-template";
|
|
3
2
|
export * from "./abstract-doc-of-xml";
|
|
4
|
-
export
|
|
3
|
+
export * as MustacheXml from "@abstract-visuals/mustache-xml";
|
|
5
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/abstract-document-xml/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/abstract-document-xml/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,WAAW,MAAM,gCAAgC,CAAC"}
|
|
@@ -10,19 +10,24 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
13
18
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
19
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
20
|
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
16
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
18
|
-
const mustache_xml_1 = require("../../../mustache-xml");
|
|
19
|
-
Object.defineProperty(exports, "parseMustacheXml", { enumerable: true, get: function () { return mustache_xml_1.parseMustacheXml; } });
|
|
20
|
-
Object.defineProperty(exports, "parseXml", { enumerable: true, get: function () { return mustache_xml_1.parseXml; } });
|
|
21
|
-
Object.defineProperty(exports, "errorToReadableText", { enumerable: true, get: function () { return mustache_xml_1.errorToReadableText; } });
|
|
22
|
-
Object.defineProperty(exports, "findElement", { enumerable: true, get: function () { return mustache_xml_1.findElement; } });
|
|
23
|
-
Object.defineProperty(exports, "getChildren", { enumerable: true, get: function () { return mustache_xml_1.getChildren; } });
|
|
24
|
-
Object.defineProperty(exports, "mustacheRender", { enumerable: true, get: function () { return mustache_xml_1.mustacheRender; } });
|
|
25
|
-
Object.defineProperty(exports, "validateMustacheXml", { enumerable: true, get: function () { return mustache_xml_1.validateMustacheXml; } });
|
|
29
|
+
exports.MustacheXml = void 0;
|
|
26
30
|
__exportStar(require("./xsd-template"), exports);
|
|
27
31
|
__exportStar(require("./abstract-doc-of-xml"), exports);
|
|
32
|
+
exports.MustacheXml = __importStar(require("@abstract-visuals/mustache-xml"));
|
|
28
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/abstract-document-xml/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/abstract-document-xml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,wDAAsC;AACtC,8EAA8D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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</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\" />\n <xs:attribute name=\"height\" type=\"xs:decimal\" />\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=\"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\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" />\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\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" />\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\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" />\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=\"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
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</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\" />\n <xs:attribute name=\"height\" type=\"xs:decimal\" />\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=\"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\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" />\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\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" />\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\" />\n\t<xs:attribute name=\"height\" type=\"xs:decimal\" />\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
|
-
export declare const parsedXsd: readonly import("
|
|
4
|
-
export declare const parsedXsdPartial: readonly import("
|
|
3
|
+
export declare const parsedXsd: readonly import("@abstract-visuals/mustache-xml").XmlElement[];
|
|
4
|
+
export declare const parsedXsdPartial: readonly import("@abstract-visuals/mustache-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":"AAqCA,eAAO,MAAM,GAAG,4s0BAMH,CAAC;AAEd,eAAO,MAAM,UAAU,utvBASV,CAAC;AAEd,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"xsd-template.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/xsd-template.ts"],"names":[],"mappings":"AAqCA,eAAO,MAAM,GAAG,4s0BAMH,CAAC;AAEd,eAAO,MAAM,UAAU,utvBASV,CAAC;AAEd,eAAO,MAAM,SAAS,gEAOpB,CAAC;AAEH,eAAO,MAAM,gBAAgB,gEAO3B,CAAC"}
|
|
@@ -27,7 +27,7 @@ exports.parsedXsdPartial = exports.parsedXsd = exports.xsdPartial = exports.xsd
|
|
|
27
27
|
const Elements = __importStar(require("./elements"));
|
|
28
28
|
const Styles = __importStar(require("./styles"));
|
|
29
29
|
const CustomElements = __importStar(require("./custom-elements"));
|
|
30
|
-
const mustache_xml_1 = require("
|
|
30
|
+
const mustache_xml_1 = require("@abstract-visuals/mustache-xml");
|
|
31
31
|
const commonParts = `${Styles.layoutFoundation}
|
|
32
32
|
${Elements.section}
|
|
33
33
|
${Elements.sectionElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xsd-template.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/xsd-template.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAuC;AACvC,iDAAmC;AACnC,kEAAoD;AACpD,
|
|
1
|
+
{"version":3,"file":"xsd-template.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/xsd-template.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAuC;AACvC,iDAAmC;AACnC,kEAAoD;AACpD,iEAA0D;AAE1D,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,uBAAQ,EAAC,WAAG,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE;IACzD,aAAa,EAAE,IAAI;IACnB,gBAAgB,EAAE,KAAK;IACvB,mBAAmB,EAAE,EAAE;IACvB,sBAAsB,EAAE,IAAI;IAC5B,UAAU,EAAE,KAAK;IACjB,iBAAiB,EAAE,IAAI;CACxB,CAAC,CAAC;AAEU,QAAA,gBAAgB,GAAG,IAAA,uBAAQ,EAAC,kBAAU,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE;IACvE,aAAa,EAAE,IAAI;IACnB,gBAAgB,EAAE,KAAK;IACvB,mBAAmB,EAAE,EAAE;IACvB,sBAAsB,EAAE,IAAI;IAC5B,UAAU,EAAE,KAAK;IACjB,iBAAiB,EAAE,IAAI;CACxB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abstract-document",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.4",
|
|
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",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"README.md"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
+
"@abstract-visuals/mustache-xml": "^0.1.3",
|
|
18
19
|
"abstract-image": "^8.3.1",
|
|
19
20
|
"base64-js": "^1.5.1",
|
|
20
21
|
"docx": "^6.0.3",
|
|
@@ -38,5 +39,5 @@
|
|
|
38
39
|
"jszip": "^3.10.1",
|
|
39
40
|
"pdf2json": "2.0.1"
|
|
40
41
|
},
|
|
41
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "fc56cd41a2707147ba1847459272ebab6fb115b7"
|
|
42
43
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with End alignment.docx
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with End alignment.docx
CHANGED
|
Binary file
|
|
Binary file
|
package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Start alignment.docx
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -64,7 +64,7 @@ endobj
|
|
|
64
64
|
(PDFKit)
|
|
65
65
|
endobj
|
|
66
66
|
13 0 obj
|
|
67
|
-
(D:
|
|
67
|
+
(D:20241122111142Z)
|
|
68
68
|
endobj
|
|
69
69
|
10 0 obj
|
|
70
70
|
<<
|
|
@@ -128,7 +128,7 @@ trailer
|
|
|
128
128
|
/Size 14
|
|
129
129
|
/Root 3 0 R
|
|
130
130
|
/Info 10 0 R
|
|
131
|
-
/ID [<
|
|
131
|
+
/ID [<b03158232d0d5761758aecdd69b879aa> <b03158232d0d5761758aecdd69b879aa>]
|
|
132
132
|
>>
|
|
133
133
|
startxref
|
|
134
134
|
1193
|
package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position header and footer.pdf
CHANGED
|
@@ -119,7 +119,7 @@ endobj
|
|
|
119
119
|
(PDFKit)
|
|
120
120
|
endobj
|
|
121
121
|
13 0 obj
|
|
122
|
-
(D:
|
|
122
|
+
(D:20241122111143Z)
|
|
123
123
|
endobj
|
|
124
124
|
10 0 obj
|
|
125
125
|
<<
|
|
@@ -183,7 +183,7 @@ trailer
|
|
|
183
183
|
/Size 14
|
|
184
184
|
/Root 3 0 R
|
|
185
185
|
/Info 10 0 R
|
|
186
|
-
/ID [<
|
|
186
|
+
/ID [<a2da147d4c1d77857b9818e580ed09ff> <a2da147d4c1d77857b9818e580ed09ff>]
|
|
187
187
|
>>
|
|
188
188
|
startxref
|
|
189
189
|
1621
|
|
@@ -53,7 +53,7 @@ endobj
|
|
|
53
53
|
(PDFKit)
|
|
54
54
|
endobj
|
|
55
55
|
13 0 obj
|
|
56
|
-
(D:
|
|
56
|
+
(D:20241122111143Z)
|
|
57
57
|
endobj
|
|
58
58
|
10 0 obj
|
|
59
59
|
<<
|
|
@@ -117,7 +117,7 @@ trailer
|
|
|
117
117
|
/Size 14
|
|
118
118
|
/Root 3 0 R
|
|
119
119
|
/Info 10 0 R
|
|
120
|
-
/ID [<
|
|
120
|
+
/ID [<f503cf0d2de1bf0d04fc9e7a544c9a99> <f503cf0d2de1bf0d04fc9e7a544c9a99>]
|
|
121
121
|
>>
|
|
122
122
|
startxref
|
|
123
123
|
983
|
package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position section in group.pdf
CHANGED
|
@@ -64,7 +64,7 @@ endobj
|
|
|
64
64
|
(PDFKit)
|
|
65
65
|
endobj
|
|
66
66
|
13 0 obj
|
|
67
|
-
(D:
|
|
67
|
+
(D:20241122111143Z)
|
|
68
68
|
endobj
|
|
69
69
|
10 0 obj
|
|
70
70
|
<<
|
|
@@ -128,7 +128,7 @@ trailer
|
|
|
128
128
|
/Size 14
|
|
129
129
|
/Root 3 0 R
|
|
130
130
|
/Info 10 0 R
|
|
131
|
-
/ID [<
|
|
131
|
+
/ID [<1c94cc27c30bf3dc5441b1744771842d> <1c94cc27c30bf3dc5441b1744771842d>]
|
|
132
132
|
>>
|
|
133
133
|
startxref
|
|
134
134
|
1155
|
package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position section in table.pdf
CHANGED
|
@@ -88,7 +88,7 @@ endobj
|
|
|
88
88
|
(PDFKit)
|
|
89
89
|
endobj
|
|
90
90
|
13 0 obj
|
|
91
|
-
(D:
|
|
91
|
+
(D:20241122111143Z)
|
|
92
92
|
endobj
|
|
93
93
|
10 0 obj
|
|
94
94
|
<<
|
|
@@ -152,7 +152,7 @@ trailer
|
|
|
152
152
|
/Size 14
|
|
153
153
|
/Root 3 0 R
|
|
154
154
|
/Info 10 0 R
|
|
155
|
-
/ID [<
|
|
155
|
+
/ID [<b40fb88fe6f31d464d214c1bf85f4711> <b40fb88fe6f31d464d214c1bf85f4711>]
|
|
156
156
|
>>
|
|
157
157
|
startxref
|
|
158
158
|
1462
|
|
@@ -77,7 +77,7 @@ endobj
|
|
|
77
77
|
(PDFKit)
|
|
78
78
|
endobj
|
|
79
79
|
13 0 obj
|
|
80
|
-
(D:
|
|
80
|
+
(D:20241122111143Z)
|
|
81
81
|
endobj
|
|
82
82
|
10 0 obj
|
|
83
83
|
<<
|
|
@@ -141,7 +141,7 @@ trailer
|
|
|
141
141
|
/Size 14
|
|
142
142
|
/Root 3 0 R
|
|
143
143
|
/Info 10 0 R
|
|
144
|
-
/ID [<
|
|
144
|
+
/ID [<27bf1cb3213850ea219b71020daa6273> <27bf1cb3213850ea219b71020daa6273>]
|
|
145
145
|
>>
|
|
146
146
|
startxref
|
|
147
147
|
1232
|
|
@@ -929,7 +929,7 @@ endobj
|
|
|
929
929
|
(PDFKit)
|
|
930
930
|
endobj
|
|
931
931
|
16 0 obj
|
|
932
|
-
(D:
|
|
932
|
+
(D:20241122111143Z)
|
|
933
933
|
endobj
|
|
934
934
|
13 0 obj
|
|
935
935
|
<<
|
|
@@ -996,7 +996,7 @@ trailer
|
|
|
996
996
|
/Size 17
|
|
997
997
|
/Root 3 0 R
|
|
998
998
|
/Info 13 0 R
|
|
999
|
-
/ID [<
|
|
999
|
+
/ID [<c5e58f8840d9e4c526a2d2dffb401122> <c5e58f8840d9e4c526a2d2dffb401122>]
|
|
1000
1000
|
>>
|
|
1001
1001
|
startxref
|
|
1002
1002
|
22647
|
|
@@ -951,7 +951,7 @@ endobj
|
|
|
951
951
|
(PDFKit)
|
|
952
952
|
endobj
|
|
953
953
|
16 0 obj
|
|
954
|
-
(D:
|
|
954
|
+
(D:20241122111143Z)
|
|
955
955
|
endobj
|
|
956
956
|
13 0 obj
|
|
957
957
|
<<
|
|
@@ -1018,7 +1018,7 @@ trailer
|
|
|
1018
1018
|
/Size 17
|
|
1019
1019
|
/Root 3 0 R
|
|
1020
1020
|
/Info 13 0 R
|
|
1021
|
-
/ID [<
|
|
1021
|
+
/ID [<f030ba71f18945e1483e5b5d93a8f53c> <f030ba71f18945e1483e5b5d93a8f53c>]
|
|
1022
1022
|
>>
|
|
1023
1023
|
startxref
|
|
1024
1024
|
10187
|
|
@@ -929,7 +929,7 @@ endobj
|
|
|
929
929
|
(PDFKit)
|
|
930
930
|
endobj
|
|
931
931
|
16 0 obj
|
|
932
|
-
(D:
|
|
932
|
+
(D:20241122111143Z)
|
|
933
933
|
endobj
|
|
934
934
|
13 0 obj
|
|
935
935
|
<<
|
|
@@ -996,7 +996,7 @@ trailer
|
|
|
996
996
|
/Size 17
|
|
997
997
|
/Root 3 0 R
|
|
998
998
|
/Info 13 0 R
|
|
999
|
-
/ID [<
|
|
999
|
+
/ID [<8dff0e9b6200a4a8d20a93a37ee428b1> <8dff0e9b6200a4a8d20a93a37ee428b1>]
|
|
1000
1000
|
>>
|
|
1001
1001
|
startxref
|
|
1002
1002
|
22641
|
|
@@ -211,7 +211,7 @@ endobj
|
|
|
211
211
|
(PDFKit)
|
|
212
212
|
endobj
|
|
213
213
|
16 0 obj
|
|
214
|
-
(D:
|
|
214
|
+
(D:20241122111143Z)
|
|
215
215
|
endobj
|
|
216
216
|
13 0 obj
|
|
217
217
|
<<
|
|
@@ -278,7 +278,7 @@ trailer
|
|
|
278
278
|
/Size 17
|
|
279
279
|
/Root 3 0 R
|
|
280
280
|
/Info 13 0 R
|
|
281
|
-
/ID [<
|
|
281
|
+
/ID [<61f9bf4ef8dfd4756e8d429e41fe2d09> <61f9bf4ef8dfd4756e8d429e41fe2d09>]
|
|
282
282
|
>>
|
|
283
283
|
startxref
|
|
284
284
|
2407
|
|
@@ -108,7 +108,7 @@ endobj
|
|
|
108
108
|
(PDFKit)
|
|
109
109
|
endobj
|
|
110
110
|
13 0 obj
|
|
111
|
-
(D:
|
|
111
|
+
(D:20241122111143Z)
|
|
112
112
|
endobj
|
|
113
113
|
10 0 obj
|
|
114
114
|
<<
|
|
@@ -172,7 +172,7 @@ trailer
|
|
|
172
172
|
/Size 14
|
|
173
173
|
/Root 3 0 R
|
|
174
174
|
/Info 10 0 R
|
|
175
|
-
/ID [<
|
|
175
|
+
/ID [<b212eafa3a270a2fbeee3f095f069d73> <b212eafa3a270a2fbeee3f095f069d73>]
|
|
176
176
|
>>
|
|
177
177
|
startxref
|
|
178
178
|
1486
|
|
@@ -1195,7 +1195,7 @@ endobj
|
|
|
1195
1195
|
(PDFKit)
|
|
1196
1196
|
endobj
|
|
1197
1197
|
100 0 obj
|
|
1198
|
-
(D:
|
|
1198
|
+
(D:20241122111143Z)
|
|
1199
1199
|
endobj
|
|
1200
1200
|
97 0 obj
|
|
1201
1201
|
<<
|
|
@@ -1353,7 +1353,7 @@ trailer
|
|
|
1353
1353
|
/Size 101
|
|
1354
1354
|
/Root 3 0 R
|
|
1355
1355
|
/Info 97 0 R
|
|
1356
|
-
/ID [<
|
|
1356
|
+
/ID [<d53cf0ebfac690c230ed02d9fc2ada27> <d53cf0ebfac690c230ed02d9fc2ada27>]
|
|
1357
1357
|
>>
|
|
1358
1358
|
startxref
|
|
1359
1359
|
13142
|