docx 8.0.4 → 8.1.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 (248) hide show
  1. package/build/export/formatter.d.ts +1 -1
  2. package/build/export/packer/image-replacer.d.ts +1 -1
  3. package/build/export/packer/next-compiler.d.ts +3 -3
  4. package/build/export/packer/numbering-replacer.d.ts +1 -1
  5. package/build/export/packer/packer.d.ts +1 -1
  6. package/build/file/app-properties/app-properties-attributes.d.ts +1 -1
  7. package/build/file/app-properties/app-properties.d.ts +1 -1
  8. package/build/file/border/border.d.ts +1 -1
  9. package/build/file/content-types/content-types-attributes.d.ts +1 -1
  10. package/build/file/content-types/content-types.d.ts +1 -1
  11. package/build/file/content-types/default/default-attributes.d.ts +1 -1
  12. package/build/file/content-types/default/default.d.ts +1 -1
  13. package/build/file/content-types/override/override-attributes.d.ts +1 -1
  14. package/build/file/content-types/override/override.d.ts +1 -1
  15. package/build/file/core-properties/properties.d.ts +3 -3
  16. package/build/file/custom-properties/custom-properties-attributes.d.ts +1 -1
  17. package/build/file/custom-properties/custom-properties.d.ts +1 -1
  18. package/build/file/custom-properties/custom-property-attributes.d.ts +1 -1
  19. package/build/file/custom-properties/custom-property.d.ts +1 -1
  20. package/build/file/document/body/body.d.ts +1 -1
  21. package/build/file/document/body/section-properties/properties/column.d.ts +2 -2
  22. package/build/file/document/body/section-properties/properties/columns.d.ts +2 -2
  23. package/build/file/document/body/section-properties/properties/doc-grid.d.ts +1 -1
  24. package/build/file/document/body/section-properties/properties/header-footer-reference.d.ts +1 -1
  25. package/build/file/document/body/section-properties/properties/line-number.d.ts +2 -2
  26. package/build/file/document/body/section-properties/properties/page-borders.d.ts +2 -2
  27. package/build/file/document/body/section-properties/properties/page-margin.d.ts +2 -2
  28. package/build/file/document/body/section-properties/properties/page-number.d.ts +2 -2
  29. package/build/file/document/body/section-properties/properties/page-size.d.ts +2 -2
  30. package/build/file/document/body/section-properties/properties/page-text-direction.d.ts +1 -1
  31. package/build/file/document/body/section-properties/properties/section-type.d.ts +1 -1
  32. package/build/file/document/body/section-properties/section-properties.d.ts +4 -4
  33. package/build/file/document/document-attributes.d.ts +1 -1
  34. package/build/file/document/document-background/document-background.d.ts +1 -1
  35. package/build/file/document/document.d.ts +1 -1
  36. package/build/file/drawing/anchor/anchor-attributes.d.ts +1 -1
  37. package/build/file/drawing/anchor/anchor.d.ts +2 -2
  38. package/build/file/drawing/doc-properties/doc-properties-children.d.ts +1 -1
  39. package/build/file/drawing/doc-properties/doc-properties.d.ts +1 -1
  40. package/build/file/drawing/drawing.d.ts +2 -3
  41. package/build/file/drawing/effect-extent/effect-extent-attributes.d.ts +1 -1
  42. package/build/file/drawing/effect-extent/effect-extent.d.ts +1 -1
  43. package/build/file/drawing/extent/extent-attributes.d.ts +1 -1
  44. package/build/file/drawing/extent/extent.d.ts +1 -1
  45. package/build/file/drawing/floating/align.d.ts +2 -2
  46. package/build/file/drawing/floating/floating-position.d.ts +1 -1
  47. package/build/file/drawing/floating/horizontal-position.d.ts +1 -1
  48. package/build/file/drawing/floating/position-offset.d.ts +1 -1
  49. package/build/file/drawing/floating/simple-pos.d.ts +1 -1
  50. package/build/file/drawing/floating/vertical-position.d.ts +1 -1
  51. package/build/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-lock-attributes.d.ts +1 -1
  52. package/build/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-locks.d.ts +1 -1
  53. package/build/file/drawing/graphic-frame/graphic-frame-properties.d.ts +1 -1
  54. package/build/file/drawing/inline/graphic/graphic-data/graphic-data-attribute.d.ts +1 -1
  55. package/build/file/drawing/inline/graphic/graphic-data/graphic-data.d.ts +2 -2
  56. package/build/file/drawing/inline/graphic/graphic-data/pic/blip/blip-fill.d.ts +2 -2
  57. package/build/file/drawing/inline/graphic/graphic-data/pic/blip/blip.d.ts +2 -2
  58. package/build/file/drawing/inline/graphic/graphic-data/pic/blip/source-rectangle.d.ts +1 -1
  59. package/build/file/drawing/inline/graphic/graphic-data/pic/blip/stretch.d.ts +1 -1
  60. 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 +1 -1
  61. 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 +1 -1
  62. package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/pic-locks/pic-locks.d.ts +1 -1
  63. package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-pic-properties.d.ts +1 -1
  64. package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties-attributes.d.ts +1 -1
  65. package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties.d.ts +1 -1
  66. package/build/file/drawing/inline/graphic/graphic-data/pic/pic-attributes.d.ts +1 -1
  67. package/build/file/drawing/inline/graphic/graphic-data/pic/pic.d.ts +2 -2
  68. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents-attributes.d.ts +1 -1
  69. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents.d.ts +1 -1
  70. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/form.d.ts +2 -2
  71. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off-attributes.d.ts +1 -1
  72. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off.d.ts +1 -1
  73. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/adjustment-values/adjustment-values.d.ts +1 -1
  74. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry-attributes.d.ts +1 -1
  75. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry.d.ts +1 -1
  76. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties-attributes.d.ts +1 -1
  77. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties.d.ts +2 -2
  78. package/build/file/drawing/inline/graphic/graphic.d.ts +2 -2
  79. package/build/file/drawing/inline/inline-attributes.d.ts +1 -1
  80. package/build/file/drawing/inline/inline.d.ts +2 -2
  81. package/build/file/drawing/text-wrap/wrap-none.d.ts +1 -1
  82. package/build/file/drawing/text-wrap/wrap-square.d.ts +1 -1
  83. package/build/file/drawing/text-wrap/wrap-tight.d.ts +1 -1
  84. package/build/file/drawing/text-wrap/wrap-top-and-bottom.d.ts +1 -1
  85. package/build/file/file-child.d.ts +1 -1
  86. package/build/file/footer/footer-attributes.d.ts +1 -1
  87. package/build/file/footer/footer.d.ts +1 -1
  88. package/build/file/footer-wrapper.d.ts +1 -1
  89. package/build/file/footnotes/footnote/footnote-attributes.d.ts +1 -1
  90. package/build/file/footnotes/footnote/footnote.d.ts +2 -2
  91. package/build/file/footnotes/footnote/run/continuation-seperator-run.d.ts +1 -1
  92. package/build/file/footnotes/footnote/run/continuation-seperator.d.ts +1 -1
  93. package/build/file/footnotes/footnote/run/footnote-ref-run.d.ts +1 -1
  94. package/build/file/footnotes/footnote/run/footnote-ref.d.ts +1 -1
  95. package/build/file/footnotes/footnote/run/reference-run.d.ts +2 -2
  96. package/build/file/footnotes/footnote/run/seperator-run.d.ts +1 -1
  97. package/build/file/footnotes/footnote/run/seperator.d.ts +1 -1
  98. package/build/file/footnotes/footnotes-attributes.d.ts +1 -1
  99. package/build/file/footnotes/footnotes.d.ts +1 -1
  100. package/build/file/header/header-attributes.d.ts +1 -1
  101. package/build/file/header/header.d.ts +1 -1
  102. package/build/file/header-wrapper.d.ts +1 -1
  103. package/build/file/numbering/abstract-numbering.d.ts +1 -1
  104. package/build/file/numbering/level.d.ts +1 -1
  105. package/build/file/numbering/multi-level-type.d.ts +1 -1
  106. package/build/file/numbering/num.d.ts +1 -1
  107. package/build/file/numbering/numbering.d.ts +2 -2
  108. package/build/file/paragraph/formatting/alignment.d.ts +1 -1
  109. package/build/file/paragraph/formatting/border.d.ts +2 -2
  110. package/build/file/paragraph/formatting/break.d.ts +1 -1
  111. package/build/file/paragraph/formatting/indent.d.ts +2 -2
  112. package/build/file/paragraph/formatting/spacing.d.ts +1 -1
  113. package/build/file/paragraph/formatting/style.d.ts +1 -1
  114. package/build/file/paragraph/formatting/tab-stop.d.ts +1 -1
  115. package/build/file/paragraph/formatting/unordered-list.d.ts +1 -1
  116. package/build/file/paragraph/formatting/word-wrap.d.ts +1 -1
  117. package/build/file/paragraph/frame/frame-properties.d.ts +3 -3
  118. package/build/file/paragraph/links/bookmark-attributes.d.ts +1 -1
  119. package/build/file/paragraph/links/bookmark.d.ts +1 -1
  120. package/build/file/paragraph/links/hyperlink-attributes.d.ts +1 -1
  121. package/build/file/paragraph/links/hyperlink.d.ts +1 -1
  122. package/build/file/paragraph/links/outline-level.d.ts +1 -1
  123. package/build/file/paragraph/links/pageref-field-instruction.d.ts +1 -1
  124. package/build/file/paragraph/math/brackets/math-angled-brackets.d.ts +1 -1
  125. package/build/file/paragraph/math/brackets/math-beginning-character.d.ts +1 -1
  126. package/build/file/paragraph/math/brackets/math-bracket-properties.d.ts +1 -1
  127. package/build/file/paragraph/math/brackets/math-curly-brackets.d.ts +1 -1
  128. package/build/file/paragraph/math/brackets/math-ending-char.d.ts +1 -1
  129. package/build/file/paragraph/math/brackets/math-round-brackets.d.ts +1 -1
  130. package/build/file/paragraph/math/brackets/math-square-brackets.d.ts +1 -1
  131. package/build/file/paragraph/math/fraction/math-denominator.d.ts +1 -1
  132. package/build/file/paragraph/math/fraction/math-fraction.d.ts +1 -1
  133. package/build/file/paragraph/math/fraction/math-numerator.d.ts +1 -1
  134. package/build/file/paragraph/math/function/math-function-name.d.ts +1 -1
  135. package/build/file/paragraph/math/function/math-function-properties.d.ts +1 -1
  136. package/build/file/paragraph/math/function/math-function.d.ts +1 -1
  137. package/build/file/paragraph/math/math-run.d.ts +1 -1
  138. package/build/file/paragraph/math/math-text.d.ts +1 -1
  139. package/build/file/paragraph/math/math.d.ts +1 -1
  140. package/build/file/paragraph/math/n-ary/math-accent-character.d.ts +1 -1
  141. package/build/file/paragraph/math/n-ary/math-base.d.ts +1 -1
  142. package/build/file/paragraph/math/n-ary/math-integral.d.ts +1 -1
  143. package/build/file/paragraph/math/n-ary/math-limit-location.d.ts +1 -1
  144. package/build/file/paragraph/math/n-ary/math-n-ary-properties.d.ts +1 -1
  145. package/build/file/paragraph/math/n-ary/math-sub-script-hide.d.ts +1 -1
  146. package/build/file/paragraph/math/n-ary/math-sub-script.d.ts +1 -1
  147. package/build/file/paragraph/math/n-ary/math-sum.d.ts +1 -1
  148. package/build/file/paragraph/math/n-ary/math-super-script-hide.d.ts +1 -1
  149. package/build/file/paragraph/math/n-ary/math-super-script.d.ts +1 -1
  150. package/build/file/paragraph/math/radical/math-degree-hide.d.ts +1 -1
  151. package/build/file/paragraph/math/radical/math-degree.d.ts +1 -1
  152. package/build/file/paragraph/math/radical/math-radical-properties.d.ts +1 -1
  153. package/build/file/paragraph/math/radical/math-radical.d.ts +1 -1
  154. package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.d.ts +1 -1
  155. package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.d.ts +1 -1
  156. package/build/file/paragraph/math/script/sub-script/math-sub-script-function-properties.d.ts +1 -1
  157. package/build/file/paragraph/math/script/sub-script/math-sub-script-function.d.ts +1 -1
  158. package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.d.ts +1 -1
  159. package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.d.ts +1 -1
  160. package/build/file/paragraph/math/script/super-script/math-super-script-function-properties.d.ts +1 -1
  161. package/build/file/paragraph/math/script/super-script/math-super-script-function.d.ts +1 -1
  162. package/build/file/paragraph/paragraph.d.ts +3 -3
  163. package/build/file/paragraph/properties.d.ts +1 -1
  164. package/build/file/paragraph/run/break.d.ts +1 -1
  165. package/build/file/paragraph/run/comment-run.d.ts +2 -2
  166. package/build/file/paragraph/run/emphasis-mark.d.ts +1 -1
  167. package/build/file/paragraph/run/empty-children.d.ts +1 -1
  168. package/build/file/paragraph/run/field.d.ts +1 -1
  169. package/build/file/paragraph/run/formatting.d.ts +2 -2
  170. package/build/file/paragraph/run/image-run.d.ts +2 -2
  171. package/build/file/paragraph/run/language.d.ts +1 -1
  172. package/build/file/paragraph/run/page-number.d.ts +1 -1
  173. package/build/file/paragraph/run/positional-tab.d.ts +1 -1
  174. package/build/file/paragraph/run/properties.d.ts +6 -5
  175. package/build/file/paragraph/run/run-components/symbol.d.ts +1 -1
  176. package/build/file/paragraph/run/run-components/text.d.ts +2 -2
  177. package/build/file/paragraph/run/run-fonts.d.ts +1 -1
  178. package/build/file/paragraph/run/run.d.ts +3 -3
  179. package/build/file/paragraph/run/script.d.ts +1 -1
  180. package/build/file/paragraph/run/sequential-identifier-instruction.d.ts +1 -1
  181. package/build/file/paragraph/run/sequential-identifier.d.ts +1 -1
  182. package/build/file/paragraph/run/simple-field.d.ts +1 -1
  183. package/build/file/paragraph/run/text-attributes.d.ts +2 -2
  184. package/build/file/paragraph/run/underline.d.ts +1 -1
  185. package/build/file/relationships/attributes.d.ts +1 -1
  186. package/build/file/relationships/relationship/relationship-attributes.d.ts +1 -1
  187. package/build/file/relationships/relationship/relationship.d.ts +1 -1
  188. package/build/file/relationships/relationships.d.ts +1 -1
  189. package/build/file/settings/compatibility-setting/compatibility-setting.d.ts +1 -1
  190. package/build/file/settings/compatibility.d.ts +1 -1
  191. package/build/file/settings/settings.d.ts +1 -1
  192. package/build/file/shading/shading.d.ts +1 -1
  193. package/build/file/styles/defaults/document-defaults.d.ts +3 -3
  194. package/build/file/styles/defaults/paragraph-properties.d.ts +2 -2
  195. package/build/file/styles/defaults/run-properties.d.ts +2 -2
  196. package/build/file/styles/style/character-style.d.ts +1 -1
  197. package/build/file/styles/style/components.d.ts +1 -1
  198. package/build/file/styles/style/paragraph-style.d.ts +1 -1
  199. package/build/file/styles/style/style.d.ts +1 -1
  200. package/build/file/styles/styles.d.ts +2 -2
  201. package/build/file/table/grid.d.ts +2 -2
  202. package/build/file/table/table-cell/table-cell-components.d.ts +2 -2
  203. package/build/file/table/table-cell/table-cell-properties.d.ts +2 -2
  204. package/build/file/table/table-cell/table-cell.d.ts +2 -2
  205. package/build/file/table/table-properties/table-borders.d.ts +2 -2
  206. package/build/file/table/table-properties/table-cell-margin.d.ts +1 -1
  207. package/build/file/table/table-properties/table-float-properties.d.ts +2 -2
  208. package/build/file/table/table-properties/table-layout.d.ts +1 -1
  209. package/build/file/table/table-properties/table-properties.d.ts +1 -1
  210. package/build/file/table/table-row/table-row-height.d.ts +2 -2
  211. package/build/file/table/table-row/table-row-properties.d.ts +2 -2
  212. package/build/file/table/table-row/table-row.d.ts +1 -1
  213. package/build/file/table/table-width.d.ts +2 -2
  214. package/build/file/table/table.d.ts +1 -1
  215. package/build/file/table-of-contents/field-instruction.d.ts +1 -1
  216. package/build/file/table-of-contents/sdt-content.d.ts +1 -1
  217. package/build/file/table-of-contents/sdt-properties.d.ts +1 -1
  218. package/build/file/table-of-contents/table-of-contents.d.ts +1 -1
  219. package/build/file/track-revision/track-revision-components/deleted-page-number.d.ts +1 -1
  220. package/build/file/track-revision/track-revision-components/deleted-text-run.d.ts +1 -1
  221. package/build/file/track-revision/track-revision-components/deleted-text.d.ts +1 -1
  222. package/build/file/track-revision/track-revision-components/inserted-text-run.d.ts +1 -1
  223. package/build/file/track-revision/track-revision.d.ts +1 -1
  224. package/build/file/vertical-align/vertical-align.d.ts +1 -1
  225. package/build/file/xml-components/imported-xml-component.d.ts +1 -1
  226. package/build/file/xml-components/initializable-xml-component.d.ts +1 -1
  227. package/build/file/xml-components/simple-elements.d.ts +2 -2
  228. package/build/file/xml-components/xmlable-object.d.ts +1 -1
  229. package/build/index.cjs +19480 -0
  230. package/build/index.iife.js +19483 -0
  231. package/build/index.js +19480 -2
  232. package/build/index.umd.cjs +19484 -0
  233. package/build/patcher/from-docx.d.ts +2 -2
  234. package/build/patcher/relationship-manager.d.ts +1 -1
  235. package/build/patcher/replacer.d.ts +1 -1
  236. package/package.json +110 -113
  237. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.d.ts +0 -4
  238. package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.d.ts +0 -4
  239. package/build/file/footer/index.d.ts +0 -1
  240. package/build/file/header/index.d.ts +0 -1
  241. package/build/file/paragraph/formatting/width.d.ts +0 -0
  242. package/build/file/styles/latent-styles/exceptions.d.ts +0 -20
  243. package/build/file/styles/latent-styles/index.d.ts +0 -1
  244. package/build/file/styles/latent-styles/latent-styles.d.ts +0 -5
  245. package/build/file/styles/sample/default-style.d.ts +0 -1
  246. package/build/file/styles/sample/index.d.ts +0 -1
  247. package/build/index.js.LICENSE.txt +0 -10
  248. package/build/tests/utility.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- import { XmlComponent } from "../../../file/xml-components";
