abstract-document 20.2.1 → 20.2.3
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/text-style.d.ts +3 -0
- package/lib/abstract-document/styles/text-style.d.ts.map +1 -1
- package/lib/abstract-document/styles/text-style.js +1 -0
- package/lib/abstract-document/styles/text-style.js.map +1 -1
- package/lib/abstract-document-exporters/pdf/measure.js +14 -3
- package/lib/abstract-document-exporters/pdf/measure.js.map +1 -1
- package/lib/abstract-document-exporters/pdf/render.js +12 -1
- package/lib/abstract-document-exporters/pdf/render.js.map +1 -1
- package/lib/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.js +1 -0
- package/lib/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.js.map +1 -1
- package/lib/abstract-document-xml/abstract-doc-of-xml/creator.d.ts.map +1 -1
- package/lib/abstract-document-xml/abstract-doc-of-xml/creator.js +22 -2
- package/lib/abstract-document-xml/abstract-doc-of-xml/creator.js.map +1 -1
- package/lib/abstract-document-xml/abstract-doc-of-xml/custom-elements.d.ts +15 -0
- package/lib/abstract-document-xml/abstract-doc-of-xml/custom-elements.d.ts.map +1 -1
- package/lib/abstract-document-xml/abstract-doc-of-xml/custom-elements.js +21 -1
- package/lib/abstract-document-xml/abstract-doc-of-xml/custom-elements.js.map +1 -1
- package/lib/abstract-document-xml/xsd-template/custom-elements.d.ts +6 -0
- package/lib/abstract-document-xml/xsd-template/custom-elements.d.ts.map +1 -1
- package/lib/abstract-document-xml/xsd-template/custom-elements.js +55 -0
- package/lib/abstract-document-xml/xsd-template/custom-elements.js.map +1 -1
- package/lib/abstract-document-xml/xsd-template/elements.d.ts +13 -12
- package/lib/abstract-document-xml/xsd-template/elements.d.ts.map +1 -1
- package/lib/abstract-document-xml/xsd-template/elements.js +18 -4
- 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 +9 -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 +4 -0
- package/lib/abstract-document-xml/xsd-template/xsd-template.js.map +1 -1
- package/package.json +2 -2
- package/src/abstract-document/styles/text-style.ts +4 -0
- package/src/abstract-document-exporters/pdf/measure.ts +15 -3
- package/src/abstract-document-exporters/pdf/render.ts +13 -1
- package/src/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.ts +1 -0
- package/src/abstract-document-xml/abstract-doc-of-xml/creator.ts +37 -1
- package/src/abstract-document-xml/abstract-doc-of-xml/custom-elements.tsx +42 -1
- package/src/abstract-document-xml/xsd-template/custom-elements.ts +58 -0
- package/src/abstract-document-xml/xsd-template/elements.ts +19 -4
- package/src/abstract-document-xml/xsd-template/styles.ts +9 -0
- package/src/abstract-document-xml/xsd-template/xsd-template.ts +4 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextRun, Paragraph, TableCell, TableRow, Image } from "../../abstract-document/index.js";
|
|
1
|
+
import { TextRun, Paragraph, TableCell, TableRow, Image, HyperLink } from "../../abstract-document/index.js";
|
|
2
2
|
const stylePropsKeys = {
|
|
3
3
|
ParagraphStyle: true,
|
|
4
4
|
TextStyle: true,
|
|
@@ -45,6 +45,26 @@ export function TextParagraph(props, styleNameTypes) {
|
|
|
45
45
|
});
|
|
46
46
|
return Paragraph.create({ style, styleName: styleNames.ParagraphStyle }, [textRun]);
|
|
47
47
|
}
|
|
48
|
+
export function HyperLinkParagraph(props, styleNameTypes) {
|
|
49
|
+
const { text, target, textStyle, style } = props;
|
|
50
|
+
const styleNames = extractStyleNames(props.styleNames, styleNameTypes);
|
|
51
|
+
const hyperLink = HyperLink.create({
|
|
52
|
+
text,
|
|
53
|
+
target,
|
|
54
|
+
style: textStyle ? { ...textStyle, type: "TextStyle" } : undefined,
|
|
55
|
+
styleName: styleNames.TextStyle,
|
|
56
|
+
});
|
|
57
|
+
return Paragraph.create({ style, styleName: styleNames.ParagraphStyle }, [hyperLink]);
|
|
58
|
+
}
|
|
59
|
+
export function HyperLinkCell(props, styleNameTypes) {
|
|
60
|
+
const { paragraphStyle, style, columnSpan, rowSpan } = props;
|
|
61
|
+
const styleNames = extractStyleNames(props.styleNames, styleNameTypes);
|
|
62
|
+
const paragraph = HyperLinkParagraph({ ...props, style: paragraphStyle ? { ...paragraphStyle, type: "ParagraphStyle" } : undefined }, styleNameTypes);
|
|
63
|
+
return TableCell.create({ columnSpan, rowSpan, style, styleName: styleNames.TableCellStyle }, [paragraph]);
|
|
64
|
+
}
|
|
65
|
+
export function HyperLinkRow(props, styleNameTypes) {
|
|
66
|
+
return TableRow.create({}, [HyperLinkCell({ ...props, style: props.cellStyle }, styleNameTypes)]);
|
|
67
|
+
}
|
|
48
68
|
export function ImageRow(props, styleNameTypes) {
|
|
49
69
|
return TableRow.create({}, [ImageCell({ ...props, style: props.cellStyle }, styleNameTypes)]);
|
|
50
70
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-elements.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/abstract-doc-of-xml/custom-elements.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"custom-elements.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/abstract-doc-of-xml/custom-elements.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAY7G,MAAM,cAAc,G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M,EAAE,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IAC9F,MAAM,UAAU,GAAG,iBAAiB,CAAC,KAAK,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;IACvE,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC;QAChC,aAAa;QACb,KAAK;QACL,MAAM;QACN,mBAAmB;QACnB,iBAAiB;KAClB,CAAC,CAAC;IACH,MAAM,aAAa,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,CAAC,cAAc,EAAE,CAAC;IACtE,OAAO,SAAS,CAAC,MAAM,CAAC,aAAa,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;AACzD,CAAC"}
|
|
@@ -4,6 +4,12 @@ export declare const textCell = "<xs:complexType name=\"TextCell\">\n\t<xs:annot
|
|
|
4
4
|
export declare const textCellElement = "<xs:element name=\"TextCell\" type=\"TextCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />";
|
|
5
5
|
export declare const textParagraph = "<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>";
|
|
6
6
|
export declare const textParagraphElement = "<xs:element name=\"TextParagraph\" type=\"TextParagraph\" maxOccurs=\"unbounded\" />";
|
|
7
|
+
export declare const hyperLinkParagraph = "<xs:complexType name=\"HyperLinkParagraph\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create \\<Paragraph> \\<HyperLink text=\"...\" target=\"...\" /> \\</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<xs:attribute name=\"target\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>";
|
|
8
|
+
export declare const hyperLinkParagraphElement = "<xs:element name=\"HyperLinkParagraph\" type=\"HyperLinkParagraph\" maxOccurs=\"unbounded\" />";
|
|
9
|
+
export declare const hyperLinkCell = "<xs:complexType name=\"HyperLinkCell\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableCell> \\<Paragraph> \\<HyperLink text=\"...\" target=\"...\" /> \\</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<xs:attribute name=\"target\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>";
|
|
10
|
+
export declare const hyperLinkCellElement = "<xs:element name=\"HyperLinkCell\" type=\"HyperLinkCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />";
|
|
11
|
+
export declare const hyperLinkRow = "<xs:complexType name=\"HyperLinkRow\">\n\t<xs:annotation>\n\t\t<xs:documentation>Shortcut to create a \\<TableRow> \\<TableCell> \\<Paragraph> \\<HyperLink text=\"...\" target=\"...\" /> \\</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<xs:attribute name=\"target\" type=\"xs:string\" use=\"required\" />\n\t<xs:attribute name=\"columnSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"rowSpan\" type=\"xs:integer\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>";
|
|
12
|
+
export declare const hyperLinkRowElement = "<xs:element name=\"HyperLinkRow\" type=\"HyperLinkRow\" maxOccurs=\"unbounded\" />";
|
|
7
13
|
export declare const imageRow = "<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: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=\"Center\" />\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=\"horizontalAlignment\">\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\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>";
|
|
8
14
|
export declare const imageRowElement = "<xs:element name=\"ImageRow\" type=\"ImageRow\" maxOccurs=\"unbounded\" />";
|
|
9
15
|
export declare const imageCell = "<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: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=\"Center\" />\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=\"horizontalAlignment\">\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\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>";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-elements.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/custom-elements.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,mqCAsBF,CAAC;AACnB,eAAO,MAAM,cAAc,6EAAuE,CAAC;AAEnG,eAAO,MAAM,QAAQ,qoCAsBH,CAAC;AACnB,eAAO,MAAM,eAAe,+FAAuF,CAAC;AAEpH,eAAO,MAAM,aAAa,u3BAiBR,CAAC;AACnB,eAAO,MAAM,oBAAoB,yFAAmF,CAAC;AAErH,eAAO,MAAM,QAAQ,+/CAkCH,CAAC;AACnB,eAAO,MAAM,eAAe,+EAAyE,CAAC;AAEtG,eAAO,MAAM,SAAS,49CAkCJ,CAAC;AACnB,eAAO,MAAM,gBAAgB,iGAAyF,CAAC;AAEvH,eAAO,MAAM,cAAc,4sCA6BT,CAAC;AACnB,eAAO,MAAM,qBAAqB,2FAAqF,CAAC"}
|
|
1
|
+
{"version":3,"file":"custom-elements.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/custom-elements.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,mqCAsBF,CAAC;AACnB,eAAO,MAAM,cAAc,6EAAuE,CAAC;AAEnG,eAAO,MAAM,QAAQ,qoCAsBH,CAAC;AACnB,eAAO,MAAM,eAAe,+FAAuF,CAAC;AAEpH,eAAO,MAAM,aAAa,u3BAiBR,CAAC;AACnB,eAAO,MAAM,oBAAoB,yFAAmF,CAAC;AAErH,eAAO,MAAM,kBAAkB,6qBAab,CAAC;AACnB,eAAO,MAAM,yBAAyB,mGAA6F,CAAC;AAEpI,eAAO,MAAM,aAAa,+7BAkBR,CAAC;AACnB,eAAO,MAAM,oBAAoB,yGAAiG,CAAC;AAEnI,eAAO,MAAM,YAAY,69BAkBP,CAAC;AACnB,eAAO,MAAM,mBAAmB,uFAAiF,CAAC;AAElH,eAAO,MAAM,QAAQ,+/CAkCH,CAAC;AACnB,eAAO,MAAM,eAAe,+EAAyE,CAAC;AAEtG,eAAO,MAAM,SAAS,49CAkCJ,CAAC;AACnB,eAAO,MAAM,gBAAgB,iGAAyF,CAAC;AAEvH,eAAO,MAAM,cAAc,4sCA6BT,CAAC;AACnB,eAAO,MAAM,qBAAqB,2FAAqF,CAAC"}
|
|
@@ -65,6 +65,61 @@ export const textParagraph = `<xs:complexType name="TextParagraph">
|
|
|
65
65
|
<xs:attribute name="text" type="xs:string" use="required" />
|
|
66
66
|
</xs:complexType>`;
|
|
67
67
|
export const textParagraphElement = `<xs:element name="TextParagraph" type="TextParagraph" maxOccurs="unbounded" />`;
|
|
68
|
+
export const hyperLinkParagraph = `<xs:complexType name="HyperLinkParagraph">
|
|
69
|
+
<xs:annotation>
|
|
70
|
+
<xs:documentation>Shortcut to create \\<Paragraph> \\<HyperLink text="..." target="..." /> \\</Paragraph></xs:documentation>
|
|
71
|
+
</xs:annotation>
|
|
72
|
+
<xs:choice minOccurs="0" maxOccurs="1">
|
|
73
|
+
<xs:element name="style" type="ParagraphStyle" />
|
|
74
|
+
</xs:choice>
|
|
75
|
+
<xs:choice minOccurs="0" maxOccurs="1">
|
|
76
|
+
<xs:element name="textStyle" type="TextStyle" />
|
|
77
|
+
</xs:choice>
|
|
78
|
+
<xs:attribute name="styleNames" type="xs:string" />
|
|
79
|
+
<xs:attribute name="target" type="xs:string" use="required" />
|
|
80
|
+
<xs:attribute name="text" type="xs:string" use="required" />
|
|
81
|
+
</xs:complexType>`;
|
|
82
|
+
export const hyperLinkParagraphElement = `<xs:element name="HyperLinkParagraph" type="HyperLinkParagraph" maxOccurs="unbounded" />`;
|
|
83
|
+
export const hyperLinkCell = `<xs:complexType name="HyperLinkCell">
|
|
84
|
+
<xs:annotation>
|
|
85
|
+
<xs:documentation>Shortcut to create a \\<TableCell> \\<Paragraph> \\<HyperLink text="..." target="..." /> \\</Paragraph> \\</TableCell></xs:documentation>
|
|
86
|
+
</xs:annotation>
|
|
87
|
+
<xs:choice minOccurs="0" maxOccurs="1">
|
|
88
|
+
<xs:element name="style" type="TableCellStyle" />
|
|
89
|
+
</xs:choice>
|
|
90
|
+
<xs:choice minOccurs="0" maxOccurs="1">
|
|
91
|
+
<xs:element name="paragraphStyle" type="ParagraphStyle" />
|
|
92
|
+
</xs:choice>
|
|
93
|
+
<xs:choice minOccurs="0" maxOccurs="1">
|
|
94
|
+
<xs:element name="textStyle" type="TextStyle" />
|
|
95
|
+
</xs:choice>
|
|
96
|
+
<xs:attribute name="styleNames" type="xs:string" />
|
|
97
|
+
<xs:attribute name="target" type="xs:string" use="required" />
|
|
98
|
+
<xs:attribute name="columnSpan" type="xs:integer" />
|
|
99
|
+
<xs:attribute name="rowSpan" type="xs:integer" />
|
|
100
|
+
<xs:attribute name="text" type="xs:string" use="required" />
|
|
101
|
+
</xs:complexType>`;
|
|
102
|
+
export const hyperLinkCellElement = `<xs:element name="HyperLinkCell" type="HyperLinkCell" minOccurs="0" maxOccurs="unbounded" />`;
|
|
103
|
+
export const hyperLinkRow = `<xs:complexType name="HyperLinkRow">
|
|
104
|
+
<xs:annotation>
|
|
105
|
+
<xs:documentation>Shortcut to create a \\<TableRow> \\<TableCell> \\<Paragraph> \\<HyperLink text="..." target="..." /> \\</Paragraph> \\</TableCell> \\</TableRow></xs:documentation>
|
|
106
|
+
</xs:annotation>
|
|
107
|
+
<xs:choice minOccurs="0" maxOccurs="1">
|
|
108
|
+
<xs:element name="cellStyle" type="TableCellStyle" />
|
|
109
|
+
</xs:choice>
|
|
110
|
+
<xs:choice minOccurs="0" maxOccurs="1">
|
|
111
|
+
<xs:element name="paragraphStyle" type="ParagraphStyle" />
|
|
112
|
+
</xs:choice>
|
|
113
|
+
<xs:choice minOccurs="0" maxOccurs="1">
|
|
114
|
+
<xs:element name="textStyle" type="TextStyle" />
|
|
115
|
+
</xs:choice>
|
|
116
|
+
<xs:attribute name="styleNames" type="xs:string" />
|
|
117
|
+
<xs:attribute name="target" type="xs:string" use="required" />
|
|
118
|
+
<xs:attribute name="columnSpan" type="xs:integer" />
|
|
119
|
+
<xs:attribute name="rowSpan" type="xs:integer" />
|
|
120
|
+
<xs:attribute name="text" type="xs:string" use="required" />
|
|
121
|
+
</xs:complexType>`;
|
|
122
|
+
export const hyperLinkRowElement = `<xs:element name="HyperLinkRow" type="HyperLinkRow" maxOccurs="unbounded" />`;
|
|
68
123
|
export const imageRow = `<xs:complexType name="ImageRow">
|
|
69
124
|
<xs:annotation>
|
|
70
125
|
<xs:documentation>Shortcut to create a \\<TableRow> \\<TableCell> \\<Paragraph> \\<Image src text="..." /> \\</Paragraph> \\</TableCell> \\</TableRow></xs:documentation>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-elements.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/custom-elements.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;kBAsBL,CAAC;AACnB,MAAM,CAAC,MAAM,cAAc,GAAG,oEAAoE,CAAC;AAEnG,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;kBAsBN,CAAC;AACnB,MAAM,CAAC,MAAM,eAAe,GAAG,oFAAoF,CAAC;AAEpH,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;kBAiBX,CAAC;AACnB,MAAM,CAAC,MAAM,oBAAoB,GAAG,gFAAgF,CAAC;AAErH,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkCN,CAAC;AACnB,MAAM,CAAC,MAAM,eAAe,GAAG,sEAAsE,CAAC;AAEtG,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkCP,CAAC;AACnB,MAAM,CAAC,MAAM,gBAAgB,GAAG,sFAAsF,CAAC;AAEvH,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6BZ,CAAC;AACnB,MAAM,CAAC,MAAM,qBAAqB,GAAG,kFAAkF,CAAC"}
|
|
1
|
+
{"version":3,"file":"custom-elements.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/custom-elements.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;kBAsBL,CAAC;AACnB,MAAM,CAAC,MAAM,cAAc,GAAG,oEAAoE,CAAC;AAEnG,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;kBAsBN,CAAC;AACnB,MAAM,CAAC,MAAM,eAAe,GAAG,oFAAoF,CAAC;AAEpH,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;kBAiBX,CAAC;AACnB,MAAM,CAAC,MAAM,oBAAoB,GAAG,gFAAgF,CAAC;AAErH,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;kBAahB,CAAC;AACnB,MAAM,CAAC,MAAM,yBAAyB,GAAG,0FAA0F,CAAC;AAEpI,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;kBAkBX,CAAC;AACnB,MAAM,CAAC,MAAM,oBAAoB,GAAG,8FAA8F,CAAC;AAEnI,MAAM,CAAC,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;kBAkBV,CAAC;AACnB,MAAM,CAAC,MAAM,mBAAmB,GAAG,8EAA8E,CAAC;AAElH,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkCN,CAAC;AACnB,MAAM,CAAC,MAAM,eAAe,GAAG,sEAAsE,CAAC;AAEtG,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkCP,CAAC;AACnB,MAAM,CAAC,MAAM,gBAAgB,GAAG,sFAAsF,CAAC;AAEvH,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6BZ,CAAC;AACnB,MAAM,CAAC,MAAM,qBAAqB,GAAG,kFAAkF,CAAC"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
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
|
-
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>";
|
|
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=\"HyperLinkParagraph\" type=\"HyperLinkParagraph\" 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
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>";
|
|
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>";
|
|
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>";
|
|
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>";
|
|
9
|
-
export declare const tableRow = "<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>";
|
|
10
|
-
export declare const tableCell = "<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>";
|
|
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=\"HyperLinkParagraph\" type=\"HyperLinkParagraph\" 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=\"HyperLinkParagraph\" type=\"HyperLinkParagraph\" 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>";
|
|
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=\"HyperLinkParagraph\" type=\"HyperLinkParagraph\" 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>";
|
|
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=\"HyperLinkRow\" type=\"HyperLinkRow\" 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>";
|
|
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=\"HyperLinkRow\" type=\"HyperLinkRow\" 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>";
|
|
9
|
+
export declare const tableRow = "<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=\"HyperLinkCell\" type=\"HyperLinkCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t\t<xs:element name=\"ImageCell\" type=\"ImageCell\" minOccurs=\"0\" maxOccurs=\"unbounded\" />\n\t</xs:choice>\n</xs:complexType>";
|
|
10
|
+
export declare const tableCell = "<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=\"HyperLinkParagraph\" type=\"HyperLinkParagraph\" 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>";
|
|
11
11
|
export declare const markdown = "<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>";
|
|
12
|
-
export declare const paragraph = "<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=\"
|
|
13
|
-
export declare const hyperLink = "<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>";
|
|
14
|
-
export declare const tocSeparator = "<xs:complexType name=\"
|
|
15
|
-
export declare const linkTarget = "<xs:complexType name=\"LinkTarget\">\n\t<xs:attribute name=\"name\" type=\"xs:string\" />\n</xs:complexType>";
|
|
12
|
+
export declare const paragraph = "<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=\"LineBreak\" type=\"LineBreak\" minOccurs=\"0\" maxOccurs=\"unbounded\"></xs:element>\n\t\t<xs:element name=\"TocSeparator\" type=\"TocSeparator\" 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>";
|
|
13
|
+
export declare const hyperLink = "<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\" use=\"required\" />\n\t<xs:attribute name=\"text\" type=\"xs:string\" />\n</xs:complexType>";
|
|
14
|
+
export declare const tocSeparator = "<xs:complexType name=\"TocSeparator\">\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" />\n</xs:complexType>";
|
|
15
|
+
export declare const linkTarget = "<xs:complexType name=\"LinkTarget\">\n\t<xs:attribute name=\"name\" type=\"xs:string\" use=\"required\" />\n</xs:complexType>";
|
|
16
|
+
export declare const lineBreak = "<xs:complexType name=\"LineBreak\">\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</xs:complexType>";
|
|
16
17
|
export declare const textRun = "<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>";
|
|
17
18
|
export declare const textField = "<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>";
|
|
18
19
|
export declare const image = "<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\t\t<xs:attribute name=\"verticalAlignment\">\n\t\t\t<xs:simpleType>\n\t\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t\t<xs:enumeration value=\"Top\" />\n\t\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t\t<xs:enumeration value=\"Bottom\" />\n\t\t\t\t</xs:restriction>\n\t\t\t</xs:simpleType>\n\t\t</xs:attribute>\n\t\t<xs:attribute name=\"horizontalAlignment\">\n\t\t\t<xs:simpleType>\n\t\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t\t<xs:enumeration value=\"Left\" />\n\t\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t\t<xs:enumeration value=\"Right\" />\n\t\t\t\t</xs:restriction>\n\t\t\t</xs:simpleType>\n\t\t</xs:attribute>\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,iSAOV,CAAC;AAEf,eAAO,MAAM,OAAO,
|
|
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,q0BAYF,CAAC;AAEnB,eAAO,MAAM,IAAI,0YASC,CAAC;AAWnB,eAAO,MAAM,cAAc,iuBAIT,CAAC;AAEnB,eAAO,MAAM,YAAY,mzBAKP,CAAC;AAEnB,eAAO,MAAM,KAAK,qyBAYA,CAAC;AAEnB,eAAO,MAAM,KAAK,y0CAuBA,CAAC;AAEnB,eAAO,MAAM,UAAU,+dASL,CAAC;AAEnB,eAAO,MAAM,QAAQ,+fAOH,CAAC;AAEnB,eAAO,MAAM,SAAS,+1CAmBJ,CAAC;AAEnB,eAAO,MAAM,QAAQ,qLAGH,CAAC;AAEnB,eAAO,MAAM,SAAS,kwCAgBJ,CAAC;AAEnB,eAAO,MAAM,SAAS,ukBAWJ,CAAC;AAEnB,eAAO,MAAM,YAAY,qHAEP,CAAC;AAEnB,eAAO,MAAM,UAAU,kIAEL,CAAC;AAEnB,eAAO,MAAM,SAAS,0OAKJ,CAAC;AAEnB,eAAO,MAAM,OAAO,slBAWF,CAAC;AAEnB,eAAO,MAAM,SAAS,i5BAqBJ,CAAC;AAEnB,eAAO,MAAM,KAAK,26BAsBA,CAAC;AAEnB,eAAO,MAAM,SAAS,0CAAwC,CAAC"}
|
|
@@ -14,6 +14,7 @@ export const section = `<xs:complexType name="Section">
|
|
|
14
14
|
<xs:element name="PageBreak" type="PageBreak" minOccurs="0" />
|
|
15
15
|
<xs:element name="Paragraph" type="Paragraph" minOccurs="0" />
|
|
16
16
|
${Custom.textParagraphElement}
|
|
17
|
+
${Custom.hyperLinkParagraphElement}
|
|
17
18
|
${Custom.imageParagraphElement}
|
|
18
19
|
<xs:element name="Markdown" type="Markdown" minOccurs="0" />
|
|
19
20
|
<xs:element name="page" type="page" minOccurs="0" maxOccurs="1"></xs:element>
|
|
@@ -34,6 +35,7 @@ const sectionElementBody = `<xs:element name="Table" type="Table" minOccurs="0"
|
|
|
34
35
|
<xs:element name="PageBreak" type="PageBreak" minOccurs="0" />
|
|
35
36
|
<xs:element name="Paragraph" type="Paragraph" minOccurs="0" />
|
|
36
37
|
${Custom.textParagraphElement}
|
|
38
|
+
${Custom.hyperLinkParagraphElement}
|
|
37
39
|
${Custom.imageParagraphElement}
|
|
38
40
|
<xs:element name="Markdown" type="Markdown" minOccurs="0" />`;
|
|
39
41
|
export const sectionElement = `<xs:complexType name="SectionElement">
|
|
@@ -54,6 +56,7 @@ export const group = `<xs:complexType name="Group">
|
|
|
54
56
|
<xs:element name="PageBreak" type="PageBreak" minOccurs="0" />
|
|
55
57
|
<xs:element name="Paragraph" type="Paragraph" minOccurs="0" />
|
|
56
58
|
${Custom.textParagraphElement}
|
|
59
|
+
${Custom.hyperLinkParagraphElement}
|
|
57
60
|
${Custom.imageParagraphElement}
|
|
58
61
|
<xs:element name="style" type="GroupStyle" minOccurs="0" />
|
|
59
62
|
</xs:choice>
|
|
@@ -67,6 +70,7 @@ export const table = `<xs:complexType name="Table">
|
|
|
67
70
|
<xs:choice minOccurs="1">
|
|
68
71
|
<xs:element name="TableRow" type="TableRow" maxOccurs="unbounded" />
|
|
69
72
|
${Custom.textRowElement}
|
|
73
|
+
${Custom.hyperLinkRowElement}
|
|
70
74
|
${Custom.imageRowElement}
|
|
71
75
|
</xs:choice>
|
|
72
76
|
</xs:sequence>
|
|
@@ -87,6 +91,7 @@ export const headerRows = `<xs:complexType name="headerRows">
|
|
|
87
91
|
<xs:choice minOccurs="1" maxOccurs="unbounded">
|
|
88
92
|
<xs:element name="TableRow" type="TableRow"/>
|
|
89
93
|
${Custom.textRowElement}
|
|
94
|
+
${Custom.hyperLinkRowElement}
|
|
90
95
|
${Custom.imageRowElement}
|
|
91
96
|
</xs:choice>
|
|
92
97
|
</xs:sequence>
|
|
@@ -95,6 +100,7 @@ export const tableRow = `<xs:complexType name="TableRow">
|
|
|
95
100
|
<xs:choice maxOccurs="unbounded">
|
|
96
101
|
<xs:element name="TableCell" type="TableCell" minOccurs="0" maxOccurs="unbounded" />
|
|
97
102
|
${Custom.textCellElement}
|
|
103
|
+
${Custom.hyperLinkCellElement}
|
|
98
104
|
${Custom.imageCellElement}
|
|
99
105
|
</xs:choice>
|
|
100
106
|
</xs:complexType>`;
|
|
@@ -106,6 +112,7 @@ export const tableCell = `<xs:complexType name="TableCell">
|
|
|
106
112
|
<xs:element name="PageBreak" type="PageBreak" minOccurs="0" maxOccurs="unbounded" />
|
|
107
113
|
<xs:element name="Paragraph" type="Paragraph" minOccurs="0" maxOccurs="unbounded" />
|
|
108
114
|
${Custom.textParagraphElement}
|
|
115
|
+
${Custom.hyperLinkParagraphElement}
|
|
109
116
|
${Custom.imageParagraphElement}
|
|
110
117
|
<xs:element name="Markdown" type="Markdown" minOccurs="0" maxOccurs="unbounded" />
|
|
111
118
|
</xs:choice>
|
|
@@ -128,7 +135,8 @@ export const paragraph = `<xs:complexType name="Paragraph">
|
|
|
128
135
|
<xs:element name="Image" type="Image" minOccurs="0" maxOccurs="unbounded"></xs:element>
|
|
129
136
|
<xs:element name="HyperLink" type="HyperLink" minOccurs="0" maxOccurs="unbounded"></xs:element>
|
|
130
137
|
<xs:element name="LinkTarget" type="LinkTarget" minOccurs="0" maxOccurs="unbounded"></xs:element>
|
|
131
|
-
<xs:element name="
|
|
138
|
+
<xs:element name="LineBreak" type="LineBreak" minOccurs="0" maxOccurs="unbounded"></xs:element>
|
|
139
|
+
<xs:element name="TocSeparator" type="TocSeparator" minOccurs="0" maxOccurs="unbounded"></xs:element>
|
|
132
140
|
<xs:element name="style" type="ParagraphStyle" minOccurs="0" maxOccurs="1"></xs:element>
|
|
133
141
|
</xs:choice>
|
|
134
142
|
<xs:attribute name="styleName" type="xs:string" >
|
|
@@ -146,14 +154,20 @@ export const hyperLink = `<xs:complexType name="HyperLink">
|
|
|
146
154
|
<xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name="..." /> \\</StyleNames> \\</AbstractDoc></xs:documentation>
|
|
147
155
|
</xs:annotation>
|
|
148
156
|
</xs:attribute>
|
|
149
|
-
<xs:attribute name="target" type="xs:string" />
|
|
157
|
+
<xs:attribute name="target" type="xs:string" use="required" />
|
|
150
158
|
<xs:attribute name="text" type="xs:string" />
|
|
151
159
|
</xs:complexType>`;
|
|
152
|
-
export const tocSeparator = `<xs:complexType name="
|
|
160
|
+
export const tocSeparator = `<xs:complexType name="TocSeparator">
|
|
153
161
|
<xs:attribute name="width" type="xs:decimal" />
|
|
154
162
|
</xs:complexType>`;
|
|
155
163
|
export const linkTarget = `<xs:complexType name="LinkTarget">
|
|
156
|
-
<xs:attribute name="name" type="xs:string" />
|
|
164
|
+
<xs:attribute name="name" type="xs:string" use="required" />
|
|
165
|
+
</xs:complexType>`;
|
|
166
|
+
export const lineBreak = `<xs:complexType name="LineBreak">
|
|
167
|
+
<xs:choice minOccurs="0" maxOccurs="1">
|
|
168
|
+
<xs:element name="style" type="TextStyle" />
|
|
169
|
+
</xs:choice>
|
|
170
|
+
<xs:attribute name="styleName" type="xs:string" />
|
|
157
171
|
</xs:complexType>`;
|
|
158
172
|
export const textRun = `<xs:complexType name="TextRun">
|
|
159
173
|
<xs:choice minOccurs="0" maxOccurs="1">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elements.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/elements.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAE/C,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;cAOb,CAAC;AAEf,MAAM,CAAC,MAAM,OAAO,GAAG;;;;;;IAMnB,MAAM,CAAC,oBAAoB;IAC3B,MAAM,CAAC,qBAAqB;;;;kBAId,CAAC;AAEnB,MAAM,CAAC,MAAM,IAAI,GAAG;;;;;;;;;kBASF,CAAC;AAEnB,MAAM,kBAAkB,GAAG;;;;GAIxB,MAAM,CAAC,oBAAoB;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AC,MAAM,UAAU,GAAG;;kBAER,CAAC;AAEnB,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;kBAKP,CAAC;AAEnB,MAAM,CAAC,MAAM,OAAO,GAAG;;;;;;;;;;;kBAWL,CAAC;AAEnB,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;kBAqBP,CAAC;AAEnB,MAAM,CAAC,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;kBAsBH,CAAC;AAEnB,MAAM,CAAC,MAAM,SAAS,GAAG,qCAAqC,CAAC"}
|
|
@@ -8,7 +8,7 @@ export declare const groupStyle = "<xs:complexType name=\"GroupStyle\">\n\t\n <
|
|
|
8
8
|
export declare const tableCellStyle = "<xs:complexType name=\"TableCellStyle\">\n\t\n <xs:attribute name=\"paddingTop\" type=\"xs:decimal\"/>\n <xs:attribute name=\"paddingRight\" type=\"xs:decimal\"/>\n <xs:attribute name=\"paddingBottom\" type=\"xs:decimal\"/>\n <xs:attribute name=\"paddingLeft\" type=\"xs:decimal\"/>\n\n\t\n <xs:attribute name=\"borderTop\" type=\"xs:decimal\"/>\n <xs:attribute name=\"borderRight\" type=\"xs:decimal\"/>\n <xs:attribute name=\"borderBottom\" type=\"xs:decimal\"/>\n <xs:attribute name=\"borderLeft\" type=\"xs:decimal\"/>\n\n\t\n <xs:attribute name=\"borderColorTop\" type=\"xs:string\"/>\n <xs:attribute name=\"borderColorRight\" type=\"xs:string\"/>\n <xs:attribute name=\"borderColorBottom\" type=\"xs:string\"/>\n <xs:attribute name=\"borderColorLeft\" type=\"xs:string\"/>\n\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>";
|
|
9
9
|
export declare const tableStyle = "<xs:complexType name=\"TableStyle\">\n\t\n <xs:attribute name=\"marginTop\" type=\"xs:decimal\"/>\n <xs:attribute name=\"marginRight\" type=\"xs:decimal\"/>\n <xs:attribute name=\"marginBottom\" type=\"xs:decimal\"/>\n <xs:attribute name=\"marginLeft\" type=\"xs:decimal\"/>\n\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>";
|
|
10
10
|
export declare const paragraphStyle = "<xs:complexType name=\"ParagraphStyle\">\n\t\n <xs:attribute name=\"paddingTop\" type=\"xs:decimal\"/>\n <xs:attribute name=\"paddingRight\" type=\"xs:decimal\"/>\n <xs:attribute name=\"paddingBottom\" type=\"xs:decimal\"/>\n <xs:attribute name=\"paddingLeft\" type=\"xs:decimal\"/>\n\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>";
|
|
11
|
-
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=\"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>";
|
|
11
|
+
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=\"transform\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"normal\" />\n\t\t\t\t<xs:enumeration value=\"uppercase\" />\n\t\t\t\t<xs:enumeration value=\"lowercase\" />\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>";
|
|
12
12
|
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\t<xs:element name=\"columnLayout\" type=\"PageColumnLayout\" minOccurs=\"0\" maxOccurs=\"1\" />\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>";
|
|
13
13
|
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>";
|
|
14
14
|
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>";
|
|
@@ -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,iBAAiB,yPAK7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qPAK7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qPAK7B,CAAC;AAEF,eAAO,MAAM,sBAAsB,qQAKlC,CAAC;AAEF,eAAO,MAAM,SAAS,ojIAyEJ,CAAC;AAEnB,eAAO,MAAM,UAAU,syBAeL,CAAC;AAEnB,eAAO,MAAM,cAAc,03EA6CT,CAAC;AAEnB,eAAO,MAAM,UAAU,u2CA8BL,CAAC;AAEnB,eAAO,MAAM,cAAc,w5CA+BT,CAAC;AAEnB,eAAO,MAAM,SAAS,
|
|
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,iBAAiB,yPAK7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qPAK7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qPAK7B,CAAC;AAEF,eAAO,MAAM,sBAAsB,qQAKlC,CAAC;AAEF,eAAO,MAAM,SAAS,ojIAyEJ,CAAC;AAEnB,eAAO,MAAM,UAAU,syBAeL,CAAC;AAEnB,eAAO,MAAM,cAAc,03EA6CT,CAAC;AAEnB,eAAO,MAAM,UAAU,u2CA8BL,CAAC;AAEnB,eAAO,MAAM,cAAc,w5CA+BT,CAAC;AAEnB,eAAO,MAAM,SAAS,usDAuCJ,CAAC;AAEnB,eAAO,MAAM,eAAe,uyCA6BV,CAAC;AAEnB,eAAO,MAAM,QAAQ,gVAQJ,CAAC;AAElB,eAAO,MAAM,gBAAgB,4RAKX,CAAC;AAEnB,eAAO,MAAM,gBAAgB,0LAGX,CAAC"}
|
|
@@ -245,6 +245,15 @@ export const textStyle = `<xs:complexType name="TextStyle">
|
|
|
245
245
|
<xs:attribute name="indent" type="xs:decimal" />
|
|
246
246
|
<xs:attribute name="color" type="xs:string" />
|
|
247
247
|
<xs:attribute name="fontFamily" type="xs:string" />
|
|
248
|
+
<xs:attribute name="transform">
|
|
249
|
+
<xs:simpleType>
|
|
250
|
+
<xs:restriction base="xs:string">
|
|
251
|
+
<xs:enumeration value="normal" />
|
|
252
|
+
<xs:enumeration value="uppercase" />
|
|
253
|
+
<xs:enumeration value="lowercase" />
|
|
254
|
+
</xs:restriction>
|
|
255
|
+
</xs:simpleType>
|
|
256
|
+
</xs:attribute>
|
|
248
257
|
<xs:attribute name="baseline">
|
|
249
258
|
<xs:simpleType>
|
|
250
259
|
<xs:restriction base="xs:string">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/styles.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;;;;kBAIR,CAAC;AAEnB,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;CAKhC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;CAKhC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;CAKhC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;;;;;CAKrC,CAAC;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