docx 8.5.0 → 9.0.0

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 (515) hide show
  1. package/build/index.cjs +283 -153
  2. package/build/index.d.ts +2997 -5
  3. package/build/index.iife.js +283 -153
  4. package/build/index.mjs +283 -153
  5. package/build/index.umd.js +283 -153
  6. package/package.json +4 -4
  7. package/build/export/formatter.d.ts +0 -4
  8. package/build/export/formatter.spec.d.ts +0 -1
  9. package/build/export/index.d.ts +0 -1
  10. package/build/export/packer/image-replacer.d.ts +0 -5
  11. package/build/export/packer/image-replacer.spec.d.ts +0 -1
  12. package/build/export/packer/next-compiler.d.ts +0 -11
  13. package/build/export/packer/next-compiler.spec.d.ts +0 -1
  14. package/build/export/packer/numbering-replacer.d.ts +0 -4
  15. package/build/export/packer/packer.d.ts +0 -18
  16. package/build/export/packer/packer.spec.d.ts +0 -1
  17. package/build/file/app-properties/app-properties-attributes.d.ts +0 -10
  18. package/build/file/app-properties/app-properties.d.ts +0 -4
  19. package/build/file/border/border.d.ts +0 -39
  20. package/build/file/border/border.spec.d.ts +0 -1
  21. package/build/file/border/index.d.ts +0 -1
  22. package/build/file/checkbox/checkbox-symbol.d.ts +0 -4
  23. package/build/file/checkbox/checkbox-util.d.ts +0 -17
  24. package/build/file/checkbox/checkbox-util.spec.d.ts +0 -1
  25. package/build/file/checkbox/checkbox.d.ts +0 -8
  26. package/build/file/checkbox/checkbox.spec.d.ts +0 -1
  27. package/build/file/checkbox/index.d.ts +0 -3
  28. package/build/file/content-types/content-types-attributes.d.ts +0 -8
  29. package/build/file/content-types/content-types.d.ts +0 -6
  30. package/build/file/content-types/content-types.spec.d.ts +0 -1
  31. package/build/file/content-types/default/default-attributes.d.ts +0 -10
  32. package/build/file/content-types/default/default.d.ts +0 -4
  33. package/build/file/content-types/override/override-attributes.d.ts +0 -10
  34. package/build/file/content-types/override/override.d.ts +0 -4
  35. package/build/file/core-properties/index.d.ts +0 -1
  36. package/build/file/core-properties/properties.d.ts +0 -43
  37. package/build/file/core-properties/properties.spec.d.ts +0 -1
  38. package/build/file/custom-properties/custom-properties-attributes.d.ts +0 -10
  39. package/build/file/custom-properties/custom-properties.d.ts +0 -9
  40. package/build/file/custom-properties/custom-properties.spec.d.ts +0 -1
  41. package/build/file/custom-properties/custom-property-attributes.d.ts +0 -12
  42. package/build/file/custom-properties/custom-property.d.ts +0 -11
  43. package/build/file/custom-properties/index.d.ts +0 -2
  44. package/build/file/document/body/body.d.ts +0 -10
  45. package/build/file/document/body/body.spec.d.ts +0 -1
  46. package/build/file/document/body/index.d.ts +0 -2
  47. package/build/file/document/body/section-properties/index.d.ts +0 -2
  48. package/build/file/document/body/section-properties/properties/column.d.ts +0 -10
  49. package/build/file/document/body/section-properties/properties/columns.d.ts +0 -13
  50. package/build/file/document/body/section-properties/properties/columns.spec.d.ts +0 -1
  51. package/build/file/document/body/section-properties/properties/doc-grid.d.ts +0 -22
  52. package/build/file/document/body/section-properties/properties/doc-grid.spec.d.ts +0 -1
  53. package/build/file/document/body/section-properties/properties/header-footer-reference.d.ts +0 -17
  54. package/build/file/document/body/section-properties/properties/header-footer-reference.spec.d.ts +0 -1
  55. package/build/file/document/body/section-properties/properties/index.d.ts +0 -12
  56. package/build/file/document/body/section-properties/properties/line-number.d.ts +0 -14
  57. package/build/file/document/body/section-properties/properties/page-borders.d.ts +0 -30
  58. package/build/file/document/body/section-properties/properties/page-borders.spec.d.ts +0 -1
  59. package/build/file/document/body/section-properties/properties/page-margin.d.ts +0 -14
  60. package/build/file/document/body/section-properties/properties/page-number.d.ts +0 -24
  61. package/build/file/document/body/section-properties/properties/page-size.d.ts +0 -14
  62. package/build/file/document/body/section-properties/properties/page-size.spec.d.ts +0 -1
  63. package/build/file/document/body/section-properties/properties/page-text-direction.d.ts +0 -8
  64. package/build/file/document/body/section-properties/properties/page-text-direction.spec.d.ts +0 -1
  65. package/build/file/document/body/section-properties/properties/section-type.d.ts +0 -18
  66. package/build/file/document/body/section-properties/properties/section-type.spec.d.ts +0 -1
  67. package/build/file/document/body/section-properties/section-properties.d.ts +0 -53
  68. package/build/file/document/body/section-properties/section-properties.spec.d.ts +0 -1
  69. package/build/file/document/document-attributes.d.ts +0 -85
  70. package/build/file/document/document-background/document-background.d.ts +0 -23
  71. package/build/file/document/document-background/document-background.spec.d.ts +0 -1
  72. package/build/file/document/document-background/index.d.ts +0 -1
  73. package/build/file/document/document.d.ts +0 -15
  74. package/build/file/document/document.spec.d.ts +0 -1
  75. package/build/file/document/index.d.ts +0 -4
  76. package/build/file/document-wrapper.d.ts +0 -17
  77. package/build/file/document-wrapper.spec.d.ts +0 -1
  78. package/build/file/drawing/anchor/anchor-attributes.d.ts +0 -24
  79. package/build/file/drawing/anchor/anchor.d.ts +0 -10
  80. package/build/file/drawing/anchor/anchor.spec.d.ts +0 -1
  81. package/build/file/drawing/anchor/index.d.ts +0 -2
  82. package/build/file/drawing/doc-properties/doc-properties-children.d.ts +0 -3
  83. package/build/file/drawing/doc-properties/doc-properties-children.spec.d.ts +0 -1
  84. package/build/file/drawing/doc-properties/doc-properties.d.ts +0 -11
  85. package/build/file/drawing/drawing.d.ts +0 -19
  86. package/build/file/drawing/drawing.spec.d.ts +0 -1
  87. package/build/file/drawing/effect-extent/effect-extent.d.ts +0 -8
  88. package/build/file/drawing/extent/extent-attributes.d.ts +0 -10
  89. package/build/file/drawing/extent/extent.d.ts +0 -5
  90. package/build/file/drawing/floating/align.d.ts +0 -5
  91. package/build/file/drawing/floating/align.spec.d.ts +0 -1
  92. package/build/file/drawing/floating/floating-position.d.ts +0 -49
  93. package/build/file/drawing/floating/horizontal-position.d.ts +0 -5
  94. package/build/file/drawing/floating/horizontal-position.spec.d.ts +0 -1
  95. package/build/file/drawing/floating/index.d.ts +0 -4
  96. package/build/file/drawing/floating/position-offset.d.ts +0 -4
  97. package/build/file/drawing/floating/position-offset.spec.d.ts +0 -1
  98. package/build/file/drawing/floating/simple-pos.d.ts +0 -4
  99. package/build/file/drawing/floating/simple-pos.spec.d.ts +0 -1
  100. package/build/file/drawing/floating/vertical-position.d.ts +0 -5
  101. package/build/file/drawing/floating/vertical-position.spec.d.ts +0 -1
  102. package/build/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-lock-attributes.d.ts +0 -10
  103. package/build/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-locks.d.ts +0 -4
  104. package/build/file/drawing/graphic-frame/graphic-frame-properties.d.ts +0 -4
  105. package/build/file/drawing/index.d.ts +0 -3
  106. package/build/file/drawing/inline/graphic/graphic-data/graphic-data-attribute.d.ts +0 -8
  107. package/build/file/drawing/inline/graphic/graphic-data/graphic-data.d.ts +0 -11
  108. package/build/file/drawing/inline/graphic/graphic-data/index.d.ts +0 -1
  109. package/build/file/drawing/inline/graphic/graphic-data/pic/blip/blip-fill.d.ts +0 -5
  110. package/build/file/drawing/inline/graphic/graphic-data/pic/blip/blip.d.ts +0 -5
  111. package/build/file/drawing/inline/graphic/graphic-data/pic/blip/source-rectangle.d.ts +0 -4
  112. package/build/file/drawing/inline/graphic/graphic-data/pic/blip/stretch.d.ts +0 -4
  113. package/build/file/drawing/inline/graphic/graphic-data/pic/index.d.ts +0 -1
  114. package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/child-non-visual-pic-properties.d.ts +0 -4
  115. package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/pic-locks/pic-locks-attributes.d.ts +0 -10
  116. package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/pic-locks/pic-locks.d.ts +0 -4
  117. package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-pic-properties.d.ts +0 -4
  118. package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties-attributes.d.ts +0 -12
  119. package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties.d.ts +0 -5
  120. package/build/file/drawing/inline/graphic/graphic-data/pic/pic-attributes.d.ts +0 -8
  121. package/build/file/drawing/inline/graphic/graphic-data/pic/pic.d.ts +0 -10
  122. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents-attributes.d.ts +0 -10
  123. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents.d.ts +0 -5
  124. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/form.d.ts +0 -17
  125. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/index.d.ts +0 -1
  126. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off-attributes.d.ts +0 -10
  127. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off.d.ts +0 -4
  128. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form.spec.d.ts +0 -1
  129. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.d.ts +0 -2
  130. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.spec.d.ts +0 -1
  131. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.d.ts +0 -42
  132. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.spec.d.ts +0 -1
  133. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/rgb-color.d.ts +0 -6
  134. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/scheme-color.d.ts +0 -25
  135. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.d.ts +0 -12
  136. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.spec.d.ts +0 -1
  137. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/adjustment-values/adjustment-values.d.ts +0 -4
  138. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry-attributes.d.ts +0 -8
  139. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry.d.ts +0 -4
  140. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties-attributes.d.ts +0 -8
  141. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties.d.ts +0 -10
  142. package/build/file/drawing/inline/graphic/graphic.d.ts +0 -11
  143. package/build/file/drawing/inline/graphic/index.d.ts +0 -1
  144. package/build/file/drawing/inline/index.d.ts +0 -1
  145. package/build/file/drawing/inline/inline.d.ts +0 -12
  146. package/build/file/drawing/inline/inline.spec.d.ts +0 -1
  147. package/build/file/drawing/text-wrap/index.d.ts +0 -5
  148. package/build/file/drawing/text-wrap/text-wrapping.d.ts +0 -18
  149. package/build/file/drawing/text-wrap/wrap-none.d.ts +0 -4
  150. package/build/file/drawing/text-wrap/wrap-square.d.ts +0 -6
  151. package/build/file/drawing/text-wrap/wrap-tight.d.ts +0 -5
  152. package/build/file/drawing/text-wrap/wrap-top-and-bottom.d.ts +0 -5
  153. package/build/file/file-child.d.ts +0 -4
  154. package/build/file/file.d.ts +0 -72
  155. package/build/file/file.spec.d.ts +0 -1
  156. package/build/file/fonts/create-regular-font.d.ts +0 -8
  157. package/build/file/fonts/font-table.d.ts +0 -10
  158. package/build/file/fonts/font-wrapper.d.ts +0 -16
  159. package/build/file/fonts/font.d.ts +0 -49
  160. package/build/file/fonts/font.spec.d.ts +0 -1
  161. package/build/file/fonts/index.d.ts +0 -1
  162. package/build/file/fonts/obfuscate-ttf-to-odttf.d.ts +0 -2
  163. package/build/file/fonts/obsfuscate-ttf-to-odtts.spec.d.ts +0 -1
  164. package/build/file/footer/footer-attributes.d.ts +0 -50
  165. package/build/file/footer/footer.d.ts +0 -9
  166. package/build/file/footer/footer.spec.d.ts +0 -1
  167. package/build/file/footer/index.d.ts +0 -1
  168. package/build/file/footer-wrapper.d.ts +0 -23
  169. package/build/file/footer-wrapper.spec.d.ts +0 -1
  170. package/build/file/footnotes/footnote/footnote-attributes.d.ts +0 -10
  171. package/build/file/footnotes/footnote/footnote.d.ts +0 -14
  172. package/build/file/footnotes/footnote/footnote.spec.d.ts +0 -1
  173. package/build/file/footnotes/footnote/index.d.ts +0 -1
  174. package/build/file/footnotes/footnote/run/continuation-seperator-run.d.ts +0 -4
  175. package/build/file/footnotes/footnote/run/continuation-seperator.d.ts +0 -4
  176. package/build/file/footnotes/footnote/run/footnote-ref-run.d.ts +0 -4
  177. package/build/file/footnotes/footnote/run/footnote-ref.d.ts +0 -4
  178. package/build/file/footnotes/footnote/run/index.d.ts +0 -1
  179. package/build/file/footnotes/footnote/run/reference-run.d.ts +0 -15
  180. package/build/file/footnotes/footnote/run/seperator-run.d.ts +0 -4
  181. package/build/file/footnotes/footnote/run/seperator.d.ts +0 -4
  182. package/build/file/footnotes/footnotes-attributes.d.ts +0 -40
  183. package/build/file/footnotes/footnotes.d.ts +0 -6
  184. package/build/file/footnotes/index.d.ts +0 -2
  185. package/build/file/footnotes-wrapper.d.ts +0 -10
  186. package/build/file/footnotes-wrapper.spec.d.ts +0 -1
  187. package/build/file/header/header-attributes.d.ts +0 -72
  188. package/build/file/header/header.d.ts +0 -9
  189. package/build/file/header/header.spec.d.ts +0 -1
  190. package/build/file/header/index.d.ts +0 -1
  191. package/build/file/header-wrapper.d.ts +0 -23
  192. package/build/file/header-wrapper.spec.d.ts +0 -1
  193. package/build/file/header.d.ts +0 -13
  194. package/build/file/index.d.ts +0 -21
  195. package/build/file/media/data.d.ts +0 -22
  196. package/build/file/media/index.d.ts +0 -2
  197. package/build/file/media/media.d.ts +0 -16
  198. package/build/file/media/media.spec.d.ts +0 -1
  199. package/build/file/numbering/abstract-numbering.d.ts +0 -6
  200. package/build/file/numbering/abstract-numbering.spec.d.ts +0 -1
  201. package/build/file/numbering/concrete-numbering.spec.d.ts +0 -1
  202. package/build/file/numbering/index.d.ts +0 -4
  203. package/build/file/numbering/level.d.ts +0 -96
  204. package/build/file/numbering/level.spec.d.ts +0 -1
  205. package/build/file/numbering/multi-level-type.d.ts +0 -4
  206. package/build/file/numbering/num.d.ts +0 -22
  207. package/build/file/numbering/numbering.d.ts +0 -21
  208. package/build/file/numbering/numbering.spec.d.ts +0 -1
  209. package/build/file/paragraph/formatting/alignment.d.ts +0 -26
  210. package/build/file/paragraph/formatting/alignment.spec.d.ts +0 -1
  211. package/build/file/paragraph/formatting/border.d.ts +0 -14
  212. package/build/file/paragraph/formatting/border.spec.d.ts +0 -1
  213. package/build/file/paragraph/formatting/break.d.ts +0 -11
  214. package/build/file/paragraph/formatting/break.spec.d.ts +0 -1
  215. package/build/file/paragraph/formatting/indent.d.ts +0 -13
  216. package/build/file/paragraph/formatting/indent.spec.d.ts +0 -1
  217. package/build/file/paragraph/formatting/index.d.ts +0 -8
  218. package/build/file/paragraph/formatting/spacing.d.ts +0 -18
  219. package/build/file/paragraph/formatting/spacing.spec.d.ts +0 -1
  220. package/build/file/paragraph/formatting/style.d.ts +0 -13
  221. package/build/file/paragraph/formatting/style.spec.d.ts +0 -1
  222. package/build/file/paragraph/formatting/tab-stop.d.ts +0 -44
  223. package/build/file/paragraph/formatting/tab-stop.spec.d.ts +0 -1
  224. package/build/file/paragraph/formatting/unordered-list.d.ts +0 -4
  225. package/build/file/paragraph/formatting/unordered-list.spec.d.ts +0 -1
  226. package/build/file/paragraph/formatting/word-wrap.d.ts +0 -11
  227. package/build/file/paragraph/formatting/word-wrap.spec.d.ts +0 -1
  228. package/build/file/paragraph/frame/frame-properties.d.ts +0 -55
  229. package/build/file/paragraph/frame/frame-properties.spec.d.ts +0 -1
  230. package/build/file/paragraph/frame/index.d.ts +0 -1
  231. package/build/file/paragraph/index.d.ts +0 -7
  232. package/build/file/paragraph/links/bookmark-attributes.d.ts +0 -17
  233. package/build/file/paragraph/links/bookmark.d.ts +0 -18
  234. package/build/file/paragraph/links/bookmark.spec.d.ts +0 -1
  235. package/build/file/paragraph/links/hyperlink-attributes.d.ts +0 -13
  236. package/build/file/paragraph/links/hyperlink.d.ts +0 -26
  237. package/build/file/paragraph/links/hyperlink.spec.d.ts +0 -1
  238. package/build/file/paragraph/links/index.d.ts +0 -4
  239. package/build/file/paragraph/links/outline-level.d.ts +0 -5
  240. package/build/file/paragraph/links/outline-level.spec.d.ts +0 -1
  241. package/build/file/paragraph/links/pageref-field-instruction.d.ts +0 -5
  242. package/build/file/paragraph/links/pageref-field-instruction.spec.d.ts +0 -1
  243. package/build/file/paragraph/links/pageref.d.ts +0 -8
  244. package/build/file/paragraph/links/pageref.spec.d.ts +0 -1
  245. package/build/file/paragraph/math/brackets/index.d.ts +0 -4
  246. package/build/file/paragraph/math/brackets/math-angled-brackets.d.ts +0 -7
  247. package/build/file/paragraph/math/brackets/math-angled-brackets.spec.d.ts +0 -1
  248. package/build/file/paragraph/math/brackets/math-beginning-character.d.ts +0 -4
  249. package/build/file/paragraph/math/brackets/math-beginning-character.spec.d.ts +0 -1
  250. package/build/file/paragraph/math/brackets/math-bracket-properties.d.ts +0 -7
  251. package/build/file/paragraph/math/brackets/math-bracket-properties.spec.d.ts +0 -1
  252. package/build/file/paragraph/math/brackets/math-curly-brackets.d.ts +0 -7
  253. package/build/file/paragraph/math/brackets/math-curly-brackets.spec.d.ts +0 -1
  254. package/build/file/paragraph/math/brackets/math-ending-char.d.ts +0 -4
  255. package/build/file/paragraph/math/brackets/math-ending-character.spec.d.ts +0 -1
  256. package/build/file/paragraph/math/brackets/math-round-brackets.d.ts +0 -7
  257. package/build/file/paragraph/math/brackets/math-round-brackets.spec.d.ts +0 -1
  258. package/build/file/paragraph/math/brackets/math-square-brackets.d.ts +0 -7
  259. package/build/file/paragraph/math/brackets/math-square-brackets.spec.d.ts +0 -1
  260. package/build/file/paragraph/math/fraction/index.d.ts +0 -3
  261. package/build/file/paragraph/math/fraction/math-denominator.d.ts +0 -5
  262. package/build/file/paragraph/math/fraction/math-denominator.spec.d.ts +0 -1
  263. package/build/file/paragraph/math/fraction/math-fraction.d.ts +0 -9
  264. package/build/file/paragraph/math/fraction/math-fraction.spec.d.ts +0 -1
  265. package/build/file/paragraph/math/fraction/math-numerator.d.ts +0 -5
  266. package/build/file/paragraph/math/fraction/math-numerator.spec.d.ts +0 -1
  267. package/build/file/paragraph/math/function/index.d.ts +0 -3
  268. package/build/file/paragraph/math/function/math-function-name.d.ts +0 -5
  269. package/build/file/paragraph/math/function/math-function-name.spec.d.ts +0 -1
  270. package/build/file/paragraph/math/function/math-function-properties.d.ts +0 -4
  271. package/build/file/paragraph/math/function/math-function-properties.spec.d.ts +0 -1
  272. package/build/file/paragraph/math/function/math-function.d.ts +0 -9
  273. package/build/file/paragraph/math/function/math-function.spec.d.ts +0 -1
  274. package/build/file/paragraph/math/index.d.ts +0 -9
  275. package/build/file/paragraph/math/math-component.d.ts +0 -9
  276. package/build/file/paragraph/math/math-run.d.ts +0 -4
  277. package/build/file/paragraph/math/math-run.spec.d.ts +0 -1
  278. package/build/file/paragraph/math/math-text.d.ts +0 -4
  279. package/build/file/paragraph/math/math-text.spec.d.ts +0 -1
  280. package/build/file/paragraph/math/math.d.ts +0 -8
  281. package/build/file/paragraph/math/math.spec.d.ts +0 -1
  282. package/build/file/paragraph/math/n-ary/index.d.ts +0 -8
  283. package/build/file/paragraph/math/n-ary/math-accent-character.d.ts +0 -4
  284. package/build/file/paragraph/math/n-ary/math-accent-character.spec.d.ts +0 -1
  285. package/build/file/paragraph/math/n-ary/math-base.d.ts +0 -5
  286. package/build/file/paragraph/math/n-ary/math-base.spec.d.ts +0 -1
  287. package/build/file/paragraph/math/n-ary/math-integral.d.ts +0 -10
  288. package/build/file/paragraph/math/n-ary/math-integral.spec.d.ts +0 -1
  289. package/build/file/paragraph/math/n-ary/math-limit-location.d.ts +0 -4
  290. package/build/file/paragraph/math/n-ary/math-limit-location.spec.d.ts +0 -1
  291. package/build/file/paragraph/math/n-ary/math-n-ary-properties.d.ts +0 -4
  292. package/build/file/paragraph/math/n-ary/math-n-ary-properties.spec.d.ts +0 -1
  293. package/build/file/paragraph/math/n-ary/math-sub-script-hide.d.ts +0 -4
  294. package/build/file/paragraph/math/n-ary/math-sub-script-hide.spec.d.ts +0 -1
  295. package/build/file/paragraph/math/n-ary/math-sub-script.d.ts +0 -5
  296. package/build/file/paragraph/math/n-ary/math-sub-script.spec.d.ts +0 -1
  297. package/build/file/paragraph/math/n-ary/math-sum.d.ts +0 -10
  298. package/build/file/paragraph/math/n-ary/math-sum.spec.d.ts +0 -1
  299. package/build/file/paragraph/math/n-ary/math-super-script-hide.d.ts +0 -4
  300. package/build/file/paragraph/math/n-ary/math-super-script-hide.spec.d.ts +0 -1
  301. package/build/file/paragraph/math/n-ary/math-super-script.d.ts +0 -5
  302. package/build/file/paragraph/math/n-ary/math-super-script.spec.d.ts +0 -1
  303. package/build/file/paragraph/math/radical/index.d.ts +0 -3
  304. package/build/file/paragraph/math/radical/math-degree-hide.d.ts +0 -4
  305. package/build/file/paragraph/math/radical/math-degree-hide.spec.d.ts +0 -1
  306. package/build/file/paragraph/math/radical/math-degree.d.ts +0 -5
  307. package/build/file/paragraph/math/radical/math-degree.spec.d.ts +0 -1
  308. package/build/file/paragraph/math/radical/math-radical-properties.d.ts +0 -4
  309. package/build/file/paragraph/math/radical/math-radical-properties.spec.d.ts +0 -1
  310. package/build/file/paragraph/math/radical/math-radical.d.ts +0 -9
  311. package/build/file/paragraph/math/radical/math-radical.spec.d.ts +0 -1
  312. package/build/file/paragraph/math/script/index.d.ts +0 -4
  313. package/build/file/paragraph/math/script/pre-sub-super-script/index.d.ts +0 -2
  314. package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.d.ts +0 -4
  315. package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.spec.d.ts +0 -1
  316. package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.d.ts +0 -10
  317. package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.spec.d.ts +0 -1
  318. package/build/file/paragraph/math/script/sub-script/index.d.ts +0 -2
  319. package/build/file/paragraph/math/script/sub-script/math-sub-script-function-properties.d.ts +0 -4
  320. package/build/file/paragraph/math/script/sub-script/math-sub-script-function-properties.spec.d.ts +0 -1
  321. package/build/file/paragraph/math/script/sub-script/math-sub-script-function.d.ts +0 -9
  322. package/build/file/paragraph/math/script/sub-script/math-sub-script-function.spec.d.ts +0 -1
  323. package/build/file/paragraph/math/script/sub-super-script/index.d.ts +0 -2
  324. package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.d.ts +0 -4
  325. package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.spec.d.ts +0 -1
  326. package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.d.ts +0 -10
  327. package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.spec.d.ts +0 -1
  328. package/build/file/paragraph/math/script/super-script/index.d.ts +0 -2
  329. package/build/file/paragraph/math/script/super-script/math-super-script-function-properties.d.ts +0 -4
  330. package/build/file/paragraph/math/script/super-script/math-super-script-function-properties.spec.d.ts +0 -1
  331. package/build/file/paragraph/math/script/super-script/math-super-script-function.d.ts +0 -9
  332. package/build/file/paragraph/math/script/super-script/math-super-script-function.spec.d.ts +0 -1
  333. package/build/file/paragraph/paragraph.d.ts +0 -22
  334. package/build/file/paragraph/paragraph.spec.d.ts +0 -1
  335. package/build/file/paragraph/properties.d.ts +0 -56
  336. package/build/file/paragraph/properties.spec.d.ts +0 -1
  337. package/build/file/paragraph/run/break.d.ts +0 -4
  338. package/build/file/paragraph/run/break.spec.d.ts +0 -1
  339. package/build/file/paragraph/run/comment-run.d.ts +0 -27
  340. package/build/file/paragraph/run/comment-run.spec.d.ts +0 -1
  341. package/build/file/paragraph/run/emphasis-mark.d.ts +0 -13
  342. package/build/file/paragraph/run/emphasis-mark.spec.d.ts +0 -1
  343. package/build/file/paragraph/run/empty-children.d.ts +0 -52
  344. package/build/file/paragraph/run/empty-children.spec.d.ts +0 -1
  345. package/build/file/paragraph/run/field.d.ts +0 -10
  346. package/build/file/paragraph/run/formatting.d.ts +0 -14
  347. package/build/file/paragraph/run/formatting.spec.d.ts +0 -1
  348. package/build/file/paragraph/run/image-run.d.ts +0 -21
  349. package/build/file/paragraph/run/image-run.spec.d.ts +0 -1
  350. package/build/file/paragraph/run/index.d.ts +0 -13
  351. package/build/file/paragraph/run/language.d.ts +0 -7
  352. package/build/file/paragraph/run/language.spec.d.ts +0 -1
  353. package/build/file/paragraph/run/page-number.d.ts +0 -13
  354. package/build/file/paragraph/run/page-number.spec.d.ts +0 -1
  355. package/build/file/paragraph/run/positional-tab.d.ts +0 -25
  356. package/build/file/paragraph/run/positional-tab.spec.d.ts +0 -1
  357. package/build/file/paragraph/run/properties.d.ts +0 -77
  358. package/build/file/paragraph/run/run-components/symbol.d.ts +0 -4
  359. package/build/file/paragraph/run/run-components/symbol.spec.d.ts +0 -1
  360. package/build/file/paragraph/run/run-components/text.d.ts +0 -10
  361. package/build/file/paragraph/run/run-components/text.spec.d.ts +0 -1
  362. package/build/file/paragraph/run/run-fonts.d.ts +0 -12
  363. package/build/file/paragraph/run/run-fonts.spec.d.ts +0 -1
  364. package/build/file/paragraph/run/run.d.ts +0 -23
  365. package/build/file/paragraph/run/run.spec.d.ts +0 -1
  366. package/build/file/paragraph/run/script.d.ts +0 -10
  367. package/build/file/paragraph/run/script.spec.d.ts +0 -1
  368. package/build/file/paragraph/run/sequential-identifier-instruction.d.ts +0 -4
  369. package/build/file/paragraph/run/sequential-identifier.d.ts +0 -4
  370. package/build/file/paragraph/run/sequential-identifier.spec.d.ts +0 -1
  371. package/build/file/paragraph/run/simple-field.d.ts +0 -7
  372. package/build/file/paragraph/run/simple-field.spec.d.ts +0 -1
  373. package/build/file/paragraph/run/symbol-run.d.ts +0 -8
  374. package/build/file/paragraph/run/symbol-run.spec.d.ts +0 -1
  375. package/build/file/paragraph/run/text-attributes.d.ts +0 -9
  376. package/build/file/paragraph/run/text-run.d.ts +0 -4
  377. package/build/file/paragraph/run/text-run.spec.d.ts +0 -1
  378. package/build/file/paragraph/run/underline.d.ts +0 -24
  379. package/build/file/paragraph/run/underline.spec.d.ts +0 -1
  380. package/build/file/relationships/attributes.d.ts +0 -8
  381. package/build/file/relationships/index.d.ts +0 -1
  382. package/build/file/relationships/relationship/relationship-attributes.d.ts +0 -14
  383. package/build/file/relationships/relationship/relationship.d.ts +0 -8
  384. package/build/file/relationships/relationships.d.ts +0 -7
  385. package/build/file/relationships/relationships.spec.d.ts +0 -1
  386. package/build/file/settings/compatibility-setting/compatibility-setting.d.ts +0 -15
  387. package/build/file/settings/compatibility-setting/compatibility-setting.spec.d.ts +0 -1
  388. package/build/file/settings/compatibility.d.ts +0 -72
  389. package/build/file/settings/compatibility.spec.d.ts +0 -1
  390. package/build/file/settings/index.d.ts +0 -1
  391. package/build/file/settings/settings.d.ts +0 -52
  392. package/build/file/settings/settings.spec.d.ts +0 -1
  393. package/build/file/shading/index.d.ts +0 -1
  394. package/build/file/shading/shading.d.ts +0 -48
  395. package/build/file/shading/shading.spec.d.ts +0 -1
  396. package/build/file/shared/alignment.d.ts +0 -14
  397. package/build/file/shared/index.d.ts +0 -3
  398. package/build/file/shared/number-format.d.ts +0 -64
  399. package/build/file/shared/space-type.d.ts +0 -4
  400. package/build/file/styles/defaults/document-defaults.d.ts +0 -12
  401. package/build/file/styles/defaults/document-defaults.spec.d.ts +0 -1
  402. package/build/file/styles/defaults/index.d.ts +0 -3
  403. package/build/file/styles/defaults/paragraph-properties.d.ts +0 -5
  404. package/build/file/styles/defaults/run-properties.d.ts +0 -5
  405. package/build/file/styles/external-styles-factory.d.ts +0 -4
  406. package/build/file/styles/external-styles-factory.spec.d.ts +0 -1
  407. package/build/file/styles/factory.d.ts +0 -22
  408. package/build/file/styles/index.d.ts +0 -4
  409. package/build/file/styles/latent-styles/exceptions.d.ts +0 -20
  410. package/build/file/styles/latent-styles/exceptions.spec.d.ts +0 -1
  411. package/build/file/styles/latent-styles/index.d.ts +0 -1
  412. package/build/file/styles/latent-styles/latent-styles.d.ts +0 -5
  413. package/build/file/styles/latent-styles/latent-styles.spec.d.ts +0 -1
  414. package/build/file/styles/sample/default-style.d.ts +0 -1
  415. package/build/file/styles/sample/default-style.spec.d.ts +0 -1
  416. package/build/file/styles/sample/index.d.ts +0 -1
  417. package/build/file/styles/style/character-style.d.ts +0 -12
  418. package/build/file/styles/style/character-style.spec.d.ts +0 -1
  419. package/build/file/styles/style/components.d.ts +0 -11
  420. package/build/file/styles/style/components.spec.d.ts +0 -1
  421. package/build/file/styles/style/default-styles.d.ts +0 -44
  422. package/build/file/styles/style/default-styles.spec.d.ts +0 -1
  423. package/build/file/styles/style/index.d.ts +0 -4
  424. package/build/file/styles/style/paragraph-style.d.ts +0 -14
  425. package/build/file/styles/style/paragraph-style.spec.d.ts +0 -1
  426. package/build/file/styles/style/style.d.ts +0 -20
  427. package/build/file/styles/style/style.spec.d.ts +0 -1
  428. package/build/file/styles/styles.d.ts +0 -15
  429. package/build/file/styles/styles.spec.d.ts +0 -1
  430. package/build/file/table/grid.d.ts +0 -8
  431. package/build/file/table/grid.spec.d.ts +0 -1
  432. package/build/file/table/index.d.ts +0 -5
  433. package/build/file/table/table-cell/index.d.ts +0 -2
  434. package/build/file/table/table-cell/table-cell-components.d.ts +0 -31
  435. package/build/file/table/table-cell/table-cell-properties.d.ts +0 -20
  436. package/build/file/table/table-cell/table-cell-properties.spec.d.ts +0 -1
  437. package/build/file/table/table-cell/table-cell.d.ts +0 -12
  438. package/build/file/table/table-cell/table-cell.spec.d.ts +0 -1
  439. package/build/file/table/table-properties/index.d.ts +0 -4
  440. package/build/file/table/table-properties/table-borders.d.ts +0 -45
  441. package/build/file/table/table-properties/table-borders.spec.d.ts +0 -1
  442. package/build/file/table/table-properties/table-cell-margin.d.ts +0 -16
  443. package/build/file/table/table-properties/table-cell-margin.spec.d.ts +0 -1
  444. package/build/file/table/table-properties/table-float-properties.d.ts +0 -42
  445. package/build/file/table/table-properties/table-float-properties.spec.d.ts +0 -1
  446. package/build/file/table/table-properties/table-layout.d.ts +0 -8
  447. package/build/file/table/table-properties/table-properties.d.ts +0 -23
  448. package/build/file/table/table-properties/table-properties.spec.d.ts +0 -1
  449. package/build/file/table/table-row/index.d.ts +0 -3
  450. package/build/file/table/table-row/table-row-height.d.ts +0 -19
  451. package/build/file/table/table-row/table-row-properties.d.ts +0 -14
  452. package/build/file/table/table-row/table-row-properties.spec.d.ts +0 -1
  453. package/build/file/table/table-row/table-row.d.ts +0 -16
  454. package/build/file/table/table-row/table-row.spec.d.ts +0 -1
  455. package/build/file/table/table-width.d.ts +0 -15
  456. package/build/file/table/table.d.ts +0 -23
  457. package/build/file/table/table.spec.d.ts +0 -1
  458. package/build/file/table-of-contents/field-instruction.d.ts +0 -6
  459. package/build/file/table-of-contents/index.d.ts +0 -2
  460. package/build/file/table-of-contents/sdt-content.d.ts +0 -4
  461. package/build/file/table-of-contents/sdt-properties.d.ts +0 -4
  462. package/build/file/table-of-contents/table-of-contents-properties.d.ts +0 -23
  463. package/build/file/table-of-contents/table-of-contents.d.ts +0 -5
  464. package/build/file/table-of-contents/table-of-contents.spec.d.ts +0 -1
  465. package/build/file/track-revision/index.d.ts +0 -2
  466. package/build/file/track-revision/track-revision-components/deleted-page-number.d.ts +0 -10
  467. package/build/file/track-revision/track-revision-components/deleted-page-number.spec.d.ts +0 -1
  468. package/build/file/track-revision/track-revision-components/deleted-text-run.d.ts +0 -13
  469. package/build/file/track-revision/track-revision-components/deleted-text-run.spec.d.ts +0 -1
  470. package/build/file/track-revision/track-revision-components/deleted-text.d.ts +0 -4
  471. package/build/file/track-revision/track-revision-components/deleted-text.spec.d.ts +0 -1
  472. package/build/file/track-revision/track-revision-components/inserted-text-run.d.ts +0 -9
  473. package/build/file/track-revision/track-revision-components/inserted-text-run.spec.d.ts +0 -1
  474. package/build/file/track-revision/track-revision.d.ts +0 -13
  475. package/build/file/vertical-align/index.d.ts +0 -1
  476. package/build/file/vertical-align/vertical-align.d.ts +0 -16
  477. package/build/file/xml-components/attribute.spec.d.ts +0 -1
  478. package/build/file/xml-components/attributes.d.ts +0 -46
  479. package/build/file/xml-components/base.d.ts +0 -13
  480. package/build/file/xml-components/default-attributes.d.ts +0 -25
  481. package/build/file/xml-components/imported-xml-component.d.ts +0 -14
  482. package/build/file/xml-components/imported-xml-component.spec.d.ts +0 -1
  483. package/build/file/xml-components/index.d.ts +0 -8
  484. package/build/file/xml-components/initializable-xml-component.d.ts +0 -4
  485. package/build/file/xml-components/simple-elements.d.ts +0 -30
  486. package/build/file/xml-components/simple-elements.spec.d.ts +0 -1
  487. package/build/file/xml-components/xml-component.d.ts +0 -12
  488. package/build/file/xml-components/xml-component.spec.d.ts +0 -1
  489. package/build/file/xml-components/xmlable-object.d.ts +0 -7
  490. package/build/index.spec.d.ts +0 -1
  491. package/build/patcher/content-types-manager.d.ts +0 -2
  492. package/build/patcher/content-types-manager.spec.d.ts +0 -1
  493. package/build/patcher/from-docx.d.ts +0 -26
  494. package/build/patcher/from-docx.spec.d.ts +0 -1
  495. package/build/patcher/index.d.ts +0 -1
  496. package/build/patcher/paragraph-split-inject.d.ts +0 -6
  497. package/build/patcher/paragraph-split-inject.spec.d.ts +0 -1
  498. package/build/patcher/paragraph-token-replacer.d.ts +0 -8
  499. package/build/patcher/paragraph-token-replacer.spec.d.ts +0 -1
  500. package/build/patcher/relationship-manager.d.ts +0 -4
  501. package/build/patcher/relationship-manager.spec.d.ts +0 -1
  502. package/build/patcher/replacer.d.ts +0 -5
  503. package/build/patcher/replacer.spec.d.ts +0 -1
  504. package/build/patcher/run-renderer.d.ts +0 -22
  505. package/build/patcher/run-renderer.spec.d.ts +0 -1
  506. package/build/patcher/traverser.d.ts +0 -8
  507. package/build/patcher/traverser.spec.d.ts +0 -1
  508. package/build/patcher/util.d.ts +0 -5
  509. package/build/patcher/util.spec.d.ts +0 -1
  510. package/build/tests/utility.d.ts +0 -3
  511. package/build/util/convenience-functions.d.ts +0 -10
  512. package/build/util/convenience-functions.spec.d.ts +0 -1
  513. package/build/util/index.d.ts +0 -2
  514. package/build/util/values.d.ts +0 -20
  515. package/build/util/values.spec.d.ts +0 -1
