abstract-document 6.9.5 → 6.10.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.
Files changed (227) hide show
  1. package/CHANGELOG.md +12 -1
  2. package/README.md +2 -2
  3. package/lib/abstract-document/table/text-row.d.ts +1 -0
  4. package/lib/abstract-document/table/text-row.d.ts.map +1 -0
  5. package/lib/abstract-document/table/text-row.js +1 -0
  6. package/lib/abstract-document/table/text-row.js.map +1 -0
  7. package/lib/abstract-document-xml/__tests__/export-test-def.d.ts +13 -0
  8. package/lib/abstract-document-xml/__tests__/export-test-def.d.ts.map +1 -0
  9. package/lib/abstract-document-xml/__tests__/export-test-def.js +3 -0
  10. package/lib/abstract-document-xml/__tests__/export-test-def.js.map +1 -0
  11. package/lib/abstract-document-xml/__tests__/export.test.d.ts +3 -0
  12. package/lib/abstract-document-xml/__tests__/export.test.d.ts.map +1 -0
  13. package/lib/abstract-document-xml/__tests__/export.test.js +41 -0
  14. package/lib/abstract-document-xml/__tests__/export.test.js.map +1 -0
  15. package/lib/abstract-document-xml/__tests__/layer/export-test-def.d.ts +13 -0
  16. package/lib/abstract-document-xml/__tests__/layer/export-test-def.d.ts.map +1 -0
  17. package/lib/abstract-document-xml/__tests__/layer/export-test-def.js +3 -0
  18. package/lib/abstract-document-xml/__tests__/layer/export-test-def.js.map +1 -0
  19. package/lib/abstract-document-xml/__tests__/layer/export.test.d.ts +3 -0
  20. package/lib/abstract-document-xml/__tests__/layer/export.test.d.ts.map +1 -0
  21. package/lib/abstract-document-xml/__tests__/layer/export.test.js +41 -0
  22. package/lib/abstract-document-xml/__tests__/layer/export.test.js.map +1 -0
  23. package/lib/abstract-document-xml/__tests__/layer/test-defs/simple-document.d.ts +3 -0
  24. package/lib/abstract-document-xml/__tests__/layer/test-defs/simple-document.d.ts.map +1 -0
  25. package/lib/abstract-document-xml/__tests__/layer/test-defs/simple-document.js +361 -0
  26. package/lib/abstract-document-xml/__tests__/layer/test-defs/simple-document.js.map +1 -0
  27. package/lib/abstract-document-xml/__tests__/test-defs/simple-document.d.ts +3 -0
  28. package/lib/abstract-document-xml/__tests__/test-defs/simple-document.d.ts.map +1 -0
  29. package/lib/abstract-document-xml/__tests__/test-defs/simple-document.js +198 -0
  30. package/lib/abstract-document-xml/__tests__/test-defs/simple-document.js.map +1 -0
  31. package/lib/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.d.ts +5 -0
  32. package/lib/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.d.ts.map +1 -0
  33. package/lib/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.js +94 -0
  34. package/lib/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.js.map +1 -0
  35. package/lib/abstract-document-xml/abstract-doc-of-xml/creator.d.ts +14 -0
  36. package/lib/abstract-document-xml/abstract-doc-of-xml/creator.d.ts.map +1 -0
  37. package/lib/abstract-document-xml/abstract-doc-of-xml/creator.js +218 -0
  38. package/lib/abstract-document-xml/abstract-doc-of-xml/creator.js.map +1 -0
  39. package/lib/abstract-document-xml/abstract-doc-of-xml/custom-elements.d.ts +38 -0
  40. package/lib/abstract-document-xml/abstract-doc-of-xml/custom-elements.d.ts.map +1 -0
  41. package/lib/abstract-document-xml/abstract-doc-of-xml/custom-elements.js +59 -0
  42. package/lib/abstract-document-xml/abstract-doc-of-xml/custom-elements.js.map +1 -0
  43. package/lib/abstract-document-xml/abstract-doc-of-xml/index.d.ts +3 -0
  44. package/lib/abstract-document-xml/abstract-doc-of-xml/index.d.ts.map +1 -0
  45. package/lib/abstract-document-xml/abstract-doc-of-xml/index.js +17 -0
  46. package/lib/abstract-document-xml/abstract-doc-of-xml/index.js.map +1 -0
  47. package/lib/abstract-document-xml/index.d.ts +4 -0
  48. package/lib/abstract-document-xml/index.d.ts.map +1 -0
  49. package/lib/abstract-document-xml/index.js +16 -0
  50. package/lib/abstract-document-xml/index.js.map +1 -0
  51. package/lib/abstract-document-xml/parse-xml/index.d.ts +3 -0
  52. package/lib/abstract-document-xml/parse-xml/index.d.ts.map +1 -0
  53. package/lib/abstract-document-xml/parse-xml/index.js +15 -0
  54. package/lib/abstract-document-xml/parse-xml/index.js.map +1 -0
  55. package/lib/abstract-document-xml/parse-xml/parse-xml.d.ts +12 -0
  56. package/lib/abstract-document-xml/parse-xml/parse-xml.d.ts.map +1 -0
  57. package/lib/abstract-document-xml/parse-xml/parse-xml.js +83 -0
  58. package/lib/abstract-document-xml/parse-xml/parse-xml.js.map +1 -0
  59. package/lib/abstract-document-xml/parse-xml/validation.d.ts +21 -0
  60. package/lib/abstract-document-xml/parse-xml/validation.d.ts.map +1 -0
  61. package/lib/abstract-document-xml/parse-xml/validation.js +205 -0
  62. package/lib/abstract-document-xml/parse-xml/validation.js.map +1 -0
  63. package/lib/abstract-document-xml/xsd-template/custom-elements.d.ts +7 -0
  64. package/lib/abstract-document-xml/xsd-template/custom-elements.d.ts.map +1 -0
  65. package/lib/abstract-document-xml/xsd-template/custom-elements.js +57 -0
  66. package/lib/abstract-document-xml/xsd-template/custom-elements.js.map +1 -0
  67. package/lib/abstract-document-xml/xsd-template/elements.d.ts +19 -0
  68. package/lib/abstract-document-xml/xsd-template/elements.d.ts.map +1 -0
  69. package/lib/abstract-document-xml/xsd-template/elements.js +187 -0
  70. package/lib/abstract-document-xml/xsd-template/elements.js.map +1 -0
  71. package/lib/abstract-document-xml/xsd-template/index.d.ts +2 -0
  72. package/lib/abstract-document-xml/xsd-template/index.d.ts.map +1 -0
  73. package/lib/abstract-document-xml/xsd-template/index.js +14 -0
  74. package/lib/abstract-document-xml/xsd-template/index.js.map +1 -0
  75. package/lib/abstract-document-xml/xsd-template/styles.d.ts +11 -0
  76. package/lib/abstract-document-xml/xsd-template/styles.d.ts.map +1 -0
  77. package/lib/abstract-document-xml/xsd-template/styles.js +279 -0
  78. package/lib/abstract-document-xml/xsd-template/styles.js.map +1 -0
  79. package/lib/abstract-document-xml/xsd-template/xsd-template.d.ts +3 -0
  80. package/lib/abstract-document-xml/xsd-template/xsd-template.d.ts.map +1 -0
  81. package/lib/abstract-document-xml/xsd-template/xsd-template.js +71 -0
  82. package/lib/abstract-document-xml/xsd-template/xsd-template.js.map +1 -0
  83. package/lib/index.d.ts +2 -1
  84. package/lib/index.d.ts.map +1 -1
  85. package/lib/index.js +3 -1
  86. package/lib/index.js.map +1 -1
  87. package/package.json +4 -3
  88. package/src/abstract-document/table/text-row.ts +0 -0
  89. package/src/abstract-document-exporters/__tests__/docx2/tmp/Group.docx +0 -0
  90. 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
  91. 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
  92. 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
  93. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple images.docx +0 -0
  94. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple tables.docx +0 -0
  95. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Center alignment.docx +0 -0
  96. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with End alignment.docx +0 -0
  97. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Start alignment that linebreaks.docx +0 -0
  98. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Start alignment.docx +0 -0
  99. package/src/abstract-document-exporters/__tests__/docx2/tmp/Page numbering.docx +0 -0
  100. 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
  101. package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table without rows.docx +0 -0
  102. package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table.docx +0 -0
  103. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single hyperlink.docx +0 -0
  104. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single image.docx +0 -0
  105. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Center alignment that linebreaks.docx +0 -0
  106. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Center alignment.docx +0 -0
  107. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with End alignment that linebreaks.docx +0 -0
  108. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with End alignment.docx +0 -0
  109. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Start alignment that linebreaks.docx +0 -0
  110. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Start alignment.docx +0 -0
  111. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun.docx +0 -0
  112. package/src/abstract-document-exporters/__tests__/docx2/tmp/hello with Arial font.docx +0 -0
  113. package/src/abstract-document-exporters/__tests__/docx2/tmp/hello.docx +0 -0
  114. package/src/abstract-document-exporters/__tests__/docx2/tmp/letter-dimensions.docx +0 -0
  115. package/src/abstract-document-exporters/__tests__/docx2/tmp/page-orientation-landscape.docx +0 -0
  116. package/src/abstract-document-exporters/__tests__/docx2/tmp/page-orientation-portrait.docx +0 -0
  117. package/src/abstract-document-exporters/__tests__/docx2/tmp/tocSeparator.docx +0 -0
  118. package/src/abstract-document-exporters/__tests__/docx2/tmp/world.docx +0 -0
  119. package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position group.pdf +2 -2
  120. package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position header and footer.pdf +2 -2
  121. package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position paragraph.pdf +2 -2
  122. package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position section in group.pdf +2 -2
  123. package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position section in table.pdf +2 -2
  124. package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position table.pdf +2 -2
  125. package/src/abstract-document-exporters/__tests__/pdf/tmp/Group Paragraphs.pdf +2 -2
  126. package/src/abstract-document-exporters/__tests__/pdf/tmp/Group Tables.pdf +2 -2
  127. package/src/abstract-document-exporters/__tests__/pdf/tmp/Group no keeptogether.pdf +2 -2
  128. package/src/abstract-document-exporters/__tests__/pdf/tmp/Group too big for one page.pdf +2 -2
  129. package/src/abstract-document-exporters/__tests__/pdf/tmp/Header and footer.pdf +2 -2
  130. package/src/abstract-document-exporters/__tests__/pdf/tmp/Hyperlink internal linktarget.pdf +2 -2
  131. package/src/abstract-document-exporters/__tests__/pdf/tmp/Hyperlink internal.pdf +2 -2
  132. package/src/abstract-document-exporters/__tests__/pdf/tmp/Margins header body footer.pdf +2 -2
  133. package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed hyperlink and textrun no underline.pdf +2 -2
  134. package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed hyperlink and textrun with underline.pdf +2 -2
  135. package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed hyperlink and textrun.pdf +2 -2
  136. 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
  137. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple images overflow.pdf +0 -0
  138. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple images.pdf +0 -0
  139. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Center alignment.pdf +2 -2
  140. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with End alignment.pdf +2 -2
  141. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Start alignment that linebreaks.pdf +2 -2
  142. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Start alignment.pdf +2 -2
  143. package/src/abstract-document-exporters/__tests__/pdf/tmp/Page numbering.pdf +2 -2
  144. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table row that doesnt fit page.pdf +2 -2
  145. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table single row.pdf +2 -2
  146. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with group.pdf +2 -2
  147. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with header 2.pdf +2 -2
  148. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with header.pdf +2 -2
  149. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin bottom.pdf +2 -2
  150. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin top single table.pdf +2 -2
  151. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin top.pdf +2 -2
  152. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with rowSpan multipages.pdf +2 -2
  153. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with rowSpan.pdf +2 -2
  154. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table all auto.pdf +2 -2
  155. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table all fix.pdf +2 -2
  156. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table background.pdf +2 -2
  157. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table cell padding of image.pdf +0 -0
  158. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table cell padding of text.pdf +2 -2
  159. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table center alignment.pdf +2 -2
  160. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table colSpan and rowSpan.pdf +2 -2
  161. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table minimal row height.pdf +2 -2
  162. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table mix auto fix.pdf +2 -2
  163. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table padding.pdf +2 -2
  164. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table right alignment.pdf +2 -2
  165. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table row alignment.pdf +2 -2
  166. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table text alignment in cell with wrapping.pdf +2 -2
  167. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table text alignment in cell.pdf +2 -2
  168. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with default colored borders.pdf +2 -2
  169. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with header.pdf +2 -2
  170. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with multi colored borders.pdf +2 -2
  171. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with single colored borders.pdf +2 -2
  172. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single date.pdf +14 -14
  173. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single figure.pdf +2 -2
  174. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink centered.pdf +2 -2
  175. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink no underline.pdf +2 -2
  176. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink right aligned.pdf +2 -2
  177. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink.pdf +2 -2
  178. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image from URL.pdf +0 -0
  179. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color hex.pdf +2 -2
  180. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color name.pdf +2 -2
  181. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color url.pdf +2 -2
  182. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg dasharray.pdf +2 -2
  183. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image.pdf +0 -0
  184. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline alphabetic.pdf +2 -2
  185. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline bottom.pdf +2 -2
  186. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline hanging.pdf +2 -2
  187. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline middle.pdf +2 -2
  188. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline top.pdf +2 -2
  189. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Center alignment that linebreaks.pdf +2 -2
  190. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Center alignment.pdf +2 -2
  191. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with End alignment that linebreaks.pdf +2 -2
  192. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with End alignment.pdf +2 -2
  193. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Justify alignment.pdf +2 -2
  194. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Start alignment that linebreaks.pdf +2 -2
  195. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Start alignment.pdf +2 -2
  196. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with super and subscripts.pdf +2 -2
  197. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun.pdf +2 -2
  198. package/src/abstract-document-exporters/__tests__/pdf/tmp/Table of content separator.pdf +2 -2
  199. package/src/abstract-document-exporters/__tests__/pdf/tmp/hello with roman font.pdf +2 -2
  200. package/src/abstract-document-exporters/__tests__/pdf/tmp/hello.pdf +2 -2
  201. package/src/abstract-document-exporters/__tests__/pdf/tmp/pagebreak.pdf +2 -2
  202. package/src/abstract-document-exporters/__tests__/pdf/tmp/world.pdf +2 -2
  203. package/src/abstract-document-xml/__tests__/export-test-def.ts +12 -0
  204. package/src/abstract-document-xml/__tests__/export.test.tsx +43 -0
  205. package/src/abstract-document-xml/__tests__/test-defs/simple-document.tsx +196 -0
  206. package/src/abstract-document-xml/abstract-doc-of-xml/abstract-doc-of-xml.ts +96 -0
  207. package/src/abstract-document-xml/abstract-doc-of-xml/creator.ts +267 -0
  208. package/src/abstract-document-xml/abstract-doc-of-xml/custom-elements.tsx +110 -0
  209. package/src/abstract-document-xml/abstract-doc-of-xml/index.ts +2 -0
  210. package/src/abstract-document-xml/index.ts +3 -0
  211. package/src/abstract-document-xml/parse-xml/index.ts +2 -0
  212. package/src/abstract-document-xml/parse-xml/parse-xml.ts +95 -0
  213. package/src/abstract-document-xml/parse-xml/validation.ts +280 -0
  214. package/src/abstract-document-xml/xsd-template/custom-elements.ts +56 -0
  215. package/src/abstract-document-xml/xsd-template/elements.ts +201 -0
  216. package/src/abstract-document-xml/xsd-template/index.ts +1 -0
  217. package/src/abstract-document-xml/xsd-template/styles.ts +284 -0
  218. package/src/abstract-document-xml/xsd-template/xsd-template.ts +51 -0
  219. package/src/index.ts +2 -1
  220. package/src/abstract-document-exporters/__tests__/docx2/tmp/Table of content separator.docx +0 -0
  221. package/src/abstract-document-exporters/__tests__/pdf/tmp/Empty Paragraph.pdf +0 -91
  222. package/src/abstract-document-exporters/__tests__/pdf/tmp/Group.pdf +0 -123
  223. package/src/abstract-document-exporters/__tests__/pdf/tmp/Named destination.pdf +0 -1761
  224. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin.pdf +0 -404
  225. package/src/abstract-document-exporters/__tests__/pdf/tmp/Paragraph numbering.pdf +0 -143
  226. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table.pdf +0 -133
  227. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with default alignment.pdf +0 -113
