docx 9.7.0 → 9.7.2
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/dist/index.cjs +585 -35
- package/dist/index.d.cts +3229 -5
- package/dist/index.d.ts +3229 -5
- package/dist/index.iife.js +585 -35
- package/dist/index.mjs +585 -36
- package/dist/index.umd.cjs +585 -35
- package/package.json +13 -10
- package/dist/export/formatter.d.ts +0 -4
- package/dist/export/formatter.spec.d.ts +0 -1
- package/dist/export/index.d.ts +0 -1
- package/dist/export/packer/image-replacer.d.ts +0 -5
- package/dist/export/packer/image-replacer.spec.d.ts +0 -1
- package/dist/export/packer/next-compiler.d.ts +0 -15
- package/dist/export/packer/next-compiler.spec.d.ts +0 -1
- package/dist/export/packer/numbering-replacer.d.ts +0 -4
- package/dist/export/packer/packer.d.ts +0 -20
- package/dist/export/packer/packer.spec.d.ts +0 -1
- package/dist/file/app-properties/app-properties-attributes.d.ts +0 -10
- package/dist/file/app-properties/app-properties.d.ts +0 -4
- package/dist/file/border/border.d.ts +0 -37
- package/dist/file/border/border.spec.d.ts +0 -1
- package/dist/file/border/index.d.ts +0 -1
- package/dist/file/checkbox/checkbox-symbol.d.ts +0 -4
- package/dist/file/checkbox/checkbox-util.d.ts +0 -17
- package/dist/file/checkbox/checkbox-util.spec.d.ts +0 -1
- package/dist/file/checkbox/checkbox.d.ts +0 -8
- package/dist/file/checkbox/checkbox.spec.d.ts +0 -1
- package/dist/file/checkbox/index.d.ts +0 -3
- package/dist/file/content-types/content-types-attributes.d.ts +0 -8
- package/dist/file/content-types/content-types.d.ts +0 -7
- package/dist/file/content-types/content-types.spec.d.ts +0 -1
- package/dist/file/content-types/default/default.d.ts +0 -2
- package/dist/file/content-types/override/override.d.ts +0 -2
- package/dist/file/core-properties/index.d.ts +0 -1
- package/dist/file/core-properties/properties.d.ts +0 -46
- package/dist/file/core-properties/properties.spec.d.ts +0 -1
- package/dist/file/custom-properties/custom-properties-attributes.d.ts +0 -10
- package/dist/file/custom-properties/custom-properties.d.ts +0 -9
- package/dist/file/custom-properties/custom-properties.spec.d.ts +0 -1
- package/dist/file/custom-properties/custom-property-attributes.d.ts +0 -12
- package/dist/file/custom-properties/custom-property.d.ts +0 -11
- package/dist/file/custom-properties/index.d.ts +0 -2
- package/dist/file/document/body/body.d.ts +0 -10
- package/dist/file/document/body/body.spec.d.ts +0 -1
- package/dist/file/document/body/index.d.ts +0 -2
- package/dist/file/document/body/section-properties/index.d.ts +0 -2
- package/dist/file/document/body/section-properties/properties/column.d.ts +0 -9
- package/dist/file/document/body/section-properties/properties/columns.d.ts +0 -11
- package/dist/file/document/body/section-properties/properties/columns.spec.d.ts +0 -1
- package/dist/file/document/body/section-properties/properties/doc-grid.d.ts +0 -13
- package/dist/file/document/body/section-properties/properties/doc-grid.spec.d.ts +0 -1
- package/dist/file/document/body/section-properties/properties/header-footer-reference.d.ts +0 -15
- package/dist/file/document/body/section-properties/properties/header-footer-reference.spec.d.ts +0 -1
- package/dist/file/document/body/section-properties/properties/index.d.ts +0 -12
- package/dist/file/document/body/section-properties/properties/line-number.d.ts +0 -14
- package/dist/file/document/body/section-properties/properties/line-number.spec.d.ts +0 -1
- package/dist/file/document/body/section-properties/properties/page-borders.d.ts +0 -30
- package/dist/file/document/body/section-properties/properties/page-borders.spec.d.ts +0 -1
- package/dist/file/document/body/section-properties/properties/page-margin.d.ts +0 -12
- package/dist/file/document/body/section-properties/properties/page-number.d.ts +0 -15
- package/dist/file/document/body/section-properties/properties/page-size.d.ts +0 -13
- package/dist/file/document/body/section-properties/properties/page-size.spec.d.ts +0 -1
- package/dist/file/document/body/section-properties/properties/page-text-direction.d.ts +0 -8
- package/dist/file/document/body/section-properties/properties/page-text-direction.spec.d.ts +0 -1
- package/dist/file/document/body/section-properties/properties/section-type.d.ts +0 -9
- package/dist/file/document/body/section-properties/properties/section-type.spec.d.ts +0 -1
- package/dist/file/document/body/section-properties/section-properties.d.ts +0 -61
- package/dist/file/document/body/section-properties/section-properties.spec.d.ts +0 -1
- package/dist/file/document/document-attributes.d.ts +0 -48
- package/dist/file/document/document-background/document-background.d.ts +0 -23
- package/dist/file/document/document-background/document-background.spec.d.ts +0 -1
- package/dist/file/document/document-background/index.d.ts +0 -1
- package/dist/file/document/document.d.ts +0 -15
- package/dist/file/document/document.spec.d.ts +0 -1
- package/dist/file/document/index.d.ts +0 -4
- package/dist/file/document-wrapper.d.ts +0 -18
- package/dist/file/document-wrapper.spec.d.ts +0 -1
- package/dist/file/drawing/anchor/anchor-attributes.d.ts +0 -24
- package/dist/file/drawing/anchor/anchor.d.ts +0 -10
- package/dist/file/drawing/anchor/anchor.spec.d.ts +0 -1
- package/dist/file/drawing/anchor/index.d.ts +0 -2
- package/dist/file/drawing/doc-properties/doc-properties-children.d.ts +0 -3
- package/dist/file/drawing/doc-properties/doc-properties-children.spec.d.ts +0 -1
- package/dist/file/drawing/doc-properties/doc-properties.d.ts +0 -12
- package/dist/file/drawing/doc-properties/doc-properties.spec.d.ts +0 -1
- package/dist/file/drawing/drawing.d.ts +0 -21
- package/dist/file/drawing/drawing.spec.d.ts +0 -1
- package/dist/file/drawing/effect-extent/effect-extent.d.ts +0 -8
- package/dist/file/drawing/extent/extent.d.ts +0 -7
- package/dist/file/drawing/floating/align.d.ts +0 -3
- package/dist/file/drawing/floating/align.spec.d.ts +0 -1
- package/dist/file/drawing/floating/floating-position.d.ts +0 -49
- package/dist/file/drawing/floating/horizontal-position.d.ts +0 -3
- package/dist/file/drawing/floating/horizontal-position.spec.d.ts +0 -1
- package/dist/file/drawing/floating/index.d.ts +0 -4
- package/dist/file/drawing/floating/position-offset.d.ts +0 -2
- package/dist/file/drawing/floating/position-offset.spec.d.ts +0 -1
- package/dist/file/drawing/floating/simple-pos.d.ts +0 -2
- package/dist/file/drawing/floating/simple-pos.spec.d.ts +0 -1
- package/dist/file/drawing/floating/vertical-position.d.ts +0 -3
- package/dist/file/drawing/floating/vertical-position.spec.d.ts +0 -1
- package/dist/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-lock-attributes.d.ts +0 -10
- package/dist/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-locks.d.ts +0 -4
- package/dist/file/drawing/graphic-frame/graphic-frame-properties.d.ts +0 -2
- package/dist/file/drawing/index.d.ts +0 -3
- package/dist/file/drawing/inline/graphic/graphic-data/graphic-data-attribute.d.ts +0 -8
- package/dist/file/drawing/inline/graphic/graphic-data/graphic-data.d.ts +0 -12
- package/dist/file/drawing/inline/graphic/graphic-data/index.d.ts +0 -1
- package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/blip-extentions.d.ts +0 -3
- package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/blip-fill.d.ts +0 -5
- package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/blip.d.ts +0 -3
- package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/source-rectangle.d.ts +0 -4
- package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/stretch.d.ts +0 -4
- package/dist/file/drawing/inline/graphic/graphic-data/pic/index.d.ts +0 -1
- 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
- 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
- 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
- package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-pic-properties.d.ts +0 -4
- package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties-attributes.d.ts +0 -12
- package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties.d.ts +0 -5
- package/dist/file/drawing/inline/graphic/graphic-data/pic/pic-attributes.d.ts +0 -8
- package/dist/file/drawing/inline/graphic/graphic-data/pic/pic.d.ts +0 -10
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents-attributes.d.ts +0 -10
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents.d.ts +0 -5
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/form.d.ts +0 -18
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/index.d.ts +0 -1
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off-attributes.d.ts +0 -10
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off.d.ts +0 -4
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form.spec.d.ts +0 -1
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.d.ts +0 -2
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.spec.d.ts +0 -1
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.d.ts +0 -42
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.spec.d.ts +0 -1
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/rgb-color.d.ts +0 -6
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/scheme-color.d.ts +0 -25
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.d.ts +0 -12
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.spec.d.ts +0 -1
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/adjustment-values/adjustment-values.d.ts +0 -4
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry-attributes.d.ts +0 -8
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry.d.ts +0 -4
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties-attributes.d.ts +0 -8
- package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties.d.ts +0 -13
- package/dist/file/drawing/inline/graphic/graphic-data/wpg/wpg-group.d.ts +0 -10
- package/dist/file/drawing/inline/graphic/graphic-data/wps/body-properties.d.ts +0 -19
- package/dist/file/drawing/inline/graphic/graphic-data/wps/body-properties.spec.d.ts +0 -1
- package/dist/file/drawing/inline/graphic/graphic-data/wps/index.d.ts +0 -2
- package/dist/file/drawing/inline/graphic/graphic-data/wps/non-visual-shape-properties.d.ts +0 -5
- package/dist/file/drawing/inline/graphic/graphic-data/wps/text-box-content.d.ts +0 -3
- package/dist/file/drawing/inline/graphic/graphic-data/wps/wps-shape.d.ts +0 -18
- package/dist/file/drawing/inline/graphic/graphic-data/wps/wps-text-box.d.ts +0 -3
- package/dist/file/drawing/inline/graphic/graphic.d.ts +0 -13
- package/dist/file/drawing/inline/graphic/index.d.ts +0 -1
- package/dist/file/drawing/inline/index.d.ts +0 -1
- package/dist/file/drawing/inline/inline.d.ts +0 -14
- package/dist/file/drawing/inline/inline.spec.d.ts +0 -1
- package/dist/file/drawing/text-wrap/index.d.ts +0 -5
- package/dist/file/drawing/text-wrap/text-wrapping.d.ts +0 -18
- package/dist/file/drawing/text-wrap/wrap-none.d.ts +0 -2
- package/dist/file/drawing/text-wrap/wrap-square.d.ts +0 -4
- package/dist/file/drawing/text-wrap/wrap-tight.d.ts +0 -3
- package/dist/file/drawing/text-wrap/wrap-top-and-bottom.d.ts +0 -3
- package/dist/file/endnotes/endnote/endnote-attributes.d.ts +0 -10
- package/dist/file/endnotes/endnote/endnote.d.ts +0 -14
- package/dist/file/endnotes/endnote/endnote.spec.d.ts +0 -1
- package/dist/file/endnotes/endnote/index.d.ts +0 -1
- package/dist/file/endnotes/endnote/run/endnote-ref-run.d.ts +0 -4
- package/dist/file/endnotes/endnote/run/index.d.ts +0 -1
- package/dist/file/endnotes/endnote/run/reference-run.d.ts +0 -15
- package/dist/file/endnotes/endnote/run/reference-run.spec.d.ts +0 -1
- package/dist/file/endnotes/endnotes-attributes.d.ts +0 -40
- package/dist/file/endnotes/endnotes.d.ts +0 -6
- package/dist/file/endnotes/endnotes.spec.d.ts +0 -1
- package/dist/file/endnotes/index.d.ts +0 -2
- package/dist/file/endnotes-wrapper.d.ts +0 -10
- package/dist/file/file-child.d.ts +0 -4
- package/dist/file/file.d.ts +0 -78
- package/dist/file/file.spec.d.ts +0 -1
- package/dist/file/fonts/create-regular-font.d.ts +0 -8
- package/dist/file/fonts/font-table.d.ts +0 -9
- package/dist/file/fonts/font-wrapper.d.ts +0 -16
- package/dist/file/fonts/font-wrapper.spec.d.ts +0 -1
- package/dist/file/fonts/font.d.ts +0 -49
- package/dist/file/fonts/font.spec.d.ts +0 -1
- package/dist/file/fonts/index.d.ts +0 -1
- package/dist/file/fonts/obfuscate-ttf-to-odttf.d.ts +0 -1
- package/dist/file/fonts/obsfuscate-ttf-to-odttf.spec.d.ts +0 -1
- package/dist/file/footer/footer-attributes.d.ts +0 -51
- package/dist/file/footer/footer.d.ts +0 -9
- package/dist/file/footer/footer.spec.d.ts +0 -1
- package/dist/file/footer/index.d.ts +0 -1
- package/dist/file/footer-wrapper.d.ts +0 -23
- package/dist/file/footer-wrapper.spec.d.ts +0 -1
- package/dist/file/footnotes/footnote/footnote-attributes.d.ts +0 -10
- package/dist/file/footnotes/footnote/footnote.d.ts +0 -14
- package/dist/file/footnotes/footnote/footnote.spec.d.ts +0 -1
- package/dist/file/footnotes/footnote/index.d.ts +0 -1
- package/dist/file/footnotes/footnote/run/continuation-seperator-run.d.ts +0 -4
- package/dist/file/footnotes/footnote/run/continuation-seperator.d.ts +0 -4
- package/dist/file/footnotes/footnote/run/footnote-ref-run.d.ts +0 -4
- package/dist/file/footnotes/footnote/run/footnote-ref.d.ts +0 -4
- package/dist/file/footnotes/footnote/run/index.d.ts +0 -1
- package/dist/file/footnotes/footnote/run/reference-run.d.ts +0 -15
- package/dist/file/footnotes/footnote/run/seperator-run.d.ts +0 -4
- package/dist/file/footnotes/footnote/run/seperator.d.ts +0 -4
- package/dist/file/footnotes/footnotes-attributes.d.ts +0 -40
- package/dist/file/footnotes/footnotes.d.ts +0 -6
- package/dist/file/footnotes/index.d.ts +0 -2
- package/dist/file/footnotes-wrapper.d.ts +0 -10
- package/dist/file/footnotes-wrapper.spec.d.ts +0 -1
- package/dist/file/header/header-attributes.d.ts +0 -73
- package/dist/file/header/header.d.ts +0 -9
- package/dist/file/header/header.spec.d.ts +0 -1
- package/dist/file/header/index.d.ts +0 -1
- package/dist/file/header-wrapper.d.ts +0 -23
- package/dist/file/header-wrapper.spec.d.ts +0 -1
- package/dist/file/header.d.ts +0 -13
- package/dist/file/index.d.ts +0 -25
- package/dist/file/media/data.d.ts +0 -59
- package/dist/file/media/index.d.ts +0 -2
- package/dist/file/media/media.d.ts +0 -20
- package/dist/file/media/media.spec.d.ts +0 -1
- package/dist/file/numbering/abstract-numbering.d.ts +0 -6
- package/dist/file/numbering/abstract-numbering.spec.d.ts +0 -1
- package/dist/file/numbering/concrete-numbering.spec.d.ts +0 -1
- package/dist/file/numbering/index.d.ts +0 -4
- package/dist/file/numbering/level.d.ts +0 -97
- package/dist/file/numbering/level.spec.d.ts +0 -1
- package/dist/file/numbering/multi-level-type.d.ts +0 -4
- package/dist/file/numbering/num.d.ts +0 -22
- package/dist/file/numbering/numbering.d.ts +0 -21
- package/dist/file/numbering/numbering.spec.d.ts +0 -1
- package/dist/file/paragraph/formatting/alignment.d.ts +0 -17
- package/dist/file/paragraph/formatting/alignment.spec.d.ts +0 -1
- package/dist/file/paragraph/formatting/border.d.ts +0 -15
- package/dist/file/paragraph/formatting/border.spec.d.ts +0 -1
- package/dist/file/paragraph/formatting/break.d.ts +0 -11
- package/dist/file/paragraph/formatting/break.spec.d.ts +0 -1
- package/dist/file/paragraph/formatting/indent.d.ts +0 -12
- package/dist/file/paragraph/formatting/indent.spec.d.ts +0 -1
- package/dist/file/paragraph/formatting/index.d.ts +0 -8
- package/dist/file/paragraph/formatting/spacing.d.ts +0 -16
- package/dist/file/paragraph/formatting/spacing.spec.d.ts +0 -1
- package/dist/file/paragraph/formatting/style.d.ts +0 -11
- package/dist/file/paragraph/formatting/style.spec.d.ts +0 -1
- package/dist/file/paragraph/formatting/tab-stop.d.ts +0 -29
- package/dist/file/paragraph/formatting/tab-stop.spec.d.ts +0 -1
- package/dist/file/paragraph/formatting/unordered-list.d.ts +0 -4
- package/dist/file/paragraph/formatting/unordered-list.spec.d.ts +0 -1
- package/dist/file/paragraph/formatting/word-wrap.d.ts +0 -2
- package/dist/file/paragraph/formatting/word-wrap.spec.d.ts +0 -1
- package/dist/file/paragraph/frame/frame-properties.d.ts +0 -55
- package/dist/file/paragraph/frame/frame-properties.spec.d.ts +0 -1
- package/dist/file/paragraph/frame/index.d.ts +0 -1
- package/dist/file/paragraph/index.d.ts +0 -7
- package/dist/file/paragraph/links/bookmark-attributes.d.ts +0 -17
- package/dist/file/paragraph/links/bookmark.d.ts +0 -19
- package/dist/file/paragraph/links/bookmark.spec.d.ts +0 -1
- package/dist/file/paragraph/links/hyperlink-attributes.d.ts +0 -13
- package/dist/file/paragraph/links/hyperlink.d.ts +0 -25
- package/dist/file/paragraph/links/hyperlink.spec.d.ts +0 -1
- package/dist/file/paragraph/links/index.d.ts +0 -5
- package/dist/file/paragraph/links/numbered-item-ref.d.ts +0 -14
- package/dist/file/paragraph/links/numbered-item-ref.spec.d.ts +0 -1
- package/dist/file/paragraph/links/outline-level.d.ts +0 -2
- package/dist/file/paragraph/links/outline-level.spec.d.ts +0 -1
- package/dist/file/paragraph/links/pageref-field-instruction.d.ts +0 -5
- package/dist/file/paragraph/links/pageref-field-instruction.spec.d.ts +0 -1
- package/dist/file/paragraph/links/pageref.d.ts +0 -8
- package/dist/file/paragraph/links/pageref.spec.d.ts +0 -1
- package/dist/file/paragraph/math/bar/index.d.ts +0 -2
- package/dist/file/paragraph/math/bar/math-bar-pos.d.ts +0 -6
- package/dist/file/paragraph/math/bar/math-bar-properties.d.ts +0 -4
- package/dist/file/paragraph/math/bar/math-bar-properties.spec.d.ts +0 -1
- package/dist/file/paragraph/math/bar/math-bar.d.ts +0 -8
- package/dist/file/paragraph/math/bar/math-bar.spec.d.ts +0 -1
- package/dist/file/paragraph/math/brackets/index.d.ts +0 -4
- package/dist/file/paragraph/math/brackets/math-angled-brackets.d.ts +0 -9
- package/dist/file/paragraph/math/brackets/math-angled-brackets.spec.d.ts +0 -1
- package/dist/file/paragraph/math/brackets/math-beginning-character.d.ts +0 -6
- package/dist/file/paragraph/math/brackets/math-beginning-character.spec.d.ts +0 -1
- package/dist/file/paragraph/math/brackets/math-bracket-properties.d.ts +0 -9
- package/dist/file/paragraph/math/brackets/math-bracket-properties.spec.d.ts +0 -1
- package/dist/file/paragraph/math/brackets/math-curly-brackets.d.ts +0 -7
- package/dist/file/paragraph/math/brackets/math-curly-brackets.spec.d.ts +0 -1
- package/dist/file/paragraph/math/brackets/math-ending-char.d.ts +0 -6
- package/dist/file/paragraph/math/brackets/math-ending-character.spec.d.ts +0 -1
- package/dist/file/paragraph/math/brackets/math-round-brackets.d.ts +0 -7
- package/dist/file/paragraph/math/brackets/math-round-brackets.spec.d.ts +0 -1
- package/dist/file/paragraph/math/brackets/math-square-brackets.d.ts +0 -7
- package/dist/file/paragraph/math/brackets/math-square-brackets.spec.d.ts +0 -1
- package/dist/file/paragraph/math/fraction/index.d.ts +0 -3
- package/dist/file/paragraph/math/fraction/math-denominator.d.ts +0 -5
- package/dist/file/paragraph/math/fraction/math-denominator.spec.d.ts +0 -1
- package/dist/file/paragraph/math/fraction/math-fraction.d.ts +0 -9
- package/dist/file/paragraph/math/fraction/math-fraction.spec.d.ts +0 -1
- package/dist/file/paragraph/math/fraction/math-numerator.d.ts +0 -5
- package/dist/file/paragraph/math/fraction/math-numerator.spec.d.ts +0 -1
- package/dist/file/paragraph/math/function/index.d.ts +0 -3
- package/dist/file/paragraph/math/function/math-function-name.d.ts +0 -5
- package/dist/file/paragraph/math/function/math-function-name.spec.d.ts +0 -1
- package/dist/file/paragraph/math/function/math-function-properties.d.ts +0 -4
- package/dist/file/paragraph/math/function/math-function-properties.spec.d.ts +0 -1
- package/dist/file/paragraph/math/function/math-function.d.ts +0 -9
- package/dist/file/paragraph/math/function/math-function.spec.d.ts +0 -1
- package/dist/file/paragraph/math/index.d.ts +0 -9
- package/dist/file/paragraph/math/math-component.d.ts +0 -9
- package/dist/file/paragraph/math/math-run.d.ts +0 -4
- package/dist/file/paragraph/math/math-run.spec.d.ts +0 -1
- package/dist/file/paragraph/math/math-text.d.ts +0 -4
- package/dist/file/paragraph/math/math-text.spec.d.ts +0 -1
- package/dist/file/paragraph/math/math.d.ts +0 -8
- package/dist/file/paragraph/math/math.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/index.d.ts +0 -11
- package/dist/file/paragraph/math/n-ary/math-accent-character.d.ts +0 -6
- package/dist/file/paragraph/math/n-ary/math-accent-character.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-base.d.ts +0 -7
- package/dist/file/paragraph/math/n-ary/math-base.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-integral.d.ts +0 -10
- package/dist/file/paragraph/math/n-ary/math-integral.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-limit-location.d.ts +0 -6
- package/dist/file/paragraph/math/n-ary/math-limit-location.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-limit-lower.d.ts +0 -9
- package/dist/file/paragraph/math/n-ary/math-limit-lower.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-limit-upper.d.ts +0 -9
- package/dist/file/paragraph/math/n-ary/math-limit-upper.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-limit.d.ts +0 -5
- package/dist/file/paragraph/math/n-ary/math-limit.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-n-ary-properties.d.ts +0 -9
- package/dist/file/paragraph/math/n-ary/math-n-ary-properties.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-sub-script-hide.d.ts +0 -2
- package/dist/file/paragraph/math/n-ary/math-sub-script-hide.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-sub-script.d.ts +0 -7
- package/dist/file/paragraph/math/n-ary/math-sub-script.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-sum.d.ts +0 -10
- package/dist/file/paragraph/math/n-ary/math-sum.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-super-script-hide.d.ts +0 -2
- package/dist/file/paragraph/math/n-ary/math-super-script-hide.spec.d.ts +0 -1
- package/dist/file/paragraph/math/n-ary/math-super-script.d.ts +0 -7
- package/dist/file/paragraph/math/n-ary/math-super-script.spec.d.ts +0 -1
- package/dist/file/paragraph/math/radical/index.d.ts +0 -3
- package/dist/file/paragraph/math/radical/math-degree-hide.d.ts +0 -4
- package/dist/file/paragraph/math/radical/math-degree-hide.spec.d.ts +0 -1
- package/dist/file/paragraph/math/radical/math-degree.d.ts +0 -5
- package/dist/file/paragraph/math/radical/math-degree.spec.d.ts +0 -1
- package/dist/file/paragraph/math/radical/math-radical-properties.d.ts +0 -4
- package/dist/file/paragraph/math/radical/math-radical-properties.spec.d.ts +0 -1
- package/dist/file/paragraph/math/radical/math-radical.d.ts +0 -9
- package/dist/file/paragraph/math/radical/math-radical.spec.d.ts +0 -1
- package/dist/file/paragraph/math/script/index.d.ts +0 -4
- package/dist/file/paragraph/math/script/pre-sub-super-script/index.d.ts +0 -2
- package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.d.ts +0 -2
- package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.spec.d.ts +0 -1
- package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.d.ts +0 -10
- package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.spec.d.ts +0 -1
- package/dist/file/paragraph/math/script/sub-script/index.d.ts +0 -2
- package/dist/file/paragraph/math/script/sub-script/math-sub-script-function-properties.d.ts +0 -2
- package/dist/file/paragraph/math/script/sub-script/math-sub-script-function-properties.spec.d.ts +0 -1
- package/dist/file/paragraph/math/script/sub-script/math-sub-script-function.d.ts +0 -9
- package/dist/file/paragraph/math/script/sub-script/math-sub-script-function.spec.d.ts +0 -1
- package/dist/file/paragraph/math/script/sub-super-script/index.d.ts +0 -2
- package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.d.ts +0 -2
- package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.spec.d.ts +0 -1
- package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.d.ts +0 -10
- package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.spec.d.ts +0 -1
- package/dist/file/paragraph/math/script/super-script/index.d.ts +0 -2
- package/dist/file/paragraph/math/script/super-script/math-super-script-function-properties.d.ts +0 -2
- package/dist/file/paragraph/math/script/super-script/math-super-script-function-properties.spec.d.ts +0 -1
- package/dist/file/paragraph/math/script/super-script/math-super-script-function.d.ts +0 -9
- package/dist/file/paragraph/math/script/super-script/math-super-script-function.spec.d.ts +0 -1
- package/dist/file/paragraph/paragraph.d.ts +0 -22
- package/dist/file/paragraph/paragraph.spec.d.ts +0 -1
- package/dist/file/paragraph/properties.d.ts +0 -65
- package/dist/file/paragraph/properties.spec.d.ts +0 -1
- package/dist/file/paragraph/run/break.d.ts +0 -2
- package/dist/file/paragraph/run/break.spec.d.ts +0 -1
- package/dist/file/paragraph/run/comment-run.d.ts +0 -42
- package/dist/file/paragraph/run/comment-run.spec.d.ts +0 -1
- package/dist/file/paragraph/run/comments-extended.d.ts +0 -5
- package/dist/file/paragraph/run/comments-extended.spec.d.ts +0 -1
- package/dist/file/paragraph/run/emphasis-mark.d.ts +0 -6
- package/dist/file/paragraph/run/emphasis-mark.spec.d.ts +0 -1
- package/dist/file/paragraph/run/empty-children.d.ts +0 -52
- package/dist/file/paragraph/run/empty-children.spec.d.ts +0 -1
- package/dist/file/paragraph/run/field.d.ts +0 -4
- package/dist/file/paragraph/run/formatting.d.ts +0 -14
- package/dist/file/paragraph/run/formatting.spec.d.ts +0 -1
- package/dist/file/paragraph/run/image-run.d.ts +0 -33
- package/dist/file/paragraph/run/image-run.spec.d.ts +0 -1
- package/dist/file/paragraph/run/index.d.ts +0 -16
- package/dist/file/paragraph/run/language.d.ts +0 -7
- package/dist/file/paragraph/run/language.spec.d.ts +0 -1
- package/dist/file/paragraph/run/page-number.d.ts +0 -13
- package/dist/file/paragraph/run/page-number.spec.d.ts +0 -1
- package/dist/file/paragraph/run/positional-tab.d.ts +0 -25
- package/dist/file/paragraph/run/positional-tab.spec.d.ts +0 -1
- package/dist/file/paragraph/run/properties.d.ts +0 -102
- package/dist/file/paragraph/run/run-components/symbol.d.ts +0 -4
- package/dist/file/paragraph/run/run-components/symbol.spec.d.ts +0 -1
- package/dist/file/paragraph/run/run-components/text.d.ts +0 -10
- package/dist/file/paragraph/run/run-components/text.spec.d.ts +0 -1
- package/dist/file/paragraph/run/run-fonts.d.ts +0 -9
- package/dist/file/paragraph/run/run-fonts.spec.d.ts +0 -1
- package/dist/file/paragraph/run/run.d.ts +0 -23
- package/dist/file/paragraph/run/run.spec.d.ts +0 -1
- package/dist/file/paragraph/run/script.d.ts +0 -3
- package/dist/file/paragraph/run/script.spec.d.ts +0 -1
- package/dist/file/paragraph/run/sequential-identifier-instruction.d.ts +0 -4
- package/dist/file/paragraph/run/sequential-identifier.d.ts +0 -4
- package/dist/file/paragraph/run/sequential-identifier.spec.d.ts +0 -1
- package/dist/file/paragraph/run/simple-field.d.ts +0 -7
- package/dist/file/paragraph/run/simple-field.spec.d.ts +0 -1
- package/dist/file/paragraph/run/symbol-run.d.ts +0 -8
- package/dist/file/paragraph/run/symbol-run.spec.d.ts +0 -1
- package/dist/file/paragraph/run/text-attributes.d.ts +0 -9
- package/dist/file/paragraph/run/text-run.d.ts +0 -4
- package/dist/file/paragraph/run/text-run.spec.d.ts +0 -1
- package/dist/file/paragraph/run/underline.d.ts +0 -22
- package/dist/file/paragraph/run/underline.spec.d.ts +0 -1
- package/dist/file/paragraph/run/wpg-group-run.d.ts +0 -21
- package/dist/file/paragraph/run/wpg-group-run.spec.d.ts +0 -1
- package/dist/file/paragraph/run/wps-shape-run.d.ts +0 -23
- package/dist/file/paragraph/run/wps-shape-run.spec.d.ts +0 -1
- package/dist/file/relationships/attributes.d.ts +0 -8
- package/dist/file/relationships/index.d.ts +0 -1
- package/dist/file/relationships/relationship/relationship.d.ts +0 -6
- package/dist/file/relationships/relationships.d.ts +0 -7
- package/dist/file/relationships/relationships.spec.d.ts +0 -1
- package/dist/file/settings/compatibility-setting/compatibility-setting.d.ts +0 -2
- package/dist/file/settings/compatibility-setting/compatibility-setting.spec.d.ts +0 -1
- package/dist/file/settings/compatibility.d.ts +0 -72
- package/dist/file/settings/compatibility.spec.d.ts +0 -1
- package/dist/file/settings/index.d.ts +0 -1
- package/dist/file/settings/settings.d.ts +0 -59
- package/dist/file/settings/settings.spec.d.ts +0 -1
- package/dist/file/shading/index.d.ts +0 -1
- package/dist/file/shading/shading.d.ts +0 -46
- package/dist/file/shading/shading.spec.d.ts +0 -1
- package/dist/file/shared/alignment.d.ts +0 -14
- package/dist/file/shared/index.d.ts +0 -3
- package/dist/file/shared/number-format.d.ts +0 -64
- package/dist/file/shared/space-type.d.ts +0 -4
- package/dist/file/styles/defaults/document-defaults.d.ts +0 -12
- package/dist/file/styles/defaults/document-defaults.spec.d.ts +0 -1
- package/dist/file/styles/defaults/index.d.ts +0 -3
- package/dist/file/styles/defaults/paragraph-properties.d.ts +0 -5
- package/dist/file/styles/defaults/run-properties.d.ts +0 -5
- package/dist/file/styles/external-styles-factory.d.ts +0 -4
- package/dist/file/styles/external-styles-factory.spec.d.ts +0 -1
- package/dist/file/styles/factory.d.ts +0 -25
- package/dist/file/styles/index.d.ts +0 -4
- package/dist/file/styles/latent-styles/exceptions.d.ts +0 -20
- package/dist/file/styles/latent-styles/exceptions.spec.d.ts +0 -1
- package/dist/file/styles/latent-styles/index.d.ts +0 -1
- package/dist/file/styles/latent-styles/latent-styles.d.ts +0 -5
- package/dist/file/styles/latent-styles/latent-styles.spec.d.ts +0 -1
- package/dist/file/styles/sample/default-style.d.ts +0 -1
- package/dist/file/styles/sample/default-style.spec.d.ts +0 -1
- package/dist/file/styles/sample/index.d.ts +0 -1
- package/dist/file/styles/style/character-style.d.ts +0 -12
- package/dist/file/styles/style/character-style.spec.d.ts +0 -1
- package/dist/file/styles/style/components.d.ts +0 -11
- package/dist/file/styles/style/components.spec.d.ts +0 -1
- package/dist/file/styles/style/default-styles.d.ts +0 -53
- package/dist/file/styles/style/default-styles.spec.d.ts +0 -1
- package/dist/file/styles/style/index.d.ts +0 -4
- package/dist/file/styles/style/paragraph-style.d.ts +0 -14
- package/dist/file/styles/style/paragraph-style.spec.d.ts +0 -1
- package/dist/file/styles/style/style.d.ts +0 -20
- package/dist/file/styles/style/style.spec.d.ts +0 -1
- package/dist/file/styles/styles.d.ts +0 -15
- package/dist/file/styles/styles.spec.d.ts +0 -1
- package/dist/file/table/grid.d.ts +0 -13
- package/dist/file/table/grid.spec.d.ts +0 -1
- package/dist/file/table/index.d.ts +0 -5
- package/dist/file/table/table-cell/index.d.ts +0 -2
- package/dist/file/table/table-cell/table-cell-components.d.ts +0 -31
- package/dist/file/table/table-cell/table-cell-properties.d.ts +0 -33
- package/dist/file/table/table-cell/table-cell-properties.spec.d.ts +0 -1
- package/dist/file/table/table-cell/table-cell.d.ts +0 -12
- package/dist/file/table/table-cell/table-cell.spec.d.ts +0 -1
- package/dist/file/table/table-cell-spacing.d.ts +0 -11
- package/dist/file/table/table-properties/index.d.ts +0 -5
- package/dist/file/table/table-properties/table-borders.d.ts +0 -14
- package/dist/file/table/table-properties/table-borders.spec.d.ts +0 -1
- package/dist/file/table/table-properties/table-cell-margin.d.ts +0 -11
- package/dist/file/table/table-properties/table-cell-margin.spec.d.ts +0 -1
- package/dist/file/table/table-properties/table-float-properties.d.ts +0 -40
- package/dist/file/table/table-properties/table-float-properties.spec.d.ts +0 -1
- package/dist/file/table/table-properties/table-layout.d.ts +0 -6
- package/dist/file/table/table-properties/table-look.d.ts +0 -10
- package/dist/file/table/table-properties/table-look.spec.d.ts +0 -1
- package/dist/file/table/table-properties/table-properties.d.ts +0 -33
- package/dist/file/table/table-properties/table-properties.spec.d.ts +0 -1
- package/dist/file/table/table-row/index.d.ts +0 -3
- package/dist/file/table/table-row/table-row-height.d.ts +0 -8
- package/dist/file/table/table-row/table-row-properties.d.ts +0 -27
- package/dist/file/table/table-row/table-row-properties.spec.d.ts +0 -1
- package/dist/file/table/table-row/table-row.d.ts +0 -16
- package/dist/file/table/table-row/table-row.spec.d.ts +0 -1
- package/dist/file/table/table-width.d.ts +0 -13
- package/dist/file/table/table.d.ts +0 -30
- package/dist/file/table/table.spec.d.ts +0 -1
- package/dist/file/table-of-contents/field-instruction.d.ts +0 -6
- package/dist/file/table-of-contents/index.d.ts +0 -2
- package/dist/file/table-of-contents/sdt-content.d.ts +0 -4
- package/dist/file/table-of-contents/sdt-properties.d.ts +0 -4
- package/dist/file/table-of-contents/table-of-contents-properties.d.ts +0 -23
- package/dist/file/table-of-contents/table-of-contents.d.ts +0 -20
- package/dist/file/table-of-contents/table-of-contents.spec.d.ts +0 -1
- package/dist/file/textbox/index.d.ts +0 -1
- package/dist/file/textbox/pict-element/pict-element.d.ts +0 -5
- package/dist/file/textbox/shape/shape.d.ts +0 -36
- package/dist/file/textbox/shape/shape.spec.d.ts +0 -1
- package/dist/file/textbox/texbox-content/textbox-content.d.ts +0 -5
- package/dist/file/textbox/textbox.d.ts +0 -10
- package/dist/file/textbox/textbox.spec.d.ts +0 -1
- package/dist/file/textbox/types.d.ts +0 -2
- package/dist/file/textbox/vml-textbox/vml-texbox.d.ts +0 -14
- package/dist/file/textbox/vml-textbox/vml-textbox.spec.d.ts +0 -1
- package/dist/file/track-revision/index.d.ts +0 -7
- package/dist/file/track-revision/track-revision-components/cell-merge.d.ts +0 -22
- package/dist/file/track-revision/track-revision-components/cell-merge.spec.d.ts +0 -1
- package/dist/file/track-revision/track-revision-components/deleted-page-number.d.ts +0 -10
- package/dist/file/track-revision/track-revision-components/deleted-page-number.spec.d.ts +0 -1
- package/dist/file/track-revision/track-revision-components/deleted-table-cell.d.ts +0 -5
- package/dist/file/track-revision/track-revision-components/deleted-table-cell.spec.d.ts +0 -1
- package/dist/file/track-revision/track-revision-components/deleted-table-row.d.ts +0 -5
- package/dist/file/track-revision/track-revision-components/deleted-table-row.spec.d.ts +0 -1
- package/dist/file/track-revision/track-revision-components/deleted-text-run.d.ts +0 -12
- package/dist/file/track-revision/track-revision-components/deleted-text-run.spec.d.ts +0 -1
- package/dist/file/track-revision/track-revision-components/deleted-text.d.ts +0 -4
- package/dist/file/track-revision/track-revision-components/deleted-text.spec.d.ts +0 -1
- package/dist/file/track-revision/track-revision-components/deletion-track-change.d.ts +0 -5
- package/dist/file/track-revision/track-revision-components/inserted-table-cell.d.ts +0 -5
- package/dist/file/track-revision/track-revision-components/inserted-table-cell.spec.d.ts +0 -1
- package/dist/file/track-revision/track-revision-components/inserted-table-row.d.ts +0 -5
- package/dist/file/track-revision/track-revision-components/inserted-table-row.spec.d.ts +0 -1
- package/dist/file/track-revision/track-revision-components/inserted-text-run.d.ts +0 -8
- package/dist/file/track-revision/track-revision-components/inserted-text-run.spec.d.ts +0 -1
- package/dist/file/track-revision/track-revision-components/insertion-track-change.d.ts +0 -5
- package/dist/file/track-revision/track-revision.d.ts +0 -13
- package/dist/file/vertical-align/index.d.ts +0 -1
- package/dist/file/vertical-align/vertical-align.d.ts +0 -21
- package/dist/file/xml-components/attribute.spec.d.ts +0 -1
- package/dist/file/xml-components/attributes.d.ts +0 -46
- package/dist/file/xml-components/base.d.ts +0 -13
- package/dist/file/xml-components/default-attributes.d.ts +0 -21
- package/dist/file/xml-components/imported-xml-component.d.ts +0 -14
- package/dist/file/xml-components/imported-xml-component.spec.d.ts +0 -1
- package/dist/file/xml-components/index.d.ts +0 -8
- package/dist/file/xml-components/initializable-xml-component.d.ts +0 -4
- package/dist/file/xml-components/simple-elements.d.ts +0 -30
- package/dist/file/xml-components/simple-elements.spec.d.ts +0 -1
- package/dist/file/xml-components/xml-component.d.ts +0 -14
- package/dist/file/xml-components/xml-component.spec.d.ts +0 -1
- package/dist/file/xml-components/xmlable-object.d.ts +0 -5
- package/dist/index.spec.d.ts +0 -1
- package/dist/patcher/content-types-manager.d.ts +0 -2
- package/dist/patcher/content-types-manager.spec.d.ts +0 -1
- package/dist/patcher/from-docx.d.ts +0 -32
- package/dist/patcher/from-docx.spec.d.ts +0 -1
- package/dist/patcher/index.d.ts +0 -2
- package/dist/patcher/paragraph-split-inject.d.ts +0 -9
- package/dist/patcher/paragraph-split-inject.spec.d.ts +0 -1
- package/dist/patcher/paragraph-token-replacer.d.ts +0 -8
- package/dist/patcher/paragraph-token-replacer.spec.d.ts +0 -1
- package/dist/patcher/patch-detector.d.ts +0 -6
- package/dist/patcher/patch-detector.spec.d.ts +0 -1
- package/dist/patcher/relationship-manager.d.ts +0 -4
- package/dist/patcher/relationship-manager.spec.d.ts +0 -1
- package/dist/patcher/replacer.d.ts +0 -15
- package/dist/patcher/replacer.spec.d.ts +0 -84
- package/dist/patcher/run-renderer.d.ts +0 -22
- package/dist/patcher/run-renderer.spec.d.ts +0 -1
- package/dist/patcher/traverser.d.ts +0 -9
- package/dist/patcher/traverser.spec.d.ts +0 -1
- package/dist/patcher/util.d.ts +0 -5
- package/dist/patcher/util.spec.d.ts +0 -1
- package/dist/tests/utility.d.ts +0 -3
- package/dist/util/convenience-functions.d.ts +0 -12
- package/dist/util/convenience-functions.spec.d.ts +0 -1
- package/dist/util/index.d.ts +0 -3
- package/dist/util/output-type.d.ts +0 -12
- package/dist/util/types.d.ts +0 -1
- package/dist/util/values.d.ts +0 -22
- package/dist/util/values.spec.d.ts +0 -1
package/dist/index.iife.js
CHANGED
|
@@ -8,7 +8,7 @@ var docx = (function(exports) {
|
|
|
8
8
|
var __getProtoOf = Object.getPrototypeOf;
|
|
9
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
10
|
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
11
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
11
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
12
12
|
var __copyProps = (to, from, except, desc) => {
|
|
13
13
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
14
14
|
key = keys[i];
|
|
@@ -24,7 +24,7 @@ var docx = (function(exports) {
|
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
//#endregion
|
|
27
|
-
//#region \0@oxc-project+runtime@0.
|
|
27
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
|
|
28
28
|
function _typeof(o) {
|
|
29
29
|
"@babel/helpers - typeof";
|
|
30
30
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -34,7 +34,7 @@ var docx = (function(exports) {
|
|
|
34
34
|
}, _typeof(o);
|
|
35
35
|
}
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region \0@oxc-project+runtime@0.
|
|
37
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
|
|
38
38
|
function toPrimitive(t, r) {
|
|
39
39
|
if ("object" != _typeof(t) || !t) return t;
|
|
40
40
|
var e = t[Symbol.toPrimitive];
|
|
@@ -46,13 +46,13 @@ var docx = (function(exports) {
|
|
|
46
46
|
return ("string" === r ? String : Number)(t);
|
|
47
47
|
}
|
|
48
48
|
//#endregion
|
|
49
|
-
//#region \0@oxc-project+runtime@0.
|
|
49
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
|
|
50
50
|
function toPropertyKey(t) {
|
|
51
51
|
var i = toPrimitive(t, "string");
|
|
52
52
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
53
53
|
}
|
|
54
54
|
//#endregion
|
|
55
|
-
//#region \0@oxc-project+runtime@0.
|
|
55
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
|
|
56
56
|
function _defineProperty(e, r, t) {
|
|
57
57
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
58
58
|
value: t,
|
|
@@ -252,7 +252,7 @@ var docx = (function(exports) {
|
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
//#endregion
|
|
255
|
-
//#region \0@oxc-project+runtime@0.
|
|
255
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/objectSpread2.js
|
|
256
256
|
function ownKeys(e, r) {
|
|
257
257
|
var t = Object.keys(e);
|
|
258
258
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -309,6 +309,7 @@ var docx = (function(exports) {
|
|
|
309
309
|
*/
|
|
310
310
|
constructor(root) {
|
|
311
311
|
super("_attr");
|
|
312
|
+
_defineProperty(this, "root", void 0);
|
|
312
313
|
_defineProperty(
|
|
313
314
|
this,
|
|
314
315
|
/** Optional mapping from property names to XML attribute names. */
|
|
@@ -361,6 +362,7 @@ var docx = (function(exports) {
|
|
|
361
362
|
*/
|
|
362
363
|
constructor(root) {
|
|
363
364
|
super("_attr");
|
|
365
|
+
_defineProperty(this, "root", void 0);
|
|
364
366
|
this.root = root;
|
|
365
367
|
}
|
|
366
368
|
/**
|
|
@@ -884,7 +886,7 @@ var docx = (function(exports) {
|
|
|
884
886
|
return 0;
|
|
885
887
|
};
|
|
886
888
|
browserExports = browser.exports;
|
|
887
|
-
process$1 =
|
|
889
|
+
process$1 = /*@__PURE__*/ getDefaultExportFromCjs(browserExports);
|
|
888
890
|
}));
|
|
889
891
|
//#endregion
|
|
890
892
|
//#region node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js
|
|
@@ -3938,7 +3940,7 @@ var docx = (function(exports) {
|
|
|
3938
3940
|
function copyBuffer(src, target, offset) {
|
|
3939
3941
|
Buffer.prototype.copy.call(src, target, offset);
|
|
3940
3942
|
}
|
|
3941
|
-
module.exports =
|
|
3943
|
+
module.exports = /*#__PURE__*/ function() {
|
|
3942
3944
|
function BufferList() {
|
|
3943
3945
|
_classCallCheck(this, BufferList);
|
|
3944
3946
|
this.head = null;
|
|
@@ -4195,7 +4197,7 @@ var docx = (function(exports) {
|
|
|
4195
4197
|
if (typeof message === "string") return message;
|
|
4196
4198
|
else return message(arg1, arg2, arg3);
|
|
4197
4199
|
}
|
|
4198
|
-
var NodeError =
|
|
4200
|
+
var NodeError = /*#__PURE__*/ function(_Base) {
|
|
4199
4201
|
_inheritsLoose(NodeError, _Base);
|
|
4200
4202
|
function NodeError(arg1, arg2, arg3) {
|
|
4201
4203
|
return _Base.call(this, getMessage(arg1, arg2, arg3)) || this;
|
|
@@ -4384,7 +4386,8 @@ var docx = (function(exports) {
|
|
|
4384
4386
|
this.ended = false;
|
|
4385
4387
|
this.finished = false;
|
|
4386
4388
|
this.destroyed = false;
|
|
4387
|
-
|
|
4389
|
+
var noDecode = options.decodeStrings === false;
|
|
4390
|
+
this.decodeStrings = !noDecode;
|
|
4388
4391
|
this.defaultEncoding = options.defaultEncoding || "utf8";
|
|
4389
4392
|
this.length = 0;
|
|
4390
4393
|
this.writing = false;
|
|
@@ -8126,6 +8129,7 @@ var docx = (function(exports) {
|
|
|
8126
8129
|
*/
|
|
8127
8130
|
constructor(_attr) {
|
|
8128
8131
|
super("");
|
|
8132
|
+
_defineProperty(this, "_attr", void 0);
|
|
8129
8133
|
this._attr = _attr;
|
|
8130
8134
|
}
|
|
8131
8135
|
/**
|
|
@@ -8836,18 +8840,31 @@ var docx = (function(exports) {
|
|
|
8836
8840
|
* @publicApi
|
|
8837
8841
|
*/
|
|
8838
8842
|
var AlignmentType = {
|
|
8843
|
+
/** Align Start */
|
|
8839
8844
|
START: "start",
|
|
8845
|
+
/** Align Center */
|
|
8840
8846
|
CENTER: "center",
|
|
8847
|
+
/** End */
|
|
8841
8848
|
END: "end",
|
|
8849
|
+
/** Justified */
|
|
8842
8850
|
BOTH: "both",
|
|
8851
|
+
/** Medium Kashida Length */
|
|
8843
8852
|
MEDIUM_KASHIDA: "mediumKashida",
|
|
8853
|
+
/** Distribute All Characters Equally */
|
|
8844
8854
|
DISTRIBUTE: "distribute",
|
|
8855
|
+
/** Align to List Tab */
|
|
8845
8856
|
NUM_TAB: "numTab",
|
|
8857
|
+
/** Widest Kashida Length */
|
|
8846
8858
|
HIGH_KASHIDA: "highKashida",
|
|
8859
|
+
/** Low Kashida Length */
|
|
8847
8860
|
LOW_KASHIDA: "lowKashida",
|
|
8861
|
+
/** Thai Language Justification */
|
|
8848
8862
|
THAI_DISTRIBUTE: "thaiDistribute",
|
|
8863
|
+
/** Align Left */
|
|
8849
8864
|
LEFT: "left",
|
|
8865
|
+
/** Align Right */
|
|
8850
8866
|
RIGHT: "right",
|
|
8867
|
+
/** Justified */
|
|
8851
8868
|
JUSTIFIED: "both"
|
|
8852
8869
|
};
|
|
8853
8870
|
/**
|
|
@@ -8995,32 +9012,59 @@ var docx = (function(exports) {
|
|
|
8995
9012
|
* @publicApi
|
|
8996
9013
|
*/
|
|
8997
9014
|
var BorderStyle = {
|
|
9015
|
+
/** a single line */
|
|
8998
9016
|
SINGLE: "single",
|
|
9017
|
+
/** a line with a series of alternating thin and thick strokes */
|
|
8999
9018
|
DASH_DOT_STROKED: "dashDotStroked",
|
|
9019
|
+
/** a dashed line */
|
|
9000
9020
|
DASHED: "dashed",
|
|
9021
|
+
/** a dashed line with small gaps */
|
|
9001
9022
|
DASH_SMALL_GAP: "dashSmallGap",
|
|
9023
|
+
/** a line with alternating dots and dashes */
|
|
9002
9024
|
DOT_DASH: "dotDash",
|
|
9025
|
+
/** a line with a repeating dot - dot - dash sequence */
|
|
9003
9026
|
DOT_DOT_DASH: "dotDotDash",
|
|
9027
|
+
/** a dotted line */
|
|
9004
9028
|
DOTTED: "dotted",
|
|
9029
|
+
/** a double line */
|
|
9005
9030
|
DOUBLE: "double",
|
|
9031
|
+
/** a double wavy line */
|
|
9006
9032
|
DOUBLE_WAVE: "doubleWave",
|
|
9033
|
+
/** an inset set of lines */
|
|
9007
9034
|
INSET: "inset",
|
|
9035
|
+
/** no border */
|
|
9008
9036
|
NIL: "nil",
|
|
9037
|
+
/** no border */
|
|
9009
9038
|
NONE: "none",
|
|
9039
|
+
/** an outset set of lines */
|
|
9010
9040
|
OUTSET: "outset",
|
|
9041
|
+
/** a single line */
|
|
9011
9042
|
THICK: "thick",
|
|
9043
|
+
/** a thick line contained within a thin line with a large-sized intermediate gap */
|
|
9012
9044
|
THICK_THIN_LARGE_GAP: "thickThinLargeGap",
|
|
9045
|
+
/** a thick line contained within a thin line with a medium-sized intermediate gap */
|
|
9013
9046
|
THICK_THIN_MEDIUM_GAP: "thickThinMediumGap",
|
|
9047
|
+
/** a thick line contained within a thin line with a small intermediate gap */
|
|
9014
9048
|
THICK_THIN_SMALL_GAP: "thickThinSmallGap",
|
|
9049
|
+
/** a thin line contained within a thick line with a large-sized intermediate gap */
|
|
9015
9050
|
THIN_THICK_LARGE_GAP: "thinThickLargeGap",
|
|
9051
|
+
/** a thick line contained within a thin line with a medium-sized intermediate gap */
|
|
9016
9052
|
THIN_THICK_MEDIUM_GAP: "thinThickMediumGap",
|
|
9053
|
+
/** a thick line contained within a thin line with a small intermediate gap */
|
|
9017
9054
|
THIN_THICK_SMALL_GAP: "thinThickSmallGap",
|
|
9055
|
+
/** a thin-thick-thin line with a large gap */
|
|
9018
9056
|
THIN_THICK_THIN_LARGE_GAP: "thinThickThinLargeGap",
|
|
9057
|
+
/** a thin-thick-thin line with a medium gap */
|
|
9019
9058
|
THIN_THICK_THIN_MEDIUM_GAP: "thinThickThinMediumGap",
|
|
9059
|
+
/** a thin-thick-thin line with a small gap */
|
|
9020
9060
|
THIN_THICK_THIN_SMALL_GAP: "thinThickThinSmallGap",
|
|
9061
|
+
/** a three-staged gradient line, getting darker towards the paragraph */
|
|
9021
9062
|
THREE_D_EMBOSS: "threeDEmboss",
|
|
9063
|
+
/** a three-staged gradient like, getting darker away from the paragraph */
|
|
9022
9064
|
THREE_D_ENGRAVE: "threeDEngrave",
|
|
9065
|
+
/** a triple line */
|
|
9023
9066
|
TRIPLE: "triple",
|
|
9067
|
+
/** a wavy line */
|
|
9024
9068
|
WAVE: "wave"
|
|
9025
9069
|
};
|
|
9026
9070
|
//#endregion
|
|
@@ -9336,10 +9380,15 @@ var docx = (function(exports) {
|
|
|
9336
9380
|
* @publicApi
|
|
9337
9381
|
*/
|
|
9338
9382
|
var HorizontalPositionAlign = {
|
|
9383
|
+
/** Center horizontally */
|
|
9339
9384
|
CENTER: "center",
|
|
9385
|
+
/** Align to inside margin (left on odd, right on even pages) */
|
|
9340
9386
|
INSIDE: "inside",
|
|
9387
|
+
/** Align to left */
|
|
9341
9388
|
LEFT: "left",
|
|
9389
|
+
/** Align to outside margin (right on odd, left on even pages) */
|
|
9342
9390
|
OUTSIDE: "outside",
|
|
9391
|
+
/** Align to right */
|
|
9343
9392
|
RIGHT: "right"
|
|
9344
9393
|
};
|
|
9345
9394
|
/**
|
|
@@ -9350,10 +9399,15 @@ var docx = (function(exports) {
|
|
|
9350
9399
|
* @publicApi
|
|
9351
9400
|
*/
|
|
9352
9401
|
var VerticalPositionAlign = {
|
|
9402
|
+
/** Align to bottom */
|
|
9353
9403
|
BOTTOM: "bottom",
|
|
9404
|
+
/** Center vertically */
|
|
9354
9405
|
CENTER: "center",
|
|
9406
|
+
/** Align to inside margin */
|
|
9355
9407
|
INSIDE: "inside",
|
|
9408
|
+
/** Align to outside margin */
|
|
9356
9409
|
OUTSIDE: "outside",
|
|
9410
|
+
/** Align to top */
|
|
9357
9411
|
TOP: "top"
|
|
9358
9412
|
};
|
|
9359
9413
|
//#endregion
|
|
@@ -9672,6 +9726,7 @@ var docx = (function(exports) {
|
|
|
9672
9726
|
* @publicApi
|
|
9673
9727
|
*/
|
|
9674
9728
|
var ShadingType = {
|
|
9729
|
+
/** Clear shading - no pattern, fill color only */
|
|
9675
9730
|
CLEAR: "clear",
|
|
9676
9731
|
DIAGONAL_CROSS: "diagCross",
|
|
9677
9732
|
DIAGONAL_STRIPE: "diagStripe",
|
|
@@ -9816,7 +9871,9 @@ var docx = (function(exports) {
|
|
|
9816
9871
|
*
|
|
9817
9872
|
* @publicApi
|
|
9818
9873
|
*/
|
|
9819
|
-
var EmphasisMarkType = {
|
|
9874
|
+
var EmphasisMarkType = {
|
|
9875
|
+
/** Dot emphasis mark */
|
|
9876
|
+
DOT: "dot" };
|
|
9820
9877
|
/**
|
|
9821
9878
|
* Creates an emphasis mark element for a WordprocessingML document.
|
|
9822
9879
|
*
|
|
@@ -10233,23 +10290,41 @@ var docx = (function(exports) {
|
|
|
10233
10290
|
* @publicApi
|
|
10234
10291
|
*/
|
|
10235
10292
|
var UnderlineType = {
|
|
10293
|
+
/** Single underline */
|
|
10236
10294
|
SINGLE: "single",
|
|
10295
|
+
/** Underline words only (not spaces) */
|
|
10237
10296
|
WORDS: "words",
|
|
10297
|
+
/** Double underline */
|
|
10238
10298
|
DOUBLE: "double",
|
|
10299
|
+
/** Thick single underline */
|
|
10239
10300
|
THICK: "thick",
|
|
10301
|
+
/** Dotted underline */
|
|
10240
10302
|
DOTTED: "dotted",
|
|
10303
|
+
/** Heavy dotted underline */
|
|
10241
10304
|
DOTTEDHEAVY: "dottedHeavy",
|
|
10305
|
+
/** Dashed underline */
|
|
10242
10306
|
DASH: "dash",
|
|
10307
|
+
/** Heavy dashed underline */
|
|
10243
10308
|
DASHEDHEAVY: "dashedHeavy",
|
|
10309
|
+
/** Long dashed underline */
|
|
10244
10310
|
DASHLONG: "dashLong",
|
|
10311
|
+
/** Heavy long dashed underline */
|
|
10245
10312
|
DASHLONGHEAVY: "dashLongHeavy",
|
|
10313
|
+
/** Dot-dash underline */
|
|
10246
10314
|
DOTDASH: "dotDash",
|
|
10315
|
+
/** Heavy dot-dash underline */
|
|
10247
10316
|
DASHDOTHEAVY: "dashDotHeavy",
|
|
10317
|
+
/** Dot-dot-dash underline */
|
|
10248
10318
|
DOTDOTDASH: "dotDotDash",
|
|
10319
|
+
/** Heavy dot-dot-dash underline */
|
|
10249
10320
|
DASHDOTDOTHEAVY: "dashDotDotHeavy",
|
|
10321
|
+
/** Wave underline */
|
|
10250
10322
|
WAVE: "wave",
|
|
10323
|
+
/** Heavy wave underline */
|
|
10251
10324
|
WAVYHEAVY: "wavyHeavy",
|
|
10325
|
+
/** Double wave underline */
|
|
10252
10326
|
WAVYDOUBLE: "wavyDouble",
|
|
10327
|
+
/** No underline */
|
|
10253
10328
|
NONE: "none"
|
|
10254
10329
|
};
|
|
10255
10330
|
/**
|
|
@@ -10335,12 +10410,19 @@ var docx = (function(exports) {
|
|
|
10335
10410
|
* @publicApi
|
|
10336
10411
|
*/
|
|
10337
10412
|
var TextEffect = {
|
|
10413
|
+
/** Blinking background animation */
|
|
10338
10414
|
BLINK_BACKGROUND: "blinkBackground",
|
|
10415
|
+
/** Lights animation effect */
|
|
10339
10416
|
LIGHTS: "lights",
|
|
10417
|
+
/** Black marching ants animation */
|
|
10340
10418
|
ANTS_BLACK: "antsBlack",
|
|
10419
|
+
/** Red marching ants animation */
|
|
10341
10420
|
ANTS_RED: "antsRed",
|
|
10421
|
+
/** Shimmer animation effect */
|
|
10342
10422
|
SHIMMER: "shimmer",
|
|
10423
|
+
/** Sparkle animation effect */
|
|
10343
10424
|
SPARKLE: "sparkle",
|
|
10425
|
+
/** No text effect */
|
|
10344
10426
|
NONE: "none"
|
|
10345
10427
|
};
|
|
10346
10428
|
/**
|
|
@@ -10376,22 +10458,39 @@ var docx = (function(exports) {
|
|
|
10376
10458
|
* ```
|
|
10377
10459
|
*/
|
|
10378
10460
|
var HighlightColor = {
|
|
10461
|
+
/** Black highlight */
|
|
10379
10462
|
BLACK: "black",
|
|
10463
|
+
/** Blue highlight */
|
|
10380
10464
|
BLUE: "blue",
|
|
10465
|
+
/** Cyan highlight */
|
|
10381
10466
|
CYAN: "cyan",
|
|
10467
|
+
/** Dark blue highlight */
|
|
10382
10468
|
DARK_BLUE: "darkBlue",
|
|
10469
|
+
/** Dark cyan highlight */
|
|
10383
10470
|
DARK_CYAN: "darkCyan",
|
|
10471
|
+
/** Dark gray highlight */
|
|
10384
10472
|
DARK_GRAY: "darkGray",
|
|
10473
|
+
/** Dark green highlight */
|
|
10385
10474
|
DARK_GREEN: "darkGreen",
|
|
10475
|
+
/** Dark magenta highlight */
|
|
10386
10476
|
DARK_MAGENTA: "darkMagenta",
|
|
10477
|
+
/** Dark red highlight */
|
|
10387
10478
|
DARK_RED: "darkRed",
|
|
10479
|
+
/** Dark yellow highlight */
|
|
10388
10480
|
DARK_YELLOW: "darkYellow",
|
|
10481
|
+
/** Green highlight */
|
|
10389
10482
|
GREEN: "green",
|
|
10483
|
+
/** Light gray highlight */
|
|
10390
10484
|
LIGHT_GRAY: "lightGray",
|
|
10485
|
+
/** Magenta highlight */
|
|
10391
10486
|
MAGENTA: "magenta",
|
|
10487
|
+
/** No highlight */
|
|
10392
10488
|
NONE: "none",
|
|
10489
|
+
/** Red highlight */
|
|
10393
10490
|
RED: "red",
|
|
10491
|
+
/** White highlight */
|
|
10394
10492
|
WHITE: "white",
|
|
10493
|
+
/** Yellow highlight */
|
|
10395
10494
|
YELLOW: "yellow"
|
|
10396
10495
|
};
|
|
10397
10496
|
/**
|
|
@@ -10546,9 +10645,13 @@ var docx = (function(exports) {
|
|
|
10546
10645
|
* @publicApi
|
|
10547
10646
|
*/
|
|
10548
10647
|
var PageNumber = {
|
|
10648
|
+
/** Inserts the current page number */
|
|
10549
10649
|
CURRENT: "CURRENT",
|
|
10650
|
+
/** Inserts the total number of pages in the document */
|
|
10550
10651
|
TOTAL_PAGES: "TOTAL_PAGES",
|
|
10652
|
+
/** Inserts the total number of pages in the current section */
|
|
10551
10653
|
TOTAL_PAGES_IN_SECTION: "TOTAL_PAGES_IN_SECTION",
|
|
10654
|
+
/** Inserts the current section number */
|
|
10552
10655
|
CURRENT_SECTION: "SECTION"
|
|
10553
10656
|
};
|
|
10554
10657
|
/**
|
|
@@ -12171,7 +12274,7 @@ var docx = (function(exports) {
|
|
|
12171
12274
|
};
|
|
12172
12275
|
}));
|
|
12173
12276
|
//#endregion
|
|
12174
|
-
//#region node_modules/nanoid/
|
|
12277
|
+
//#region node_modules/nanoid/url-alphabet/index.js
|
|
12175
12278
|
var import_hash = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
12176
12279
|
var hash = exports;
|
|
12177
12280
|
hash.utils = require_utils();
|
|
@@ -12187,18 +12290,20 @@ var docx = (function(exports) {
|
|
|
12187
12290
|
hash.ripemd160 = hash.ripemd.ripemd160;
|
|
12188
12291
|
})))(), 1);
|
|
12189
12292
|
var urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
12293
|
+
//#endregion
|
|
12294
|
+
//#region node_modules/nanoid/non-secure/index.js
|
|
12190
12295
|
var customAlphabet = (alphabet, defaultSize = 21) => {
|
|
12191
12296
|
return (size = defaultSize) => {
|
|
12192
12297
|
let id = "";
|
|
12193
12298
|
let i = size | 0;
|
|
12194
|
-
while (i--) id += alphabet[Math.random() * alphabet.length | 0];
|
|
12299
|
+
while (i-- > 0) id += alphabet[Math.random() * alphabet.length | 0];
|
|
12195
12300
|
return id;
|
|
12196
12301
|
};
|
|
12197
12302
|
};
|
|
12198
12303
|
var nanoid = (size = 21) => {
|
|
12199
12304
|
let id = "";
|
|
12200
12305
|
let i = size | 0;
|
|
12201
|
-
while (i--) id += urlAlphabet[Math.random() * 64 | 0];
|
|
12306
|
+
while (i-- > 0) id += urlAlphabet[Math.random() * 64 | 0];
|
|
12202
12307
|
return id;
|
|
12203
12308
|
};
|
|
12204
12309
|
//#endregion
|
|
@@ -12407,13 +12512,53 @@ var docx = (function(exports) {
|
|
|
12407
12512
|
* @publicApi
|
|
12408
12513
|
*/
|
|
12409
12514
|
var HorizontalPositionRelativeFrom = {
|
|
12515
|
+
/**
|
|
12516
|
+
* ## Character
|
|
12517
|
+
*
|
|
12518
|
+
* Specifies that the horizontal positioning shall be relative to the position of the anchor within its run content.
|
|
12519
|
+
*/
|
|
12410
12520
|
CHARACTER: "character",
|
|
12521
|
+
/**
|
|
12522
|
+
* ## Column
|
|
12523
|
+
*
|
|
12524
|
+
* Specifies that the horizontal positioning shall be relative to the extents of the column which contains its anchor.
|
|
12525
|
+
*/
|
|
12411
12526
|
COLUMN: "column",
|
|
12527
|
+
/**
|
|
12528
|
+
* ## Inside Margin
|
|
12529
|
+
*
|
|
12530
|
+
* Specifies that the horizontal positioning shall be relative to the inside margin of the current page (the left margin on odd pages, right on even pages).
|
|
12531
|
+
*/
|
|
12412
12532
|
INSIDE_MARGIN: "insideMargin",
|
|
12533
|
+
/**
|
|
12534
|
+
* ## Left Margin
|
|
12535
|
+
*
|
|
12536
|
+
* Specifies that the horizontal positioning shall be relative to the left margin of the page.
|
|
12537
|
+
*/
|
|
12413
12538
|
LEFT_MARGIN: "leftMargin",
|
|
12539
|
+
/**
|
|
12540
|
+
* ## Page Margin
|
|
12541
|
+
*
|
|
12542
|
+
* Specifies that the horizontal positioning shall be relative to the page margins.
|
|
12543
|
+
*/
|
|
12414
12544
|
MARGIN: "margin",
|
|
12545
|
+
/**
|
|
12546
|
+
* ## Outside Margin
|
|
12547
|
+
*
|
|
12548
|
+
* Specifies that the horizontal positioning shall be relative to the outside margin of the current page (the right margin on odd pages, left on even pages).
|
|
12549
|
+
*/
|
|
12415
12550
|
OUTSIDE_MARGIN: "outsideMargin",
|
|
12551
|
+
/**
|
|
12552
|
+
* ## Page Edge
|
|
12553
|
+
*
|
|
12554
|
+
* Specifies that the horizontal positioning shall be relative to the edge of the page.
|
|
12555
|
+
*/
|
|
12416
12556
|
PAGE: "page",
|
|
12557
|
+
/**
|
|
12558
|
+
* ## Right Margin
|
|
12559
|
+
*
|
|
12560
|
+
* Specifies that the horizontal positioning shall be relative to the right margin of the page.
|
|
12561
|
+
*/
|
|
12417
12562
|
RIGHT_MARGIN: "rightMargin"
|
|
12418
12563
|
};
|
|
12419
12564
|
/**
|
|
@@ -12442,13 +12587,53 @@ var docx = (function(exports) {
|
|
|
12442
12587
|
* @publicApi
|
|
12443
12588
|
*/
|
|
12444
12589
|
var VerticalPositionRelativeFrom = {
|
|
12590
|
+
/**
|
|
12591
|
+
* ## Bottom Margin
|
|
12592
|
+
*
|
|
12593
|
+
* Specifies that the vertical positioning shall be relative to the bottom margin of the current page.
|
|
12594
|
+
*/
|
|
12445
12595
|
BOTTOM_MARGIN: "bottomMargin",
|
|
12596
|
+
/**
|
|
12597
|
+
* ## Inside Margin
|
|
12598
|
+
*
|
|
12599
|
+
* Specifies that the vertical positioning shall be relative to the inside margin of the current page.
|
|
12600
|
+
*/
|
|
12446
12601
|
INSIDE_MARGIN: "insideMargin",
|
|
12602
|
+
/**
|
|
12603
|
+
* ## Line
|
|
12604
|
+
*
|
|
12605
|
+
* Specifies that the vertical positioning shall be relative to the line containing the anchor character.
|
|
12606
|
+
*/
|
|
12447
12607
|
LINE: "line",
|
|
12608
|
+
/**
|
|
12609
|
+
* ## Page Margin
|
|
12610
|
+
*
|
|
12611
|
+
* Specifies that the vertical positioning shall be relative to the page margins.
|
|
12612
|
+
*/
|
|
12448
12613
|
MARGIN: "margin",
|
|
12614
|
+
/**
|
|
12615
|
+
* ## Outside Margin
|
|
12616
|
+
*
|
|
12617
|
+
* Specifies that the vertical positioning shall be relative to the outside margin of the current page.
|
|
12618
|
+
*/
|
|
12449
12619
|
OUTSIDE_MARGIN: "outsideMargin",
|
|
12620
|
+
/**
|
|
12621
|
+
* ## Page Edge
|
|
12622
|
+
*
|
|
12623
|
+
* Specifies that the vertical positioning shall be relative to the edge of the page.
|
|
12624
|
+
*/
|
|
12450
12625
|
PAGE: "page",
|
|
12626
|
+
/**
|
|
12627
|
+
* ## Paragraph
|
|
12628
|
+
*
|
|
12629
|
+
* Specifies that the vertical positioning shall be relative to the paragraph which contains the drawing anchor.
|
|
12630
|
+
*/
|
|
12451
12631
|
PARAGRAPH: "paragraph",
|
|
12632
|
+
/**
|
|
12633
|
+
* ## Top Margin
|
|
12634
|
+
*
|
|
12635
|
+
* Specifies that the vertical positioning shall be relative to the top margin of the current page.
|
|
12636
|
+
*/
|
|
12452
12637
|
TOP_MARGIN: "topMargin"
|
|
12453
12638
|
};
|
|
12454
12639
|
//#endregion
|
|
@@ -14151,9 +14336,13 @@ var docx = (function(exports) {
|
|
|
14151
14336
|
* @publicApi
|
|
14152
14337
|
*/
|
|
14153
14338
|
var TextWrappingSide = {
|
|
14339
|
+
/** Text wraps on both sides of the drawing */
|
|
14154
14340
|
BOTH_SIDES: "bothSides",
|
|
14341
|
+
/** Text wraps only on the left side */
|
|
14155
14342
|
LEFT: "left",
|
|
14343
|
+
/** Text wraps only on the right side */
|
|
14156
14344
|
RIGHT: "right",
|
|
14345
|
+
/** Text wraps on the side with more space */
|
|
14157
14346
|
LARGEST: "largest"
|
|
14158
14347
|
};
|
|
14159
14348
|
//#endregion
|
|
@@ -15189,7 +15378,9 @@ var docx = (function(exports) {
|
|
|
15189
15378
|
*
|
|
15190
15379
|
* Indicates whether a relationship target is external to the package.
|
|
15191
15380
|
*/
|
|
15192
|
-
var TargetModeType = {
|
|
15381
|
+
var TargetModeType = {
|
|
15382
|
+
/** Target is external to the package (e.g., hyperlink to a URL) */
|
|
15383
|
+
EXTERNAL: "External" };
|
|
15193
15384
|
/**
|
|
15194
15385
|
* Creates a single relationship between parts in an OPC package.
|
|
15195
15386
|
*
|
|
@@ -15547,6 +15738,7 @@ var docx = (function(exports) {
|
|
|
15547
15738
|
super("w:comments");
|
|
15548
15739
|
_defineProperty(this, "relationships", void 0);
|
|
15549
15740
|
_defineProperty(this, "threadData", void 0);
|
|
15741
|
+
_defineProperty(this, "commentIdsData", void 0);
|
|
15550
15742
|
this.root.push(new RootCommentsAttributes({
|
|
15551
15743
|
"xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex",
|
|
15552
15744
|
"xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",
|
|
@@ -15580,14 +15772,23 @@ var docx = (function(exports) {
|
|
|
15580
15772
|
"xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml",
|
|
15581
15773
|
"xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"
|
|
15582
15774
|
}));
|
|
15583
|
-
|
|
15775
|
+
const hasThreading = children.some((child) => child.parentId !== void 0);
|
|
15776
|
+
const hasDurableIds = children.some((child) => child.durableId !== void 0);
|
|
15777
|
+
if (hasThreading || hasDurableIds) {
|
|
15584
15778
|
const idToParaId = new Map(children.map((child) => [child.id, commentIdToParaId(child.id)]));
|
|
15585
15779
|
for (const child of children) this.root.push(new Comment(child, idToParaId.get(child.id)));
|
|
15586
|
-
this.threadData = children.map((child) => ({
|
|
15780
|
+
if (hasThreading) this.threadData = children.map((child) => ({
|
|
15587
15781
|
paraId: idToParaId.get(child.id),
|
|
15588
15782
|
parentParaId: child.parentId !== void 0 ? idToParaId.get(child.parentId) : void 0,
|
|
15589
15783
|
done: child.resolved
|
|
15590
15784
|
}));
|
|
15785
|
+
if (hasDurableIds) this.commentIdsData = children.map((child) => {
|
|
15786
|
+
var _child$durableId;
|
|
15787
|
+
return {
|
|
15788
|
+
paraId: idToParaId.get(child.id),
|
|
15789
|
+
durableId: (_child$durableId = child.durableId) !== null && _child$durableId !== void 0 ? _child$durableId : idToParaId.get(child.id)
|
|
15790
|
+
};
|
|
15791
|
+
});
|
|
15591
15792
|
} else for (const child of children) this.root.push(new Comment(child));
|
|
15592
15793
|
this.relationships = new Relationships();
|
|
15593
15794
|
}
|
|
@@ -15598,6 +15799,10 @@ var docx = (function(exports) {
|
|
|
15598
15799
|
get ThreadData() {
|
|
15599
15800
|
return this.threadData;
|
|
15600
15801
|
}
|
|
15802
|
+
/** Comment id data for commentsIds.xml, or undefined when no comments carry a durableId. */
|
|
15803
|
+
get CommentIdsData() {
|
|
15804
|
+
return this.commentIdsData;
|
|
15805
|
+
}
|
|
15601
15806
|
};
|
|
15602
15807
|
//#endregion
|
|
15603
15808
|
//#region src/file/paragraph/run/comments-extended.ts
|
|
@@ -15678,6 +15883,69 @@ var docx = (function(exports) {
|
|
|
15678
15883
|
for (const data of threadData) this.root.push(new CommentEx(data));
|
|
15679
15884
|
}
|
|
15680
15885
|
};
|
|
15886
|
+
/**
|
|
15887
|
+
* @internal
|
|
15888
|
+
*/
|
|
15889
|
+
var CommentIdAttributes = class extends XmlAttributeComponent {
|
|
15890
|
+
constructor(..._args3) {
|
|
15891
|
+
super(..._args3);
|
|
15892
|
+
_defineProperty(this, "xmlKeys", {
|
|
15893
|
+
paraId: "w16cid:paraId",
|
|
15894
|
+
durableId: "w16cid:durableId"
|
|
15895
|
+
});
|
|
15896
|
+
}
|
|
15897
|
+
};
|
|
15898
|
+
/**
|
|
15899
|
+
* @internal
|
|
15900
|
+
*/
|
|
15901
|
+
var CommentId = class extends XmlComponent {
|
|
15902
|
+
constructor(options) {
|
|
15903
|
+
super("w16cid:commentId");
|
|
15904
|
+
this.root.push(new CommentIdAttributes({
|
|
15905
|
+
paraId: options.paraId,
|
|
15906
|
+
durableId: options.durableId
|
|
15907
|
+
}));
|
|
15908
|
+
}
|
|
15909
|
+
};
|
|
15910
|
+
/**
|
|
15911
|
+
* @internal
|
|
15912
|
+
*/
|
|
15913
|
+
var CommentsIdsAttributes = class extends XmlAttributeComponent {
|
|
15914
|
+
constructor(..._args4) {
|
|
15915
|
+
super(..._args4);
|
|
15916
|
+
_defineProperty(this, "xmlKeys", {
|
|
15917
|
+
"xmlns:w16cid": "xmlns:w16cid",
|
|
15918
|
+
"xmlns:mc": "xmlns:mc",
|
|
15919
|
+
"mc:Ignorable": "mc:Ignorable"
|
|
15920
|
+
});
|
|
15921
|
+
}
|
|
15922
|
+
};
|
|
15923
|
+
/**
|
|
15924
|
+
* Represents the commentsIds part (word/commentsIds.xml).
|
|
15925
|
+
*
|
|
15926
|
+
* Contains w16cid:commentId elements that map each comment's volatile paraId
|
|
15927
|
+
* to a stable w16cid:durableId preserved by Word across edits.
|
|
15928
|
+
*
|
|
15929
|
+
* ## XSD Schema (wml-cid.xsd)
|
|
15930
|
+
* ```xml
|
|
15931
|
+
* <xsd:complexType name="CT_CommentsIds">
|
|
15932
|
+
* <xsd:sequence>
|
|
15933
|
+
* <xsd:element name="commentId" type="CT_CommentId" minOccurs="0" maxOccurs="unbounded"/>
|
|
15934
|
+
* </xsd:sequence>
|
|
15935
|
+
* </xsd:complexType>
|
|
15936
|
+
* ```
|
|
15937
|
+
*/
|
|
15938
|
+
var CommentsIds = class extends XmlComponent {
|
|
15939
|
+
constructor(commentIdsData) {
|
|
15940
|
+
super("w16cid:commentsIds");
|
|
15941
|
+
this.root.push(new CommentsIdsAttributes({
|
|
15942
|
+
"xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid",
|
|
15943
|
+
"xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006",
|
|
15944
|
+
"mc:Ignorable": "w16cid"
|
|
15945
|
+
}));
|
|
15946
|
+
for (const data of commentIdsData) this.root.push(new CommentId(data));
|
|
15947
|
+
}
|
|
15948
|
+
};
|
|
15681
15949
|
//#endregion
|
|
15682
15950
|
//#region src/file/paragraph/run/empty-children.ts
|
|
15683
15951
|
/**
|
|
@@ -15895,8 +16163,11 @@ var docx = (function(exports) {
|
|
|
15895
16163
|
* @publicApi
|
|
15896
16164
|
*/
|
|
15897
16165
|
var PositionalTabAlignment = {
|
|
16166
|
+
/** Left-aligned tab */
|
|
15898
16167
|
LEFT: "left",
|
|
16168
|
+
/** Center-aligned tab */
|
|
15899
16169
|
CENTER: "center",
|
|
16170
|
+
/** Right-aligned tab */
|
|
15900
16171
|
RIGHT: "right"
|
|
15901
16172
|
};
|
|
15902
16173
|
/**
|
|
@@ -15917,7 +16188,9 @@ var docx = (function(exports) {
|
|
|
15917
16188
|
* @publicApi
|
|
15918
16189
|
*/
|
|
15919
16190
|
var PositionalTabRelativeTo = {
|
|
16191
|
+
/** Position relative to margin */
|
|
15920
16192
|
MARGIN: "margin",
|
|
16193
|
+
/** Position relative to indent */
|
|
15921
16194
|
INDENT: "indent"
|
|
15922
16195
|
};
|
|
15923
16196
|
/**
|
|
@@ -15941,10 +16214,15 @@ var docx = (function(exports) {
|
|
|
15941
16214
|
* @publicApi
|
|
15942
16215
|
*/
|
|
15943
16216
|
var PositionalTabLeader = {
|
|
16217
|
+
/** No leader character */
|
|
15944
16218
|
NONE: "none",
|
|
16219
|
+
/** Dot leader (...) */
|
|
15945
16220
|
DOT: "dot",
|
|
16221
|
+
/** Hyphen leader (---) */
|
|
15946
16222
|
HYPHEN: "hyphen",
|
|
16223
|
+
/** Underscore leader (___) */
|
|
15947
16224
|
UNDERSCORE: "underscore",
|
|
16225
|
+
/** Middle dot leader (···) */
|
|
15948
16226
|
MIDDLE_DOT: "middleDot"
|
|
15949
16227
|
};
|
|
15950
16228
|
var PositionalTabAttributes = class extends XmlAttributeComponent {
|
|
@@ -16013,7 +16291,9 @@ var docx = (function(exports) {
|
|
|
16013
16291
|
* @internal
|
|
16014
16292
|
*/
|
|
16015
16293
|
var BreakType = {
|
|
16294
|
+
/** Column break - text continues at the beginning of the next column */
|
|
16016
16295
|
COLUMN: "column",
|
|
16296
|
+
/** Page break - text continues at the beginning of the next page */
|
|
16017
16297
|
PAGE: "page"
|
|
16018
16298
|
};
|
|
16019
16299
|
/**
|
|
@@ -16133,9 +16413,13 @@ var docx = (function(exports) {
|
|
|
16133
16413
|
* @publicApi
|
|
16134
16414
|
*/
|
|
16135
16415
|
var LineRuleType = {
|
|
16416
|
+
/** Line spacing is at least the specified value */
|
|
16136
16417
|
AT_LEAST: "atLeast",
|
|
16418
|
+
/** Line spacing is exactly the specified value */
|
|
16137
16419
|
EXACTLY: "exactly",
|
|
16420
|
+
/** Line spacing is exactly the specified value (alias for EXACTLY) */
|
|
16138
16421
|
EXACT: "exact",
|
|
16422
|
+
/** Line spacing is automatically determined based on content */
|
|
16139
16423
|
AUTO: "auto"
|
|
16140
16424
|
};
|
|
16141
16425
|
/**
|
|
@@ -16218,12 +16502,19 @@ var docx = (function(exports) {
|
|
|
16218
16502
|
* @publicApi
|
|
16219
16503
|
*/
|
|
16220
16504
|
var HeadingLevel = {
|
|
16505
|
+
/** Heading 1 style */
|
|
16221
16506
|
HEADING_1: "Heading1",
|
|
16507
|
+
/** Heading 2 style */
|
|
16222
16508
|
HEADING_2: "Heading2",
|
|
16509
|
+
/** Heading 3 style */
|
|
16223
16510
|
HEADING_3: "Heading3",
|
|
16511
|
+
/** Heading 4 style */
|
|
16224
16512
|
HEADING_4: "Heading4",
|
|
16513
|
+
/** Heading 5 style */
|
|
16225
16514
|
HEADING_5: "Heading5",
|
|
16515
|
+
/** Heading 6 style */
|
|
16226
16516
|
HEADING_6: "Heading6",
|
|
16517
|
+
/** Title style */
|
|
16227
16518
|
TITLE: "Title"
|
|
16228
16519
|
};
|
|
16229
16520
|
/**
|
|
@@ -16281,14 +16572,23 @@ var docx = (function(exports) {
|
|
|
16281
16572
|
* @publicApi
|
|
16282
16573
|
*/
|
|
16283
16574
|
var TabStopType = {
|
|
16575
|
+
/** Left-aligned tab stop */
|
|
16284
16576
|
LEFT: "left",
|
|
16577
|
+
/** Right-aligned tab stop */
|
|
16285
16578
|
RIGHT: "right",
|
|
16579
|
+
/** Center-aligned tab stop */
|
|
16286
16580
|
CENTER: "center",
|
|
16581
|
+
/** Bar tab stop - inserts a vertical bar at the position */
|
|
16287
16582
|
BAR: "bar",
|
|
16583
|
+
/** Clears a tab stop at the specified position */
|
|
16288
16584
|
CLEAR: "clear",
|
|
16585
|
+
/** Decimal-aligned tab stop - aligns on decimal point */
|
|
16289
16586
|
DECIMAL: "decimal",
|
|
16587
|
+
/** End-aligned tab stop (right-to-left equivalent) */
|
|
16290
16588
|
END: "end",
|
|
16589
|
+
/** List tab stop for numbered lists */
|
|
16291
16590
|
NUM: "num",
|
|
16591
|
+
/** Start-aligned tab stop (left-to-right equivalent) */
|
|
16292
16592
|
START: "start"
|
|
16293
16593
|
};
|
|
16294
16594
|
/**
|
|
@@ -16299,10 +16599,15 @@ var docx = (function(exports) {
|
|
|
16299
16599
|
* @publicApi
|
|
16300
16600
|
*/
|
|
16301
16601
|
var LeaderType = {
|
|
16602
|
+
/** Dot leader (....) */
|
|
16302
16603
|
DOT: "dot",
|
|
16604
|
+
/** Hyphen leader (----) */
|
|
16303
16605
|
HYPHEN: "hyphen",
|
|
16606
|
+
/** Middle dot leader (····) */
|
|
16304
16607
|
MIDDLE_DOT: "middleDot",
|
|
16608
|
+
/** No leader */
|
|
16305
16609
|
NONE: "none",
|
|
16610
|
+
/** Underscore leader (____) */
|
|
16306
16611
|
UNDERSCORE: "underscore"
|
|
16307
16612
|
};
|
|
16308
16613
|
/**
|
|
@@ -16310,7 +16615,9 @@ var docx = (function(exports) {
|
|
|
16310
16615
|
*
|
|
16311
16616
|
* @publicApi
|
|
16312
16617
|
*/
|
|
16313
|
-
var TabStopPosition = {
|
|
16618
|
+
var TabStopPosition = {
|
|
16619
|
+
/** Maximum tab stop position (right margin) */
|
|
16620
|
+
MAX: 9026 };
|
|
16314
16621
|
/**
|
|
16315
16622
|
* Creates a single tab stop item element.
|
|
16316
16623
|
*
|
|
@@ -16541,7 +16848,9 @@ var docx = (function(exports) {
|
|
|
16541
16848
|
* @publicApi
|
|
16542
16849
|
*/
|
|
16543
16850
|
var HyperlinkType = {
|
|
16851
|
+
/** Internal hyperlink to a bookmark within the document */
|
|
16544
16852
|
INTERNAL: "INTERNAL",
|
|
16853
|
+
/** External hyperlink to a URL outside the document */
|
|
16545
16854
|
EXTERNAL: "EXTERNAL"
|
|
16546
16855
|
};
|
|
16547
16856
|
/**
|
|
@@ -16657,6 +16966,7 @@ var docx = (function(exports) {
|
|
|
16657
16966
|
var ExternalHyperlink = class extends XmlComponent {
|
|
16658
16967
|
constructor(options) {
|
|
16659
16968
|
super("w:externalHyperlink");
|
|
16969
|
+
_defineProperty(this, "options", void 0);
|
|
16660
16970
|
this.options = options;
|
|
16661
16971
|
}
|
|
16662
16972
|
};
|
|
@@ -16906,10 +17216,10 @@ var docx = (function(exports) {
|
|
|
16906
17216
|
return NumberedItemReferenceFormat;
|
|
16907
17217
|
}({});
|
|
16908
17218
|
var SWITCH_MAP = {
|
|
16909
|
-
[
|
|
16910
|
-
[
|
|
16911
|
-
[
|
|
16912
|
-
[
|
|
17219
|
+
["relative"]: "\\r",
|
|
17220
|
+
["no_context"]: "\\n",
|
|
17221
|
+
["full_context"]: "\\w",
|
|
17222
|
+
["none"]: void 0
|
|
16913
17223
|
};
|
|
16914
17224
|
/**
|
|
16915
17225
|
* Creates a field/cross reference to a numbered item in the document.
|
|
@@ -16928,7 +17238,7 @@ var docx = (function(exports) {
|
|
|
16928
17238
|
*/
|
|
16929
17239
|
var NumberedItemReference = class extends SimpleField {
|
|
16930
17240
|
constructor(bookmarkId, cachedValue, options = {}) {
|
|
16931
|
-
const { hyperlink = true, referenceFormat =
|
|
17241
|
+
const { hyperlink = true, referenceFormat = "full_context" } = options;
|
|
16932
17242
|
const instruction = `${`REF ${bookmarkId}`} ${[...hyperlink ? ["\\h"] : [], ...[SWITCH_MAP[referenceFormat]].filter((a) => !!a)].join(" ")}`;
|
|
16933
17243
|
super(instruction, cachedValue);
|
|
16934
17244
|
}
|
|
@@ -17344,6 +17654,7 @@ var docx = (function(exports) {
|
|
|
17344
17654
|
*/
|
|
17345
17655
|
var FontWrapper = class {
|
|
17346
17656
|
constructor(options) {
|
|
17657
|
+
_defineProperty(this, "options", void 0);
|
|
17347
17658
|
_defineProperty(this, "fontTable", void 0);
|
|
17348
17659
|
_defineProperty(this, "relationships", void 0);
|
|
17349
17660
|
_defineProperty(this, "fontOptionsWithKey", []);
|
|
@@ -17395,8 +17706,11 @@ var docx = (function(exports) {
|
|
|
17395
17706
|
* beginning of a paragraph. This enum defines how the drop cap should be positioned.
|
|
17396
17707
|
*/
|
|
17397
17708
|
var DropCapType = {
|
|
17709
|
+
/** No drop cap effect */
|
|
17398
17710
|
NONE: "none",
|
|
17711
|
+
/** Drop cap that drops down into the paragraph text */
|
|
17399
17712
|
DROP: "drop",
|
|
17713
|
+
/** Drop cap that extends into the margin */
|
|
17400
17714
|
MARGIN: "margin"
|
|
17401
17715
|
};
|
|
17402
17716
|
/**
|
|
@@ -17405,8 +17719,11 @@ var docx = (function(exports) {
|
|
|
17405
17719
|
* Determines the reference point for frame positioning (horizontal and vertical).
|
|
17406
17720
|
*/
|
|
17407
17721
|
var FrameAnchorType = {
|
|
17722
|
+
/** Anchor relative to the page margin */
|
|
17408
17723
|
MARGIN: "margin",
|
|
17724
|
+
/** Anchor relative to the page edge */
|
|
17409
17725
|
PAGE: "page",
|
|
17726
|
+
/** Anchor relative to the text column */
|
|
17410
17727
|
TEXT: "text"
|
|
17411
17728
|
};
|
|
17412
17729
|
/**
|
|
@@ -17415,11 +17732,17 @@ var docx = (function(exports) {
|
|
|
17415
17732
|
* Controls how surrounding text wraps around the frame.
|
|
17416
17733
|
*/
|
|
17417
17734
|
var FrameWrap = {
|
|
17735
|
+
/** Wrap text around the frame on all sides */
|
|
17418
17736
|
AROUND: "around",
|
|
17737
|
+
/** Automatic wrapping based on available space */
|
|
17419
17738
|
AUTO: "auto",
|
|
17739
|
+
/** No text wrapping */
|
|
17420
17740
|
NONE: "none",
|
|
17741
|
+
/** Do not allow text beside the frame */
|
|
17421
17742
|
NOT_BESIDE: "notBeside",
|
|
17743
|
+
/** Allow text to flow through the frame */
|
|
17422
17744
|
THROUGH: "through",
|
|
17745
|
+
/** Wrap text tightly around the frame */
|
|
17423
17746
|
TIGHT: "tight"
|
|
17424
17747
|
};
|
|
17425
17748
|
/**
|
|
@@ -19918,7 +20241,13 @@ var docx = (function(exports) {
|
|
|
19918
20241
|
* Vertical merge revision types.
|
|
19919
20242
|
*/
|
|
19920
20243
|
var VerticalMergeRevisionType = {
|
|
20244
|
+
/**
|
|
20245
|
+
* Cell that is merged with upper one.
|
|
20246
|
+
*/
|
|
19921
20247
|
CONTINUE: "cont",
|
|
20248
|
+
/**
|
|
20249
|
+
* Cell that is starting the vertical merge.
|
|
20250
|
+
*/
|
|
19922
20251
|
RESTART: "rest"
|
|
19923
20252
|
};
|
|
19924
20253
|
var CellMergeAttributes = class extends XmlAttributeComponent {
|
|
@@ -20155,9 +20484,13 @@ var docx = (function(exports) {
|
|
|
20155
20484
|
* @publicApi
|
|
20156
20485
|
*/
|
|
20157
20486
|
var WidthType = {
|
|
20487
|
+
/** Auto. */
|
|
20158
20488
|
AUTO: "auto",
|
|
20489
|
+
/** Value is in twentieths of a point */
|
|
20159
20490
|
DXA: "dxa",
|
|
20491
|
+
/** No (empty) value. */
|
|
20160
20492
|
NIL: "nil",
|
|
20493
|
+
/** Value is in percentage. */
|
|
20161
20494
|
PERCENTAGE: "pct"
|
|
20162
20495
|
};
|
|
20163
20496
|
/**
|
|
@@ -20289,7 +20622,15 @@ var docx = (function(exports) {
|
|
|
20289
20622
|
* Defines the merge behavior for vertically merged cells (row span).
|
|
20290
20623
|
*/
|
|
20291
20624
|
var VerticalMergeType = {
|
|
20625
|
+
/**
|
|
20626
|
+
* Cell that is merged with upper one.
|
|
20627
|
+
* This cell continues a vertical merge started by a cell above it.
|
|
20628
|
+
*/
|
|
20292
20629
|
CONTINUE: "continue",
|
|
20630
|
+
/**
|
|
20631
|
+
* Cell that is starting the vertical merge.
|
|
20632
|
+
* This cell begins a new vertical merge region.
|
|
20633
|
+
*/
|
|
20293
20634
|
RESTART: "restart"
|
|
20294
20635
|
};
|
|
20295
20636
|
/**
|
|
@@ -20338,8 +20679,11 @@ var docx = (function(exports) {
|
|
|
20338
20679
|
* Specifies the direction in which text flows within a table cell.
|
|
20339
20680
|
*/
|
|
20340
20681
|
var TextDirection = {
|
|
20682
|
+
/** Text flows from bottom to top, left to right */
|
|
20341
20683
|
BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr",
|
|
20684
|
+
/** Text flows from left to right, top to bottom (default) */
|
|
20342
20685
|
LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb",
|
|
20686
|
+
/** Text flows from top to bottom, right to left */
|
|
20343
20687
|
TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl"
|
|
20344
20688
|
};
|
|
20345
20689
|
/**
|
|
@@ -20543,6 +20887,7 @@ var docx = (function(exports) {
|
|
|
20543
20887
|
var TableCell = class extends XmlComponent {
|
|
20544
20888
|
constructor(options) {
|
|
20545
20889
|
super("w:tc");
|
|
20890
|
+
_defineProperty(this, "options", void 0);
|
|
20546
20891
|
this.options = options;
|
|
20547
20892
|
this.root.push(new TableCellProperties(options));
|
|
20548
20893
|
for (const child of options.children) this.root.push(child);
|
|
@@ -20792,7 +21137,9 @@ var docx = (function(exports) {
|
|
|
20792
21137
|
* @publicApi
|
|
20793
21138
|
*/
|
|
20794
21139
|
var TableLayoutType = {
|
|
21140
|
+
/** Auto-fit layout - column widths are adjusted based on content */
|
|
20795
21141
|
AUTOFIT: "autofit",
|
|
21142
|
+
/** Fixed layout - column widths are fixed as specified */
|
|
20796
21143
|
FIXED: "fixed"
|
|
20797
21144
|
};
|
|
20798
21145
|
/**
|
|
@@ -20845,7 +21192,9 @@ var docx = (function(exports) {
|
|
|
20845
21192
|
* ```
|
|
20846
21193
|
*/
|
|
20847
21194
|
var CellSpacingType = {
|
|
21195
|
+
/** Value is in twentieths of a point */
|
|
20848
21196
|
DXA: "dxa",
|
|
21197
|
+
/** No (empty) value. */
|
|
20849
21198
|
NIL: "nil"
|
|
20850
21199
|
};
|
|
20851
21200
|
/**
|
|
@@ -21158,8 +21507,11 @@ var docx = (function(exports) {
|
|
|
21158
21507
|
* @publicApi
|
|
21159
21508
|
*/
|
|
21160
21509
|
var HeightRule = {
|
|
21510
|
+
/** Height is determined based on the content, so value is ignored. */
|
|
21161
21511
|
AUTO: "auto",
|
|
21512
|
+
/** At least the value specified */
|
|
21162
21513
|
ATLEAST: "atLeast",
|
|
21514
|
+
/** Exactly the value specified */
|
|
21163
21515
|
EXACT: "exact"
|
|
21164
21516
|
};
|
|
21165
21517
|
/**
|
|
@@ -21337,6 +21689,7 @@ var docx = (function(exports) {
|
|
|
21337
21689
|
var TableRow = class extends XmlComponent {
|
|
21338
21690
|
constructor(options) {
|
|
21339
21691
|
super("w:tr");
|
|
21692
|
+
_defineProperty(this, "options", void 0);
|
|
21340
21693
|
this.options = options;
|
|
21341
21694
|
this.root.push(new TableRowProperties(options));
|
|
21342
21695
|
for (const child of options.children) this.root.push(child);
|
|
@@ -21603,6 +21956,12 @@ var docx = (function(exports) {
|
|
|
21603
21956
|
this.root.push(createOverride("application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtended+xml", "/word/commentsExtended.xml"));
|
|
21604
21957
|
}
|
|
21605
21958
|
/**
|
|
21959
|
+
* Registers the commentsIds part in the content types.
|
|
21960
|
+
*/
|
|
21961
|
+
addCommentsIds() {
|
|
21962
|
+
this.root.push(createOverride("application/vnd.openxmlformats-officedocument.wordprocessingml.commentsIds+xml", "/word/commentsIds.xml"));
|
|
21963
|
+
}
|
|
21964
|
+
/**
|
|
21606
21965
|
* Registers a footer part in the content types.
|
|
21607
21966
|
*
|
|
21608
21967
|
* @param index - Footer index number (e.g., 1 for footer1.xml)
|
|
@@ -22050,9 +22409,24 @@ var docx = (function(exports) {
|
|
|
22050
22409
|
* ```
|
|
22051
22410
|
*/
|
|
22052
22411
|
var DocumentGridType = {
|
|
22412
|
+
/**
|
|
22413
|
+
* Specifies that no document grid shall be applied to the contents of the current section in the document.
|
|
22414
|
+
*/
|
|
22053
22415
|
DEFAULT: "default",
|
|
22416
|
+
/**
|
|
22417
|
+
* Specifies that the parent section shall have additional line pitch added to each line within it (as specified on the <docGrid> element (§2.6.5)) in order to maintain the specified number of lines per page.
|
|
22418
|
+
*/
|
|
22054
22419
|
LINES: "lines",
|
|
22420
|
+
/**
|
|
22421
|
+
* Specifies that the parent section shall have both the additional line pitch and character pitch added to each line and character within it (as specified on the <docGrid> element (§2.6.5)) in order to maintain a specific number of lines per page and characters per line.
|
|
22422
|
+
*
|
|
22423
|
+
* When this value is set, the input specified via the user interface may be allowed in exact number of line/character pitch units. */
|
|
22055
22424
|
LINES_AND_CHARS: "linesAndChars",
|
|
22425
|
+
/**
|
|
22426
|
+
* Specifies that the parent section shall have both the additional line pitch and character pitch added to each line and character within it (as specified on the <docGrid> element (§2.6.5)) in order to maintain a specific number of lines per page and characters per line.
|
|
22427
|
+
*
|
|
22428
|
+
* When this value is set, the input specified via the user interface may be restricted to the number of lines per page and characters per line, with the consumer or producer translating this information based on the current font data to get the resulting line and character pitch values
|
|
22429
|
+
*/
|
|
22056
22430
|
SNAP_TO_CHARS: "snapToChars"
|
|
22057
22431
|
};
|
|
22058
22432
|
/**
|
|
@@ -22105,8 +22479,11 @@ var docx = (function(exports) {
|
|
|
22105
22479
|
* ```
|
|
22106
22480
|
*/
|
|
22107
22481
|
var HeaderFooterReferenceType = {
|
|
22482
|
+
/** Specifies that this header or footer shall appear on every page in this section which is not overridden with a specific `even` or `first` page header/footer. In a section with all three types specified, this type shall be used on all odd numbered pages (counting from the `first` page in the section, not the section numbering). */
|
|
22108
22483
|
DEFAULT: "default",
|
|
22484
|
+
/** Specifies that this header or footer shall appear on the first page in this section. The appearance of this header or footer is contingent on the setting of the `titlePg` element (§2.10.6). */
|
|
22109
22485
|
FIRST: "first",
|
|
22486
|
+
/** Specifies that this header or footer shall appear on all even numbered pages in this section (counting from the first page in the section, not the section numbering). The appearance of this header or footer is contingent on the setting of the `evenAndOddHeaders` element (§2.10.1). */
|
|
22110
22487
|
EVEN: "even"
|
|
22111
22488
|
};
|
|
22112
22489
|
var HeaderFooterType = {
|
|
@@ -22148,8 +22525,23 @@ var docx = (function(exports) {
|
|
|
22148
22525
|
* @publicApi
|
|
22149
22526
|
*/
|
|
22150
22527
|
var LineNumberRestartFormat = {
|
|
22528
|
+
/**
|
|
22529
|
+
* ## Restart Line Numbering on Each Page
|
|
22530
|
+
*
|
|
22531
|
+
* Specifies that line numbering for the parent section shall restart to the starting value whenever a new page is displayed.
|
|
22532
|
+
*/
|
|
22151
22533
|
NEW_PAGE: "newPage",
|
|
22534
|
+
/**
|
|
22535
|
+
* ## Restart Line Numbering for Each Section
|
|
22536
|
+
*
|
|
22537
|
+
* Specifies that line numbering for the parent section shall restart to the starting value whenever the parent begins.
|
|
22538
|
+
*/
|
|
22152
22539
|
NEW_SECTION: "newSection",
|
|
22540
|
+
/**
|
|
22541
|
+
* ## Continue Line Numbering From Previous Section
|
|
22542
|
+
*
|
|
22543
|
+
* Specifies that line numbering for the parent section shall continue from the line numbering from the end of the previous section, if any.
|
|
22544
|
+
*/
|
|
22153
22545
|
CONTINUOUS: "continuous"
|
|
22154
22546
|
};
|
|
22155
22547
|
/**
|
|
@@ -22219,8 +22611,11 @@ var docx = (function(exports) {
|
|
|
22219
22611
|
* @publicApi
|
|
22220
22612
|
*/
|
|
22221
22613
|
var PageBorderDisplay = {
|
|
22614
|
+
/** Display border on all pages */
|
|
22222
22615
|
ALL_PAGES: "allPages",
|
|
22616
|
+
/** Display border only on first page */
|
|
22223
22617
|
FIRST_PAGE: "firstPage",
|
|
22618
|
+
/** Display border on all pages except first page */
|
|
22224
22619
|
NOT_FIRST_PAGE: "notFirstPage"
|
|
22225
22620
|
};
|
|
22226
22621
|
/**
|
|
@@ -22239,7 +22634,9 @@ var docx = (function(exports) {
|
|
|
22239
22634
|
* @publicApi
|
|
22240
22635
|
*/
|
|
22241
22636
|
var PageBorderOffsetFrom = {
|
|
22637
|
+
/** Position border relative to page edge */
|
|
22242
22638
|
PAGE: "page",
|
|
22639
|
+
/** Position border relative to text (default) */
|
|
22243
22640
|
TEXT: "text"
|
|
22244
22641
|
};
|
|
22245
22642
|
/**
|
|
@@ -22258,7 +22655,9 @@ var docx = (function(exports) {
|
|
|
22258
22655
|
* @publicApi
|
|
22259
22656
|
*/
|
|
22260
22657
|
var PageBorderZOrder = {
|
|
22658
|
+
/** Display border behind page contents */
|
|
22261
22659
|
BACK: "back",
|
|
22660
|
+
/** Display border in front of page contents (default) */
|
|
22262
22661
|
FRONT: "front"
|
|
22263
22662
|
};
|
|
22264
22663
|
var PageBordersAttributes = class extends XmlAttributeComponent {
|
|
@@ -22416,10 +22815,15 @@ var docx = (function(exports) {
|
|
|
22416
22815
|
* @publicApi
|
|
22417
22816
|
*/
|
|
22418
22817
|
var PageNumberSeparator = {
|
|
22818
|
+
/** Hyphen separator (-) */
|
|
22419
22819
|
HYPHEN: "hyphen",
|
|
22820
|
+
/** Period separator (.) */
|
|
22420
22821
|
PERIOD: "period",
|
|
22822
|
+
/** Colon separator (:) */
|
|
22421
22823
|
COLON: "colon",
|
|
22824
|
+
/** Em dash separator (—) */
|
|
22422
22825
|
EM_DASH: "emDash",
|
|
22826
|
+
/** En dash separator (–) */
|
|
22423
22827
|
EN_DASH: "endash"
|
|
22424
22828
|
};
|
|
22425
22829
|
/**
|
|
@@ -22487,7 +22891,17 @@ var docx = (function(exports) {
|
|
|
22487
22891
|
* @publicApi
|
|
22488
22892
|
*/
|
|
22489
22893
|
var PageOrientation = {
|
|
22894
|
+
/**
|
|
22895
|
+
* ## Portrait Mode
|
|
22896
|
+
*
|
|
22897
|
+
* Specifies that pages in this section shall be printed in portrait mode.
|
|
22898
|
+
*/
|
|
22490
22899
|
PORTRAIT: "portrait",
|
|
22900
|
+
/**
|
|
22901
|
+
* ## Landscape Mode
|
|
22902
|
+
*
|
|
22903
|
+
* Specifies that pages in this section shall be printed in landscape mode, which prints the page contents with a 90 degree rotation with respect to the normal page orientation.
|
|
22904
|
+
*/
|
|
22491
22905
|
LANDSCAPE: "landscape"
|
|
22492
22906
|
};
|
|
22493
22907
|
/**
|
|
@@ -22549,7 +22963,9 @@ var docx = (function(exports) {
|
|
|
22549
22963
|
* vertically (top-to-bottom), commonly used for East Asian languages.
|
|
22550
22964
|
*/
|
|
22551
22965
|
var PageTextDirectionType = {
|
|
22966
|
+
/** Left-to-right, top-to-bottom (standard Western text flow) */
|
|
22552
22967
|
LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb",
|
|
22968
|
+
/** Top-to-bottom, right-to-left (vertical East Asian text flow) */
|
|
22553
22969
|
TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl"
|
|
22554
22970
|
};
|
|
22555
22971
|
var PageTextDirectionAttributes = class extends XmlAttributeComponent {
|
|
@@ -22613,10 +23029,15 @@ var docx = (function(exports) {
|
|
|
22613
23029
|
* @publicApi
|
|
22614
23030
|
*/
|
|
22615
23031
|
var SectionType = {
|
|
23032
|
+
/** Section begins on the next page */
|
|
22616
23033
|
NEXT_PAGE: "nextPage",
|
|
23034
|
+
/** Section begins on the next column */
|
|
22617
23035
|
NEXT_COLUMN: "nextColumn",
|
|
23036
|
+
/** Section begins immediately following the previous section */
|
|
22618
23037
|
CONTINUOUS: "continuous",
|
|
23038
|
+
/** Section begins on the next even-numbered page */
|
|
22619
23039
|
EVEN_PAGE: "evenPage",
|
|
23040
|
+
/** Section begins on the next odd-numbered page */
|
|
22620
23041
|
ODD_PAGE: "oddPage"
|
|
22621
23042
|
};
|
|
22622
23043
|
/**
|
|
@@ -22667,12 +23088,19 @@ var docx = (function(exports) {
|
|
|
22667
23088
|
* @property GUTTER - Gutter margin: 0 twips
|
|
22668
23089
|
*/
|
|
22669
23090
|
var sectionMarginDefaults = {
|
|
23091
|
+
/** Top margin: 1440 twips (1 inch) */
|
|
22670
23092
|
TOP: 1440,
|
|
23093
|
+
/** Right margin: 1440 twips (1 inch) */
|
|
22671
23094
|
RIGHT: 1440,
|
|
23095
|
+
/** Bottom margin: 1440 twips (1 inch) */
|
|
22672
23096
|
BOTTOM: 1440,
|
|
23097
|
+
/** Left margin: 1440 twips (1 inch) */
|
|
22673
23098
|
LEFT: 1440,
|
|
23099
|
+
/** Header margin from top: 708 twips (0.5 inches) */
|
|
22674
23100
|
HEADER: 708,
|
|
23101
|
+
/** Footer margin from bottom: 708 twips (0.5 inches) */
|
|
22675
23102
|
FOOTER: 708,
|
|
23103
|
+
/** Gutter margin for binding: 0 twips */
|
|
22676
23104
|
GUTTER: 0
|
|
22677
23105
|
};
|
|
22678
23106
|
/**
|
|
@@ -22685,8 +23113,11 @@ var docx = (function(exports) {
|
|
|
22685
23113
|
* @property ORIENTATION - Page orientation: portrait
|
|
22686
23114
|
*/
|
|
22687
23115
|
var sectionPageSizeDefaults = {
|
|
23116
|
+
/** Page width: 11906 twips (8.27 inches, 210mm) */
|
|
22688
23117
|
WIDTH: 11906,
|
|
23118
|
+
/** Page height: 16838 twips (11.69 inches, 297mm) */
|
|
22689
23119
|
HEIGHT: 16838,
|
|
23120
|
+
/** Page orientation: portrait */
|
|
22690
23121
|
ORIENTATION: PageOrientation.PORTRAIT
|
|
22691
23122
|
};
|
|
22692
23123
|
/**
|
|
@@ -23608,6 +24039,7 @@ var docx = (function(exports) {
|
|
|
23608
24039
|
*/
|
|
23609
24040
|
var FooterWrapper = class {
|
|
23610
24041
|
constructor(media, referenceId, initContent) {
|
|
24042
|
+
_defineProperty(this, "media", void 0);
|
|
23611
24043
|
_defineProperty(this, "footer", void 0);
|
|
23612
24044
|
_defineProperty(this, "relationships", void 0);
|
|
23613
24045
|
this.media = media;
|
|
@@ -23722,7 +24154,9 @@ var docx = (function(exports) {
|
|
|
23722
24154
|
* @publicApi
|
|
23723
24155
|
*/
|
|
23724
24156
|
var FootnoteType = {
|
|
24157
|
+
/** Separator line between body text and footnotes */
|
|
23725
24158
|
SEPERATOR: "separator",
|
|
24159
|
+
/** Continuation separator for footnotes spanning pages */
|
|
23726
24160
|
CONTINUATION_SEPERATOR: "continuationSeparator"
|
|
23727
24161
|
};
|
|
23728
24162
|
/**
|
|
@@ -24128,6 +24562,7 @@ var docx = (function(exports) {
|
|
|
24128
24562
|
*/
|
|
24129
24563
|
var HeaderWrapper = class {
|
|
24130
24564
|
constructor(media, referenceId, initContent) {
|
|
24565
|
+
_defineProperty(this, "media", void 0);
|
|
24131
24566
|
_defineProperty(this, "header", void 0);
|
|
24132
24567
|
_defineProperty(this, "relationships", void 0);
|
|
24133
24568
|
this.media = media;
|
|
@@ -24239,68 +24674,131 @@ var docx = (function(exports) {
|
|
|
24239
24674
|
* @publicApi
|
|
24240
24675
|
*/
|
|
24241
24676
|
var LevelFormat = {
|
|
24677
|
+
/** Decimal numbering (1, 2, 3...). */
|
|
24242
24678
|
DECIMAL: "decimal",
|
|
24679
|
+
/** Uppercase roman numerals (I, II, III...). */
|
|
24243
24680
|
UPPER_ROMAN: "upperRoman",
|
|
24681
|
+
/** Lowercase roman numerals (i, ii, iii...). */
|
|
24244
24682
|
LOWER_ROMAN: "lowerRoman",
|
|
24683
|
+
/** Uppercase letters (A, B, C...). */
|
|
24245
24684
|
UPPER_LETTER: "upperLetter",
|
|
24685
|
+
/** Lowercase letters (a, b, c...). */
|
|
24246
24686
|
LOWER_LETTER: "lowerLetter",
|
|
24687
|
+
/** Ordinal numbers (1st, 2nd, 3rd...). */
|
|
24247
24688
|
ORDINAL: "ordinal",
|
|
24689
|
+
/** Cardinal text (one, two, three...). */
|
|
24248
24690
|
CARDINAL_TEXT: "cardinalText",
|
|
24691
|
+
/** Ordinal text (first, second, third...). */
|
|
24249
24692
|
ORDINAL_TEXT: "ordinalText",
|
|
24693
|
+
/** Hexadecimal numbering. */
|
|
24250
24694
|
HEX: "hex",
|
|
24695
|
+
/** Chicago Manual of Style numbering. */
|
|
24251
24696
|
CHICAGO: "chicago",
|
|
24697
|
+
/** Ideograph digital numbering. */
|
|
24252
24698
|
IDEOGRAPH__DIGITAL: "ideographDigital",
|
|
24699
|
+
/** Japanese counting system. */
|
|
24253
24700
|
JAPANESE_COUNTING: "japaneseCounting",
|
|
24701
|
+
/** Japanese aiueo ordering. */
|
|
24254
24702
|
AIUEO: "aiueo",
|
|
24703
|
+
/** Japanese iroha ordering. */
|
|
24255
24704
|
IROHA: "iroha",
|
|
24705
|
+
/** Full-width decimal numbering. */
|
|
24256
24706
|
DECIMAL_FULL_WIDTH: "decimalFullWidth",
|
|
24707
|
+
/** Half-width decimal numbering. */
|
|
24257
24708
|
DECIMAL_HALF_WIDTH: "decimalHalfWidth",
|
|
24709
|
+
/** Japanese legal numbering. */
|
|
24258
24710
|
JAPANESE_LEGAL: "japaneseLegal",
|
|
24711
|
+
/** Japanese digital ten thousand numbering. */
|
|
24259
24712
|
JAPANESE_DIGITAL_TEN_THOUSAND: "japaneseDigitalTenThousand",
|
|
24713
|
+
/** Decimal numbers enclosed in circles. */
|
|
24260
24714
|
DECIMAL_ENCLOSED_CIRCLE: "decimalEnclosedCircle",
|
|
24715
|
+
/** Full-width decimal numbering variant 2. */
|
|
24261
24716
|
DECIMAL_FULL_WIDTH2: "decimalFullWidth2",
|
|
24717
|
+
/** Full-width aiueo ordering. */
|
|
24262
24718
|
AIUEO_FULL_WIDTH: "aiueoFullWidth",
|
|
24719
|
+
/** Full-width iroha ordering. */
|
|
24263
24720
|
IROHA_FULL_WIDTH: "irohaFullWidth",
|
|
24721
|
+
/** Decimal with leading zeros. */
|
|
24264
24722
|
DECIMAL_ZERO: "decimalZero",
|
|
24723
|
+
/** Bullet points. */
|
|
24265
24724
|
BULLET: "bullet",
|
|
24725
|
+
/** Korean ganada ordering. */
|
|
24266
24726
|
GANADA: "ganada",
|
|
24727
|
+
/** Korean chosung ordering. */
|
|
24267
24728
|
CHOSUNG: "chosung",
|
|
24729
|
+
/** Decimal enclosed with fullstop. */
|
|
24268
24730
|
DECIMAL_ENCLOSED_FULLSTOP: "decimalEnclosedFullstop",
|
|
24731
|
+
/** Decimal enclosed in parentheses. */
|
|
24269
24732
|
DECIMAL_ENCLOSED_PARENTHESES: "decimalEnclosedParen",
|
|
24733
|
+
/** Decimal enclosed in circles (Chinese). */
|
|
24270
24734
|
DECIMAL_ENCLOSED_CIRCLE_CHINESE: "decimalEnclosedCircleChinese",
|
|
24735
|
+
/** Ideograph enclosed in circles. */
|
|
24271
24736
|
IDEOGRAPH_ENCLOSED_CIRCLE: "ideographEnclosedCircle",
|
|
24737
|
+
/** Traditional ideograph numbering. */
|
|
24272
24738
|
IDEOGRAPH_TRADITIONAL: "ideographTraditional",
|
|
24739
|
+
/** Ideograph zodiac numbering. */
|
|
24273
24740
|
IDEOGRAPH_ZODIAC: "ideographZodiac",
|
|
24741
|
+
/** Traditional ideograph zodiac numbering. */
|
|
24274
24742
|
IDEOGRAPH_ZODIAC_TRADITIONAL: "ideographZodiacTraditional",
|
|
24743
|
+
/** Taiwanese counting system. */
|
|
24275
24744
|
TAIWANESE_COUNTING: "taiwaneseCounting",
|
|
24745
|
+
/** Traditional ideograph legal numbering. */
|
|
24276
24746
|
IDEOGRAPH_LEGAL_TRADITIONAL: "ideographLegalTraditional",
|
|
24747
|
+
/** Taiwanese counting thousand system. */
|
|
24277
24748
|
TAIWANESE_COUNTING_THOUSAND: "taiwaneseCountingThousand",
|
|
24749
|
+
/** Taiwanese digital numbering. */
|
|
24278
24750
|
TAIWANESE_DIGITAL: "taiwaneseDigital",
|
|
24751
|
+
/** Chinese counting system. */
|
|
24279
24752
|
CHINESE_COUNTING: "chineseCounting",
|
|
24753
|
+
/** Simplified Chinese legal numbering. */
|
|
24280
24754
|
CHINESE_LEGAL_SIMPLIFIED: "chineseLegalSimplified",
|
|
24755
|
+
/** Chinese counting thousand system. */
|
|
24281
24756
|
CHINESE_COUNTING_THOUSAND: "chineseCountingThousand",
|
|
24757
|
+
/** Korean digital numbering. */
|
|
24282
24758
|
KOREAN_DIGITAL: "koreanDigital",
|
|
24759
|
+
/** Korean counting system. */
|
|
24283
24760
|
KOREAN_COUNTING: "koreanCounting",
|
|
24761
|
+
/** Korean legal numbering. */
|
|
24284
24762
|
KOREAN_LEGAL: "koreanLegal",
|
|
24763
|
+
/** Korean digital numbering variant 2. */
|
|
24285
24764
|
KOREAN_DIGITAL2: "koreanDigital2",
|
|
24765
|
+
/** Vietnamese counting system. */
|
|
24286
24766
|
VIETNAMESE_COUNTING: "vietnameseCounting",
|
|
24767
|
+
/** Russian lowercase numbering. */
|
|
24287
24768
|
RUSSIAN_LOWER: "russianLower",
|
|
24769
|
+
/** Russian uppercase numbering. */
|
|
24288
24770
|
RUSSIAN_UPPER: "russianUpper",
|
|
24771
|
+
/** No numbering. */
|
|
24289
24772
|
NONE: "none",
|
|
24773
|
+
/** Number enclosed in dashes. */
|
|
24290
24774
|
NUMBER_IN_DASH: "numberInDash",
|
|
24775
|
+
/** Hebrew numbering variant 1. */
|
|
24291
24776
|
HEBREW1: "hebrew1",
|
|
24777
|
+
/** Hebrew numbering variant 2. */
|
|
24292
24778
|
HEBREW2: "hebrew2",
|
|
24779
|
+
/** Arabic alpha numbering. */
|
|
24293
24780
|
ARABIC_ALPHA: "arabicAlpha",
|
|
24781
|
+
/** Arabic abjad numbering. */
|
|
24294
24782
|
ARABIC_ABJAD: "arabicAbjad",
|
|
24783
|
+
/** Hindi vowels. */
|
|
24295
24784
|
HINDI_VOWELS: "hindiVowels",
|
|
24785
|
+
/** Hindi consonants. */
|
|
24296
24786
|
HINDI_CONSONANTS: "hindiConsonants",
|
|
24787
|
+
/** Hindi numbers. */
|
|
24297
24788
|
HINDI_NUMBERS: "hindiNumbers",
|
|
24789
|
+
/** Hindi counting system. */
|
|
24298
24790
|
HINDI_COUNTING: "hindiCounting",
|
|
24791
|
+
/** Thai letters. */
|
|
24299
24792
|
THAI_LETTERS: "thaiLetters",
|
|
24793
|
+
/** Thai numbers. */
|
|
24300
24794
|
THAI_NUMBERS: "thaiNumbers",
|
|
24795
|
+
/** Thai counting system. */
|
|
24301
24796
|
THAI_COUNTING: "thaiCounting",
|
|
24797
|
+
/** Thai Baht text. */
|
|
24302
24798
|
BAHT_TEXT: "bahtText",
|
|
24799
|
+
/** Dollar text. */
|
|
24303
24800
|
DOLLAR_TEXT: "dollarText",
|
|
24801
|
+
/** Custom numbering format. */
|
|
24304
24802
|
CUSTOM: "custom"
|
|
24305
24803
|
};
|
|
24306
24804
|
/**
|
|
@@ -24367,8 +24865,11 @@ var docx = (function(exports) {
|
|
|
24367
24865
|
* @publicApi
|
|
24368
24866
|
*/
|
|
24369
24867
|
var LevelSuffix = {
|
|
24868
|
+
/** No separator after the numbering. */
|
|
24370
24869
|
NOTHING: "nothing",
|
|
24870
|
+
/** Space character after the numbering. */
|
|
24371
24871
|
SPACE: "space",
|
|
24872
|
+
/** Tab character after the numbering. */
|
|
24372
24873
|
TAB: "tab"
|
|
24373
24874
|
};
|
|
24374
24875
|
/**
|
|
@@ -26384,6 +26885,12 @@ var docx = (function(exports) {
|
|
|
26384
26885
|
"commentsExtended",
|
|
26385
26886
|
void 0
|
|
26386
26887
|
);
|
|
26888
|
+
_defineProperty(
|
|
26889
|
+
this,
|
|
26890
|
+
/** Durable comment id mapping (word/commentsIds.xml). */
|
|
26891
|
+
"commentsIds",
|
|
26892
|
+
void 0
|
|
26893
|
+
);
|
|
26387
26894
|
_defineProperty(this, "fontWrapper", void 0);
|
|
26388
26895
|
this.coreProperties = new CoreProperties(_objectSpread2(_objectSpread2({}, options), {}, {
|
|
26389
26896
|
creator: (_options$creator = options.creator) !== null && _options$creator !== void 0 ? _options$creator : "Un-named",
|
|
@@ -26393,6 +26900,7 @@ var docx = (function(exports) {
|
|
|
26393
26900
|
this.numbering = new Numbering(options.numbering ? options.numbering : { config: [] });
|
|
26394
26901
|
this.comments = new Comments((_options$comments = options.comments) !== null && _options$comments !== void 0 ? _options$comments : { children: [] });
|
|
26395
26902
|
if (this.comments.ThreadData) this.commentsExtended = new CommentsExtended(this.comments.ThreadData);
|
|
26903
|
+
if (this.comments.CommentIdsData) this.commentsIds = new CommentsIds(this.comments.CommentIdsData);
|
|
26396
26904
|
this.fileRelationships = new Relationships();
|
|
26397
26905
|
this.customProperties = new CustomProperties((_options$customProper = options.customProperties) !== null && _options$customProper !== void 0 ? _options$customProper : []);
|
|
26398
26906
|
this.appProperties = new AppProperties();
|
|
@@ -26420,8 +26928,13 @@ var docx = (function(exports) {
|
|
|
26420
26928
|
const defaultStyles = new DefaultStylesFactory().newInstance((_options$styles = options.styles) === null || _options$styles === void 0 ? void 0 : _options$styles.default);
|
|
26421
26929
|
const externalStyles = new ExternalStylesFactory().newInstance(options.externalStyles);
|
|
26422
26930
|
this.styles = new Styles(_objectSpread2(_objectSpread2({}, externalStyles), {}, { importedStyles: [...defaultStyles.importedStyles, ...externalStyles.importedStyles] }));
|
|
26423
|
-
} else if (options.styles)
|
|
26424
|
-
|
|
26931
|
+
} else if (options.styles) {
|
|
26932
|
+
const defaultStyles = new DefaultStylesFactory().newInstance(options.styles.default);
|
|
26933
|
+
this.styles = new Styles(_objectSpread2(_objectSpread2({}, defaultStyles), options.styles));
|
|
26934
|
+
} else {
|
|
26935
|
+
const stylesFactory = new DefaultStylesFactory();
|
|
26936
|
+
this.styles = new Styles(stylesFactory.newInstance());
|
|
26937
|
+
}
|
|
26425
26938
|
this.addDefaultRelationships();
|
|
26426
26939
|
for (const section of options.sections) this.addSection(section);
|
|
26427
26940
|
if (options.footnotes) for (const key in options.footnotes) this.footnotesWrapper.View.createFootNote(parseFloat(key), options.footnotes[key].children);
|
|
@@ -26486,6 +26999,10 @@ var docx = (function(exports) {
|
|
|
26486
26999
|
this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++, "http://schemas.microsoft.com/office/2011/relationships/commentsExtended", "commentsExtended.xml");
|
|
26487
27000
|
this.contentTypes.addCommentsExtended();
|
|
26488
27001
|
}
|
|
27002
|
+
if (this.commentsIds) {
|
|
27003
|
+
this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++, "http://schemas.microsoft.com/office/2016/09/relationships/commentsIds", "commentsIds.xml");
|
|
27004
|
+
this.contentTypes.addCommentsIds();
|
|
27005
|
+
}
|
|
26489
27006
|
}
|
|
26490
27007
|
get Document() {
|
|
26491
27008
|
return this.documentWrapper;
|
|
@@ -26536,6 +27053,10 @@ var docx = (function(exports) {
|
|
|
26536
27053
|
get CommentsExtended() {
|
|
26537
27054
|
return this.commentsExtended;
|
|
26538
27055
|
}
|
|
27056
|
+
/** Durable comment id part. Undefined when no comment carries a durableId. */
|
|
27057
|
+
get CommentsIds() {
|
|
27058
|
+
return this.commentsIds;
|
|
27059
|
+
}
|
|
26539
27060
|
get FontTable() {
|
|
26540
27061
|
return this.fontWrapper;
|
|
26541
27062
|
}
|
|
@@ -26705,7 +27226,7 @@ var docx = (function(exports) {
|
|
|
26705
27226
|
}
|
|
26706
27227
|
};
|
|
26707
27228
|
//#endregion
|
|
26708
|
-
//#region \0@oxc-project+runtime@0.
|
|
27229
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/objectWithoutPropertiesLoose.js
|
|
26709
27230
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
26710
27231
|
if (null == r) return {};
|
|
26711
27232
|
var t = {};
|
|
@@ -26716,7 +27237,7 @@ var docx = (function(exports) {
|
|
|
26716
27237
|
return t;
|
|
26717
27238
|
}
|
|
26718
27239
|
//#endregion
|
|
26719
|
-
//#region \0@oxc-project+runtime@0.
|
|
27240
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/objectWithoutProperties.js
|
|
26720
27241
|
function _objectWithoutProperties(e, t) {
|
|
26721
27242
|
if (null == e) return {};
|
|
26722
27243
|
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
@@ -30669,8 +31190,8 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
30669
31190
|
module.exports = escapeForXML;
|
|
30670
31191
|
}));
|
|
30671
31192
|
//#endregion
|
|
30672
|
-
//#region
|
|
30673
|
-
var
|
|
31193
|
+
//#region node_modules/xml/lib/xml.js
|
|
31194
|
+
var require_xml = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
30674
31195
|
init_dist();
|
|
30675
31196
|
var escapeForXML = require_escapeForXML();
|
|
30676
31197
|
var Stream = require_stream_browserify().Stream;
|
|
@@ -30843,9 +31364,12 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
30843
31364
|
}
|
|
30844
31365
|
module.exports = xml;
|
|
30845
31366
|
module.exports.element = module.exports.Element = element;
|
|
30846
|
-
}))
|
|
30847
|
-
|
|
31367
|
+
}));
|
|
31368
|
+
//#endregion
|
|
31369
|
+
//#region src/file/fonts/obfuscate-ttf-to-odttf.ts
|
|
30848
31370
|
var import_stream_browserify = require_stream_browserify();
|
|
31371
|
+
var import_jszip_min = /* @__PURE__ */ __toESM(require_jszip_min(), 1);
|
|
31372
|
+
var import_xml = /* @__PURE__ */ __toESM(require_xml(), 1);
|
|
30849
31373
|
/**
|
|
30850
31374
|
* Font obfuscation module for embedding fonts in WordprocessingML documents.
|
|
30851
31375
|
*
|
|
@@ -31109,7 +31633,7 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
31109
31633
|
const documentMediaDatas = this.imageReplacer.getMediaData(documentXmlData, file.Media);
|
|
31110
31634
|
const commentMediaDatas = this.imageReplacer.getMediaData(commentXmlData, file.Media);
|
|
31111
31635
|
const footnoteMediaDatas = this.imageReplacer.getMediaData(footnoteXmlData, file.Media);
|
|
31112
|
-
return _objectSpread2(_objectSpread2({
|
|
31636
|
+
return _objectSpread2(_objectSpread2(_objectSpread2({
|
|
31113
31637
|
Relationships: {
|
|
31114
31638
|
data: (() => {
|
|
31115
31639
|
documentMediaDatas.forEach((mediaData, i) => {
|
|
@@ -31410,6 +31934,22 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
31410
31934
|
}
|
|
31411
31935
|
}),
|
|
31412
31936
|
path: "word/commentsExtended.xml"
|
|
31937
|
+
} } : {}), file.CommentsIds ? { CommentsIds: {
|
|
31938
|
+
data: (0, import_xml.default)(this.formatter.format(file.CommentsIds, {
|
|
31939
|
+
viewWrapper: {
|
|
31940
|
+
View: file.CommentsIds,
|
|
31941
|
+
Relationships: file.Comments.Relationships
|
|
31942
|
+
},
|
|
31943
|
+
file,
|
|
31944
|
+
stack: []
|
|
31945
|
+
}), {
|
|
31946
|
+
indent: prettify,
|
|
31947
|
+
declaration: {
|
|
31948
|
+
standalone: "yes",
|
|
31949
|
+
encoding: "UTF-8"
|
|
31950
|
+
}
|
|
31951
|
+
}),
|
|
31952
|
+
path: "word/commentsIds.xml"
|
|
31413
31953
|
} } : {}), {}, {
|
|
31414
31954
|
FontTable: {
|
|
31415
31955
|
data: (0, import_xml.default)(this.formatter.format(file.FontTable.View, {
|
|
@@ -31426,21 +31966,21 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
31426
31966
|
path: "word/fontTable.xml"
|
|
31427
31967
|
},
|
|
31428
31968
|
FontTableRelationships: {
|
|
31429
|
-
data: (0, import_xml.default)(this.formatter.format(file.FontTable.Relationships, {
|
|
31969
|
+
data: (() => (0, import_xml.default)(this.formatter.format(file.FontTable.Relationships, {
|
|
31430
31970
|
viewWrapper: file.Document,
|
|
31431
31971
|
file,
|
|
31432
31972
|
stack: []
|
|
31433
31973
|
}), {
|
|
31434
31974
|
indent: prettify,
|
|
31435
31975
|
declaration: { encoding: "UTF-8" }
|
|
31436
|
-
}),
|
|
31976
|
+
}))(),
|
|
31437
31977
|
path: "word/_rels/fontTable.xml.rels"
|
|
31438
31978
|
}
|
|
31439
31979
|
});
|
|
31440
31980
|
}
|
|
31441
31981
|
};
|
|
31442
31982
|
//#endregion
|
|
31443
|
-
//#region \0@oxc-project+runtime@0.
|
|
31983
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/asyncToGenerator.js
|
|
31444
31984
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
31445
31985
|
try {
|
|
31446
31986
|
var i = n[a](c), u = i.value;
|
|
@@ -31481,9 +32021,13 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
31481
32021
|
* @publicApi
|
|
31482
32022
|
*/
|
|
31483
32023
|
var PrettifyType = {
|
|
32024
|
+
/** No prettification (smallest file size) */
|
|
31484
32025
|
NONE: "",
|
|
32026
|
+
/** Indent with 2 spaces */
|
|
31485
32027
|
WITH_2_BLANKS: " ",
|
|
32028
|
+
/** Indent with 4 spaces */
|
|
31486
32029
|
WITH_4_BLANKS: " ",
|
|
32030
|
+
/** Indent with tab character */
|
|
31487
32031
|
WITH_TAB: " "
|
|
31488
32032
|
};
|
|
31489
32033
|
var convertPrettifyType = (prettify) => prettify === true ? PrettifyType.WITH_2_BLANKS : prettify === false ? void 0 : prettify;
|
|
@@ -31878,8 +32422,11 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
31878
32422
|
* Replacement modes for multi-run text replacement.
|
|
31879
32423
|
*/
|
|
31880
32424
|
var ReplaceMode = {
|
|
32425
|
+
/** Looking for the start of the replacement text */
|
|
31881
32426
|
START: 0,
|
|
32427
|
+
/** Processing runs in the middle of the replacement text */
|
|
31882
32428
|
MIDDLE: 1,
|
|
32429
|
+
/** Reached the end of the replacement text */
|
|
31883
32430
|
END: 2
|
|
31884
32431
|
};
|
|
31885
32432
|
/**
|
|
@@ -32171,7 +32718,9 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
32171
32718
|
* @publicApi
|
|
32172
32719
|
*/
|
|
32173
32720
|
var PatchType = {
|
|
32721
|
+
/** Replace entire file-level elements (e.g., whole paragraphs) */
|
|
32174
32722
|
DOCUMENT: "file",
|
|
32723
|
+
/** Replace content within paragraphs (inline replacement) */
|
|
32175
32724
|
PARAGRAPH: "paragraph"
|
|
32176
32725
|
};
|
|
32177
32726
|
var imageReplacer = new ImageReplacer();
|
|
@@ -32457,6 +33006,7 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
32457
33006
|
exports.CommentReference = CommentReference;
|
|
32458
33007
|
exports.Comments = Comments;
|
|
32459
33008
|
exports.CommentsExtended = CommentsExtended;
|
|
33009
|
+
exports.CommentsIds = CommentsIds;
|
|
32460
33010
|
exports.ConcreteHyperlink = ConcreteHyperlink;
|
|
32461
33011
|
exports.ConcreteNumbering = ConcreteNumbering;
|
|
32462
33012
|
exports.ContinuationSeparator = ContinuationSeparator;
|