@@ -1,14 +0,0 @@
1
- import { IParagraphStylePropertiesOptions, IRunStylePropertiesOptions } from '../../paragraph';
2
- import { IStyleOptions, Style } from "./style";
3
- export interface IBaseParagraphStyleOptions extends IStyleOptions {
4
- readonly paragraph?: IParagraphStylePropertiesOptions;
5
- readonly run?: IRunStylePropertiesOptions;
6
- }
7
- export interface IParagraphStyleOptions extends IBaseParagraphStyleOptions {
8
- readonly id: string;
9
- }
10
- export declare class StyleForParagraph extends Style {
11
- private readonly paragraphProperties;
12
- private readonly runProperties;
13
- constructor(options: IParagraphStyleOptions);
14
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,20 +0,0 @@
1
- import { XmlComponent } from '../../xml-components';
2
- export interface IStyleAttributes {
3
- readonly type?: string;
4
- readonly styleId?: string;
5
- readonly default?: boolean;
6
- readonly customStyle?: string;
7
- }
8
- export interface IStyleOptions {
9
- readonly name?: string;
10
- readonly basedOn?: string;
11
- readonly next?: string;
12
- readonly link?: string;
13
- readonly uiPriority?: number;
14
- readonly semiHidden?: boolean;
15
- readonly unhideWhenUsed?: boolean;
16
- readonly quickFormat?: boolean;
17
- }
18
- export declare class Style extends XmlComponent {
19
- constructor(attributes: IStyleAttributes, options: IStyleOptions);
20
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { IDefaultStylesOptions } from './factory';
2
- import { BaseXmlComponent, ImportedXmlComponent, XmlComponent } from '../xml-components';
3
- import { StyleForCharacter, StyleForParagraph } from "./style";
4
- import { ICharacterStyleOptions } from "./style/character-style";
5
- import { IParagraphStyleOptions } from "./style/paragraph-style";
6
- export interface IStylesOptions {
7
- readonly default?: IDefaultStylesOptions;
8
- readonly initialStyles?: BaseXmlComponent;
9
- readonly paragraphStyles?: readonly IParagraphStyleOptions[];
10
- readonly characterStyles?: readonly ICharacterStyleOptions[];
11
- readonly importedStyles?: readonly (XmlComponent | StyleForParagraph | StyleForCharacter | ImportedXmlComponent)[];
12
- }
13
- export declare class Styles extends XmlComponent {
14
- constructor(options: IStylesOptions);
15
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- import { XmlComponent } from '../xml-components';
2
- import { PositiveUniversalMeasure } from '../../util/values';
3
- export declare class TableGrid extends XmlComponent {
4
- constructor(widths: readonly number[] | readonly PositiveUniversalMeasure[]);
5
- }
6
- export declare class GridCol extends XmlComponent {
7
- constructor(width?: number | PositiveUniversalMeasure);
8
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- export * from "./table";
2
- export * from "./table-cell";
3
- export * from "./table-properties";
4
- export * from "./table-row";
5
- export * from "./table-width";
@@ -1,2 +0,0 @@
1
- export * from "./table-cell";
2
- export * from "./table-cell-components";
@@ -1,31 +0,0 @@
1
- import { IBorderOptions } from '../../border';
2
- import { IgnoreIfEmptyXmlComponent, XmlComponent } from '../../xml-components';
3
- export interface ITableCellBorders {
4
- readonly top?: IBorderOptions;
5
- readonly start?: IBorderOptions;
6
- readonly left?: IBorderOptions;
7
- readonly bottom?: IBorderOptions;
8
- readonly end?: IBorderOptions;
9
- readonly right?: IBorderOptions;
10
- }
11
- export declare class TableCellBorders extends IgnoreIfEmptyXmlComponent {
12
- constructor(options: ITableCellBorders);
13
- }
14
- export declare class GridSpan extends XmlComponent {
15
- constructor(value: number);
16
- }
17
- export declare const VerticalMergeType: {
18
- readonly CONTINUE: "continue";
19
- readonly RESTART: "restart";
20
- };
21
- export declare class VerticalMerge extends XmlComponent {
22
- constructor(value: (typeof VerticalMergeType)[keyof typeof VerticalMergeType]);
23
- }
24
- export declare const TextDirection: {
25
- readonly BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr";
26
- readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
27
- readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
28
- };
29
- export declare class TDirection extends XmlComponent {
30
- constructor(value: (typeof TextDirection)[keyof typeof TextDirection]);
31
- }
@@ -1,20 +0,0 @@
1
- import { VerticalAlign } from '../../vertical-align';
2
- import { IgnoreIfEmptyXmlComponent } from '../../xml-components';
3
- import { IShadingAttributesProperties } from "../../shading";
4
- import { ITableCellMarginOptions } from "../table-properties/table-cell-margin";
5
- import { ITableWidthProperties } from "../table-width";
6
- import { ITableCellBorders, TextDirection, VerticalMergeType } from "./table-cell-components";
7
- export interface ITableCellPropertiesOptions {
8
- readonly shading?: IShadingAttributesProperties;
9
- readonly margins?: ITableCellMarginOptions;
10
- readonly verticalAlign?: (typeof VerticalAlign)[keyof typeof VerticalAlign];
11
- readonly textDirection?: (typeof TextDirection)[keyof typeof TextDirection];
12
- readonly verticalMerge?: (typeof VerticalMergeType)[keyof typeof VerticalMergeType];
13
- readonly width?: ITableWidthProperties;
14
- readonly columnSpan?: number;
15
- readonly rowSpan?: number;
16
- readonly borders?: ITableCellBorders;
17
- }
18
- export declare class TableCellProperties extends IgnoreIfEmptyXmlComponent {
19
- constructor(options: ITableCellPropertiesOptions);
20
- }
@@ -1,12 +0,0 @@
1
- import { Paragraph } from '../../paragraph';
2
- import { IContext, IXmlableObject, XmlComponent } from '../../xml-components';
3
- import { Table } from "../table";
4
- import { ITableCellPropertiesOptions } from "./table-cell-properties";
5
- export interface ITableCellOptions extends ITableCellPropertiesOptions {
6
- readonly children: readonly (Paragraph | Table)[];
7
- }
8
- export declare class TableCell extends XmlComponent {
9
- readonly options: ITableCellOptions;
10
- constructor(options: ITableCellOptions);
11
- prepForXml(context: IContext): IXmlableObject | undefined;
12
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export * from "./table-properties";
2
- export * from "./table-float-properties";
3
- export * from "./table-layout";
4
- export * from "./table-borders";
@@ -1,45 +0,0 @@
1
- import { IBorderOptions } from '../../border';
2
- import { XmlComponent } from '../../xml-components';
3
- export interface ITableBordersOptions {
4
- readonly top?: IBorderOptions;
5
- readonly bottom?: IBorderOptions;
6
- readonly left?: IBorderOptions;
7
- readonly right?: IBorderOptions;
8
- readonly insideHorizontal?: IBorderOptions;
9
- readonly insideVertical?: IBorderOptions;
10
- }
11
- export declare class TableBorders extends XmlComponent {
12
- static readonly NONE: {
13
- top: {
14
- style: "none";
15
- size: number;
16
- color: string;
17
- };
18
- bottom: {
19
- style: "none";
20
- size: number;
21
- color: string;
22
- };
23
- left: {
24
- style: "none";
25
- size: number;
26
- color: string;
27
- };
28
- right: {
29
- style: "none";
30
- size: number;
31
- color: string;
32
- };
33
- insideHorizontal: {
34
- style: "none";
35
- size: number;
36
- color: string;
37
- };
38
- insideVertical: {
39
- style: "none";
40
- size: number;
41
- color: string;
42
- };
43
- };
44
- constructor(options: ITableBordersOptions);
45
- }
@@ -1,16 +0,0 @@
1
- import { IgnoreIfEmptyXmlComponent } from '../../xml-components';
2
- import { WidthType } from '..';
3
- export interface ITableCellMarginOptions {
4
- readonly marginUnitType?: (typeof WidthType)[keyof typeof WidthType];
5
- readonly top?: number;
6
- readonly bottom?: number;
7
- readonly left?: number;
8
- readonly right?: number;
9
- }
10
- export declare const TableCellMarginElementType: {
11
- readonly TABLE: "w:tblCellMar";
12
- readonly TABLE_CELL: "w:tcMar";
13
- };
14
- export declare class TableCellMargin extends IgnoreIfEmptyXmlComponent {
15
- constructor(type: (typeof TableCellMarginElementType)[keyof typeof TableCellMarginElementType], { marginUnitType, top, left, bottom, right }: ITableCellMarginOptions);
16
- }
@@ -1,42 +0,0 @@
1
- import { XmlComponent } from '../../xml-components';
2
- import { PositiveUniversalMeasure, UniversalMeasure } from '../../../util/values';
3
- export declare const TableAnchorType: {
4
- readonly MARGIN: "margin";
5
- readonly PAGE: "page";
6
- readonly TEXT: "text";
7
- };
8
- export declare const RelativeHorizontalPosition: {
9
- readonly CENTER: "center";
10
- readonly INSIDE: "inside";
11
- readonly LEFT: "left";
12
- readonly OUTSIDE: "outside";
13
- readonly RIGHT: "right";
14
- };
15
- export declare const RelativeVerticalPosition: {
16
- readonly CENTER: "center";
17
- readonly INSIDE: "inside";
18
- readonly BOTTOM: "bottom";
19
- readonly OUTSIDE: "outside";
20
- readonly INLINE: "inline";
21
- readonly TOP: "top";
22
- };
23
- export declare const OverlapType: {
24
- readonly NEVER: "never";
25
- readonly OVERLAP: "overlap";
26
- };
27
- export type ITableFloatOptions = {
28
- readonly horizontalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
29
- readonly absoluteHorizontalPosition?: number | UniversalMeasure;
30
- readonly relativeHorizontalPosition?: (typeof RelativeHorizontalPosition)[keyof typeof RelativeHorizontalPosition];
31
- readonly verticalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
32
- readonly absoluteVerticalPosition?: number | UniversalMeasure;
33
- readonly relativeVerticalPosition?: (typeof RelativeVerticalPosition)[keyof typeof RelativeVerticalPosition];
34
- readonly bottomFromText?: number | PositiveUniversalMeasure;
35
- readonly topFromText?: number | PositiveUniversalMeasure;
36
- readonly leftFromText?: number | PositiveUniversalMeasure;
37
- readonly rightFromText?: number | PositiveUniversalMeasure;
38
- readonly overlap?: (typeof OverlapType)[keyof typeof OverlapType];
39
- };
40
- export declare class TableFloatProperties extends XmlComponent {
41
- constructor({ horizontalAnchor, verticalAnchor, absoluteHorizontalPosition, relativeHorizontalPosition, absoluteVerticalPosition, relativeVerticalPosition, bottomFromText, topFromText, leftFromText, rightFromText, overlap, }: ITableFloatOptions);
42
- }
@@ -1,8 +0,0 @@
1
- import { XmlComponent } from '../../xml-components';
2
- export declare const TableLayoutType: {
3
- readonly AUTOFIT: "autofit";
4
- readonly FIXED: "fixed";
5
- };
6
- export declare class TableLayout extends XmlComponent {
7
- constructor(type: (typeof TableLayoutType)[keyof typeof TableLayoutType]);
8
- }
@@ -1,23 +0,0 @@
1
- import { IgnoreIfEmptyXmlComponent } from '../../xml-components';
2
- import { AlignmentType } from "../../paragraph";
3
- import { IShadingAttributesProperties } from "../../shading";
4
- import { ITableWidthProperties } from "../table-width";
5
- import { ITableBordersOptions } from "./table-borders";
6
- import { ITableCellMarginOptions } from "./table-cell-margin";
7
- import { ITableFloatOptions } from "./table-float-properties";
8
- import { TableLayoutType } from "./table-layout";
9
- export interface ITablePropertiesOptions {
10
- readonly width?: ITableWidthProperties;
11
- readonly indent?: ITableWidthProperties;
12
- readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
13
- readonly borders?: ITableBordersOptions;
14
- readonly float?: ITableFloatOptions;
15
- readonly shading?: IShadingAttributesProperties;
16
- readonly style?: string;
17
- readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
18
- readonly cellMargin?: ITableCellMarginOptions;
19
- readonly visuallyRightToLeft?: boolean;
20
- }
21
- export declare class TableProperties extends IgnoreIfEmptyXmlComponent {
22
- constructor(options: ITablePropertiesOptions);
23
- }
@@ -1,3 +0,0 @@
1
- export * from "./table-row";
2
- export * from "./table-row-properties";
3
- export * from "./table-row-height";
@@ -1,19 +0,0 @@
1
- import { XmlAttributeComponent, XmlComponent } from '../../xml-components';
2
- import { PositiveUniversalMeasure } from '../../../util/values';
3
- export declare const HeightRule: {
4
- readonly AUTO: "auto";
5
- readonly ATLEAST: "atLeast";
6
- readonly EXACT: "exact";
7
- };
8
- export declare class TableRowHeightAttributes extends XmlAttributeComponent<{
9
- readonly value: number | string;
10
- readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
11
- }> {
12
- protected readonly xmlKeys: {
13
- value: string;
14
- rule: string;
15
- };
16
- }
17
- export declare class TableRowHeight extends XmlComponent {
18
- constructor(value: number | PositiveUniversalMeasure, rule: (typeof HeightRule)[keyof typeof HeightRule]);
19
- }
@@ -1,14 +0,0 @@
1
- import { IgnoreIfEmptyXmlComponent } from '../../xml-components';
2
- import { PositiveUniversalMeasure } from '../../../util/values';
3
- import { HeightRule } from "./table-row-height";
4
- export interface ITableRowPropertiesOptions {
5
- readonly cantSplit?: boolean;
6
- readonly tableHeader?: boolean;
7
- readonly height?: {
8
- readonly value: number | PositiveUniversalMeasure;
9
- readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
10
- };
11
- }
12
- export declare class TableRowProperties extends IgnoreIfEmptyXmlComponent {
13
- constructor(options: ITableRowPropertiesOptions);
14
- }
@@ -1,16 +0,0 @@
1
- import { XmlComponent } from '../../xml-components';
2
- import { TableCell } from "../table-cell";
3
- import { ITableRowPropertiesOptions } from "./table-row-properties";
4
- export interface ITableRowOptions extends ITableRowPropertiesOptions {
5
- readonly children: readonly TableCell[];
6
- }
7
- export declare class TableRow extends XmlComponent {
8
- private readonly options;
9
- constructor(options: ITableRowOptions);
10
- get CellCount(): number;
11
- get cells(): readonly TableCell[];
12
- addCellToIndex(cell: TableCell, index: number): void;
13
- addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
14
- rootIndexToColumnIndex(rootIndex: number): number;
15
- columnIndexToRootIndex(columnIndex: number, allowEndNewCell?: boolean): number;
16
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { XmlComponent } from '../xml-components';
2
- import { Percentage, UniversalMeasure } from '../../util/values';
3
- export declare const WidthType: {
4
- readonly AUTO: "auto";
5
- readonly DXA: "dxa";
6
- readonly NIL: "nil";
7
- readonly PERCENTAGE: "pct";
8
- };
9
- export type ITableWidthProperties = {
10
- readonly size: number | Percentage | UniversalMeasure;
11
- readonly type?: (typeof WidthType)[keyof typeof WidthType];
12
- };
13
- export declare class TableWidthElement extends XmlComponent {
14
- constructor(name: string, { type, size }: ITableWidthProperties);
15
- }
@@ -1,23 +0,0 @@
1
- import { FileChild } from '../file-child';
2
- import { AlignmentType } from "../paragraph";
3
- import { ITableBordersOptions, ITableFloatOptions } from "./table-properties";
4
- import { ITableCellMarginOptions } from "./table-properties/table-cell-margin";
5
- import { TableLayoutType } from "./table-properties/table-layout";
6
- import { TableRow } from "./table-row";
7
- import { ITableWidthProperties } from "./table-width";
8
- export interface ITableOptions {
9
- readonly rows: readonly TableRow[];
10
- readonly width?: ITableWidthProperties;
11
- readonly columnWidths?: readonly number[];
12
- readonly margins?: ITableCellMarginOptions;
13
- readonly indent?: ITableWidthProperties;
14
- readonly float?: ITableFloatOptions;
15
- readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
16
- readonly style?: string;
17
- readonly borders?: ITableBordersOptions;
18
- readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
19
- readonly visuallyRightToLeft?: boolean;
20
- }
21
- export declare class Table extends FileChild {
22
- constructor({ rows, width, columnWidths, margins, indent, float, layout, style, borders, alignment, visuallyRightToLeft, }: ITableOptions);
23
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import { XmlComponent } from '../xml-components';
2
- import { ITableOfContentsOptions } from "./table-of-contents-properties";
3
- export declare class FieldInstruction extends XmlComponent {
4
- private readonly properties;
5
- constructor(properties?: ITableOfContentsOptions);
6
- }
@@ -1,2 +0,0 @@
1
- export * from "./table-of-contents";
2
- export * from "./table-of-contents-properties";
@@ -1,4 +0,0 @@
1
- import { XmlComponent } from '../xml-components';
2
- export declare class StructuredDocumentTagContent extends XmlComponent {
3
- constructor();
4
- }
@@ -1,4 +0,0 @@
1
- import { XmlComponent } from '../xml-components';
2
- export declare class StructuredDocumentTagProperties extends XmlComponent {
3
- constructor(alias?: string);
4
- }
@@ -1,23 +0,0 @@
1
- export declare class StyleLevel {
2
- readonly styleName: string;
3
- readonly level: number;
4
- constructor(styleName: string, level: number);
5
- }
6
- export interface ITableOfContentsOptions {
7
- readonly captionLabel?: string;
8
- readonly entriesFromBookmark?: string;
9
- readonly captionLabelIncludingNumbers?: string;
10
- readonly sequenceAndPageNumbersSeparator?: string;
11
- readonly tcFieldIdentifier?: string;
12
- readonly hyperlink?: boolean;
13
- readonly tcFieldLevelRange?: string;
14
- readonly pageNumbersEntryLevelsRange?: string;
15
- readonly headingStyleRange?: string;
16
- readonly entryAndPageNumberSeparator?: string;
17
- readonly seqFieldIdentifierForPrefix?: string;
18
- readonly stylesWithLevels?: readonly StyleLevel[];
19
- readonly useAppliedParagraphOutlineLevel?: boolean;
20
- readonly preserveTabInEntries?: boolean;
21
- readonly preserveNewLineInEntries?: boolean;
22
- readonly hideTabAndPageNumbersInWebView?: boolean;
23
- }
@@ -1,5 +0,0 @@
1
- import { FileChild } from '../file-child';
2
- import { ITableOfContentsOptions } from "./table-of-contents-properties";
3
- export declare class TableOfContents extends FileChild {
4
- constructor(alias?: string, properties?: ITableOfContentsOptions);
5
- }
@@ -1,2 +0,0 @@
1
- export * from "./track-revision-components/inserted-text-run";
2
- export * from "./track-revision-components/deleted-text-run";
@@ -1,10 +0,0 @@
1
- import { XmlComponent } from '../../xml-components';
2
- export declare class DeletedPage extends XmlComponent {
3
- constructor();
4
- }
5
- export declare class DeletedNumberOfPages extends XmlComponent {
6
- constructor();
7
- }
8
- export declare class DeletedNumberOfPagesSection extends XmlComponent {
9
- constructor();
10
- }
@@ -1,13 +0,0 @@
1
- import { XmlComponent } from '../../xml-components';
2
- import { IRunOptions } from "../../paragraph/run/run";
3
- import { IChangedAttributesProperties } from "../track-revision";
4
- interface IDeletedRunOptions extends IRunOptions, IChangedAttributesProperties {
5
- }
6
- export declare class DeletedTextRun extends XmlComponent {
7
- protected readonly deletedTextRunWrapper: DeletedTextRunWrapper;
8
- constructor(options: IDeletedRunOptions);
9
- }
10
- declare class DeletedTextRunWrapper extends XmlComponent {
11
- constructor(options: IRunOptions);
12
- }
13
- export {};
@@ -1,4 +0,0 @@
1
- import { XmlComponent } from '../../xml-components';
2
- export declare class DeletedText extends XmlComponent {
3
- constructor(text: string);
4
- }
@@ -1,9 +0,0 @@
1
- import { XmlComponent } from '../../xml-components';
2
- import { IRunOptions } from "../../index";
3
- import { IChangedAttributesProperties } from "../track-revision";
4
- interface IInsertedRunOptions extends IChangedAttributesProperties, IRunOptions {
5
- }
6
- export declare class InsertedTextRun extends XmlComponent {
7
- constructor(options: IInsertedRunOptions);
8
- }
9
- export {};
@@ -1,13 +0,0 @@
1
- import { XmlAttributeComponent } from '../xml-components';
2
- export interface IChangedAttributesProperties {
3
- readonly id: number;
4
- readonly author: string;
5
- readonly date: string;
6
- }
7
- export declare class ChangeAttributes extends XmlAttributeComponent<IChangedAttributesProperties> {
8
- protected readonly xmlKeys: {
9
- id: string;
10
- author: string;
11
- date: string;
12
- };
13
- }
@@ -1 +0,0 @@
1
- export * from "./vertical-align";
@@ -1,16 +0,0 @@
1
- import { XmlAttributeComponent, XmlComponent } from '../xml-components';
2
- export declare const VerticalAlign: {
3
- readonly BOTTOM: "bottom";
4
- readonly CENTER: "center";
5
- readonly TOP: "top";
6
- };
7
- export declare class VerticalAlignAttributes extends XmlAttributeComponent<{
8
- readonly verticalAlign?: (typeof VerticalAlign)[keyof typeof VerticalAlign];
9
- }> {
10
- protected readonly xmlKeys: {
11
- verticalAlign: string;
12
- };
13
- }
14
- export declare class VerticalAlignElement extends XmlComponent {
15
- constructor(value: (typeof VerticalAlign)[keyof typeof VerticalAlign]);
16
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,46 +0,0 @@
1
- import { XmlAttributeComponent } from "./default-attributes";
2
- export declare class Attributes extends XmlAttributeComponent<{
3
- readonly val?: string | number | boolean;
4
- readonly color?: string;
5
- readonly fill?: string;
6
- readonly space?: string;
7
- readonly sz?: string;
8
- readonly type?: string;
9
- readonly rsidR?: string;
10
- readonly rsidRPr?: string;
11
- readonly rsidSect?: string;
12
- readonly w?: string;
13
- readonly h?: string;
14
- readonly top?: string;
15
- readonly right?: string;
16
- readonly bottom?: string;
17
- readonly left?: string;
18
- readonly header?: string;
19
- readonly footer?: string;
20
- readonly gutter?: string;
21
- readonly linePitch?: string;
22
- readonly pos?: string | number;
23
- }> {
24
- protected readonly xmlKeys: {
25
- val: string;
26
- color: string;
27
- fill: string;
28
- space: string;
29
- sz: string;
30
- type: string;
31
- rsidR: string;
32
- rsidRPr: string;
33
- rsidSect: string;
34
- w: string;
35
- h: string;
36
- top: string;
37
- right: string;
38
- bottom: string;
39
- left: string;
40
- header: string;
41
- footer: string;
42
- gutter: string;
43
- linePitch: string;
44
- pos: string;
45
- };
46
- }