docx 9.7.0 → 9.7.1

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 (586) hide show
  1. package/dist/index.cjs +457 -24
  2. package/dist/index.d.cts +3214 -5
  3. package/dist/index.d.ts +3214 -5
  4. package/dist/index.iife.js +457 -24
  5. package/dist/index.mjs +457 -24
  6. package/dist/index.umd.cjs +457 -24
  7. package/package.json +7 -6
  8. package/dist/export/formatter.d.ts +0 -4
  9. package/dist/export/formatter.spec.d.ts +0 -1
  10. package/dist/export/index.d.ts +0 -1
  11. package/dist/export/packer/image-replacer.d.ts +0 -5
  12. package/dist/export/packer/image-replacer.spec.d.ts +0 -1
  13. package/dist/export/packer/next-compiler.d.ts +0 -15
  14. package/dist/export/packer/next-compiler.spec.d.ts +0 -1
  15. package/dist/export/packer/numbering-replacer.d.ts +0 -4
  16. package/dist/export/packer/packer.d.ts +0 -20
  17. package/dist/export/packer/packer.spec.d.ts +0 -1
  18. package/dist/file/app-properties/app-properties-attributes.d.ts +0 -10
  19. package/dist/file/app-properties/app-properties.d.ts +0 -4
  20. package/dist/file/border/border.d.ts +0 -37
  21. package/dist/file/border/border.spec.d.ts +0 -1
  22. package/dist/file/border/index.d.ts +0 -1
  23. package/dist/file/checkbox/checkbox-symbol.d.ts +0 -4
  24. package/dist/file/checkbox/checkbox-util.d.ts +0 -17
  25. package/dist/file/checkbox/checkbox-util.spec.d.ts +0 -1
  26. package/dist/file/checkbox/checkbox.d.ts +0 -8
  27. package/dist/file/checkbox/checkbox.spec.d.ts +0 -1
  28. package/dist/file/checkbox/index.d.ts +0 -3
  29. package/dist/file/content-types/content-types-attributes.d.ts +0 -8
  30. package/dist/file/content-types/content-types.d.ts +0 -7
  31. package/dist/file/content-types/content-types.spec.d.ts +0 -1
  32. package/dist/file/content-types/default/default.d.ts +0 -2
  33. package/dist/file/content-types/override/override.d.ts +0 -2
  34. package/dist/file/core-properties/index.d.ts +0 -1
  35. package/dist/file/core-properties/properties.d.ts +0 -46
  36. package/dist/file/core-properties/properties.spec.d.ts +0 -1
  37. package/dist/file/custom-properties/custom-properties-attributes.d.ts +0 -10
  38. package/dist/file/custom-properties/custom-properties.d.ts +0 -9
  39. package/dist/file/custom-properties/custom-properties.spec.d.ts +0 -1
  40. package/dist/file/custom-properties/custom-property-attributes.d.ts +0 -12
  41. package/dist/file/custom-properties/custom-property.d.ts +0 -11
  42. package/dist/file/custom-properties/index.d.ts +0 -2
  43. package/dist/file/document/body/body.d.ts +0 -10
  44. package/dist/file/document/body/body.spec.d.ts +0 -1
  45. package/dist/file/document/body/index.d.ts +0 -2
  46. package/dist/file/document/body/section-properties/index.d.ts +0 -2
  47. package/dist/file/document/body/section-properties/properties/column.d.ts +0 -9
  48. package/dist/file/document/body/section-properties/properties/columns.d.ts +0 -11
  49. package/dist/file/document/body/section-properties/properties/columns.spec.d.ts +0 -1
  50. package/dist/file/document/body/section-properties/properties/doc-grid.d.ts +0 -13
  51. package/dist/file/document/body/section-properties/properties/doc-grid.spec.d.ts +0 -1
  52. package/dist/file/document/body/section-properties/properties/header-footer-reference.d.ts +0 -15
  53. package/dist/file/document/body/section-properties/properties/header-footer-reference.spec.d.ts +0 -1
  54. package/dist/file/document/body/section-properties/properties/index.d.ts +0 -12
  55. package/dist/file/document/body/section-properties/properties/line-number.d.ts +0 -14
  56. package/dist/file/document/body/section-properties/properties/line-number.spec.d.ts +0 -1
  57. package/dist/file/document/body/section-properties/properties/page-borders.d.ts +0 -30
  58. package/dist/file/document/body/section-properties/properties/page-borders.spec.d.ts +0 -1
  59. package/dist/file/document/body/section-properties/properties/page-margin.d.ts +0 -12
  60. package/dist/file/document/body/section-properties/properties/page-number.d.ts +0 -15
  61. package/dist/file/document/body/section-properties/properties/page-size.d.ts +0 -13
  62. package/dist/file/document/body/section-properties/properties/page-size.spec.d.ts +0 -1
  63. package/dist/file/document/body/section-properties/properties/page-text-direction.d.ts +0 -8
  64. package/dist/file/document/body/section-properties/properties/page-text-direction.spec.d.ts +0 -1
  65. package/dist/file/document/body/section-properties/properties/section-type.d.ts +0 -9
  66. package/dist/file/document/body/section-properties/properties/section-type.spec.d.ts +0 -1
  67. package/dist/file/document/body/section-properties/section-properties.d.ts +0 -61
  68. package/dist/file/document/body/section-properties/section-properties.spec.d.ts +0 -1
  69. package/dist/file/document/document-attributes.d.ts +0 -48
  70. package/dist/file/document/document-background/document-background.d.ts +0 -23
  71. package/dist/file/document/document-background/document-background.spec.d.ts +0 -1
  72. package/dist/file/document/document-background/index.d.ts +0 -1
  73. package/dist/file/document/document.d.ts +0 -15
  74. package/dist/file/document/document.spec.d.ts +0 -1
  75. package/dist/file/document/index.d.ts +0 -4
  76. package/dist/file/document-wrapper.d.ts +0 -18
  77. package/dist/file/document-wrapper.spec.d.ts +0 -1
  78. package/dist/file/drawing/anchor/anchor-attributes.d.ts +0 -24
  79. package/dist/file/drawing/anchor/anchor.d.ts +0 -10
  80. package/dist/file/drawing/anchor/anchor.spec.d.ts +0 -1
  81. package/dist/file/drawing/anchor/index.d.ts +0 -2
  82. package/dist/file/drawing/doc-properties/doc-properties-children.d.ts +0 -3
  83. package/dist/file/drawing/doc-properties/doc-properties-children.spec.d.ts +0 -1
  84. package/dist/file/drawing/doc-properties/doc-properties.d.ts +0 -12
  85. package/dist/file/drawing/doc-properties/doc-properties.spec.d.ts +0 -1
  86. package/dist/file/drawing/drawing.d.ts +0 -21
  87. package/dist/file/drawing/drawing.spec.d.ts +0 -1
  88. package/dist/file/drawing/effect-extent/effect-extent.d.ts +0 -8
  89. package/dist/file/drawing/extent/extent.d.ts +0 -7
  90. package/dist/file/drawing/floating/align.d.ts +0 -3
  91. package/dist/file/drawing/floating/align.spec.d.ts +0 -1
  92. package/dist/file/drawing/floating/floating-position.d.ts +0 -49
  93. package/dist/file/drawing/floating/horizontal-position.d.ts +0 -3
  94. package/dist/file/drawing/floating/horizontal-position.spec.d.ts +0 -1
  95. package/dist/file/drawing/floating/index.d.ts +0 -4
  96. package/dist/file/drawing/floating/position-offset.d.ts +0 -2
  97. package/dist/file/drawing/floating/position-offset.spec.d.ts +0 -1
  98. package/dist/file/drawing/floating/simple-pos.d.ts +0 -2
  99. package/dist/file/drawing/floating/simple-pos.spec.d.ts +0 -1
  100. package/dist/file/drawing/floating/vertical-position.d.ts +0 -3
  101. package/dist/file/drawing/floating/vertical-position.spec.d.ts +0 -1
  102. package/dist/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-lock-attributes.d.ts +0 -10
  103. package/dist/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-locks.d.ts +0 -4
  104. package/dist/file/drawing/graphic-frame/graphic-frame-properties.d.ts +0 -2
  105. package/dist/file/drawing/index.d.ts +0 -3
  106. package/dist/file/drawing/inline/graphic/graphic-data/graphic-data-attribute.d.ts +0 -8
  107. package/dist/file/drawing/inline/graphic/graphic-data/graphic-data.d.ts +0 -12
  108. package/dist/file/drawing/inline/graphic/graphic-data/index.d.ts +0 -1
  109. package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/blip-extentions.d.ts +0 -3
  110. package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/blip-fill.d.ts +0 -5
  111. package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/blip.d.ts +0 -3
  112. package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/source-rectangle.d.ts +0 -4
  113. package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/stretch.d.ts +0 -4
  114. package/dist/file/drawing/inline/graphic/graphic-data/pic/index.d.ts +0 -1
  115. package/dist/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
  116. package/dist/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
  117. package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/pic-locks/pic-locks.d.ts +0 -4
  118. package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-pic-properties.d.ts +0 -4
  119. package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties-attributes.d.ts +0 -12
  120. package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties.d.ts +0 -5
  121. package/dist/file/drawing/inline/graphic/graphic-data/pic/pic-attributes.d.ts +0 -8
  122. package/dist/file/drawing/inline/graphic/graphic-data/pic/pic.d.ts +0 -10
  123. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents-attributes.d.ts +0 -10
  124. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents.d.ts +0 -5
  125. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/form.d.ts +0 -18
  126. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/index.d.ts +0 -1
  127. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off-attributes.d.ts +0 -10
  128. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off.d.ts +0 -4
  129. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form.spec.d.ts +0 -1
  130. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.d.ts +0 -2
  131. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.spec.d.ts +0 -1
  132. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.d.ts +0 -42
  133. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.spec.d.ts +0 -1
  134. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/rgb-color.d.ts +0 -6
  135. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/scheme-color.d.ts +0 -25
  136. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.d.ts +0 -12
  137. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.spec.d.ts +0 -1
  138. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/adjustment-values/adjustment-values.d.ts +0 -4
  139. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry-attributes.d.ts +0 -8
  140. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry.d.ts +0 -4
  141. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties-attributes.d.ts +0 -8
  142. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties.d.ts +0 -13
  143. package/dist/file/drawing/inline/graphic/graphic-data/wpg/wpg-group.d.ts +0 -10
  144. package/dist/file/drawing/inline/graphic/graphic-data/wps/body-properties.d.ts +0 -19
  145. package/dist/file/drawing/inline/graphic/graphic-data/wps/body-properties.spec.d.ts +0 -1
  146. package/dist/file/drawing/inline/graphic/graphic-data/wps/index.d.ts +0 -2
  147. package/dist/file/drawing/inline/graphic/graphic-data/wps/non-visual-shape-properties.d.ts +0 -5
  148. package/dist/file/drawing/inline/graphic/graphic-data/wps/text-box-content.d.ts +0 -3
  149. package/dist/file/drawing/inline/graphic/graphic-data/wps/wps-shape.d.ts +0 -18
  150. package/dist/file/drawing/inline/graphic/graphic-data/wps/wps-text-box.d.ts +0 -3
  151. package/dist/file/drawing/inline/graphic/graphic.d.ts +0 -13
  152. package/dist/file/drawing/inline/graphic/index.d.ts +0 -1
  153. package/dist/file/drawing/inline/index.d.ts +0 -1
  154. package/dist/file/drawing/inline/inline.d.ts +0 -14
  155. package/dist/file/drawing/inline/inline.spec.d.ts +0 -1
  156. package/dist/file/drawing/text-wrap/index.d.ts +0 -5
  157. package/dist/file/drawing/text-wrap/text-wrapping.d.ts +0 -18
  158. package/dist/file/drawing/text-wrap/wrap-none.d.ts +0 -2
  159. package/dist/file/drawing/text-wrap/wrap-square.d.ts +0 -4
  160. package/dist/file/drawing/text-wrap/wrap-tight.d.ts +0 -3
  161. package/dist/file/drawing/text-wrap/wrap-top-and-bottom.d.ts +0 -3
  162. package/dist/file/endnotes/endnote/endnote-attributes.d.ts +0 -10
  163. package/dist/file/endnotes/endnote/endnote.d.ts +0 -14
  164. package/dist/file/endnotes/endnote/endnote.spec.d.ts +0 -1
  165. package/dist/file/endnotes/endnote/index.d.ts +0 -1
  166. package/dist/file/endnotes/endnote/run/endnote-ref-run.d.ts +0 -4
  167. package/dist/file/endnotes/endnote/run/index.d.ts +0 -1
  168. package/dist/file/endnotes/endnote/run/reference-run.d.ts +0 -15
  169. package/dist/file/endnotes/endnote/run/reference-run.spec.d.ts +0 -1
  170. package/dist/file/endnotes/endnotes-attributes.d.ts +0 -40
  171. package/dist/file/endnotes/endnotes.d.ts +0 -6
  172. package/dist/file/endnotes/endnotes.spec.d.ts +0 -1
  173. package/dist/file/endnotes/index.d.ts +0 -2
  174. package/dist/file/endnotes-wrapper.d.ts +0 -10
  175. package/dist/file/file-child.d.ts +0 -4
  176. package/dist/file/file.d.ts +0 -78
  177. package/dist/file/file.spec.d.ts +0 -1
  178. package/dist/file/fonts/create-regular-font.d.ts +0 -8
  179. package/dist/file/fonts/font-table.d.ts +0 -9
  180. package/dist/file/fonts/font-wrapper.d.ts +0 -16
  181. package/dist/file/fonts/font-wrapper.spec.d.ts +0 -1
  182. package/dist/file/fonts/font.d.ts +0 -49
  183. package/dist/file/fonts/font.spec.d.ts +0 -1
  184. package/dist/file/fonts/index.d.ts +0 -1
  185. package/dist/file/fonts/obfuscate-ttf-to-odttf.d.ts +0 -1
  186. package/dist/file/fonts/obsfuscate-ttf-to-odttf.spec.d.ts +0 -1
  187. package/dist/file/footer/footer-attributes.d.ts +0 -51
  188. package/dist/file/footer/footer.d.ts +0 -9
  189. package/dist/file/footer/footer.spec.d.ts +0 -1
  190. package/dist/file/footer/index.d.ts +0 -1
  191. package/dist/file/footer-wrapper.d.ts +0 -23
  192. package/dist/file/footer-wrapper.spec.d.ts +0 -1
  193. package/dist/file/footnotes/footnote/footnote-attributes.d.ts +0 -10
  194. package/dist/file/footnotes/footnote/footnote.d.ts +0 -14
  195. package/dist/file/footnotes/footnote/footnote.spec.d.ts +0 -1
  196. package/dist/file/footnotes/footnote/index.d.ts +0 -1
  197. package/dist/file/footnotes/footnote/run/continuation-seperator-run.d.ts +0 -4
  198. package/dist/file/footnotes/footnote/run/continuation-seperator.d.ts +0 -4
  199. package/dist/file/footnotes/footnote/run/footnote-ref-run.d.ts +0 -4
  200. package/dist/file/footnotes/footnote/run/footnote-ref.d.ts +0 -4
  201. package/dist/file/footnotes/footnote/run/index.d.ts +0 -1
  202. package/dist/file/footnotes/footnote/run/reference-run.d.ts +0 -15
  203. package/dist/file/footnotes/footnote/run/seperator-run.d.ts +0 -4
  204. package/dist/file/footnotes/footnote/run/seperator.d.ts +0 -4
  205. package/dist/file/footnotes/footnotes-attributes.d.ts +0 -40
  206. package/dist/file/footnotes/footnotes.d.ts +0 -6
  207. package/dist/file/footnotes/index.d.ts +0 -2
  208. package/dist/file/footnotes-wrapper.d.ts +0 -10
  209. package/dist/file/footnotes-wrapper.spec.d.ts +0 -1
  210. package/dist/file/header/header-attributes.d.ts +0 -73
  211. package/dist/file/header/header.d.ts +0 -9
  212. package/dist/file/header/header.spec.d.ts +0 -1
  213. package/dist/file/header/index.d.ts +0 -1
  214. package/dist/file/header-wrapper.d.ts +0 -23
  215. package/dist/file/header-wrapper.spec.d.ts +0 -1
  216. package/dist/file/header.d.ts +0 -13
  217. package/dist/file/index.d.ts +0 -25
  218. package/dist/file/media/data.d.ts +0 -59
  219. package/dist/file/media/index.d.ts +0 -2
  220. package/dist/file/media/media.d.ts +0 -20
  221. package/dist/file/media/media.spec.d.ts +0 -1
  222. package/dist/file/numbering/abstract-numbering.d.ts +0 -6
  223. package/dist/file/numbering/abstract-numbering.spec.d.ts +0 -1
  224. package/dist/file/numbering/concrete-numbering.spec.d.ts +0 -1
  225. package/dist/file/numbering/index.d.ts +0 -4
  226. package/dist/file/numbering/level.d.ts +0 -97
  227. package/dist/file/numbering/level.spec.d.ts +0 -1
  228. package/dist/file/numbering/multi-level-type.d.ts +0 -4
  229. package/dist/file/numbering/num.d.ts +0 -22
  230. package/dist/file/numbering/numbering.d.ts +0 -21
  231. package/dist/file/numbering/numbering.spec.d.ts +0 -1
  232. package/dist/file/paragraph/formatting/alignment.d.ts +0 -17
  233. package/dist/file/paragraph/formatting/alignment.spec.d.ts +0 -1
  234. package/dist/file/paragraph/formatting/border.d.ts +0 -15
  235. package/dist/file/paragraph/formatting/border.spec.d.ts +0 -1
  236. package/dist/file/paragraph/formatting/break.d.ts +0 -11
  237. package/dist/file/paragraph/formatting/break.spec.d.ts +0 -1
  238. package/dist/file/paragraph/formatting/indent.d.ts +0 -12
  239. package/dist/file/paragraph/formatting/indent.spec.d.ts +0 -1
  240. package/dist/file/paragraph/formatting/index.d.ts +0 -8
  241. package/dist/file/paragraph/formatting/spacing.d.ts +0 -16
  242. package/dist/file/paragraph/formatting/spacing.spec.d.ts +0 -1
  243. package/dist/file/paragraph/formatting/style.d.ts +0 -11
  244. package/dist/file/paragraph/formatting/style.spec.d.ts +0 -1
  245. package/dist/file/paragraph/formatting/tab-stop.d.ts +0 -29
  246. package/dist/file/paragraph/formatting/tab-stop.spec.d.ts +0 -1
  247. package/dist/file/paragraph/formatting/unordered-list.d.ts +0 -4
  248. package/dist/file/paragraph/formatting/unordered-list.spec.d.ts +0 -1
  249. package/dist/file/paragraph/formatting/word-wrap.d.ts +0 -2
  250. package/dist/file/paragraph/formatting/word-wrap.spec.d.ts +0 -1
  251. package/dist/file/paragraph/frame/frame-properties.d.ts +0 -55
  252. package/dist/file/paragraph/frame/frame-properties.spec.d.ts +0 -1
  253. package/dist/file/paragraph/frame/index.d.ts +0 -1
  254. package/dist/file/paragraph/index.d.ts +0 -7
  255. package/dist/file/paragraph/links/bookmark-attributes.d.ts +0 -17
  256. package/dist/file/paragraph/links/bookmark.d.ts +0 -19
  257. package/dist/file/paragraph/links/bookmark.spec.d.ts +0 -1
  258. package/dist/file/paragraph/links/hyperlink-attributes.d.ts +0 -13
  259. package/dist/file/paragraph/links/hyperlink.d.ts +0 -25
  260. package/dist/file/paragraph/links/hyperlink.spec.d.ts +0 -1
  261. package/dist/file/paragraph/links/index.d.ts +0 -5
  262. package/dist/file/paragraph/links/numbered-item-ref.d.ts +0 -14
  263. package/dist/file/paragraph/links/numbered-item-ref.spec.d.ts +0 -1
  264. package/dist/file/paragraph/links/outline-level.d.ts +0 -2
  265. package/dist/file/paragraph/links/outline-level.spec.d.ts +0 -1
  266. package/dist/file/paragraph/links/pageref-field-instruction.d.ts +0 -5
  267. package/dist/file/paragraph/links/pageref-field-instruction.spec.d.ts +0 -1
  268. package/dist/file/paragraph/links/pageref.d.ts +0 -8
  269. package/dist/file/paragraph/links/pageref.spec.d.ts +0 -1
  270. package/dist/file/paragraph/math/bar/index.d.ts +0 -2
  271. package/dist/file/paragraph/math/bar/math-bar-pos.d.ts +0 -6
  272. package/dist/file/paragraph/math/bar/math-bar-properties.d.ts +0 -4
  273. package/dist/file/paragraph/math/bar/math-bar-properties.spec.d.ts +0 -1
  274. package/dist/file/paragraph/math/bar/math-bar.d.ts +0 -8
  275. package/dist/file/paragraph/math/bar/math-bar.spec.d.ts +0 -1
  276. package/dist/file/paragraph/math/brackets/index.d.ts +0 -4
  277. package/dist/file/paragraph/math/brackets/math-angled-brackets.d.ts +0 -9
  278. package/dist/file/paragraph/math/brackets/math-angled-brackets.spec.d.ts +0 -1
  279. package/dist/file/paragraph/math/brackets/math-beginning-character.d.ts +0 -6
  280. package/dist/file/paragraph/math/brackets/math-beginning-character.spec.d.ts +0 -1
  281. package/dist/file/paragraph/math/brackets/math-bracket-properties.d.ts +0 -9
  282. package/dist/file/paragraph/math/brackets/math-bracket-properties.spec.d.ts +0 -1
  283. package/dist/file/paragraph/math/brackets/math-curly-brackets.d.ts +0 -7
  284. package/dist/file/paragraph/math/brackets/math-curly-brackets.spec.d.ts +0 -1
  285. package/dist/file/paragraph/math/brackets/math-ending-char.d.ts +0 -6
  286. package/dist/file/paragraph/math/brackets/math-ending-character.spec.d.ts +0 -1
  287. package/dist/file/paragraph/math/brackets/math-round-brackets.d.ts +0 -7
  288. package/dist/file/paragraph/math/brackets/math-round-brackets.spec.d.ts +0 -1
  289. package/dist/file/paragraph/math/brackets/math-square-brackets.d.ts +0 -7
  290. package/dist/file/paragraph/math/brackets/math-square-brackets.spec.d.ts +0 -1
  291. package/dist/file/paragraph/math/fraction/index.d.ts +0 -3
  292. package/dist/file/paragraph/math/fraction/math-denominator.d.ts +0 -5
  293. package/dist/file/paragraph/math/fraction/math-denominator.spec.d.ts +0 -1
  294. package/dist/file/paragraph/math/fraction/math-fraction.d.ts +0 -9
  295. package/dist/file/paragraph/math/fraction/math-fraction.spec.d.ts +0 -1
  296. package/dist/file/paragraph/math/fraction/math-numerator.d.ts +0 -5
  297. package/dist/file/paragraph/math/fraction/math-numerator.spec.d.ts +0 -1
  298. package/dist/file/paragraph/math/function/index.d.ts +0 -3
  299. package/dist/file/paragraph/math/function/math-function-name.d.ts +0 -5
  300. package/dist/file/paragraph/math/function/math-function-name.spec.d.ts +0 -1
  301. package/dist/file/paragraph/math/function/math-function-properties.d.ts +0 -4
  302. package/dist/file/paragraph/math/function/math-function-properties.spec.d.ts +0 -1
  303. package/dist/file/paragraph/math/function/math-function.d.ts +0 -9
  304. package/dist/file/paragraph/math/function/math-function.spec.d.ts +0 -1
  305. package/dist/file/paragraph/math/index.d.ts +0 -9
  306. package/dist/file/paragraph/math/math-component.d.ts +0 -9
  307. package/dist/file/paragraph/math/math-run.d.ts +0 -4
  308. package/dist/file/paragraph/math/math-run.spec.d.ts +0 -1
  309. package/dist/file/paragraph/math/math-text.d.ts +0 -4
  310. package/dist/file/paragraph/math/math-text.spec.d.ts +0 -1
  311. package/dist/file/paragraph/math/math.d.ts +0 -8
  312. package/dist/file/paragraph/math/math.spec.d.ts +0 -1
  313. package/dist/file/paragraph/math/n-ary/index.d.ts +0 -11
  314. package/dist/file/paragraph/math/n-ary/math-accent-character.d.ts +0 -6
  315. package/dist/file/paragraph/math/n-ary/math-accent-character.spec.d.ts +0 -1
  316. package/dist/file/paragraph/math/n-ary/math-base.d.ts +0 -7
  317. package/dist/file/paragraph/math/n-ary/math-base.spec.d.ts +0 -1
  318. package/dist/file/paragraph/math/n-ary/math-integral.d.ts +0 -10
  319. package/dist/file/paragraph/math/n-ary/math-integral.spec.d.ts +0 -1
  320. package/dist/file/paragraph/math/n-ary/math-limit-location.d.ts +0 -6
  321. package/dist/file/paragraph/math/n-ary/math-limit-location.spec.d.ts +0 -1
  322. package/dist/file/paragraph/math/n-ary/math-limit-lower.d.ts +0 -9
  323. package/dist/file/paragraph/math/n-ary/math-limit-lower.spec.d.ts +0 -1
  324. package/dist/file/paragraph/math/n-ary/math-limit-upper.d.ts +0 -9
  325. package/dist/file/paragraph/math/n-ary/math-limit-upper.spec.d.ts +0 -1
  326. package/dist/file/paragraph/math/n-ary/math-limit.d.ts +0 -5
  327. package/dist/file/paragraph/math/n-ary/math-limit.spec.d.ts +0 -1
  328. package/dist/file/paragraph/math/n-ary/math-n-ary-properties.d.ts +0 -9
  329. package/dist/file/paragraph/math/n-ary/math-n-ary-properties.spec.d.ts +0 -1
  330. package/dist/file/paragraph/math/n-ary/math-sub-script-hide.d.ts +0 -2
  331. package/dist/file/paragraph/math/n-ary/math-sub-script-hide.spec.d.ts +0 -1
  332. package/dist/file/paragraph/math/n-ary/math-sub-script.d.ts +0 -7
  333. package/dist/file/paragraph/math/n-ary/math-sub-script.spec.d.ts +0 -1
  334. package/dist/file/paragraph/math/n-ary/math-sum.d.ts +0 -10
  335. package/dist/file/paragraph/math/n-ary/math-sum.spec.d.ts +0 -1
  336. package/dist/file/paragraph/math/n-ary/math-super-script-hide.d.ts +0 -2
  337. package/dist/file/paragraph/math/n-ary/math-super-script-hide.spec.d.ts +0 -1
  338. package/dist/file/paragraph/math/n-ary/math-super-script.d.ts +0 -7
  339. package/dist/file/paragraph/math/n-ary/math-super-script.spec.d.ts +0 -1
  340. package/dist/file/paragraph/math/radical/index.d.ts +0 -3
  341. package/dist/file/paragraph/math/radical/math-degree-hide.d.ts +0 -4
  342. package/dist/file/paragraph/math/radical/math-degree-hide.spec.d.ts +0 -1
  343. package/dist/file/paragraph/math/radical/math-degree.d.ts +0 -5
  344. package/dist/file/paragraph/math/radical/math-degree.spec.d.ts +0 -1
  345. package/dist/file/paragraph/math/radical/math-radical-properties.d.ts +0 -4
  346. package/dist/file/paragraph/math/radical/math-radical-properties.spec.d.ts +0 -1
  347. package/dist/file/paragraph/math/radical/math-radical.d.ts +0 -9
  348. package/dist/file/paragraph/math/radical/math-radical.spec.d.ts +0 -1
  349. package/dist/file/paragraph/math/script/index.d.ts +0 -4
  350. package/dist/file/paragraph/math/script/pre-sub-super-script/index.d.ts +0 -2
  351. package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.d.ts +0 -2
  352. package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.spec.d.ts +0 -1
  353. package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.d.ts +0 -10
  354. package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.spec.d.ts +0 -1
  355. package/dist/file/paragraph/math/script/sub-script/index.d.ts +0 -2
  356. package/dist/file/paragraph/math/script/sub-script/math-sub-script-function-properties.d.ts +0 -2
  357. package/dist/file/paragraph/math/script/sub-script/math-sub-script-function-properties.spec.d.ts +0 -1
  358. package/dist/file/paragraph/math/script/sub-script/math-sub-script-function.d.ts +0 -9
  359. package/dist/file/paragraph/math/script/sub-script/math-sub-script-function.spec.d.ts +0 -1
  360. package/dist/file/paragraph/math/script/sub-super-script/index.d.ts +0 -2
  361. package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.d.ts +0 -2
  362. package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.spec.d.ts +0 -1
  363. package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.d.ts +0 -10
  364. package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.spec.d.ts +0 -1
  365. package/dist/file/paragraph/math/script/super-script/index.d.ts +0 -2
  366. package/dist/file/paragraph/math/script/super-script/math-super-script-function-properties.d.ts +0 -2
  367. package/dist/file/paragraph/math/script/super-script/math-super-script-function-properties.spec.d.ts +0 -1
  368. package/dist/file/paragraph/math/script/super-script/math-super-script-function.d.ts +0 -9
  369. package/dist/file/paragraph/math/script/super-script/math-super-script-function.spec.d.ts +0 -1
  370. package/dist/file/paragraph/paragraph.d.ts +0 -22
  371. package/dist/file/paragraph/paragraph.spec.d.ts +0 -1
  372. package/dist/file/paragraph/properties.d.ts +0 -65
  373. package/dist/file/paragraph/properties.spec.d.ts +0 -1
  374. package/dist/file/paragraph/run/break.d.ts +0 -2
  375. package/dist/file/paragraph/run/break.spec.d.ts +0 -1
  376. package/dist/file/paragraph/run/comment-run.d.ts +0 -42
  377. package/dist/file/paragraph/run/comment-run.spec.d.ts +0 -1
  378. package/dist/file/paragraph/run/comments-extended.d.ts +0 -5
  379. package/dist/file/paragraph/run/comments-extended.spec.d.ts +0 -1
  380. package/dist/file/paragraph/run/emphasis-mark.d.ts +0 -6
  381. package/dist/file/paragraph/run/emphasis-mark.spec.d.ts +0 -1
  382. package/dist/file/paragraph/run/empty-children.d.ts +0 -52
  383. package/dist/file/paragraph/run/empty-children.spec.d.ts +0 -1
  384. package/dist/file/paragraph/run/field.d.ts +0 -4
  385. package/dist/file/paragraph/run/formatting.d.ts +0 -14
  386. package/dist/file/paragraph/run/formatting.spec.d.ts +0 -1
  387. package/dist/file/paragraph/run/image-run.d.ts +0 -33
  388. package/dist/file/paragraph/run/image-run.spec.d.ts +0 -1
  389. package/dist/file/paragraph/run/index.d.ts +0 -16
  390. package/dist/file/paragraph/run/language.d.ts +0 -7
  391. package/dist/file/paragraph/run/language.spec.d.ts +0 -1
  392. package/dist/file/paragraph/run/page-number.d.ts +0 -13
  393. package/dist/file/paragraph/run/page-number.spec.d.ts +0 -1
  394. package/dist/file/paragraph/run/positional-tab.d.ts +0 -25
  395. package/dist/file/paragraph/run/positional-tab.spec.d.ts +0 -1
  396. package/dist/file/paragraph/run/properties.d.ts +0 -102
  397. package/dist/file/paragraph/run/run-components/symbol.d.ts +0 -4
  398. package/dist/file/paragraph/run/run-components/symbol.spec.d.ts +0 -1
  399. package/dist/file/paragraph/run/run-components/text.d.ts +0 -10
  400. package/dist/file/paragraph/run/run-components/text.spec.d.ts +0 -1
  401. package/dist/file/paragraph/run/run-fonts.d.ts +0 -9
  402. package/dist/file/paragraph/run/run-fonts.spec.d.ts +0 -1
  403. package/dist/file/paragraph/run/run.d.ts +0 -23
  404. package/dist/file/paragraph/run/run.spec.d.ts +0 -1
  405. package/dist/file/paragraph/run/script.d.ts +0 -3
  406. package/dist/file/paragraph/run/script.spec.d.ts +0 -1
  407. package/dist/file/paragraph/run/sequential-identifier-instruction.d.ts +0 -4
  408. package/dist/file/paragraph/run/sequential-identifier.d.ts +0 -4
  409. package/dist/file/paragraph/run/sequential-identifier.spec.d.ts +0 -1
  410. package/dist/file/paragraph/run/simple-field.d.ts +0 -7
  411. package/dist/file/paragraph/run/simple-field.spec.d.ts +0 -1
  412. package/dist/file/paragraph/run/symbol-run.d.ts +0 -8
  413. package/dist/file/paragraph/run/symbol-run.spec.d.ts +0 -1
  414. package/dist/file/paragraph/run/text-attributes.d.ts +0 -9
  415. package/dist/file/paragraph/run/text-run.d.ts +0 -4
  416. package/dist/file/paragraph/run/text-run.spec.d.ts +0 -1
  417. package/dist/file/paragraph/run/underline.d.ts +0 -22
  418. package/dist/file/paragraph/run/underline.spec.d.ts +0 -1
  419. package/dist/file/paragraph/run/wpg-group-run.d.ts +0 -21
  420. package/dist/file/paragraph/run/wpg-group-run.spec.d.ts +0 -1
  421. package/dist/file/paragraph/run/wps-shape-run.d.ts +0 -23
  422. package/dist/file/paragraph/run/wps-shape-run.spec.d.ts +0 -1
  423. package/dist/file/relationships/attributes.d.ts +0 -8
  424. package/dist/file/relationships/index.d.ts +0 -1
  425. package/dist/file/relationships/relationship/relationship.d.ts +0 -6
  426. package/dist/file/relationships/relationships.d.ts +0 -7
  427. package/dist/file/relationships/relationships.spec.d.ts +0 -1
  428. package/dist/file/settings/compatibility-setting/compatibility-setting.d.ts +0 -2
  429. package/dist/file/settings/compatibility-setting/compatibility-setting.spec.d.ts +0 -1
  430. package/dist/file/settings/compatibility.d.ts +0 -72
  431. package/dist/file/settings/compatibility.spec.d.ts +0 -1
  432. package/dist/file/settings/index.d.ts +0 -1
  433. package/dist/file/settings/settings.d.ts +0 -59
  434. package/dist/file/settings/settings.spec.d.ts +0 -1
  435. package/dist/file/shading/index.d.ts +0 -1
  436. package/dist/file/shading/shading.d.ts +0 -46
  437. package/dist/file/shading/shading.spec.d.ts +0 -1
  438. package/dist/file/shared/alignment.d.ts +0 -14
  439. package/dist/file/shared/index.d.ts +0 -3
  440. package/dist/file/shared/number-format.d.ts +0 -64
  441. package/dist/file/shared/space-type.d.ts +0 -4
  442. package/dist/file/styles/defaults/document-defaults.d.ts +0 -12
  443. package/dist/file/styles/defaults/document-defaults.spec.d.ts +0 -1
  444. package/dist/file/styles/defaults/index.d.ts +0 -3
  445. package/dist/file/styles/defaults/paragraph-properties.d.ts +0 -5
  446. package/dist/file/styles/defaults/run-properties.d.ts +0 -5
  447. package/dist/file/styles/external-styles-factory.d.ts +0 -4
  448. package/dist/file/styles/external-styles-factory.spec.d.ts +0 -1
  449. package/dist/file/styles/factory.d.ts +0 -25
  450. package/dist/file/styles/index.d.ts +0 -4
  451. package/dist/file/styles/latent-styles/exceptions.d.ts +0 -20
  452. package/dist/file/styles/latent-styles/exceptions.spec.d.ts +0 -1
  453. package/dist/file/styles/latent-styles/index.d.ts +0 -1
  454. package/dist/file/styles/latent-styles/latent-styles.d.ts +0 -5
  455. package/dist/file/styles/latent-styles/latent-styles.spec.d.ts +0 -1
  456. package/dist/file/styles/sample/default-style.d.ts +0 -1
  457. package/dist/file/styles/sample/default-style.spec.d.ts +0 -1
  458. package/dist/file/styles/sample/index.d.ts +0 -1
  459. package/dist/file/styles/style/character-style.d.ts +0 -12
  460. package/dist/file/styles/style/character-style.spec.d.ts +0 -1
  461. package/dist/file/styles/style/components.d.ts +0 -11
  462. package/dist/file/styles/style/components.spec.d.ts +0 -1
  463. package/dist/file/styles/style/default-styles.d.ts +0 -53
  464. package/dist/file/styles/style/default-styles.spec.d.ts +0 -1
  465. package/dist/file/styles/style/index.d.ts +0 -4
  466. package/dist/file/styles/style/paragraph-style.d.ts +0 -14
  467. package/dist/file/styles/style/paragraph-style.spec.d.ts +0 -1
  468. package/dist/file/styles/style/style.d.ts +0 -20
  469. package/dist/file/styles/style/style.spec.d.ts +0 -1
  470. package/dist/file/styles/styles.d.ts +0 -15
  471. package/dist/file/styles/styles.spec.d.ts +0 -1
  472. package/dist/file/table/grid.d.ts +0 -13
  473. package/dist/file/table/grid.spec.d.ts +0 -1
  474. package/dist/file/table/index.d.ts +0 -5
  475. package/dist/file/table/table-cell/index.d.ts +0 -2
  476. package/dist/file/table/table-cell/table-cell-components.d.ts +0 -31
  477. package/dist/file/table/table-cell/table-cell-properties.d.ts +0 -33
  478. package/dist/file/table/table-cell/table-cell-properties.spec.d.ts +0 -1
  479. package/dist/file/table/table-cell/table-cell.d.ts +0 -12
  480. package/dist/file/table/table-cell/table-cell.spec.d.ts +0 -1
  481. package/dist/file/table/table-cell-spacing.d.ts +0 -11
  482. package/dist/file/table/table-properties/index.d.ts +0 -5
  483. package/dist/file/table/table-properties/table-borders.d.ts +0 -14
  484. package/dist/file/table/table-properties/table-borders.spec.d.ts +0 -1
  485. package/dist/file/table/table-properties/table-cell-margin.d.ts +0 -11
  486. package/dist/file/table/table-properties/table-cell-margin.spec.d.ts +0 -1
  487. package/dist/file/table/table-properties/table-float-properties.d.ts +0 -40
  488. package/dist/file/table/table-properties/table-float-properties.spec.d.ts +0 -1
  489. package/dist/file/table/table-properties/table-layout.d.ts +0 -6
  490. package/dist/file/table/table-properties/table-look.d.ts +0 -10
  491. package/dist/file/table/table-properties/table-look.spec.d.ts +0 -1
  492. package/dist/file/table/table-properties/table-properties.d.ts +0 -33
  493. package/dist/file/table/table-properties/table-properties.spec.d.ts +0 -1
  494. package/dist/file/table/table-row/index.d.ts +0 -3
  495. package/dist/file/table/table-row/table-row-height.d.ts +0 -8
  496. package/dist/file/table/table-row/table-row-properties.d.ts +0 -27
  497. package/dist/file/table/table-row/table-row-properties.spec.d.ts +0 -1
  498. package/dist/file/table/table-row/table-row.d.ts +0 -16
  499. package/dist/file/table/table-row/table-row.spec.d.ts +0 -1
  500. package/dist/file/table/table-width.d.ts +0 -13
  501. package/dist/file/table/table.d.ts +0 -30
  502. package/dist/file/table/table.spec.d.ts +0 -1
  503. package/dist/file/table-of-contents/field-instruction.d.ts +0 -6
  504. package/dist/file/table-of-contents/index.d.ts +0 -2
  505. package/dist/file/table-of-contents/sdt-content.d.ts +0 -4
  506. package/dist/file/table-of-contents/sdt-properties.d.ts +0 -4
  507. package/dist/file/table-of-contents/table-of-contents-properties.d.ts +0 -23
  508. package/dist/file/table-of-contents/table-of-contents.d.ts +0 -20
  509. package/dist/file/table-of-contents/table-of-contents.spec.d.ts +0 -1
  510. package/dist/file/textbox/index.d.ts +0 -1
  511. package/dist/file/textbox/pict-element/pict-element.d.ts +0 -5
  512. package/dist/file/textbox/shape/shape.d.ts +0 -36
  513. package/dist/file/textbox/shape/shape.spec.d.ts +0 -1
  514. package/dist/file/textbox/texbox-content/textbox-content.d.ts +0 -5
  515. package/dist/file/textbox/textbox.d.ts +0 -10
  516. package/dist/file/textbox/textbox.spec.d.ts +0 -1
  517. package/dist/file/textbox/types.d.ts +0 -2
  518. package/dist/file/textbox/vml-textbox/vml-texbox.d.ts +0 -14
  519. package/dist/file/textbox/vml-textbox/vml-textbox.spec.d.ts +0 -1
  520. package/dist/file/track-revision/index.d.ts +0 -7
  521. package/dist/file/track-revision/track-revision-components/cell-merge.d.ts +0 -22
  522. package/dist/file/track-revision/track-revision-components/cell-merge.spec.d.ts +0 -1
  523. package/dist/file/track-revision/track-revision-components/deleted-page-number.d.ts +0 -10
  524. package/dist/file/track-revision/track-revision-components/deleted-page-number.spec.d.ts +0 -1
  525. package/dist/file/track-revision/track-revision-components/deleted-table-cell.d.ts +0 -5
  526. package/dist/file/track-revision/track-revision-components/deleted-table-cell.spec.d.ts +0 -1
  527. package/dist/file/track-revision/track-revision-components/deleted-table-row.d.ts +0 -5
  528. package/dist/file/track-revision/track-revision-components/deleted-table-row.spec.d.ts +0 -1
  529. package/dist/file/track-revision/track-revision-components/deleted-text-run.d.ts +0 -12
  530. package/dist/file/track-revision/track-revision-components/deleted-text-run.spec.d.ts +0 -1
  531. package/dist/file/track-revision/track-revision-components/deleted-text.d.ts +0 -4
  532. package/dist/file/track-revision/track-revision-components/deleted-text.spec.d.ts +0 -1
  533. package/dist/file/track-revision/track-revision-components/deletion-track-change.d.ts +0 -5
  534. package/dist/file/track-revision/track-revision-components/inserted-table-cell.d.ts +0 -5
  535. package/dist/file/track-revision/track-revision-components/inserted-table-cell.spec.d.ts +0 -1
  536. package/dist/file/track-revision/track-revision-components/inserted-table-row.d.ts +0 -5
  537. package/dist/file/track-revision/track-revision-components/inserted-table-row.spec.d.ts +0 -1
  538. package/dist/file/track-revision/track-revision-components/inserted-text-run.d.ts +0 -8
  539. package/dist/file/track-revision/track-revision-components/inserted-text-run.spec.d.ts +0 -1
  540. package/dist/file/track-revision/track-revision-components/insertion-track-change.d.ts +0 -5
  541. package/dist/file/track-revision/track-revision.d.ts +0 -13
  542. package/dist/file/vertical-align/index.d.ts +0 -1
  543. package/dist/file/vertical-align/vertical-align.d.ts +0 -21
  544. package/dist/file/xml-components/attribute.spec.d.ts +0 -1
  545. package/dist/file/xml-components/attributes.d.ts +0 -46
  546. package/dist/file/xml-components/base.d.ts +0 -13
  547. package/dist/file/xml-components/default-attributes.d.ts +0 -21
  548. package/dist/file/xml-components/imported-xml-component.d.ts +0 -14
  549. package/dist/file/xml-components/imported-xml-component.spec.d.ts +0 -1
  550. package/dist/file/xml-components/index.d.ts +0 -8
  551. package/dist/file/xml-components/initializable-xml-component.d.ts +0 -4
  552. package/dist/file/xml-components/simple-elements.d.ts +0 -30
  553. package/dist/file/xml-components/simple-elements.spec.d.ts +0 -1
  554. package/dist/file/xml-components/xml-component.d.ts +0 -14
  555. package/dist/file/xml-components/xml-component.spec.d.ts +0 -1
  556. package/dist/file/xml-components/xmlable-object.d.ts +0 -5
  557. package/dist/index.spec.d.ts +0 -1
  558. package/dist/patcher/content-types-manager.d.ts +0 -2
  559. package/dist/patcher/content-types-manager.spec.d.ts +0 -1
  560. package/dist/patcher/from-docx.d.ts +0 -32
  561. package/dist/patcher/from-docx.spec.d.ts +0 -1
  562. package/dist/patcher/index.d.ts +0 -2
  563. package/dist/patcher/paragraph-split-inject.d.ts +0 -9
  564. package/dist/patcher/paragraph-split-inject.spec.d.ts +0 -1
  565. package/dist/patcher/paragraph-token-replacer.d.ts +0 -8
  566. package/dist/patcher/paragraph-token-replacer.spec.d.ts +0 -1
  567. package/dist/patcher/patch-detector.d.ts +0 -6
  568. package/dist/patcher/patch-detector.spec.d.ts +0 -1
  569. package/dist/patcher/relationship-manager.d.ts +0 -4
  570. package/dist/patcher/relationship-manager.spec.d.ts +0 -1
  571. package/dist/patcher/replacer.d.ts +0 -15
  572. package/dist/patcher/replacer.spec.d.ts +0 -84
  573. package/dist/patcher/run-renderer.d.ts +0 -22
  574. package/dist/patcher/run-renderer.spec.d.ts +0 -1
  575. package/dist/patcher/traverser.d.ts +0 -9
  576. package/dist/patcher/traverser.spec.d.ts +0 -1
  577. package/dist/patcher/util.d.ts +0 -5
  578. package/dist/patcher/util.spec.d.ts +0 -1
  579. package/dist/tests/utility.d.ts +0 -3
  580. package/dist/util/convenience-functions.d.ts +0 -12
  581. package/dist/util/convenience-functions.spec.d.ts +0 -1
  582. package/dist/util/index.d.ts +0 -3
  583. package/dist/util/output-type.d.ts +0 -12
  584. package/dist/util/types.d.ts +0 -1
  585. package/dist/util/values.d.ts +0 -22
  586. package/dist/util/values.spec.d.ts +0 -1
