docx 8.6.0 → 9.0.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.
- package/build/index.cjs +3220 -2347
- package/build/index.d.ts +2997 -5
- package/build/index.iife.js +3214 -2341
- package/build/index.mjs +3220 -2347
- package/build/index.umd.js +3214 -2341
- package/package.json +7 -6
- package/build/export/formatter.d.ts +0 -4
- package/build/export/formatter.spec.d.ts +0 -1
- package/build/export/index.d.ts +0 -1
- package/build/export/packer/image-replacer.d.ts +0 -5
- package/build/export/packer/image-replacer.spec.d.ts +0 -1
- package/build/export/packer/next-compiler.d.ts +0 -11
- package/build/export/packer/next-compiler.spec.d.ts +0 -1
- package/build/export/packer/numbering-replacer.d.ts +0 -4
- package/build/export/packer/packer.d.ts +0 -18
- package/build/export/packer/packer.spec.d.ts +0 -1
- package/build/file/app-properties/app-properties-attributes.d.ts +0 -10
- package/build/file/app-properties/app-properties.d.ts +0 -4
- package/build/file/border/border.d.ts +0 -39
- package/build/file/border/border.spec.d.ts +0 -1
- package/build/file/border/index.d.ts +0 -1
- package/build/file/checkbox/checkbox-symbol.d.ts +0 -4
- package/build/file/checkbox/checkbox-util.d.ts +0 -17
- package/build/file/checkbox/checkbox-util.spec.d.ts +0 -1
- package/build/file/checkbox/checkbox.d.ts +0 -8
- package/build/file/checkbox/checkbox.spec.d.ts +0 -1
- package/build/file/checkbox/index.d.ts +0 -3
- package/build/file/content-types/content-types-attributes.d.ts +0 -8
- package/build/file/content-types/content-types.d.ts +0 -6
- package/build/file/content-types/content-types.spec.d.ts +0 -1
- package/build/file/content-types/default/default-attributes.d.ts +0 -10
- package/build/file/content-types/default/default.d.ts +0 -4
- package/build/file/content-types/override/override-attributes.d.ts +0 -10
- package/build/file/content-types/override/override.d.ts +0 -4
- package/build/file/core-properties/index.d.ts +0 -1
- package/build/file/core-properties/properties.d.ts +0 -43
- package/build/file/core-properties/properties.spec.d.ts +0 -1
- package/build/file/custom-properties/custom-properties-attributes.d.ts +0 -10
- package/build/file/custom-properties/custom-properties.d.ts +0 -9
- package/build/file/custom-properties/custom-properties.spec.d.ts +0 -1
- package/build/file/custom-properties/custom-property-attributes.d.ts +0 -12
- package/build/file/custom-properties/custom-property.d.ts +0 -11
- package/build/file/custom-properties/index.d.ts +0 -2
- package/build/file/document/body/body.d.ts +0 -10
- package/build/file/document/body/body.spec.d.ts +0 -1
- package/build/file/document/body/index.d.ts +0 -2
- package/build/file/document/body/section-properties/index.d.ts +0 -2
- package/build/file/document/body/section-properties/properties/column.d.ts +0 -10
- package/build/file/document/body/section-properties/properties/columns.d.ts +0 -13
- package/build/file/document/body/section-properties/properties/columns.spec.d.ts +0 -1
- package/build/file/document/body/section-properties/properties/doc-grid.d.ts +0 -22
- package/build/file/document/body/section-properties/properties/doc-grid.spec.d.ts +0 -1
- package/build/file/document/body/section-properties/properties/header-footer-reference.d.ts +0 -17
- package/build/file/document/body/section-properties/properties/header-footer-reference.spec.d.ts +0 -1
- package/build/file/document/body/section-properties/properties/index.d.ts +0 -12
- package/build/file/document/body/section-properties/properties/line-number.d.ts +0 -14
- package/build/file/document/body/section-properties/properties/page-borders.d.ts +0 -30
- package/build/file/document/body/section-properties/properties/page-borders.spec.d.ts +0 -1
- package/build/file/document/body/section-properties/properties/page-margin.d.ts +0 -14
- package/build/file/document/body/section-properties/properties/page-number.d.ts +0 -24
- package/build/file/document/body/section-properties/properties/page-size.d.ts +0 -14
- package/build/file/document/body/section-properties/properties/page-size.spec.d.ts +0 -1
- package/build/file/document/body/section-properties/properties/page-text-direction.d.ts +0 -8
- package/build/file/document/body/section-properties/properties/page-text-direction.spec.d.ts +0 -1
- package/build/file/document/body/section-properties/properties/section-type.d.ts +0 -18
- package/build/file/document/body/section-properties/properties/section-type.spec.d.ts +0 -1
- package/build/file/document/body/section-properties/section-properties.d.ts +0 -53
- package/build/file/document/body/section-properties/section-properties.spec.d.ts +0 -1
- package/build/file/document/document-attributes.d.ts +0 -85
- package/build/file/document/document-background/document-background.d.ts +0 -23
- package/build/file/document/document-background/document-background.spec.d.ts +0 -1
- package/build/file/document/document-background/index.d.ts +0 -1
- package/build/file/document/document.d.ts +0 -15
- package/build/file/document/document.spec.d.ts +0 -1
- package/build/file/document/index.d.ts +0 -4
- package/build/file/document-wrapper.d.ts +0 -17
- package/build/file/document-wrapper.spec.d.ts +0 -1
- package/build/file/drawing/anchor/anchor-attributes.d.ts +0 -24
- package/build/file/drawing/anchor/anchor.d.ts +0 -10
- package/build/file/drawing/anchor/anchor.spec.d.ts +0 -1
- package/build/file/drawing/anchor/index.d.ts +0 -2
- package/build/file/drawing/doc-properties/doc-properties-children.d.ts +0 -3
- package/build/file/drawing/doc-properties/doc-properties-children.spec.d.ts +0 -1
- package/build/file/drawing/doc-properties/doc-properties.d.ts +0 -11
- package/build/file/drawing/drawing.d.ts +0 -19
- package/build/file/drawing/drawing.spec.d.ts +0 -1
- package/build/file/drawing/effect-extent/effect-extent.d.ts +0 -8
- package/build/file/drawing/extent/extent-attributes.d.ts +0 -10
- package/build/file/drawing/extent/extent.d.ts +0 -5
- package/build/file/drawing/floating/align.d.ts +0 -5
- package/build/file/drawing/floating/align.spec.d.ts +0 -1
- package/build/file/drawing/floating/floating-position.d.ts +0 -49
- package/build/file/drawing/floating/horizontal-position.d.ts +0 -5
- package/build/file/drawing/floating/horizontal-position.spec.d.ts +0 -1
- package/build/file/drawing/floating/index.d.ts +0 -4
- package/build/file/drawing/floating/position-offset.d.ts +0 -4
- package/build/file/drawing/floating/position-offset.spec.d.ts +0 -1
- package/build/file/drawing/floating/simple-pos.d.ts +0 -4
- package/build/file/drawing/floating/simple-pos.spec.d.ts +0 -1
- package/build/file/drawing/floating/vertical-position.d.ts +0 -5
- package/build/file/drawing/floating/vertical-position.spec.d.ts +0 -1
- package/build/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-lock-attributes.d.ts +0 -10
- package/build/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-locks.d.ts +0 -4
- package/build/file/drawing/graphic-frame/graphic-frame-properties.d.ts +0 -4
- package/build/file/drawing/index.d.ts +0 -3
- package/build/file/drawing/inline/graphic/graphic-data/graphic-data-attribute.d.ts +0 -8
- package/build/file/drawing/inline/graphic/graphic-data/graphic-data.d.ts +0 -11
- package/build/file/drawing/inline/graphic/graphic-data/index.d.ts +0 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/blip/blip-extentions.d.ts +0 -3
- package/build/file/drawing/inline/graphic/graphic-data/pic/blip/blip-fill.d.ts +0 -5
- package/build/file/drawing/inline/graphic/graphic-data/pic/blip/blip.d.ts +0 -3
- package/build/file/drawing/inline/graphic/graphic-data/pic/blip/source-rectangle.d.ts +0 -4
- package/build/file/drawing/inline/graphic/graphic-data/pic/blip/stretch.d.ts +0 -4
- package/build/file/drawing/inline/graphic/graphic-data/pic/index.d.ts +0 -1
- 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
- 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
- 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
- package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-pic-properties.d.ts +0 -4
- package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties-attributes.d.ts +0 -12
- package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties.d.ts +0 -5
- package/build/file/drawing/inline/graphic/graphic-data/pic/pic-attributes.d.ts +0 -8
- package/build/file/drawing/inline/graphic/graphic-data/pic/pic.d.ts +0 -10
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents-attributes.d.ts +0 -10
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents.d.ts +0 -5
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/form.d.ts +0 -17
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/index.d.ts +0 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off-attributes.d.ts +0 -10
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off.d.ts +0 -4
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form.spec.d.ts +0 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.d.ts +0 -2
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.spec.d.ts +0 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.d.ts +0 -42
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.spec.d.ts +0 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/rgb-color.d.ts +0 -6
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/scheme-color.d.ts +0 -25
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.d.ts +0 -12
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.spec.d.ts +0 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/adjustment-values/adjustment-values.d.ts +0 -4
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry-attributes.d.ts +0 -8
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry.d.ts +0 -4
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties-attributes.d.ts +0 -8
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties.d.ts +0 -10
- package/build/file/drawing/inline/graphic/graphic.d.ts +0 -11
- package/build/file/drawing/inline/graphic/index.d.ts +0 -1
- package/build/file/drawing/inline/index.d.ts +0 -1
- package/build/file/drawing/inline/inline.d.ts +0 -12
- package/build/file/drawing/inline/inline.spec.d.ts +0 -1
- package/build/file/drawing/text-wrap/index.d.ts +0 -5
- package/build/file/drawing/text-wrap/text-wrapping.d.ts +0 -18
- package/build/file/drawing/text-wrap/wrap-none.d.ts +0 -4
- package/build/file/drawing/text-wrap/wrap-square.d.ts +0 -6
- package/build/file/drawing/text-wrap/wrap-tight.d.ts +0 -5
- package/build/file/drawing/text-wrap/wrap-top-and-bottom.d.ts +0 -5
- package/build/file/file-child.d.ts +0 -4
- package/build/file/file.d.ts +0 -72
- package/build/file/file.spec.d.ts +0 -1
- package/build/file/fonts/create-regular-font.d.ts +0 -8
- package/build/file/fonts/font-table.d.ts +0 -10
- package/build/file/fonts/font-wrapper.d.ts +0 -16
- package/build/file/fonts/font.d.ts +0 -49
- package/build/file/fonts/font.spec.d.ts +0 -1
- package/build/file/fonts/index.d.ts +0 -1
- package/build/file/fonts/obfuscate-ttf-to-odttf.d.ts +0 -2
- package/build/file/fonts/obsfuscate-ttf-to-odtts.spec.d.ts +0 -1
- package/build/file/footer/footer-attributes.d.ts +0 -50
- package/build/file/footer/footer.d.ts +0 -9
- package/build/file/footer/footer.spec.d.ts +0 -1
- package/build/file/footer/index.d.ts +0 -1
- package/build/file/footer-wrapper.d.ts +0 -23
- package/build/file/footer-wrapper.spec.d.ts +0 -1
- package/build/file/footnotes/footnote/footnote-attributes.d.ts +0 -10
- package/build/file/footnotes/footnote/footnote.d.ts +0 -14
- package/build/file/footnotes/footnote/footnote.spec.d.ts +0 -1
- package/build/file/footnotes/footnote/index.d.ts +0 -1
- package/build/file/footnotes/footnote/run/continuation-seperator-run.d.ts +0 -4
- package/build/file/footnotes/footnote/run/continuation-seperator.d.ts +0 -4
- package/build/file/footnotes/footnote/run/footnote-ref-run.d.ts +0 -4
- package/build/file/footnotes/footnote/run/footnote-ref.d.ts +0 -4
- package/build/file/footnotes/footnote/run/index.d.ts +0 -1
- package/build/file/footnotes/footnote/run/reference-run.d.ts +0 -15
- package/build/file/footnotes/footnote/run/seperator-run.d.ts +0 -4
- package/build/file/footnotes/footnote/run/seperator.d.ts +0 -4
- package/build/file/footnotes/footnotes-attributes.d.ts +0 -40
- package/build/file/footnotes/footnotes.d.ts +0 -6
- package/build/file/footnotes/index.d.ts +0 -2
- package/build/file/footnotes-wrapper.d.ts +0 -10
- package/build/file/footnotes-wrapper.spec.d.ts +0 -1
- package/build/file/header/header-attributes.d.ts +0 -72
- package/build/file/header/header.d.ts +0 -9
- package/build/file/header/header.spec.d.ts +0 -1
- package/build/file/header/index.d.ts +0 -1
- package/build/file/header-wrapper.d.ts +0 -23
- package/build/file/header-wrapper.spec.d.ts +0 -1
- package/build/file/header.d.ts +0 -13
- package/build/file/index.d.ts +0 -22
- package/build/file/media/data.d.ts +0 -31
- package/build/file/media/index.d.ts +0 -2
- package/build/file/media/media.d.ts +0 -16
- package/build/file/media/media.spec.d.ts +0 -1
- package/build/file/numbering/abstract-numbering.d.ts +0 -6
- package/build/file/numbering/abstract-numbering.spec.d.ts +0 -1
- package/build/file/numbering/concrete-numbering.spec.d.ts +0 -1
- package/build/file/numbering/index.d.ts +0 -4
- package/build/file/numbering/level.d.ts +0 -96
- package/build/file/numbering/level.spec.d.ts +0 -1
- package/build/file/numbering/multi-level-type.d.ts +0 -4
- package/build/file/numbering/num.d.ts +0 -22
- package/build/file/numbering/numbering.d.ts +0 -21
- package/build/file/numbering/numbering.spec.d.ts +0 -1
- package/build/file/paragraph/formatting/alignment.d.ts +0 -26
- package/build/file/paragraph/formatting/alignment.spec.d.ts +0 -1
- package/build/file/paragraph/formatting/border.d.ts +0 -14
- package/build/file/paragraph/formatting/border.spec.d.ts +0 -1
- package/build/file/paragraph/formatting/break.d.ts +0 -11
- package/build/file/paragraph/formatting/break.spec.d.ts +0 -1
- package/build/file/paragraph/formatting/indent.d.ts +0 -13
- package/build/file/paragraph/formatting/indent.spec.d.ts +0 -1
- package/build/file/paragraph/formatting/index.d.ts +0 -8
- package/build/file/paragraph/formatting/spacing.d.ts +0 -18
- package/build/file/paragraph/formatting/spacing.spec.d.ts +0 -1
- package/build/file/paragraph/formatting/style.d.ts +0 -13
- package/build/file/paragraph/formatting/style.spec.d.ts +0 -1
- package/build/file/paragraph/formatting/tab-stop.d.ts +0 -44
- package/build/file/paragraph/formatting/tab-stop.spec.d.ts +0 -1
- package/build/file/paragraph/formatting/unordered-list.d.ts +0 -4
- package/build/file/paragraph/formatting/unordered-list.spec.d.ts +0 -1
- package/build/file/paragraph/formatting/word-wrap.d.ts +0 -11
- package/build/file/paragraph/formatting/word-wrap.spec.d.ts +0 -1
- package/build/file/paragraph/frame/frame-properties.d.ts +0 -55
- package/build/file/paragraph/frame/frame-properties.spec.d.ts +0 -1
- package/build/file/paragraph/frame/index.d.ts +0 -1
- package/build/file/paragraph/index.d.ts +0 -7
- package/build/file/paragraph/links/bookmark-attributes.d.ts +0 -17
- package/build/file/paragraph/links/bookmark.d.ts +0 -18
- package/build/file/paragraph/links/bookmark.spec.d.ts +0 -1
- package/build/file/paragraph/links/hyperlink-attributes.d.ts +0 -13
- package/build/file/paragraph/links/hyperlink.d.ts +0 -26
- package/build/file/paragraph/links/hyperlink.spec.d.ts +0 -1
- package/build/file/paragraph/links/index.d.ts +0 -4
- package/build/file/paragraph/links/outline-level.d.ts +0 -5
- package/build/file/paragraph/links/outline-level.spec.d.ts +0 -1
- package/build/file/paragraph/links/pageref-field-instruction.d.ts +0 -5
- package/build/file/paragraph/links/pageref-field-instruction.spec.d.ts +0 -1
- package/build/file/paragraph/links/pageref.d.ts +0 -8
- package/build/file/paragraph/links/pageref.spec.d.ts +0 -1
- package/build/file/paragraph/math/brackets/index.d.ts +0 -4
- package/build/file/paragraph/math/brackets/math-angled-brackets.d.ts +0 -7
- package/build/file/paragraph/math/brackets/math-angled-brackets.spec.d.ts +0 -1
- package/build/file/paragraph/math/brackets/math-beginning-character.d.ts +0 -4
- package/build/file/paragraph/math/brackets/math-beginning-character.spec.d.ts +0 -1
- package/build/file/paragraph/math/brackets/math-bracket-properties.d.ts +0 -7
- package/build/file/paragraph/math/brackets/math-bracket-properties.spec.d.ts +0 -1
- package/build/file/paragraph/math/brackets/math-curly-brackets.d.ts +0 -7
- package/build/file/paragraph/math/brackets/math-curly-brackets.spec.d.ts +0 -1
- package/build/file/paragraph/math/brackets/math-ending-char.d.ts +0 -4
- package/build/file/paragraph/math/brackets/math-ending-character.spec.d.ts +0 -1
- package/build/file/paragraph/math/brackets/math-round-brackets.d.ts +0 -7
- package/build/file/paragraph/math/brackets/math-round-brackets.spec.d.ts +0 -1
- package/build/file/paragraph/math/brackets/math-square-brackets.d.ts +0 -7
- package/build/file/paragraph/math/brackets/math-square-brackets.spec.d.ts +0 -1
- package/build/file/paragraph/math/fraction/index.d.ts +0 -3
- package/build/file/paragraph/math/fraction/math-denominator.d.ts +0 -5
- package/build/file/paragraph/math/fraction/math-denominator.spec.d.ts +0 -1
- package/build/file/paragraph/math/fraction/math-fraction.d.ts +0 -9
- package/build/file/paragraph/math/fraction/math-fraction.spec.d.ts +0 -1
- package/build/file/paragraph/math/fraction/math-numerator.d.ts +0 -5
- package/build/file/paragraph/math/fraction/math-numerator.spec.d.ts +0 -1
- package/build/file/paragraph/math/function/index.d.ts +0 -3
- package/build/file/paragraph/math/function/math-function-name.d.ts +0 -5
- package/build/file/paragraph/math/function/math-function-name.spec.d.ts +0 -1
- package/build/file/paragraph/math/function/math-function-properties.d.ts +0 -4
- package/build/file/paragraph/math/function/math-function-properties.spec.d.ts +0 -1
- package/build/file/paragraph/math/function/math-function.d.ts +0 -9
- package/build/file/paragraph/math/function/math-function.spec.d.ts +0 -1
- package/build/file/paragraph/math/index.d.ts +0 -9
- package/build/file/paragraph/math/math-component.d.ts +0 -9
- package/build/file/paragraph/math/math-run.d.ts +0 -4
- package/build/file/paragraph/math/math-run.spec.d.ts +0 -1
- package/build/file/paragraph/math/math-text.d.ts +0 -4
- package/build/file/paragraph/math/math-text.spec.d.ts +0 -1
- package/build/file/paragraph/math/math.d.ts +0 -8
- package/build/file/paragraph/math/math.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/index.d.ts +0 -11
- package/build/file/paragraph/math/n-ary/math-accent-character.d.ts +0 -4
- package/build/file/paragraph/math/n-ary/math-accent-character.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-base.d.ts +0 -5
- package/build/file/paragraph/math/n-ary/math-base.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-integral.d.ts +0 -10
- package/build/file/paragraph/math/n-ary/math-integral.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-limit-location.d.ts +0 -4
- package/build/file/paragraph/math/n-ary/math-limit-location.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-limit-lower.d.ts +0 -9
- package/build/file/paragraph/math/n-ary/math-limit-lower.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-limit-upper.d.ts +0 -9
- package/build/file/paragraph/math/n-ary/math-limit-upper.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-limit.d.ts +0 -5
- package/build/file/paragraph/math/n-ary/math-limit.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-n-ary-properties.d.ts +0 -4
- package/build/file/paragraph/math/n-ary/math-n-ary-properties.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-sub-script-hide.d.ts +0 -4
- package/build/file/paragraph/math/n-ary/math-sub-script-hide.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-sub-script.d.ts +0 -5
- package/build/file/paragraph/math/n-ary/math-sub-script.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-sum.d.ts +0 -10
- package/build/file/paragraph/math/n-ary/math-sum.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-super-script-hide.d.ts +0 -4
- package/build/file/paragraph/math/n-ary/math-super-script-hide.spec.d.ts +0 -1
- package/build/file/paragraph/math/n-ary/math-super-script.d.ts +0 -5
- package/build/file/paragraph/math/n-ary/math-super-script.spec.d.ts +0 -1
- package/build/file/paragraph/math/radical/index.d.ts +0 -3
- package/build/file/paragraph/math/radical/math-degree-hide.d.ts +0 -4
- package/build/file/paragraph/math/radical/math-degree-hide.spec.d.ts +0 -1
- package/build/file/paragraph/math/radical/math-degree.d.ts +0 -5
- package/build/file/paragraph/math/radical/math-degree.spec.d.ts +0 -1
- package/build/file/paragraph/math/radical/math-radical-properties.d.ts +0 -4
- package/build/file/paragraph/math/radical/math-radical-properties.spec.d.ts +0 -1
- package/build/file/paragraph/math/radical/math-radical.d.ts +0 -9
- package/build/file/paragraph/math/radical/math-radical.spec.d.ts +0 -1
- package/build/file/paragraph/math/script/index.d.ts +0 -4
- package/build/file/paragraph/math/script/pre-sub-super-script/index.d.ts +0 -2
- package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.d.ts +0 -4
- package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.spec.d.ts +0 -1
- package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.d.ts +0 -10
- package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.spec.d.ts +0 -1
- package/build/file/paragraph/math/script/sub-script/index.d.ts +0 -2
- package/build/file/paragraph/math/script/sub-script/math-sub-script-function-properties.d.ts +0 -4
- package/build/file/paragraph/math/script/sub-script/math-sub-script-function-properties.spec.d.ts +0 -1
- package/build/file/paragraph/math/script/sub-script/math-sub-script-function.d.ts +0 -9
- package/build/file/paragraph/math/script/sub-script/math-sub-script-function.spec.d.ts +0 -1
- package/build/file/paragraph/math/script/sub-super-script/index.d.ts +0 -2
- package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.d.ts +0 -4
- package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.spec.d.ts +0 -1
- package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.d.ts +0 -10
- package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.spec.d.ts +0 -1
- package/build/file/paragraph/math/script/super-script/index.d.ts +0 -2
- package/build/file/paragraph/math/script/super-script/math-super-script-function-properties.d.ts +0 -4
- package/build/file/paragraph/math/script/super-script/math-super-script-function-properties.spec.d.ts +0 -1
- package/build/file/paragraph/math/script/super-script/math-super-script-function.d.ts +0 -9
- package/build/file/paragraph/math/script/super-script/math-super-script-function.spec.d.ts +0 -1
- package/build/file/paragraph/paragraph.d.ts +0 -22
- package/build/file/paragraph/paragraph.spec.d.ts +0 -1
- package/build/file/paragraph/properties.d.ts +0 -56
- package/build/file/paragraph/properties.spec.d.ts +0 -1
- package/build/file/paragraph/run/break.d.ts +0 -4
- package/build/file/paragraph/run/break.spec.d.ts +0 -1
- package/build/file/paragraph/run/comment-run.d.ts +0 -27
- package/build/file/paragraph/run/comment-run.spec.d.ts +0 -1
- package/build/file/paragraph/run/emphasis-mark.d.ts +0 -13
- package/build/file/paragraph/run/emphasis-mark.spec.d.ts +0 -1
- package/build/file/paragraph/run/empty-children.d.ts +0 -52
- package/build/file/paragraph/run/empty-children.spec.d.ts +0 -1
- package/build/file/paragraph/run/field.d.ts +0 -10
- package/build/file/paragraph/run/formatting.d.ts +0 -14
- package/build/file/paragraph/run/formatting.spec.d.ts +0 -1
- package/build/file/paragraph/run/image-run.d.ts +0 -31
- package/build/file/paragraph/run/image-run.spec.d.ts +0 -1
- package/build/file/paragraph/run/index.d.ts +0 -13
- package/build/file/paragraph/run/language.d.ts +0 -7
- package/build/file/paragraph/run/language.spec.d.ts +0 -1
- package/build/file/paragraph/run/page-number.d.ts +0 -13
- package/build/file/paragraph/run/page-number.spec.d.ts +0 -1
- package/build/file/paragraph/run/positional-tab.d.ts +0 -25
- package/build/file/paragraph/run/positional-tab.spec.d.ts +0 -1
- package/build/file/paragraph/run/properties.d.ts +0 -96
- package/build/file/paragraph/run/run-components/symbol.d.ts +0 -4
- package/build/file/paragraph/run/run-components/symbol.spec.d.ts +0 -1
- package/build/file/paragraph/run/run-components/text.d.ts +0 -10
- package/build/file/paragraph/run/run-components/text.spec.d.ts +0 -1
- package/build/file/paragraph/run/run-fonts.d.ts +0 -12
- package/build/file/paragraph/run/run-fonts.spec.d.ts +0 -1
- package/build/file/paragraph/run/run.d.ts +0 -23
- package/build/file/paragraph/run/run.spec.d.ts +0 -1
- package/build/file/paragraph/run/script.d.ts +0 -10
- package/build/file/paragraph/run/script.spec.d.ts +0 -1
- package/build/file/paragraph/run/sequential-identifier-instruction.d.ts +0 -4
- package/build/file/paragraph/run/sequential-identifier.d.ts +0 -4
- package/build/file/paragraph/run/sequential-identifier.spec.d.ts +0 -1
- package/build/file/paragraph/run/simple-field.d.ts +0 -7
- package/build/file/paragraph/run/simple-field.spec.d.ts +0 -1
- package/build/file/paragraph/run/symbol-run.d.ts +0 -8
- package/build/file/paragraph/run/symbol-run.spec.d.ts +0 -1
- package/build/file/paragraph/run/text-attributes.d.ts +0 -9
- package/build/file/paragraph/run/text-run.d.ts +0 -4
- package/build/file/paragraph/run/text-run.spec.d.ts +0 -1
- package/build/file/paragraph/run/underline.d.ts +0 -24
- package/build/file/paragraph/run/underline.spec.d.ts +0 -1
- package/build/file/relationships/attributes.d.ts +0 -8
- package/build/file/relationships/index.d.ts +0 -1
- package/build/file/relationships/relationship/relationship-attributes.d.ts +0 -14
- package/build/file/relationships/relationship/relationship.d.ts +0 -8
- package/build/file/relationships/relationships.d.ts +0 -7
- package/build/file/relationships/relationships.spec.d.ts +0 -1
- package/build/file/settings/compatibility-setting/compatibility-setting.d.ts +0 -15
- package/build/file/settings/compatibility-setting/compatibility-setting.spec.d.ts +0 -1
- package/build/file/settings/compatibility.d.ts +0 -72
- package/build/file/settings/compatibility.spec.d.ts +0 -1
- package/build/file/settings/index.d.ts +0 -1
- package/build/file/settings/settings.d.ts +0 -52
- package/build/file/settings/settings.spec.d.ts +0 -1
- package/build/file/shading/index.d.ts +0 -1
- package/build/file/shading/shading.d.ts +0 -48
- package/build/file/shading/shading.spec.d.ts +0 -1
- package/build/file/shared/alignment.d.ts +0 -14
- package/build/file/shared/index.d.ts +0 -3
- package/build/file/shared/number-format.d.ts +0 -64
- package/build/file/shared/space-type.d.ts +0 -4
- package/build/file/styles/defaults/document-defaults.d.ts +0 -12
- package/build/file/styles/defaults/document-defaults.spec.d.ts +0 -1
- package/build/file/styles/defaults/index.d.ts +0 -3
- package/build/file/styles/defaults/paragraph-properties.d.ts +0 -5
- package/build/file/styles/defaults/run-properties.d.ts +0 -5
- package/build/file/styles/external-styles-factory.d.ts +0 -4
- package/build/file/styles/external-styles-factory.spec.d.ts +0 -1
- package/build/file/styles/factory.d.ts +0 -22
- package/build/file/styles/index.d.ts +0 -4
- package/build/file/styles/latent-styles/exceptions.d.ts +0 -20
- package/build/file/styles/latent-styles/exceptions.spec.d.ts +0 -1
- package/build/file/styles/latent-styles/index.d.ts +0 -1
- package/build/file/styles/latent-styles/latent-styles.d.ts +0 -5
- package/build/file/styles/latent-styles/latent-styles.spec.d.ts +0 -1
- package/build/file/styles/sample/default-style.d.ts +0 -1
- package/build/file/styles/sample/default-style.spec.d.ts +0 -1
- package/build/file/styles/sample/index.d.ts +0 -1
- package/build/file/styles/style/character-style.d.ts +0 -12
- package/build/file/styles/style/character-style.spec.d.ts +0 -1
- package/build/file/styles/style/components.d.ts +0 -11
- package/build/file/styles/style/components.spec.d.ts +0 -1
- package/build/file/styles/style/default-styles.d.ts +0 -44
- package/build/file/styles/style/default-styles.spec.d.ts +0 -1
- package/build/file/styles/style/index.d.ts +0 -4
- package/build/file/styles/style/paragraph-style.d.ts +0 -14
- package/build/file/styles/style/paragraph-style.spec.d.ts +0 -1
- package/build/file/styles/style/style.d.ts +0 -20
- package/build/file/styles/style/style.spec.d.ts +0 -1
- package/build/file/styles/styles.d.ts +0 -15
- package/build/file/styles/styles.spec.d.ts +0 -1
- package/build/file/table/grid.d.ts +0 -8
- package/build/file/table/grid.spec.d.ts +0 -1
- package/build/file/table/index.d.ts +0 -5
- package/build/file/table/table-cell/index.d.ts +0 -2
- package/build/file/table/table-cell/table-cell-components.d.ts +0 -31
- package/build/file/table/table-cell/table-cell-properties.d.ts +0 -20
- package/build/file/table/table-cell/table-cell-properties.spec.d.ts +0 -1
- package/build/file/table/table-cell/table-cell.d.ts +0 -12
- package/build/file/table/table-cell/table-cell.spec.d.ts +0 -1
- package/build/file/table/table-properties/index.d.ts +0 -4
- package/build/file/table/table-properties/table-borders.d.ts +0 -45
- package/build/file/table/table-properties/table-borders.spec.d.ts +0 -1
- package/build/file/table/table-properties/table-cell-margin.d.ts +0 -16
- package/build/file/table/table-properties/table-cell-margin.spec.d.ts +0 -1
- package/build/file/table/table-properties/table-float-properties.d.ts +0 -42
- package/build/file/table/table-properties/table-float-properties.spec.d.ts +0 -1
- package/build/file/table/table-properties/table-layout.d.ts +0 -8
- package/build/file/table/table-properties/table-properties.d.ts +0 -23
- package/build/file/table/table-properties/table-properties.spec.d.ts +0 -1
- package/build/file/table/table-row/index.d.ts +0 -3
- package/build/file/table/table-row/table-row-height.d.ts +0 -19
- package/build/file/table/table-row/table-row-properties.d.ts +0 -14
- package/build/file/table/table-row/table-row-properties.spec.d.ts +0 -1
- package/build/file/table/table-row/table-row.d.ts +0 -16
- package/build/file/table/table-row/table-row.spec.d.ts +0 -1
- package/build/file/table/table-width.d.ts +0 -15
- package/build/file/table/table.d.ts +0 -23
- package/build/file/table/table.spec.d.ts +0 -1
- package/build/file/table-of-contents/field-instruction.d.ts +0 -6
- package/build/file/table-of-contents/index.d.ts +0 -2
- package/build/file/table-of-contents/sdt-content.d.ts +0 -4
- package/build/file/table-of-contents/sdt-properties.d.ts +0 -4
- package/build/file/table-of-contents/table-of-contents-properties.d.ts +0 -23
- package/build/file/table-of-contents/table-of-contents.d.ts +0 -5
- package/build/file/table-of-contents/table-of-contents.spec.d.ts +0 -1
- package/build/file/track-revision/index.d.ts +0 -2
- package/build/file/track-revision/track-revision-components/deleted-page-number.d.ts +0 -10
- package/build/file/track-revision/track-revision-components/deleted-page-number.spec.d.ts +0 -1
- package/build/file/track-revision/track-revision-components/deleted-text-run.d.ts +0 -13
- package/build/file/track-revision/track-revision-components/deleted-text-run.spec.d.ts +0 -1
- package/build/file/track-revision/track-revision-components/deleted-text.d.ts +0 -4
- package/build/file/track-revision/track-revision-components/deleted-text.spec.d.ts +0 -1
- package/build/file/track-revision/track-revision-components/inserted-text-run.d.ts +0 -9
- package/build/file/track-revision/track-revision-components/inserted-text-run.spec.d.ts +0 -1
- package/build/file/track-revision/track-revision.d.ts +0 -13
- package/build/file/vertical-align/index.d.ts +0 -1
- package/build/file/vertical-align/vertical-align.d.ts +0 -16
- package/build/file/xml-components/attribute.spec.d.ts +0 -1
- package/build/file/xml-components/attributes.d.ts +0 -46
- package/build/file/xml-components/base.d.ts +0 -13
- package/build/file/xml-components/default-attributes.d.ts +0 -25
- package/build/file/xml-components/imported-xml-component.d.ts +0 -14
- package/build/file/xml-components/imported-xml-component.spec.d.ts +0 -1
- package/build/file/xml-components/index.d.ts +0 -8
- package/build/file/xml-components/initializable-xml-component.d.ts +0 -4
- package/build/file/xml-components/simple-elements.d.ts +0 -30
- package/build/file/xml-components/simple-elements.spec.d.ts +0 -1
- package/build/file/xml-components/xml-component.d.ts +0 -12
- package/build/file/xml-components/xml-component.spec.d.ts +0 -1
- package/build/file/xml-components/xmlable-object.d.ts +0 -7
- package/build/index.spec.d.ts +0 -1
- package/build/patcher/content-types-manager.d.ts +0 -2
- package/build/patcher/content-types-manager.spec.d.ts +0 -1
- package/build/patcher/from-docx.d.ts +0 -40
- package/build/patcher/from-docx.spec.d.ts +0 -1
- package/build/patcher/index.d.ts +0 -2
- package/build/patcher/paragraph-split-inject.d.ts +0 -6
- package/build/patcher/paragraph-split-inject.spec.d.ts +0 -1
- package/build/patcher/paragraph-token-replacer.d.ts +0 -8
- package/build/patcher/paragraph-token-replacer.spec.d.ts +0 -1
- package/build/patcher/patch-detector.d.ts +0 -6
- package/build/patcher/patch-detector.spec.d.ts +0 -1
- package/build/patcher/relationship-manager.d.ts +0 -4
- package/build/patcher/relationship-manager.spec.d.ts +0 -1
- package/build/patcher/replacer.d.ts +0 -10
- package/build/patcher/replacer.spec.d.ts +0 -80
- package/build/patcher/run-renderer.d.ts +0 -22
- package/build/patcher/run-renderer.spec.d.ts +0 -1
- package/build/patcher/traverser.d.ts +0 -9
- package/build/patcher/traverser.spec.d.ts +0 -1
- package/build/patcher/util.d.ts +0 -5
- package/build/patcher/util.spec.d.ts +0 -1
- package/build/tests/utility.d.ts +0 -3
- package/build/util/convenience-functions.d.ts +0 -10
- package/build/util/convenience-functions.spec.d.ts +0 -1
- package/build/util/index.d.ts +0 -2
- package/build/util/values.d.ts +0 -20
- package/build/util/values.spec.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docx",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "build/index.umd.js",
|
|
@@ -54,7 +54,8 @@
|
|
|
54
54
|
"clippy"
|
|
55
55
|
],
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@types/node": "^
|
|
57
|
+
"@types/node": "^22.7.5",
|
|
58
|
+
"hash.js": "^1.1.7",
|
|
58
59
|
"jszip": "^3.10.1",
|
|
59
60
|
"nanoid": "^5.0.4",
|
|
60
61
|
"xml": "^1.0.1",
|
|
@@ -71,8 +72,8 @@
|
|
|
71
72
|
"@types/prompt": "^1.1.1",
|
|
72
73
|
"@types/unzipper": "^0.10.4",
|
|
73
74
|
"@types/xml": "^1.0.8",
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
75
|
-
"@typescript-eslint/parser": "^
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
76
|
+
"@typescript-eslint/parser": "^8.8.1",
|
|
76
77
|
"@vitest/coverage-v8": "^1.1.0",
|
|
77
78
|
"@vitest/ui": "^1.1.0",
|
|
78
79
|
"cspell": "^8.2.3",
|
|
@@ -80,14 +81,14 @@
|
|
|
80
81
|
"eslint": "^8.23.0",
|
|
81
82
|
"eslint-plugin-functional": "^6.0.0",
|
|
82
83
|
"eslint-plugin-import": "^2.26.0",
|
|
83
|
-
"eslint-plugin-jsdoc": "^
|
|
84
|
+
"eslint-plugin-jsdoc": "^50.3.1",
|
|
84
85
|
"eslint-plugin-no-null": "^1.0.2",
|
|
85
86
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
86
87
|
"eslint-plugin-unicorn": "^50.0.1",
|
|
87
88
|
"execa": "^8.0.1",
|
|
88
89
|
"glob": "^10.2.7",
|
|
89
90
|
"inquirer": "^9.2.7",
|
|
90
|
-
"jsdom": "^
|
|
91
|
+
"jsdom": "^24.0.0",
|
|
91
92
|
"pre-commit": "^1.2.2",
|
|
92
93
|
"prettier": "^3.1.1",
|
|
93
94
|
"tsconfig-paths": "^4.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/build/export/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./packer/packer";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import JSZip from "jszip";
|
|
2
|
-
import { File } from '../../file/file';
|
|
3
|
-
import { PrettifyType } from "./packer";
|
|
4
|
-
export declare class Compiler {
|
|
5
|
-
private readonly formatter;
|
|
6
|
-
private readonly imageReplacer;
|
|
7
|
-
private readonly numberingReplacer;
|
|
8
|
-
constructor();
|
|
9
|
-
compile(file: File, prettifyXml?: (typeof PrettifyType)[keyof typeof PrettifyType]): JSZip;
|
|
10
|
-
private xmlifyFile;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import { Stream } from "stream";
|
|
4
|
-
import { File } from '../../file/file';
|
|
5
|
-
export declare const PrettifyType: {
|
|
6
|
-
readonly NONE: "";
|
|
7
|
-
readonly WITH_2_BLANKS: " ";
|
|
8
|
-
readonly WITH_4_BLANKS: " ";
|
|
9
|
-
readonly WITH_TAB: "\t";
|
|
10
|
-
};
|
|
11
|
-
export declare class Packer {
|
|
12
|
-
static toString(file: File, prettify?: boolean | (typeof PrettifyType)[keyof typeof PrettifyType]): Promise<string>;
|
|
13
|
-
static toBuffer(file: File, prettify?: boolean | (typeof PrettifyType)[keyof typeof PrettifyType]): Promise<Buffer>;
|
|
14
|
-
static toBase64String(file: File, prettify?: boolean | (typeof PrettifyType)[keyof typeof PrettifyType]): Promise<string>;
|
|
15
|
-
static toBlob(file: File, prettify?: boolean | (typeof PrettifyType)[keyof typeof PrettifyType]): Promise<Blob>;
|
|
16
|
-
static toStream(file: File, prettify?: boolean | (typeof PrettifyType)[keyof typeof PrettifyType]): Stream;
|
|
17
|
-
private static readonly compiler;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { XmlAttributeComponent } from '../xml-components';
|
|
2
|
-
export declare class AppPropertiesAttributes extends XmlAttributeComponent<{
|
|
3
|
-
readonly xmlns: string;
|
|
4
|
-
readonly vt: string;
|
|
5
|
-
}> {
|
|
6
|
-
protected readonly xmlKeys: {
|
|
7
|
-
xmlns: string;
|
|
8
|
-
vt: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { XmlComponent } from '../xml-components';
|
|
2
|
-
export interface IBorderOptions {
|
|
3
|
-
readonly style: (typeof BorderStyle)[keyof typeof BorderStyle];
|
|
4
|
-
readonly color?: string;
|
|
5
|
-
readonly size?: number;
|
|
6
|
-
readonly space?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare class BorderElement extends XmlComponent {
|
|
9
|
-
constructor(elementName: string, { color, size, space, style }: IBorderOptions);
|
|
10
|
-
}
|
|
11
|
-
export declare const BorderStyle: {
|
|
12
|
-
readonly SINGLE: "single";
|
|
13
|
-
readonly DASH_DOT_STROKED: "dashDotStroked";
|
|
14
|
-
readonly DASHED: "dashed";
|
|
15
|
-
readonly DASH_SMALL_GAP: "dashSmallGap";
|
|
16
|
-
readonly DOT_DASH: "dotDash";
|
|
17
|
-
readonly DOT_DOT_DASH: "dotDotDash";
|
|
18
|
-
readonly DOTTED: "dotted";
|
|
19
|
-
readonly DOUBLE: "double";
|
|
20
|
-
readonly DOUBLE_WAVE: "doubleWave";
|
|
21
|
-
readonly INSET: "inset";
|
|
22
|
-
readonly NIL: "nil";
|
|
23
|
-
readonly NONE: "none";
|
|
24
|
-
readonly OUTSET: "outset";
|
|
25
|
-
readonly THICK: "thick";
|
|
26
|
-
readonly THICK_THIN_LARGE_GAP: "thickThinLargeGap";
|
|
27
|
-
readonly THICK_THIN_MEDIUM_GAP: "thickThinMediumGap";
|
|
28
|
-
readonly THICK_THIN_SMALL_GAP: "thickThinSmallGap";
|
|
29
|
-
readonly THIN_THICK_LARGE_GAP: "thinThickLargeGap";
|
|
30
|
-
readonly THIN_THICK_MEDIUM_GAP: "thinThickMediumGap";
|
|
31
|
-
readonly THIN_THICK_SMALL_GAP: "thinThickSmallGap";
|
|
32
|
-
readonly THIN_THICK_THIN_LARGE_GAP: "thinThickThinLargeGap";
|
|
33
|
-
readonly THIN_THICK_THIN_MEDIUM_GAP: "thinThickThinMediumGap";
|
|
34
|
-
readonly THIN_THICK_THIN_SMALL_GAP: "thinThickThinSmallGap";
|
|
35
|
-
readonly THREE_D_EMBOSS: "threeDEmboss";
|
|
36
|
-
readonly THREE_D_ENGRAVE: "threeDEngrave";
|
|
37
|
-
readonly TRIPLE: "triple";
|
|
38
|
-
readonly WAVE: "wave";
|
|
39
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./border";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { XmlComponent } from '../xml-components';
|
|
2
|
-
export interface ICheckboxSymbolProperties {
|
|
3
|
-
readonly value?: string;
|
|
4
|
-
readonly font?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface ICheckboxSymbolOptions {
|
|
7
|
-
readonly alias?: string;
|
|
8
|
-
readonly checked?: boolean;
|
|
9
|
-
readonly checkedState?: ICheckboxSymbolProperties;
|
|
10
|
-
readonly uncheckedState?: ICheckboxSymbolProperties;
|
|
11
|
-
}
|
|
12
|
-
export declare class CheckBoxUtil extends XmlComponent {
|
|
13
|
-
private readonly DEFAULT_UNCHECKED_SYMBOL;
|
|
14
|
-
private readonly DEFAULT_CHECKED_SYMBOL;
|
|
15
|
-
private readonly DEFAULT_FONT;
|
|
16
|
-
constructor(options?: ICheckboxSymbolOptions);
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { XmlComponent } from '../xml-components';
|
|
2
|
-
import { ICheckboxSymbolOptions } from "./checkbox-util";
|
|
3
|
-
export declare class CheckBox extends XmlComponent {
|
|
4
|
-
private readonly DEFAULT_UNCHECKED_SYMBOL;
|
|
5
|
-
private readonly DEFAULT_CHECKED_SYMBOL;
|
|
6
|
-
private readonly DEFAULT_FONT;
|
|
7
|
-
constructor(options?: ICheckboxSymbolOptions);
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { XmlAttributeComponent } from '../../xml-components';
|
|
2
|
-
export declare class DefaultAttributes extends XmlAttributeComponent<{
|
|
3
|
-
readonly contentType: string;
|
|
4
|
-
readonly extension?: string;
|
|
5
|
-
}> {
|
|
6
|
-
protected readonly xmlKeys: {
|
|
7
|
-
contentType: string;
|
|
8
|
-
extension: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { XmlAttributeComponent } from '../../xml-components';
|
|
2
|
-
export declare class OverrideAttributes extends XmlAttributeComponent<{
|
|
3
|
-
readonly contentType: string;
|
|
4
|
-
readonly partName?: string;
|
|
5
|
-
}> {
|
|
6
|
-
protected readonly xmlKeys: {
|
|
7
|
-
contentType: string;
|
|
8
|
-
partName: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./properties";
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ICommentsOptions } from '../paragraph/run/comment-run';
|
|
2
|
-
import { ICompatibilityOptions } from '../settings/compatibility';
|
|
3
|
-
import { FontOptions } from '../fonts/font-table';
|
|
4
|
-
import { XmlComponent } from '../xml-components';
|
|
5
|
-
import { ICustomPropertyOptions } from "../custom-properties";
|
|
6
|
-
import { IDocumentBackgroundOptions } from "../document";
|
|
7
|
-
import { ISectionOptions } from "../file";
|
|
8
|
-
import { INumberingOptions } from "../numbering";
|
|
9
|
-
import { Paragraph } from "../paragraph";
|
|
10
|
-
import { IStylesOptions } from "../styles";
|
|
11
|
-
export interface IPropertiesOptions {
|
|
12
|
-
readonly sections: readonly ISectionOptions[];
|
|
13
|
-
readonly title?: string;
|
|
14
|
-
readonly subject?: string;
|
|
15
|
-
readonly creator?: string;
|
|
16
|
-
readonly keywords?: string;
|
|
17
|
-
readonly description?: string;
|
|
18
|
-
readonly lastModifiedBy?: string;
|
|
19
|
-
readonly revision?: number;
|
|
20
|
-
readonly externalStyles?: string;
|
|
21
|
-
readonly styles?: IStylesOptions;
|
|
22
|
-
readonly numbering?: INumberingOptions;
|
|
23
|
-
readonly comments?: ICommentsOptions;
|
|
24
|
-
readonly footnotes?: {
|
|
25
|
-
readonly [key: string]: {
|
|
26
|
-
readonly children: readonly Paragraph[];
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
readonly background?: IDocumentBackgroundOptions;
|
|
30
|
-
readonly features?: {
|
|
31
|
-
readonly trackRevisions?: boolean;
|
|
32
|
-
readonly updateFields?: boolean;
|
|
33
|
-
};
|
|
34
|
-
readonly compatabilityModeVersion?: number;
|
|
35
|
-
readonly compatibility?: ICompatibilityOptions;
|
|
36
|
-
readonly customProperties?: readonly ICustomPropertyOptions[];
|
|
37
|
-
readonly evenAndOddHeaderAndFooters?: boolean;
|
|
38
|
-
readonly defaultTabStop?: number;
|
|
39
|
-
readonly fonts?: readonly FontOptions[];
|
|
40
|
-
}
|
|
41
|
-
export declare class CoreProperties extends XmlComponent {
|
|
42
|
-
constructor(options: Omit<IPropertiesOptions, "sections">);
|
|
43
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { XmlAttributeComponent } from '../xml-components';
|
|
2
|
-
export declare class CustomPropertiesAttributes extends XmlAttributeComponent<{
|
|
3
|
-
readonly xmlns: string;
|
|
4
|
-
readonly vt: string;
|
|
5
|
-
}> {
|
|
6
|
-
protected readonly xmlKeys: {
|
|
7
|
-
xmlns: string;
|
|
8
|
-
vt: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IContext, IXmlableObject, XmlComponent } from '../xml-components';
|
|
2
|
-
import { ICustomPropertyOptions } from "./custom-property";
|
|
3
|
-
export declare class CustomProperties extends XmlComponent {
|
|
4
|
-
private nextId;
|
|
5
|
-
private readonly properties;
|
|
6
|
-
constructor(properties: readonly ICustomPropertyOptions[]);
|
|
7
|
-
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
8
|
-
addCustomProperty(property: ICustomPropertyOptions): void;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { XmlAttributeComponent } from '../xml-components';
|
|
2
|
-
export declare class CustomPropertyAttributes extends XmlAttributeComponent<{
|
|
3
|
-
readonly fmtid: string;
|
|
4
|
-
readonly pid: string;
|
|
5
|
-
readonly name: string;
|
|
6
|
-
}> {
|
|
7
|
-
protected readonly xmlKeys: {
|
|
8
|
-
fmtid: string;
|
|
9
|
-
pid: string;
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { XmlComponent } from '../xml-components';
|
|
2
|
-
export interface ICustomPropertyOptions {
|
|
3
|
-
readonly name: string;
|
|
4
|
-
readonly value: string;
|
|
5
|
-
}
|
|
6
|
-
export declare class CustomProperty extends XmlComponent {
|
|
7
|
-
constructor(id: number, properties: ICustomPropertyOptions);
|
|
8
|
-
}
|
|
9
|
-
export declare class CustomPropertyValue extends XmlComponent {
|
|
10
|
-
constructor(value: string);
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IContext, IXmlableObject, XmlComponent } from '../../xml-components';
|
|
2
|
-
import { ISectionPropertiesOptions } from "./section-properties/section-properties";
|
|
3
|
-
export declare class Body extends XmlComponent {
|
|
4
|
-
private readonly sections;
|
|
5
|
-
constructor();
|
|
6
|
-
addSection(options: ISectionPropertiesOptions): void;
|
|
7
|
-
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
8
|
-
push(component: XmlComponent): void;
|
|
9
|
-
private createSectionParagraph;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
-
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
|
3
|
-
type IColumnAttributes = {
|
|
4
|
-
readonly width: number | PositiveUniversalMeasure;
|
|
5
|
-
readonly space?: number | PositiveUniversalMeasure;
|
|
6
|
-
};
|
|
7
|
-
export declare class Column extends XmlComponent {
|
|
8
|
-
constructor({ width, space }: IColumnAttributes);
|
|
9
|
-
}
|
|
10
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
-
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
|
3
|
-
import { Column } from "./column";
|
|
4
|
-
export type IColumnsAttributes = {
|
|
5
|
-
readonly space?: number | PositiveUniversalMeasure;
|
|
6
|
-
readonly count?: number;
|
|
7
|
-
readonly separate?: boolean;
|
|
8
|
-
readonly equalWidth?: boolean;
|
|
9
|
-
readonly children?: readonly Column[];
|
|
10
|
-
};
|
|
11
|
-
export declare class Columns extends XmlComponent {
|
|
12
|
-
constructor({ space, count, separate, equalWidth, children }: IColumnsAttributes);
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { XmlAttributeComponent, XmlComponent } from '../../../../xml-components';
|
|
2
|
-
export declare const DocumentGridType: {
|
|
3
|
-
readonly DEFAULT: "default";
|
|
4
|
-
readonly LINES: "lines";
|
|
5
|
-
readonly LINES_AND_CHARS: "linesAndChars";
|
|
6
|
-
readonly SNAP_TO_CHARS: "snapToChars";
|
|
7
|
-
};
|
|
8
|
-
export interface IDocGridAttributesProperties {
|
|
9
|
-
readonly type?: (typeof DocumentGridType)[keyof typeof DocumentGridType];
|
|
10
|
-
readonly linePitch?: number;
|
|
11
|
-
readonly charSpace?: number;
|
|
12
|
-
}
|
|
13
|
-
export declare class DocGridAttributes extends XmlAttributeComponent<IDocGridAttributesProperties> {
|
|
14
|
-
protected readonly xmlKeys: {
|
|
15
|
-
type: string;
|
|
16
|
-
linePitch: string;
|
|
17
|
-
charSpace: string;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export declare class DocumentGrid extends XmlComponent {
|
|
21
|
-
constructor(linePitch: number, charSpace?: number, type?: (typeof DocumentGridType)[keyof typeof DocumentGridType]);
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
-
export declare const HeaderFooterReferenceType: {
|
|
3
|
-
readonly DEFAULT: "default";
|
|
4
|
-
readonly FIRST: "first";
|
|
5
|
-
readonly EVEN: "even";
|
|
6
|
-
};
|
|
7
|
-
export interface IHeaderFooterOptions {
|
|
8
|
-
readonly type?: (typeof HeaderFooterReferenceType)[keyof typeof HeaderFooterReferenceType];
|
|
9
|
-
readonly id?: number;
|
|
10
|
-
}
|
|
11
|
-
export declare const HeaderFooterType: {
|
|
12
|
-
readonly HEADER: "w:headerReference";
|
|
13
|
-
readonly FOOTER: "w:footerReference";
|
|
14
|
-
};
|
|
15
|
-
export declare class HeaderFooterReference extends XmlComponent {
|
|
16
|
-
constructor(type: (typeof HeaderFooterType)[keyof typeof HeaderFooterType], options: IHeaderFooterOptions);
|
|
17
|
-
}
|
package/build/file/document/body/section-properties/properties/header-footer-reference.spec.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from "./column";
|
|
2
|
-
export * from "./columns";
|
|
3
|
-
export * from "./doc-grid";
|
|
4
|
-
export * from "./page-size";
|
|
5
|
-
export * from "./page-number";
|
|
6
|
-
export * from "./page-borders";
|
|
7
|
-
export * from "./page-margin";
|
|
8
|
-
export * from "./page-borders";
|
|
9
|
-
export * from "./page-text-direction";
|
|
10
|
-
export * from "./line-number";
|
|
11
|
-
export * from "./section-type";
|
|
12
|
-
export * from "./header-footer-reference";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
-
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
|
3
|
-
export declare const LineNumberRestartFormat: {
|
|
4
|
-
readonly NEW_PAGE: "newPage";
|
|
5
|
-
readonly NEW_SECTION: "newSection";
|
|
6
|
-
readonly CONTINUOUS: "continuous";
|
|
7
|
-
};
|
|
8
|
-
export type ILineNumberAttributes = {
|
|
9
|
-
readonly countBy?: number;
|
|
10
|
-
readonly start?: number;
|
|
11
|
-
readonly restart?: (typeof LineNumberRestartFormat)[keyof typeof LineNumberRestartFormat];
|
|
12
|
-
readonly distance?: number | PositiveUniversalMeasure;
|
|
13
|
-
};
|
|
14
|
-
export declare const createLineNumberType: ({ countBy, start, restart, distance }: ILineNumberAttributes) => XmlComponent;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { IBorderOptions } from '../../../../border';
|
|
2
|
-
import { IgnoreIfEmptyXmlComponent } from '../../../../xml-components';
|
|
3
|
-
export declare const PageBorderDisplay: {
|
|
4
|
-
readonly ALL_PAGES: "allPages";
|
|
5
|
-
readonly FIRST_PAGE: "firstPage";
|
|
6
|
-
readonly NOT_FIRST_PAGE: "notFirstPage";
|
|
7
|
-
};
|
|
8
|
-
export declare const PageBorderOffsetFrom: {
|
|
9
|
-
readonly PAGE: "page";
|
|
10
|
-
readonly TEXT: "text";
|
|
11
|
-
};
|
|
12
|
-
export declare const PageBorderZOrder: {
|
|
13
|
-
readonly BACK: "back";
|
|
14
|
-
readonly FRONT: "front";
|
|
15
|
-
};
|
|
16
|
-
export interface IPageBorderAttributes {
|
|
17
|
-
readonly display?: (typeof PageBorderDisplay)[keyof typeof PageBorderDisplay];
|
|
18
|
-
readonly offsetFrom?: (typeof PageBorderOffsetFrom)[keyof typeof PageBorderOffsetFrom];
|
|
19
|
-
readonly zOrder?: (typeof PageBorderZOrder)[keyof typeof PageBorderZOrder];
|
|
20
|
-
}
|
|
21
|
-
export interface IPageBordersOptions {
|
|
22
|
-
readonly pageBorders?: IPageBorderAttributes;
|
|
23
|
-
readonly pageBorderTop?: IBorderOptions;
|
|
24
|
-
readonly pageBorderRight?: IBorderOptions;
|
|
25
|
-
readonly pageBorderBottom?: IBorderOptions;
|
|
26
|
-
readonly pageBorderLeft?: IBorderOptions;
|
|
27
|
-
}
|
|
28
|
-
export declare class PageBorders extends IgnoreIfEmptyXmlComponent {
|
|
29
|
-
constructor(options?: IPageBordersOptions);
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
-
import { PositiveUniversalMeasure, UniversalMeasure } from '../../../../../util/values';
|
|
3
|
-
export type IPageMarginAttributes = {
|
|
4
|
-
readonly top?: number | UniversalMeasure;
|
|
5
|
-
readonly right?: number | PositiveUniversalMeasure;
|
|
6
|
-
readonly bottom?: number | UniversalMeasure;
|
|
7
|
-
readonly left?: number | PositiveUniversalMeasure;
|
|
8
|
-
readonly header?: number | PositiveUniversalMeasure;
|
|
9
|
-
readonly footer?: number | PositiveUniversalMeasure;
|
|
10
|
-
readonly gutter?: number | PositiveUniversalMeasure;
|
|
11
|
-
};
|
|
12
|
-
export declare class PageMargin extends XmlComponent {
|
|
13
|
-
constructor(top: number | UniversalMeasure, right: number | PositiveUniversalMeasure, bottom: number | UniversalMeasure, left: number | PositiveUniversalMeasure, header: number | PositiveUniversalMeasure, footer: number | PositiveUniversalMeasure, gutter: number | PositiveUniversalMeasure);
|
|
14
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NumberFormat } from '../../../../shared/number-format';
|
|
2
|
-
import { XmlAttributeComponent, XmlComponent } from '../../../../xml-components';
|
|
3
|
-
export declare const PageNumberSeparator: {
|
|
4
|
-
readonly HYPHEN: "hyphen";
|
|
5
|
-
readonly PERIOD: "period";
|
|
6
|
-
readonly COLON: "colon";
|
|
7
|
-
readonly EM_DASH: "emDash";
|
|
8
|
-
readonly EN_DASH: "endash";
|
|
9
|
-
};
|
|
10
|
-
export interface IPageNumberTypeAttributes {
|
|
11
|
-
readonly start?: number;
|
|
12
|
-
readonly formatType?: (typeof NumberFormat)[keyof typeof NumberFormat];
|
|
13
|
-
readonly separator?: (typeof PageNumberSeparator)[keyof typeof PageNumberSeparator];
|
|
14
|
-
}
|
|
15
|
-
export declare class PageNumberTypeAttributes extends XmlAttributeComponent<IPageNumberTypeAttributes> {
|
|
16
|
-
protected readonly xmlKeys: {
|
|
17
|
-
start: string;
|
|
18
|
-
formatType: string;
|
|
19
|
-
separator: string;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
export declare class PageNumberType extends XmlComponent {
|
|
23
|
-
constructor({ start, formatType, separator }: IPageNumberTypeAttributes);
|
|
24
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
-
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
|
3
|
-
export declare const PageOrientation: {
|
|
4
|
-
readonly PORTRAIT: "portrait";
|
|
5
|
-
readonly LANDSCAPE: "landscape";
|
|
6
|
-
};
|
|
7
|
-
export type IPageSizeAttributes = {
|
|
8
|
-
readonly width?: number | PositiveUniversalMeasure;
|
|
9
|
-
readonly height?: number | PositiveUniversalMeasure;
|
|
10
|
-
readonly orientation?: (typeof PageOrientation)[keyof typeof PageOrientation];
|
|
11
|
-
};
|
|
12
|
-
export declare class PageSize extends XmlComponent {
|
|
13
|
-
constructor(width: number | PositiveUniversalMeasure, height: number | PositiveUniversalMeasure, orientation: (typeof PageOrientation)[keyof typeof PageOrientation]);
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
-
export declare const PageTextDirectionType: {
|
|
3
|
-
readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
|
|
4
|
-
readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
|
|
5
|
-
};
|
|
6
|
-
export declare class PageTextDirection extends XmlComponent {
|
|
7
|
-
constructor(value: (typeof PageTextDirectionType)[keyof typeof PageTextDirectionType]);
|
|
8
|
-
}
|
package/build/file/document/body/section-properties/properties/page-text-direction.spec.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|