@@ -0,0 +1,19 @@
1
+ export declare const abstractDoc = "<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>";
2
+ export declare const section: string;
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=\"SectionElement\" minOccurs=\"0\" />\n\t\t<xs:element name=\"footer\" type=\"SectionElement\" minOccurs=\"0\"/>\n\t</xs:all>\n</xs:complexType>";
4
+ export declare const sectionElement: string;
5
+ export declare const group: string;
6
+ export declare const table: string;
7
+ export declare const headerRows: string;
8
+ export declare const tableRow: string;
9
+ export declare const tableCell: string;
10
+ 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>";
11
+ 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=\"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>";
12
+ 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>";
13
+ export declare const tocSeparator = "<xs:complexType name=\"TocSeperator\">\n\t<xs:attribute name=\"width\" type=\"xs:decimal\" />\n</xs:complexType>";
14
+ export declare const linkTarget = "<xs:complexType name=\"LinkTarget\">\n\t<xs:attribute name=\"name\" type=\"xs:string\" />\n</xs:complexType>";
15
+ 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>";
16
+ 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>";
17
+ 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</xs:complexType>";
18
+ export declare const pageBreak = "<xs:complexType name=\"PageBreak\" />";
19
+ //# sourceMappingURL=elements.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elements.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/elements.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,uSAOV,CAAC;AAEf,eAAO,MAAM,OAAO,QAUF,CAAC;AAEnB,eAAO,MAAM,IAAI,6YASC,CAAC;AAEnB,eAAO,MAAM,cAAc,QAST,CAAC;AAEnB,eAAO,MAAM,KAAK,QAUA,CAAC;AAEnB,eAAO,MAAM,KAAK,QAqBA,CAAC;AAEnB,eAAO,MAAM,UAAU,QAOL,CAAC;AAEnB,eAAO,MAAM,QAAQ,QAKH,CAAC;AAEnB,eAAO,MAAM,SAAS,QAiBJ,CAAC;AAEnB,eAAO,MAAM,QAAQ,qLAGH,CAAC;AAEnB,eAAO,MAAM,SAAS,qpCAeJ,CAAC;AAEnB,eAAO,MAAM,SAAS,sjBAWJ,CAAC;AAEnB,eAAO,MAAM,YAAY,qHAEP,CAAC;AAEnB,eAAO,MAAM,UAAU,iHAEL,CAAC;AAEnB,eAAO,MAAM,OAAO,slBAWF,CAAC;AAEnB,eAAO,MAAM,SAAS,i5BAqBJ,CAAC;AAEnB,eAAO,MAAM,KAAK,+RAIA,CAAC;AAEnB,eAAO,MAAM,SAAS,0CAAwC,CAAC"}
@@ -0,0 +1,187 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pageBreak = exports.image = exports.textField = exports.textRun = exports.linkTarget = exports.tocSeparator = exports.hyperLink = exports.paragraph = exports.markdown = exports.tableCell = exports.tableRow = exports.headerRows = exports.table = exports.group = exports.sectionElement = exports.page = exports.section = exports.abstractDoc = void 0;
4
+ const custom_elements_1 = require("./custom-elements");
5
+ exports.abstractDoc = `<xs:element name="AbstractDoc">
6
+ <xs:complexType>
7
+ <xs:sequence>
8
+ <xs:element name="StyleNames" type="StyleNames" minOccurs="0"></xs:element>
9
+ <xs:element name="Section" type="Section"></xs:element>
10
+ </xs:sequence>
11
+ </xs:complexType>
12
+ </xs:element>`;
13
+ exports.section = `<xs:complexType name="Section">
14
+ <xs:choice maxOccurs="unbounded">
15
+ <xs:element name="Table" type="Table" minOccurs="0" />
16
+ <xs:element name="Group" type="Group" minOccurs="0" />
17
+ <xs:element name="PageBreak" type="PageBreak" minOccurs="0" />
18
+ <xs:element name="Paragraph" type="Paragraph" minOccurs="0" />
19
+ ${custom_elements_1.textParagraphElement}
20
+ <xs:element name="Markdown" type="Markdown" minOccurs="0" />
21
+ <xs:element name="page" type="page" minOccurs="0" maxOccurs="1"></xs:element>
22
+ </xs:choice>
23
+ </xs:complexType>`;
24
+ exports.page = `<xs:complexType name="page">
25
+ <xs:annotation>
26
+ <xs:documentation>Define header and footer.</xs:documentation>
27
+ </xs:annotation>
28
+ <xs:all>
29
+ <xs:element name="style" type="MasterPageStyle" />
30
+ <xs:element name="header" type="SectionElement" minOccurs="0" />
31
+ <xs:element name="footer" type="SectionElement" minOccurs="0"/>
32
+ </xs:all>
33
+ </xs:complexType>`;
34
+ exports.sectionElement = `<xs:complexType name="SectionElement">
35
+ <xs:choice maxOccurs="unbounded">
36
+ <xs:element name="Table" type="Table" minOccurs="0" />
37
+ <xs:element name="Group" type="Group" minOccurs="0" />
38
+ <xs:element name="PageBreak" type="PageBreak" minOccurs="0" />
39
+ <xs:element name="Paragraph" type="Paragraph" minOccurs="0" />
40
+ ${custom_elements_1.textParagraphElement}
41
+ <xs:element name="Markdown" type="Markdown" minOccurs="0" />
42
+ </xs:choice>
43
+ </xs:complexType>`;
44
+ exports.group = `<xs:complexType name="Group">
45
+ <xs:choice maxOccurs="unbounded">
46
+ <xs:element name="Table" type="Table" minOccurs="0" />
47
+ <xs:element name="Group" type="Group" minOccurs="0" />
48
+ <xs:element name="PageBreak" type="PageBreak" minOccurs="0" />
49
+ <xs:element name="Paragraph" type="Paragraph" minOccurs="0" />
50
+ ${custom_elements_1.textParagraphElement}
51
+ <xs:element name="style" type="GroupStyle" minOccurs="0" />
52
+ </xs:choice>
53
+ <xs:attribute name="keepTogether" type="xs:boolean" />
54
+ </xs:complexType>`;
55
+ exports.table = `<xs:complexType name="Table">
56
+ <xs:choice maxOccurs="unbounded">
57
+ <xs:element name="headerRows" type="headerRows" minOccurs="0" maxOccurs="1" />
58
+ <xs:element name="style" type="TableStyle" minOccurs="0" maxOccurs="1" />
59
+ <xs:sequence>
60
+ <xs:choice minOccurs="1">
61
+ <xs:element name="TableRow" type="TableRow" maxOccurs="unbounded" />
62
+ ${custom_elements_1.textRowElement}
63
+ </xs:choice>
64
+ </xs:sequence>
65
+ </xs:choice>
66
+ <xs:attribute name="styleName" type="xs:string" >
67
+ <xs:annotation>
68
+ <xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name="..." /> \\</StyleNames> \\</AbstractDoc></xs:documentation>
69
+ </xs:annotation>
70
+ </xs:attribute>
71
+ <xs:attribute name="columnWidths" type="xs:string" use="required">
72
+ <xs:annotation>
73
+ <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>
74
+ </xs:annotation>
75
+ </xs:attribute>
76
+ </xs:complexType>`;
77
+ exports.headerRows = `<xs:complexType name="headerRows">
78
+ <xs:sequence>
79
+ <xs:choice minOccurs="1" maxOccurs="unbounded">
80
+ <xs:element name="TableRow" type="TableRow"/>
81
+ ${custom_elements_1.textRowElement}
82
+ </xs:choice>
83
+ </xs:sequence>
84
+ </xs:complexType>`;
85
+ exports.tableRow = `<xs:complexType name="TableRow">
86
+ <xs:choice maxOccurs="unbounded">
87
+ <xs:element name="TableCell" type="TableCell" minOccurs="0" maxOccurs="unbounded" />
88
+ ${custom_elements_1.textCellElement}
89
+ </xs:choice>
90
+ </xs:complexType>`;
91
+ exports.tableCell = `<xs:complexType name="TableCell">
92
+ <xs:choice maxOccurs="unbounded">
93
+ <xs:element name="style" type="TableCellStyle" minOccurs="0" maxOccurs="1" />
94
+ <xs:element name="Table" type="Table" minOccurs="0" maxOccurs="unbounded" />
95
+ <xs:element name="Group" type="Group" minOccurs="0" maxOccurs="unbounded" />
96
+ <xs:element name="PageBreak" type="PageBreak" minOccurs="0" maxOccurs="unbounded" />
97
+ <xs:element name="Paragraph" type="Paragraph" minOccurs="0" maxOccurs="unbounded" />
98
+ ${custom_elements_1.textParagraphElement}
99
+ <xs:element name="Markdown" type="Markdown" minOccurs="0" maxOccurs="unbounded" />
100
+ </xs:choice>
101
+ <xs:attribute name="rowSpan" type="xs:integer" />
102
+ <xs:attribute name="columnSpan" type="xs:integer" />
103
+ <xs:attribute name="styleName" type="xs:string" >
104
+ <xs:annotation>
105
+ <xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name="..." /> \\</StyleNames> \\</AbstractDoc></xs:documentation>
106
+ </xs:annotation>
107
+ </xs:attribute>
108
+ </xs:complexType>`;
109
+ exports.markdown = `<xs:complexType name="Markdown">
110
+ <xs:attribute name="keepTogetherSections" type="xs:boolean" />
111
+ <xs:attribute name="text" type="xs:string" />
112
+ </xs:complexType>`;
113
+ exports.paragraph = `<xs:complexType name="Paragraph">
114
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
115
+ <xs:element name="TextRun" type="TextRun" minOccurs="0" maxOccurs="unbounded"></xs:element>
116
+ <xs:element name="TextField" type="TextField" minOccurs="0" maxOccurs="1"></xs:element>
117
+ <xs:element name="Image" type="Image" minOccurs="0" maxOccurs="unbounded"></xs:element>
118
+ <xs:element name="HyperLink" type="HyperLink" minOccurs="0" maxOccurs="unbounded"></xs:element>
119
+ <xs:element name="LinkTarget" type="LinkTarget" minOccurs="0" maxOccurs="unbounded"></xs:element>
120
+ <xs:element name="TocSeperator" type="TocSeperator" minOccurs="0" maxOccurs="unbounded"></xs:element>
121
+ <xs:element name="style" type="ParagraphStyle" minOccurs="0" maxOccurs="1"></xs:element>
122
+ </xs:choice>
123
+ <xs:attribute name="styleName" type="xs:string" >
124
+ <xs:annotation>
125
+ <xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name="..." /> \\</StyleNames> \\</AbstractDoc></xs:documentation>
126
+ </xs:annotation>
127
+ </xs:attribute>
128
+ </xs:complexType>`;
129
+ exports.hyperLink = `<xs:complexType name="HyperLink">
130
+ <xs:choice>
131
+ <xs:element name="style" type="TextStyle" minOccurs="0"/>
132
+ </xs:choice>
133
+ <xs:attribute name="styleName" type="xs:string" >
134
+ <xs:annotation>
135
+ <xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name="..." /> \\</StyleNames> \\</AbstractDoc></xs:documentation>
136
+ </xs:annotation>
137
+ </xs:attribute>
138
+ <xs:attribute name="target" type="xs:string" />
139
+ <xs:attribute name="text" type="xs:string" />
140
+ </xs:complexType>`;
141
+ exports.tocSeparator = `<xs:complexType name="TocSeperator">
142
+ <xs:attribute name="width" type="xs:decimal" />
143
+ </xs:complexType>`;
144
+ exports.linkTarget = `<xs:complexType name="LinkTarget">
145
+ <xs:attribute name="name" type="xs:string" />
146
+ </xs:complexType>`;
147
+ exports.textRun = `<xs:complexType name="TextRun">
148
+ <xs:choice minOccurs="0" maxOccurs="1">
149
+ <xs:element name="style" type="TextStyle" />
150
+ </xs:choice>
151
+ <xs:attribute name="styleName" type="xs:string" >
152
+ <xs:annotation>
153
+ <xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name="..." /> \\</StyleNames> \\</AbstractDoc></xs:documentation>
154
+ </xs:annotation>
155
+ </xs:attribute>
156
+ <xs:attribute name="target" type="xs:string" />
157
+ <xs:attribute name="text" type="xs:string" use="required" />
158
+ </xs:complexType>`;
159
+ exports.textField = `<xs:complexType name="TextField">
160
+ <xs:sequence>
161
+ <xs:element name="style" type="TextStyle" />
162
+ </xs:sequence>
163
+ <xs:attribute name="styleName" type="xs:string">
164
+ <xs:annotation>
165
+ <xs:documentation>Refrence to a TextStyle that is defined in \\<AbstractDoc> \\<StyleNames> \\<StyleName name="..." /> \\</StyleNames> \\</AbstractDoc></xs:documentation>
166
+ </xs:annotation>
167
+ </xs:attribute>
168
+ <xs:attribute name="fieldType">
169
+ <xs:simpleType>
170
+ <xs:restriction base="xs:string">
171
+ <xs:enumeration value="Date" />
172
+ <xs:enumeration value="PageNumber" />
173
+ <xs:enumeration value="TotalPages" />
174
+ <xs:enumeration value="PageNumberOf" />
175
+ </xs:restriction>
176
+ </xs:simpleType>
177
+ </xs:attribute>
178
+ <xs:attribute name="target" type="xs:string" />
179
+ <xs:attribute name="text" type="xs:string" />
180
+ </xs:complexType>`;
181
+ exports.image = `<xs:complexType name="Image">
182
+ <xs:attribute name="src" type="xs:string" use="required" />
183
+ <xs:attribute name="width" type="xs:decimal" use="required" />
184
+ <xs:attribute name="height" type="xs:decimal" use="required" />
185
+ </xs:complexType>`;
186
+ exports.pageBreak = `<xs:complexType name="PageBreak" />`;
187
+ //# sourceMappingURL=elements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elements.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/elements.ts"],"names":[],"mappings":";;;AAAA,uDAA0F;AAE7E,QAAA,WAAW,GAAG;;;;;;;cAOb,CAAC;AAEF,QAAA,OAAO,GAAG;;;;;;IAMnB,sCAAoB;;;;kBAIN,CAAC;AAEN,QAAA,IAAI,GAAG;;;;;;;;;kBASF,CAAC;AAEN,QAAA,cAAc,GAAG;;;;;;IAM1B,sCAAoB;;;kBAGN,CAAC;AAEN,QAAA,KAAK,GAAG;;;;;;IAMjB,sCAAoB;;;;kBAIN,CAAC;AAEN,QAAA,KAAK,GAAG;;;;;;;MAOf,gCAAc;;;;;;;;;;;;;;kBAcF,CAAC;AAEN,QAAA,UAAU,GAAG;;;;KAIrB,gCAAc;;;kBAGD,CAAC;AAEN,QAAA,QAAQ,GAAG;;;IAGpB,iCAAe;;kBAED,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;IAOrB,sCAAoB;;;;;;;;;;kBAUN,CAAC;AAEN,QAAA,QAAQ,GAAG;;;kBAGN,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;kBAeP,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;kBAWP,CAAC;AAEN,QAAA,YAAY,GAAG;;kBAEV,CAAC;AAEN,QAAA,UAAU,GAAG;;kBAER,CAAC;AAEN,QAAA,OAAO,GAAG;;;;;;;;;;;kBAWL,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;kBAqBP,CAAC;AAEN,QAAA,KAAK,GAAG;;;;kBAIH,CAAC;AAEN,QAAA,SAAS,GAAG,qCAAqC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./xsd-template";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./xsd-template"), exports);
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA+B"}
@@ -0,0 +1,11 @@
1
+ export declare const StyleNames = "<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>";
2
+ export declare const StyleName = "<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>";
3
+ export declare const groupStyle = "<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>";
4
+ export declare const tableCellStyle = "<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>";
5
+ export declare const tableStyle = "<xs:complexType name=\"TableStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Table style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"cellStyle\" type=\"TableCellStyle\" minOccurs=\"0\" maxOccurs=\"1\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Left\" | \"Center\" | \"Right\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Left\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"Right\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>";
6
+ export declare const paragraphStyle = "<xs:complexType name=\"ParagraphStyle\">\n\t<xs:annotation>\n\t\t<xs:documentation>Paragraph style</xs:documentation>\n\t</xs:annotation>\n\t<xs:sequence>\n\t\t<xs:element name=\"textStyle\" type=\"TextStyle\" minOccurs=\"0\" />\n\t</xs:sequence>\n\t<xs:attribute name=\"position\" type=\"Position\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"margins\" type=\"xs:string\" >\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Margin \"top right bottom left\"</xs:documentation>\n\t\t</xs:annotation>\n\t</xs:attribute>\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:annotation>\n\t\t\t<xs:documentation>Alignment possible values \"Start\" | \"Center\" | \"End\" | \"Justify\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Start\" />\n\t\t\t\t<xs:enumeration value=\"Center\" />\n\t\t\t\t<xs:enumeration value=\"End\" />\n\t\t\t\t<xs:enumeration value=\"Justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>";
7
+ 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=\"verticalPosition\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"indent\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"color\" type=\"xs:string\" />\n\t<xs:attribute name=\"fontFamily\" type=\"xs:string\" />\n\t<xs:attribute name=\"alignment\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"left\" />\n\t\t\t\t<xs:enumeration value=\"center\" />\n\t\t\t\t<xs:enumeration value=\"right\" />\n\t\t\t\t<xs:enumeration value=\"justify\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"baseline\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"top\" />\n\t\t\t\t<xs:enumeration value=\"bottom\" />\n\t\t\t\t<xs:enumeration value=\"middle\" />\n\t\t\t\t<xs:enumeration value=\"alphabetic\" />\n\t\t\t\t<xs:enumeration value=\"hanging\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n</xs:complexType>";
8
+ export declare const masterPageStyle = "<xs:complexType name=\"MasterPageStyle\">\n\t<xs:all>\n\t\t<xs:element name=\"headerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"footerMargins\" type=\"LayoutFoundation\" />\n\t\t<xs:element name=\"contentMargins\" type=\"LayoutFoundation\" />\n\t</xs:all>\n\t<xs:attribute name=\"paperSize\" use=\"required\">\n\t\t<xs:simpleType>\n\t\t<xs:annotation>\n\t\t<xs:documentation>PaperSize possible values \"A4\" | \"Letter\" </xs:documentation>\n\t\t</xs:annotation>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"A4\" />\n\t\t\t\t<xs:enumeration value=\"Letter\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"orientation\">\n\t\t<xs:simpleType>\n\t\t\t<xs:restriction base=\"xs:string\">\n\t\t\t\t<xs:enumeration value=\"Portrait\" />\n\t\t\t\t<xs:enumeration value=\"Landscape\" />\n\t\t\t</xs:restriction>\n\t\t</xs:simpleType>\n\t</xs:attribute>\n\t<xs:attribute name=\"noTopBottomMargin\" type=\"xs:boolean\" />\n</xs:complexType>";
9
+ export declare const position = "<xs:simpleType name=\"Position\">\n\t<xs:annotation>\n\t<xs:documentation>Alignment possible values \"absolute\" | \"relative\" </xs:documentation>\n\t</xs:annotation>\n\t<xs:restriction base=\"xs:string\">\n\t\t<xs:enumeration value=\"absolute\" />\n\t\t<xs:enumeration value=\"relative\" />\n\t</xs:restriction>\n</xs:simpleType>";
10
+ export declare const layoutFoundation = "<xs:complexType name=\"LayoutFoundation\">\n\t<xs:attribute name=\"top\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"bottom\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"left\" type=\"xs:decimal\" />\n\t<xs:attribute name=\"right\" type=\"xs:decimal\" />\n</xs:complexType>";
11
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,8KAIL,CAAC;AAEnB,eAAO,MAAM,SAAS,+gGAoEJ,CAAC;AAEnB,eAAO,MAAM,UAAU,kjBAcL,CAAC;AAEnB,eAAO,MAAM,cAAc,0oDA0CT,CAAC;AAEnB,eAAO,MAAM,UAAU,mnCA6BL,CAAC;AAEnB,eAAO,MAAM,cAAc,gqCA8BT,CAAC;AAEnB,eAAO,MAAM,SAAS,0qDAuCJ,CAAC;AAEnB,eAAO,MAAM,eAAe,ugCA0BV,CAAC;AAEnB,eAAO,MAAM,QAAQ,gVAQJ,CAAC;AAElB,eAAO,MAAM,gBAAgB,4RAKX,CAAC"}
@@ -0,0 +1,279 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.layoutFoundation = exports.position = exports.masterPageStyle = exports.textStyle = exports.paragraphStyle = exports.tableStyle = exports.tableCellStyle = exports.groupStyle = exports.StyleName = exports.StyleNames = void 0;
4
+ exports.StyleNames = `<xs:complexType name="StyleNames">
5
+ <xs:sequence>
6
+ <xs:element name="StyleName" minOccurs="0" maxOccurs="unbounded" />
7
+ </xs:sequence>
8
+ </xs:complexType>`;
9
+ exports.StyleName = `<xs:complexType name="StyleName">
10
+ <xs:attribute name="name" type="xs:string" use="required" />
11
+ <xs:attribute name="type" use="required">
12
+ <xs:annotation>
13
+ <xs:documentation>The type of style used. One of: "GroupStyle", "TableStyle", "TableCellStyle", "ParagraphStyle", "TextStyle", </xs:documentation>
14
+ </xs:annotation>
15
+ <xs:simpleType>
16
+ <xs:restriction base="xs:string">
17
+ <xs:enumeration value="GroupStyle" />
18
+ <xs:enumeration value="TableStyle" />
19
+ <xs:enumeration value="TableCellStyle" />
20
+ <xs:enumeration value="ParagraphStyle" />
21
+ <xs:enumeration value="TextStyle" />
22
+ </xs:restriction>
23
+ </xs:simpleType>
24
+ </xs:attribute>
25
+ <xs:attribute name="margins" type="xs:string" />
26
+ <xs:attribute name="position" type="Position"/>
27
+ <xs:attribute name="background" type="xs:string" />
28
+ <xs:attribute name="border" type="xs:string" />
29
+ <xs:attribute name="borders" type="xs:string" />
30
+ <xs:attribute name="borderColor" type="xs:string" />
31
+ <xs:attribute name="borderColors" type="xs:string" />
32
+ <xs:attribute name="padding" type="xs:string" />
33
+ <xs:attribute name="verticalAlignment">
34
+ <xs:simpleType>
35
+ <xs:restriction base="xs:string">
36
+ <xs:enumeration value="Top" />
37
+ <xs:enumeration value="Middle" />
38
+ <xs:enumeration value="Bottom" />
39
+ </xs:restriction>
40
+ </xs:simpleType>
41
+ </xs:attribute>
42
+ <xs:attribute name="underline" type="xs:boolean" />
43
+ <xs:attribute name="superScript" type="xs:boolean" />
44
+ <xs:attribute name="subScript" type="xs:boolean" />
45
+ <xs:attribute name="italic" type="xs:boolean" />
46
+ <xs:attribute name="lineBreak" type="xs:boolean" />
47
+ <xs:attribute name="mediumBold" type="xs:boolean" />
48
+ <xs:attribute name="bold" type="xs:boolean" />
49
+ <xs:attribute name="fontScale" type="xs:decimal" />
50
+ <xs:attribute name="fontSize" type="xs:decimal" />
51
+ <xs:attribute name="lineGap" type="xs:decimal" />
52
+ <xs:attribute name="verticalPosition" type="xs:decimal" />
53
+ <xs:attribute name="indent" type="xs:decimal" />
54
+ <xs:attribute name="color" type="xs:string" />
55
+ <xs:attribute name="fontFamily" type="xs:string" />
56
+ <xs:attribute name="alignment">
57
+ <xs:simpleType>
58
+ <xs:restriction base="xs:string">
59
+ <xs:enumeration value="left" />
60
+ <xs:enumeration value="center" />
61
+ <xs:enumeration value="right" />
62
+ <xs:enumeration value="justify" />
63
+ </xs:restriction>
64
+ </xs:simpleType>
65
+ </xs:attribute>
66
+ <xs:attribute name="baseline">
67
+ <xs:simpleType>
68
+ <xs:restriction base="xs:string">
69
+ <xs:enumeration value="top" />
70
+ <xs:enumeration value="bottom" />
71
+ <xs:enumeration value="middle" />
72
+ <xs:enumeration value="alphabetic" />
73
+ <xs:enumeration value="hanging" />
74
+ </xs:restriction>
75
+ </xs:simpleType>
76
+ </xs:attribute>
77
+ </xs:complexType>`;
78
+ exports.groupStyle = `<xs:complexType name="GroupStyle">
79
+ <xs:annotation>
80
+ <xs:documentation>Group style</xs:documentation>
81
+ </xs:annotation>
82
+ <xs:attribute name="position" type="Position">
83
+ <xs:annotation>
84
+ <xs:documentation>Alignment possible values "absolute" | "relative" </xs:documentation>
85
+ </xs:annotation>
86
+ </xs:attribute>
87
+ <xs:attribute name="margins" type="xs:string" >
88
+ <xs:annotation>
89
+ <xs:documentation>Margin "top right bottom left"</xs:documentation>
90
+ </xs:annotation>
91
+ </xs:attribute>
92
+ </xs:complexType>`;
93
+ exports.tableCellStyle = `<xs:complexType name="TableCellStyle">
94
+ <xs:annotation>
95
+ <xs:documentation>Table cell style</xs:documentation>
96
+ </xs:annotation>
97
+ <xs:attribute name="background" type="xs:string" />
98
+ <xs:attribute name="border" type="xs:string" >
99
+ <xs:annotation>
100
+ <xs:documentation>Border "top right bottom left"</xs:documentation>
101
+ </xs:annotation>
102
+ </xs:attribute>
103
+ <xs:attribute name="borders" type="xs:string" >
104
+ <xs:annotation>
105
+ <xs:documentation>Border "top right bottom left"</xs:documentation>
106
+ </xs:annotation>
107
+ </xs:attribute>
108
+ <xs:attribute name="borderColor" type="xs:string" >
109
+ <xs:annotation>
110
+ <xs:documentation>Bordercolor "top right bottom left"</xs:documentation>
111
+ </xs:annotation>
112
+ </xs:attribute>
113
+ <xs:attribute name="borderColors" type="xs:string" >
114
+ <xs:annotation>
115
+ <xs:documentation>Bordercolor "top right bottom left"</xs:documentation>
116
+ </xs:annotation>
117
+ </xs:attribute>
118
+ <xs:attribute name="padding" type="xs:string" >
119
+ <xs:annotation>
120
+ <xs:documentation>Padding "top right bottom left"</xs:documentation>
121
+ </xs:annotation>
122
+ </xs:attribute>
123
+ <xs:attribute name="verticalAlignment">
124
+ <xs:annotation>
125
+ <xs:documentation>Vertical alignment possible values "Top" | "Middle" | "Bottom" </xs:documentation>
126
+ </xs:annotation>
127
+ <xs:simpleType>
128
+ <xs:restriction base="xs:string">
129
+ <xs:enumeration value="Top" />
130
+ <xs:enumeration value="Middle" />
131
+ <xs:enumeration value="Bottom" />
132
+ </xs:restriction>
133
+ </xs:simpleType>
134
+ </xs:attribute>
135
+ </xs:complexType>`;
136
+ exports.tableStyle = `<xs:complexType name="TableStyle">
137
+ <xs:annotation>
138
+ <xs:documentation>Table style</xs:documentation>
139
+ </xs:annotation>
140
+ <xs:sequence>
141
+ <xs:element name="cellStyle" type="TableCellStyle" minOccurs="0" maxOccurs="1" />
142
+ </xs:sequence>
143
+ <xs:attribute name="position" type="Position">
144
+ <xs:annotation>
145
+ <xs:documentation>Alignment possible values "absolute" | "relative" </xs:documentation>
146
+ </xs:annotation>
147
+ </xs:attribute>
148
+ <xs:attribute name="margins" type="xs:string" >
149
+ <xs:annotation>
150
+ <xs:documentation>Margin "top right bottom left"</xs:documentation>
151
+ </xs:annotation>
152
+ </xs:attribute>
153
+ <xs:attribute name="alignment">
154
+ <xs:annotation>
155
+ <xs:documentation>Alignment possible values "Left" | "Center" | "Right" </xs:documentation>
156
+ </xs:annotation>
157
+ <xs:simpleType>
158
+ <xs:restriction base="xs:string">
159
+ <xs:enumeration value="Left" />
160
+ <xs:enumeration value="Center" />
161
+ <xs:enumeration value="Right" />
162
+ </xs:restriction>
163
+ </xs:simpleType>
164
+ </xs:attribute>
165
+ </xs:complexType>`;
166
+ exports.paragraphStyle = `<xs:complexType name="ParagraphStyle">
167
+ <xs:annotation>
168
+ <xs:documentation>Paragraph style</xs:documentation>
169
+ </xs:annotation>
170
+ <xs:sequence>
171
+ <xs:element name="textStyle" type="TextStyle" minOccurs="0" />
172
+ </xs:sequence>
173
+ <xs:attribute name="position" type="Position">
174
+ <xs:annotation>
175
+ <xs:documentation>Alignment possible values "absolute" | "relative" </xs:documentation>
176
+ </xs:annotation>
177
+ </xs:attribute>
178
+ <xs:attribute name="margins" type="xs:string" >
179
+ <xs:annotation>
180
+ <xs:documentation>Margin "top right bottom left"</xs:documentation>
181
+ </xs:annotation>
182
+ </xs:attribute>
183
+ <xs:attribute name="alignment">
184
+ <xs:annotation>
185
+ <xs:documentation>Alignment possible values "Start" | "Center" | "End" | "Justify" </xs:documentation>
186
+ </xs:annotation>
187
+ <xs:simpleType>
188
+ <xs:restriction base="xs:string">
189
+ <xs:enumeration value="Start" />
190
+ <xs:enumeration value="Center" />
191
+ <xs:enumeration value="End" />
192
+ <xs:enumeration value="Justify" />
193
+ </xs:restriction>
194
+ </xs:simpleType>
195
+ </xs:attribute>
196
+ </xs:complexType>`;
197
+ exports.textStyle = `<xs:complexType name="TextStyle">
198
+ <xs:annotation>
199
+ <xs:documentation>Text style</xs:documentation>
200
+ </xs:annotation>
201
+ <xs:attribute name="underline" type="xs:boolean" />
202
+ <xs:attribute name="superScript" type="xs:boolean" />
203
+ <xs:attribute name="subScript" type="xs:boolean" />
204
+ <xs:attribute name="italic" type="xs:boolean" />
205
+ <xs:attribute name="lineBreak" type="xs:boolean" />
206
+ <xs:attribute name="mediumBold" type="xs:boolean" />
207
+ <xs:attribute name="bold" type="xs:boolean" />
208
+ <xs:attribute name="fontScale" type="xs:decimal" />
209
+ <xs:attribute name="fontSize" type="xs:decimal" />
210
+ <xs:attribute name="lineGap" type="xs:decimal" />
211
+ <xs:attribute name="verticalPosition" type="xs:decimal" />
212
+ <xs:attribute name="indent" type="xs:decimal" />
213
+ <xs:attribute name="color" type="xs:string" />
214
+ <xs:attribute name="fontFamily" type="xs:string" />
215
+ <xs:attribute name="alignment">
216
+ <xs:simpleType>
217
+ <xs:restriction base="xs:string">
218
+ <xs:enumeration value="left" />
219
+ <xs:enumeration value="center" />
220
+ <xs:enumeration value="right" />
221
+ <xs:enumeration value="justify" />
222
+ </xs:restriction>
223
+ </xs:simpleType>
224
+ </xs:attribute>
225
+ <xs:attribute name="baseline">
226
+ <xs:simpleType>
227
+ <xs:restriction base="xs:string">
228
+ <xs:enumeration value="top" />
229
+ <xs:enumeration value="bottom" />
230
+ <xs:enumeration value="middle" />
231
+ <xs:enumeration value="alphabetic" />
232
+ <xs:enumeration value="hanging" />
233
+ </xs:restriction>
234
+ </xs:simpleType>
235
+ </xs:attribute>
236
+ </xs:complexType>`;
237
+ exports.masterPageStyle = `<xs:complexType name="MasterPageStyle">
238
+ <xs:all>
239
+ <xs:element name="headerMargins" type="LayoutFoundation" />
240
+ <xs:element name="footerMargins" type="LayoutFoundation" />
241
+ <xs:element name="contentMargins" type="LayoutFoundation" />
242
+ </xs:all>
243
+ <xs:attribute name="paperSize" use="required">
244
+ <xs:simpleType>
245
+ <xs:annotation>
246
+ <xs:documentation>PaperSize possible values "A4" | "Letter" </xs:documentation>
247
+ </xs:annotation>
248
+ <xs:restriction base="xs:string">
249
+ <xs:enumeration value="A4" />
250
+ <xs:enumeration value="Letter" />
251
+ </xs:restriction>
252
+ </xs:simpleType>
253
+ </xs:attribute>
254
+ <xs:attribute name="orientation">
255
+ <xs:simpleType>
256
+ <xs:restriction base="xs:string">
257
+ <xs:enumeration value="Portrait" />
258
+ <xs:enumeration value="Landscape" />
259
+ </xs:restriction>
260
+ </xs:simpleType>
261
+ </xs:attribute>
262
+ <xs:attribute name="noTopBottomMargin" type="xs:boolean" />
263
+ </xs:complexType>`;
264
+ exports.position = `<xs:simpleType name="Position">
265
+ <xs:annotation>
266
+ <xs:documentation>Alignment possible values "absolute" | "relative" </xs:documentation>
267
+ </xs:annotation>
268
+ <xs:restriction base="xs:string">
269
+ <xs:enumeration value="absolute" />
270
+ <xs:enumeration value="relative" />
271
+ </xs:restriction>
272
+ </xs:simpleType>`;
273
+ exports.layoutFoundation = `<xs:complexType name="LayoutFoundation">
274
+ <xs:attribute name="top" type="xs:decimal" />
275
+ <xs:attribute name="bottom" type="xs:decimal" />
276
+ <xs:attribute name="left" type="xs:decimal" />
277
+ <xs:attribute name="right" type="xs:decimal" />
278
+ </xs:complexType>`;
279
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/styles.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;;;;kBAIR,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAoEP,CAAC;AAEN,QAAA,UAAU,GAAG;;;;;;;;;;;;;;kBAcR,CAAC;AAEN,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0CZ,CAAC;AAEN,QAAA,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6BR,CAAC;AAEN,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA8BZ,CAAC;AAEN,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAuCP,CAAC;AAEN,QAAA,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0Bb,CAAC;AAEN,QAAA,QAAQ,GAAG;;;;;;;;iBAQP,CAAC;AAEL,QAAA,gBAAgB,GAAG;;;;;kBAKd,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const xsd: string;
2
+ export declare const xsdPartial: string;
3
+ //# sourceMappingURL=xsd-template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xsd-template.d.ts","sourceRoot":"","sources":["../../../src/abstract-document-xml/xsd-template/xsd-template.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,GAAG,QAMH,CAAC;AAEd,eAAO,MAAM,UAAU,QASV,CAAC"}