@@ -1,13 +0,0 @@
1
- import { IViewWrapper } from '../document-wrapper';
2
- import { File } from '../file';
3
- import { IXmlableObject } from './xmlable-object';
4
- export type IContext = {
5
- readonly file: File;
6
- readonly viewWrapper: IViewWrapper;
7
- readonly stack: IXmlableObject[];
8
- };
9
- export declare abstract class BaseXmlComponent {
10
- protected readonly rootKey: string;
11
- constructor(rootKey: string);
12
- abstract prepForXml(context: IContext): IXmlableObject | undefined;
13
- }
@@ -1,21 +0,0 @@
1
- import { BaseXmlComponent, IContext } from './base';
2
- import { IXmlableObject } from './xmlable-object';
3
- export type AttributeMap<T> = Record<keyof T, string>;
4
- export type AttributeData = Record<string, boolean | number | string>;
5
- export type AttributePayload<T> = {
6
- readonly [P in keyof T]: {
7
- readonly key: string;
8
- readonly value: T[P];
9
- };
10
- };
11
- export declare abstract class XmlAttributeComponent<T extends Record<string, any>> extends BaseXmlComponent {
12
- private readonly root;
13
- protected readonly xmlKeys?: AttributeMap<T>;
14
- constructor(root: T);
15
- prepForXml(_: IContext): IXmlableObject;
16
- }
17
- export declare class NextAttributeComponent<T extends AttributeData> extends BaseXmlComponent {
18
- private readonly root;
19
- constructor(root: AttributePayload<T>);
20
- prepForXml(_: IContext): IXmlableObject;
21
- }
@@ -1,14 +0,0 @@
1
- import { Element as XmlElement } from 'xml-js';
2
- import { IXmlableObject, XmlComponent } from '.';
3
- import { IContext } from './base';
4
- export declare const convertToXmlComponent: (element: XmlElement) => ImportedXmlComponent | string | undefined;
5
- export declare class ImportedXmlComponent extends XmlComponent {
6
- static fromXmlString(importedContent: string): ImportedXmlComponent;
7
- constructor(rootKey: string, _attr?: any);
8
- push(xmlComponent: XmlComponent | string): void;
9
- }
10
- export declare class ImportedRootElementAttributes extends XmlComponent {
11
- private readonly _attr;
12
- constructor(_attr: any);
13
- prepForXml(_: IContext): IXmlableObject;
14
- }
@@ -1,8 +0,0 @@
1
- export * from './xml-component';
2
- export * from './attributes';
3
- export * from './default-attributes';
4
- export * from './imported-xml-component';
5
- export * from './xmlable-object';
6
- export * from './initializable-xml-component';
7
- export * from './simple-elements';
8
- export * from './base';
@@ -1,4 +0,0 @@
1
- import { XmlComponent } from '.';
2
- export declare abstract class InitializableXmlComponent extends XmlComponent {
3
- constructor(rootKey: string, initComponent?: InitializableXmlComponent);
4
- }
@@ -1,30 +0,0 @@
1
- import { AttributeData, AttributePayload, XmlComponent } from '.';
2
- import { PositiveUniversalMeasure } from '../../util/values';
3
- export declare class OnOffElement extends XmlComponent {
4
- constructor(name: string, val?: boolean | undefined);
5
- }
6
- export declare class HpsMeasureElement extends XmlComponent {
7
- constructor(name: string, val: number | PositiveUniversalMeasure);
8
- }
9
- export declare class EmptyElement extends XmlComponent {
10
- }
11
- export declare class StringValueElement extends XmlComponent {
12
- constructor(name: string, val: string);
13
- }
14
- export declare const createStringElement: (name: string, value: string) => XmlComponent;
15
- export declare class NumberValueElement extends XmlComponent {
16
- constructor(name: string, val: number);
17
- }
18
- export declare class StringEnumValueElement<T extends string> extends XmlComponent {
19
- constructor(name: string, val: T);
20
- }
21
- export declare class StringContainer extends XmlComponent {
22
- constructor(name: string, val: string);
23
- }
24
- export declare class BuilderElement<T extends AttributeData = {}> extends XmlComponent {
25
- constructor({ name, attributes, children, }: {
26
- readonly name: string;
27
- readonly attributes?: AttributePayload<T>;
28
- readonly children?: readonly XmlComponent[];
29
- });
30
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,14 +0,0 @@
1
- import { BaseXmlComponent, IContext } from './base';
2
- import { IXmlableObject } from './xmlable-object';
3
- export declare const EMPTY_OBJECT: {};
4
- export declare abstract class XmlComponent extends BaseXmlComponent {
5
- protected root: (BaseXmlComponent | string | any)[];
6
- constructor(rootKey: string);
7
- prepForXml(context: IContext): IXmlableObject | undefined;
8
- addChildElement(child: XmlComponent | string): XmlComponent;
9
- }
10
- export declare abstract class IgnoreIfEmptyXmlComponent extends XmlComponent {
11
- private readonly includeIfEmpty;
12
- constructor(rootKey: string, includeIfEmpty?: boolean);
13
- prepForXml(context: IContext): IXmlableObject | undefined;
14
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- export type IXmlAttribute = Readonly<Record<string, string | number | boolean>>;
2
- export interface IXmlableObject extends Record<string, unknown> {
3
- readonly [key: string]: any;
4
- }
5
- export declare const WORKAROUND3 = "";
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import { Element } from 'xml-js';
2
- export declare const appendContentType: (element: Element, contentType: string, extension: string) => void;
@@ -1 +0,0 @@
1
- export {};
@@ -1,32 +0,0 @@
1
- import { default as JSZip } from 'jszip';
2
- import { FileChild } from '../file/file-child';
3
- import { ParagraphChild } from '../file/paragraph';
4
- import { OutputByType, OutputType } from '../util/output-type';
5
- export type InputDataType = Buffer | string | number[] | Uint8Array | ArrayBuffer | Blob | NodeJS.ReadableStream | JSZip;
6
- export declare const PatchType: {
7
- readonly DOCUMENT: "file";
8
- readonly PARAGRAPH: "paragraph";
9
- };
10
- type ParagraphPatch = {
11
- readonly type: typeof PatchType.PARAGRAPH;
12
- readonly children: readonly ParagraphChild[];
13
- };
14
- type FilePatch = {
15
- readonly type: typeof PatchType.DOCUMENT;
16
- readonly children: readonly FileChild[];
17
- };
18
- export type IPatch = ParagraphPatch | FilePatch;
19
- export type PatchDocumentOutputType = OutputType;
20
- export type PatchDocumentOptions<T extends PatchDocumentOutputType = PatchDocumentOutputType> = {
21
- readonly outputType: T;
22
- readonly data: InputDataType;
23
- readonly patches: Readonly<Record<string, IPatch>>;
24
- readonly keepOriginalStyles?: boolean;
25
- readonly placeholderDelimiters?: Readonly<{
26
- readonly start: string;
27
- readonly end: string;
28
- }>;
29
- readonly recursive?: boolean;
30
- };
31
- export declare const patchDocument: <T extends PatchDocumentOutputType = PatchDocumentOutputType>({ outputType, data, patches, keepOriginalStyles, placeholderDelimiters, recursive, }: PatchDocumentOptions<T>) => Promise<OutputByType[T]>;
32
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export * from './from-docx';
2
- export * from './patch-detector';
@@ -1,9 +0,0 @@
1
- import { Element } from 'xml-js';
2
- export declare class TokenNotFoundError extends Error {
3
- constructor(token: string);
4
- }
5
- export declare const findRunElementIndexWithToken: (paragraphElement: Element, token: string) => number;
6
- export declare const splitRunElement: (runElement: Element, token: string) => {
7
- readonly left: Element;
8
- readonly right: Element;
9
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- import { Element } from 'xml-js';
2
- import { IRenderedParagraphNode } from './run-renderer';
3
- export declare const replaceTokenInParagraphElement: ({ paragraphElement, renderedParagraph, originalText, replacementText, }: {
4
- readonly paragraphElement: Element;
5
- readonly renderedParagraph: IRenderedParagraphNode;
6
- readonly originalText: string;
7
- readonly replacementText: string;
8
- }) => Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import { InputDataType } from './from-docx';
2
- type PatchDetectorOptions = {
3
- readonly data: InputDataType;
4
- };
5
- export declare const patchDetector: ({ data }: PatchDetectorOptions) => Promise<readonly string[]>;
6
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import { Element } from 'xml-js';
2
- import { RelationshipType, TargetModeType } from '../file/relationships/relationship/relationship';
3
- export declare const getNextRelationshipIndex: (relationships: Element) => number;
4
- export declare const appendRelationship: (relationships: Element, id: number | string, type: RelationshipType, target: string, targetMode?: (typeof TargetModeType)[keyof typeof TargetModeType]) => readonly Element[];
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { Element } from 'xml-js';
2
- import { IContext } from '../file/xml-components';
3
- import { IPatch } from './from-docx';
4
- type IReplacerResult = {
5
- readonly element: Element;
6
- readonly didFindOccurrence: boolean;
7
- };
8
- export declare const replacer: ({ json, patch, patchText, context, keepOriginalStyles, }: {
9
- readonly json: Element;
10
- readonly patch: IPatch;
11
- readonly patchText: string;
12
- readonly context: IContext;
13
- readonly keepOriginalStyles?: boolean;
14
- }) => IReplacerResult;
15
- export {};
@@ -1,84 +0,0 @@
1
- export declare const MOCK_JSON: {
2
- elements: {
3
- type: string;
4
- name: string;
5
- elements: ({
6
- type: string;
7
- name: string;
8
- attributes: {
9
- "w14:paraId": string;
10
- "w14:textId": string;
11
- "w:rsidR": string;
12
- "w:rsidRDefault": string;
13
- };
14
- elements: ({
15
- type: string;
16
- name: string;
17
- elements: {
18
- type: string;
19
- name: string;
20
- attributes: {
21
- "w:val": string;
22
- };
23
- }[];
24
- attributes?: undefined;
25
- } | {
26
- type: string;
27
- name: string;
28
- elements: {
29
- type: string;
30
- name: string;
31
- elements: {
32
- type: string;
33
- text: string;
34
- }[];
35
- }[];
36
- attributes?: undefined;
37
- } | {
38
- type: string;
39
- name: string;
40
- attributes: {
41
- "w:rsidR": string;
42
- };
43
- elements: {
44
- type: string;
45
- name: string;
46
- elements: {
47
- type: string;
48
- text: string;
49
- }[];
50
- }[];
51
- })[];
52
- } | {
53
- type: string;
54
- name: string;
55
- elements: {
56
- type: string;
57
- name: string;
58
- elements: ({
59
- type: string;
60
- name: string;
61
- elements: {
62
- type: string;
63
- name: string;
64
- attributes: {
65
- "w:val": string;
66
- };
67
- }[];
68
- } | {
69
- type: string;
70
- name: string;
71
- elements: {
72
- type: string;
73
- text: string;
74
- }[];
75
- } | {
76
- type: string;
77
- name: string;
78
- elements?: undefined;
79
- })[];
80
- }[];
81
- attributes?: undefined;
82
- })[];
83
- }[];
84
- };
@@ -1,22 +0,0 @@
1
- import { ElementWrapper } from './traverser';
2
- export type IRenderedParagraphNode = {
3
- readonly text: string;
4
- readonly runs: readonly IRenderedRunNode[];
5
- readonly index: number;
6
- readonly pathToParagraph: readonly number[];
7
- };
8
- type StartAndEnd = {
9
- readonly start: number;
10
- readonly end: number;
11
- };
12
- type IParts = {
13
- readonly text: string;
14
- readonly index: number;
15
- } & StartAndEnd;
16
- export type IRenderedRunNode = {
17
- readonly text: string;
18
- readonly parts: readonly IParts[];
19
- readonly index: number;
20
- } & StartAndEnd;
21
- export declare const renderParagraphNode: (node: ElementWrapper) => IRenderedParagraphNode;
22
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- import { Element } from 'xml-js';
2
- import { IRenderedParagraphNode } from './run-renderer';
3
- export type ElementWrapper = {
4
- readonly element: Element;
5
- readonly index: number;
6
- readonly parent: ElementWrapper | undefined;
7
- };
8
- export declare const traverse: (node: Element) => readonly IRenderedParagraphNode[];
9
- export declare const findLocationOfText: (node: Element, text: string) => readonly IRenderedParagraphNode[];
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { Element } from 'xml-js';
2
- export declare const toJson: (xmlData: string) => Element;
3
- export declare const createTextElementContents: (text: string) => Element[];
4
- export declare const patchSpaceAttribute: (element: Element) => Element;
5
- export declare const getFirstLevelElements: (relationships: Element, id: string) => Element[];
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export declare class Utility {
2
- static jsonify(obj: object): any;
3
- }
@@ -1,12 +0,0 @@
1
- export declare const convertMillimetersToTwip: (millimeters: number) => number;
2
- export declare const convertInchesToTwip: (inches: number) => number;
3
- export type UniqueNumericIdCreator = () => number;
4
- export declare const uniqueNumericIdCreator: (initial?: number) => UniqueNumericIdCreator;
5
- export declare const abstractNumUniqueNumericIdGen: () => UniqueNumericIdCreator;
6
- export declare const concreteNumUniqueNumericIdGen: () => UniqueNumericIdCreator;
7
- export declare const docPropertiesUniqueNumericIdGen: () => UniqueNumericIdCreator;
8
- export declare const bookmarkUniqueNumericIdGen: () => UniqueNumericIdCreator;
9
- export declare const uniqueId: () => string;
10
- export declare const hashedId: (data: Buffer | string | Uint8Array | ArrayBuffer) => string;
11
- export declare const uniqueUuid: () => string;
12
- export declare const encodeUtf8: (str: string) => Uint8Array;
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export * from './convenience-functions';
2
- export * from './values';
3
- export type * from './output-type';
@@ -1,12 +0,0 @@
1
- export type OutputByType = {
2
- readonly base64: string;
3
- readonly string: string;
4
- readonly text: string;
5
- readonly binarystring: string;
6
- readonly array: readonly number[];
7
- readonly uint8array: Uint8Array;
8
- readonly arraybuffer: ArrayBuffer;
9
- readonly blob: Blob;
10
- readonly nodebuffer: Buffer;
11
- };
12
- export type OutputType = keyof OutputByType;
@@ -1 +0,0 @@
1
- export type InsetMode = "auto" | "custom";
@@ -1,22 +0,0 @@
1
- export type UniversalMeasure = `${"-" | ""}${number}${"mm" | "cm" | "in" | "pt" | "pc" | "pi"}`;
2
- export type PositiveUniversalMeasure = `${number}${"mm" | "cm" | "in" | "pt" | "pc" | "pi"}`;
3
- export type Percentage = `${"-" | ""}${number}%`;
4
- export type PositivePercentage = `${number}%`;
5
- export type RelativeMeasure = `${"-" | ""}${number}${"em" | "ex"}`;
6
- export declare const decimalNumber: (val: number) => number;
7
- export declare const unsignedDecimalNumber: (val: number) => number;
8
- export declare const longHexNumber: (val: string) => string;
9
- export declare const shortHexNumber: (val: string) => string;
10
- export declare const uCharHexNumber: (val: string) => string;
11
- export declare const universalMeasureValue: (val: UniversalMeasure) => UniversalMeasure;
12
- export declare const positiveUniversalMeasureValue: (val: PositiveUniversalMeasure) => PositiveUniversalMeasure;
13
- export declare const hexColorValue: (val: string) => string;
14
- export declare const signedTwipsMeasureValue: (val: UniversalMeasure | number) => UniversalMeasure | number;
15
- export declare const hpsMeasureValue: (val: PositiveUniversalMeasure | number) => string | number;
16
- export declare const signedHpsMeasureValue: (val: UniversalMeasure | number) => string | number;
17
- export declare const twipsMeasureValue: (val: PositiveUniversalMeasure | number) => PositiveUniversalMeasure | number;
18
- export declare const percentageValue: (val: Percentage) => Percentage;
19
- export declare const measurementOrPercentValue: (val: number | Percentage | UniversalMeasure) => number | UniversalMeasure | Percentage;
20
- export declare const eighthPointMeasureValue: (val: number) => number;
21
- export declare const pointMeasureValue: (val: number) => number;
22
- export declare const dateTimeValue: (val: Date) => string;
@@ -1 +0,0 @@
1
- export {};