1
+ import { XmlComponent } from '../../xml-components';
2
2
  export declare class DeletedText extends XmlComponent {
3
3
  constructor(text: string);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { XmlComponent } from "../../../file/xml-components";
1
+ import { XmlComponent } from '../../xml-components';
2
2
  import { IRunOptions } from "../../index";
3
3
  import { IChangedAttributesProperties } from "../track-revision";
4
4
  interface IInsertedRunOptions extends IChangedAttributesProperties, IRunOptions {
@@ -1,4 +1,4 @@
1
- import { XmlAttributeComponent } from "../../file/xml-components";
1
+ import { XmlAttributeComponent } from '../xml-components';
2
2
  export interface IChangedAttributesProperties {
3
3
  readonly id: number;
4
4
  readonly author: string;
@@ -1,4 +1,4 @@
1
- import { XmlAttributeComponent, XmlComponent } from "../../file/xml-components";
1
+ import { XmlAttributeComponent, XmlComponent } from '../xml-components';
2
2
  export declare enum VerticalAlign {
3
3
  BOTTOM = "bottom",
4
4
  CENTER = "center",
@@ -1,5 +1,5 @@
1
1
  import { Element as XmlElement } from "xml-js";
2
- import { IXmlableObject, XmlComponent } from "../../file/xml-components";
2
+ import { IXmlableObject, XmlComponent } from '../xml-components';
3
3
  import { IContext } from "./base";
4
4
  export declare const convertToXmlComponent: (element: XmlElement) => ImportedXmlComponent | string | undefined;
5
5
  export declare class ImportedXmlComponent extends XmlComponent {
@@ -1,4 +1,4 @@
1
- import { XmlComponent } from "../../file/xml-components";
1
+ import { XmlComponent } from '../xml-components';
2
2
  export declare abstract class InitializableXmlComponent extends XmlComponent {
3
3
  constructor(rootKey: string, initComponent?: InitializableXmlComponent);
4
4
  }
@@ -1,5 +1,5 @@
1
- import { AttributeData, AttributePayload, XmlComponent } from "../../file/xml-components";
2
- import { PositiveUniversalMeasure } from "../../util/values";
1
+ import { AttributeData, AttributePayload, XmlComponent } from '../xml-components';
2
+ import { PositiveUniversalMeasure } from '../../util/values';
3
3
  export declare class OnOffElement extends XmlComponent {
4
4
  constructor(name: string, val?: boolean | undefined);
5
5
  }
@@ -2,6 +2,6 @@ export interface IXmlAttribute {
2
2
  readonly [key: string]: string | number | boolean;
3
3
  }
4
4
  export interface IXmlableObject extends Object {
5
- readonly _attr?: IXmlAttribute;
5
+ readonly [key: string]: any;
6
6
  }
7
7
  export declare const WORKAROUND3 = "";