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.umd.cjs
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
var __getProtoOf = Object.getPrototypeOf;
|
|
11
11
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
12
12
|
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
13
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
13
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
14
14
|
var __copyProps = (to, from, except, desc) => {
|
|
15
15
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
16
16
|
key = keys[i];
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
enumerable: true
|
|
27
27
|
}) : target, mod));
|
|
28
28
|
//#endregion
|
|
29
|
-
//#region \0@oxc-project+runtime@0.
|
|
29
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
|
|
30
30
|
function _typeof(o) {
|
|
31
31
|
"@babel/helpers - typeof";
|
|
32
32
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}, _typeof(o);
|
|
37
37
|
}
|
|
38
38
|
//#endregion
|
|
39
|
-
//#region \0@oxc-project+runtime@0.
|
|
39
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
|
|
40
40
|
function toPrimitive(t, r) {
|
|
41
41
|
if ("object" != _typeof(t) || !t) return t;
|
|
42
42
|
var e = t[Symbol.toPrimitive];
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
return ("string" === r ? String : Number)(t);
|
|
49
49
|
}
|
|
50
50
|
//#endregion
|
|
51
|
-
//#region \0@oxc-project+runtime@0.
|
|
51
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
|
|
52
52
|
function toPropertyKey(t) {
|
|
53
53
|
var i = toPrimitive(t, "string");
|
|
54
54
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
57
|
-
//#region \0@oxc-project+runtime@0.
|
|
57
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
|
|
58
58
|
function _defineProperty(e, r, t) {
|
|
59
59
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
60
60
|
value: t,
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
}
|
|
255
255
|
};
|
|
256
256
|
//#endregion
|
|
257
|
-
//#region \0@oxc-project+runtime@0.
|
|
257
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/objectSpread2.js
|
|
258
258
|
function ownKeys(e, r) {
|
|
259
259
|
var t = Object.keys(e);
|
|
260
260
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -311,6 +311,7 @@
|
|
|
311
311
|
*/
|
|
312
312
|
constructor(root) {
|
|
313
313
|
super("_attr");
|
|
314
|
+
_defineProperty(this, "root", void 0);
|
|
314
315
|
_defineProperty(
|
|
315
316
|
this,
|
|
316
317
|
/** Optional mapping from property names to XML attribute names. */
|
|
@@ -363,6 +364,7 @@
|
|
|
363
364
|
*/
|
|
364
365
|
constructor(root) {
|
|
365
366
|
super("_attr");
|
|
367
|
+
_defineProperty(this, "root", void 0);
|
|
366
368
|
this.root = root;
|
|
367
369
|
}
|
|
368
370
|
/**
|
|
@@ -886,7 +888,7 @@
|
|
|
886
888
|
return 0;
|
|
887
889
|
};
|
|
888
890
|
browserExports = browser.exports;
|
|
889
|
-
process$1 =
|
|
891
|
+
process$1 = /*@__PURE__*/ getDefaultExportFromCjs(browserExports);
|
|
890
892
|
}));
|
|
891
893
|
//#endregion
|
|
892
894
|
//#region node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js
|
|
@@ -3940,7 +3942,7 @@
|
|
|
3940
3942
|
function copyBuffer(src, target, offset) {
|
|
3941
3943
|
Buffer.prototype.copy.call(src, target, offset);
|
|
3942
3944
|
}
|
|
3943
|
-
module.exports =
|
|
3945
|
+
module.exports = /*#__PURE__*/ function() {
|
|
3944
3946
|
function BufferList() {
|
|
3945
3947
|
_classCallCheck(this, BufferList);
|
|
3946
3948
|
this.head = null;
|
|
@@ -4197,7 +4199,7 @@
|
|
|
4197
4199
|
if (typeof message === "string") return message;
|
|
4198
4200
|
else return message(arg1, arg2, arg3);
|
|
4199
4201
|
}
|
|
4200
|
-
var NodeError =
|
|
4202
|
+
var NodeError = /*#__PURE__*/ function(_Base) {
|
|
4201
4203
|
_inheritsLoose(NodeError, _Base);
|
|
4202
4204
|
function NodeError(arg1, arg2, arg3) {
|
|
4203
4205
|
return _Base.call(this, getMessage(arg1, arg2, arg3)) || this;
|
|
@@ -4386,7 +4388,8 @@
|
|
|
4386
4388
|
this.ended = false;
|
|
4387
4389
|
this.finished = false;
|
|
4388
4390
|
this.destroyed = false;
|
|
4389
|
-
|
|
4391
|
+
var noDecode = options.decodeStrings === false;
|
|
4392
|
+
this.decodeStrings = !noDecode;
|
|
4390
4393
|
this.defaultEncoding = options.defaultEncoding || "utf8";
|
|
4391
4394
|
this.length = 0;
|
|
4392
4395
|
this.writing = false;
|
|
@@ -8128,6 +8131,7 @@
|
|
|
8128
8131
|
*/
|
|
8129
8132
|
constructor(_attr) {
|
|
8130
8133
|
super("");
|
|
8134
|
+
_defineProperty(this, "_attr", void 0);
|
|
8131
8135
|
this._attr = _attr;
|
|
8132
8136
|
}
|
|
8133
8137
|
/**
|
|
@@ -8838,18 +8842,31 @@
|
|
|
8838
8842
|
* @publicApi
|
|
8839
8843
|
*/
|
|
8840
8844
|
var AlignmentType = {
|
|
8845
|
+
/** Align Start */
|
|
8841
8846
|
START: "start",
|
|
8847
|
+
/** Align Center */
|
|
8842
8848
|
CENTER: "center",
|
|
8849
|
+
/** End */
|
|
8843
8850
|
END: "end",
|
|
8851
|
+
/** Justified */
|
|
8844
8852
|
BOTH: "both",
|
|
8853
|
+
/** Medium Kashida Length */
|
|
8845
8854
|
MEDIUM_KASHIDA: "mediumKashida",
|
|
8855
|
+
/** Distribute All Characters Equally */
|
|
8846
8856
|
DISTRIBUTE: "distribute",
|
|
8857
|
+
/** Align to List Tab */
|
|
8847
8858
|
NUM_TAB: "numTab",
|
|
8859
|
+
/** Widest Kashida Length */
|
|
8848
8860
|
HIGH_KASHIDA: "highKashida",
|
|
8861
|
+
/** Low Kashida Length */
|
|
8849
8862
|
LOW_KASHIDA: "lowKashida",
|
|
8863
|
+
/** Thai Language Justification */
|
|
8850
8864
|
THAI_DISTRIBUTE: "thaiDistribute",
|
|
8865
|
+
/** Align Left */
|
|
8851
8866
|
LEFT: "left",
|
|
8867
|
+
/** Align Right */
|
|
8852
8868
|
RIGHT: "right",
|
|
8869
|
+
/** Justified */
|
|
8853
8870
|
JUSTIFIED: "both"
|
|
8854
8871
|
};
|
|
8855
8872
|
/**
|
|
@@ -8997,32 +9014,59 @@
|
|
|
8997
9014
|
* @publicApi
|
|
8998
9015
|
*/
|
|
8999
9016
|
var BorderStyle = {
|
|
9017
|
+
/** a single line */
|
|
9000
9018
|
SINGLE: "single",
|
|
9019
|
+
/** a line with a series of alternating thin and thick strokes */
|
|
9001
9020
|
DASH_DOT_STROKED: "dashDotStroked",
|
|
9021
|
+
/** a dashed line */
|
|
9002
9022
|
DASHED: "dashed",
|
|
9023
|
+
/** a dashed line with small gaps */
|
|
9003
9024
|
DASH_SMALL_GAP: "dashSmallGap",
|
|
9025
|
+
/** a line with alternating dots and dashes */
|
|
9004
9026
|
DOT_DASH: "dotDash",
|
|
9027
|
+
/** a line with a repeating dot - dot - dash sequence */
|
|
9005
9028
|
DOT_DOT_DASH: "dotDotDash",
|
|
9029
|
+
/** a dotted line */
|
|
9006
9030
|
DOTTED: "dotted",
|
|
9031
|
+
/** a double line */
|
|
9007
9032
|
DOUBLE: "double",
|
|
9033
|
+
/** a double wavy line */
|
|
9008
9034
|
DOUBLE_WAVE: "doubleWave",
|
|
9035
|
+
/** an inset set of lines */
|
|
9009
9036
|
INSET: "inset",
|
|
9037
|
+
/** no border */
|
|
9010
9038
|
NIL: "nil",
|
|
9039
|
+
/** no border */
|
|
9011
9040
|
NONE: "none",
|
|
9041
|
+
/** an outset set of lines */
|
|
9012
9042
|
OUTSET: "outset",
|
|
9043
|
+
/** a single line */
|
|
9013
9044
|
THICK: "thick",
|
|
9045
|
+
/** a thick line contained within a thin line with a large-sized intermediate gap */
|
|
9014
9046
|
THICK_THIN_LARGE_GAP: "thickThinLargeGap",
|
|
9047
|
+
/** a thick line contained within a thin line with a medium-sized intermediate gap */
|
|
9015
9048
|
THICK_THIN_MEDIUM_GAP: "thickThinMediumGap",
|
|
9049
|
+
/** a thick line contained within a thin line with a small intermediate gap */
|
|
9016
9050
|
THICK_THIN_SMALL_GAP: "thickThinSmallGap",
|
|
9051
|
+
/** a thin line contained within a thick line with a large-sized intermediate gap */
|
|
9017
9052
|
THIN_THICK_LARGE_GAP: "thinThickLargeGap",
|
|
9053
|
+
/** a thick line contained within a thin line with a medium-sized intermediate gap */
|
|
9018
9054
|
THIN_THICK_MEDIUM_GAP: "thinThickMediumGap",
|
|
9055
|
+
/** a thick line contained within a thin line with a small intermediate gap */
|
|
9019
9056
|
THIN_THICK_SMALL_GAP: "thinThickSmallGap",
|
|
9057
|
+
/** a thin-thick-thin line with a large gap */
|
|
9020
9058
|
THIN_THICK_THIN_LARGE_GAP: "thinThickThinLargeGap",
|
|
9059
|
+
/** a thin-thick-thin line with a medium gap */
|
|
9021
9060
|
THIN_THICK_THIN_MEDIUM_GAP: "thinThickThinMediumGap",
|
|
9061
|
+
/** a thin-thick-thin line with a small gap */
|
|
9022
9062
|
THIN_THICK_THIN_SMALL_GAP: "thinThickThinSmallGap",
|
|
9063
|
+
/** a three-staged gradient line, getting darker towards the paragraph */
|
|
9023
9064
|
THREE_D_EMBOSS: "threeDEmboss",
|
|
9065
|
+
/** a three-staged gradient like, getting darker away from the paragraph */
|
|
9024
9066
|
THREE_D_ENGRAVE: "threeDEngrave",
|
|
9067
|
+
/** a triple line */
|
|
9025
9068
|
TRIPLE: "triple",
|
|
9069
|
+
/** a wavy line */
|
|
9026
9070
|
WAVE: "wave"
|
|
9027
9071
|
};
|
|
9028
9072
|
//#endregion
|
|
@@ -9338,10 +9382,15 @@
|
|
|
9338
9382
|
* @publicApi
|
|
9339
9383
|
*/
|
|
9340
9384
|
var HorizontalPositionAlign = {
|
|
9385
|
+
/** Center horizontally */
|
|
9341
9386
|
CENTER: "center",
|
|
9387
|
+
/** Align to inside margin (left on odd, right on even pages) */
|
|
9342
9388
|
INSIDE: "inside",
|
|
9389
|
+
/** Align to left */
|
|
9343
9390
|
LEFT: "left",
|
|
9391
|
+
/** Align to outside margin (right on odd, left on even pages) */
|
|
9344
9392
|
OUTSIDE: "outside",
|
|
9393
|
+
/** Align to right */
|
|
9345
9394
|
RIGHT: "right"
|
|
9346
9395
|
};
|
|
9347
9396
|
/**
|
|
@@ -9352,10 +9401,15 @@
|
|
|
9352
9401
|
* @publicApi
|
|
9353
9402
|
*/
|
|
9354
9403
|
var VerticalPositionAlign = {
|
|
9404
|
+
/** Align to bottom */
|
|
9355
9405
|
BOTTOM: "bottom",
|
|
9406
|
+
/** Center vertically */
|
|
9356
9407
|
CENTER: "center",
|
|
9408
|
+
/** Align to inside margin */
|
|
9357
9409
|
INSIDE: "inside",
|
|
9410
|
+
/** Align to outside margin */
|
|
9358
9411
|
OUTSIDE: "outside",
|
|
9412
|
+
/** Align to top */
|
|
9359
9413
|
TOP: "top"
|
|
9360
9414
|
};
|
|
9361
9415
|
//#endregion
|
|
@@ -9674,6 +9728,7 @@
|
|
|
9674
9728
|
* @publicApi
|
|
9675
9729
|
*/
|
|
9676
9730
|
var ShadingType = {
|
|
9731
|
+
/** Clear shading - no pattern, fill color only */
|
|
9677
9732
|
CLEAR: "clear",
|
|
9678
9733
|
DIAGONAL_CROSS: "diagCross",
|
|
9679
9734
|
DIAGONAL_STRIPE: "diagStripe",
|
|
@@ -9818,7 +9873,9 @@
|
|
|
9818
9873
|
*
|
|
9819
9874
|
* @publicApi
|
|
9820
9875
|
*/
|
|
9821
|
-
var EmphasisMarkType = {
|
|
9876
|
+
var EmphasisMarkType = {
|
|
9877
|
+
/** Dot emphasis mark */
|
|
9878
|
+
DOT: "dot" };
|
|
9822
9879
|
/**
|
|
9823
9880
|
* Creates an emphasis mark element for a WordprocessingML document.
|
|
9824
9881
|
*
|
|
@@ -10235,23 +10292,41 @@
|
|
|
10235
10292
|
* @publicApi
|
|
10236
10293
|
*/
|
|
10237
10294
|
var UnderlineType = {
|
|
10295
|
+
/** Single underline */
|
|
10238
10296
|
SINGLE: "single",
|
|
10297
|
+
/** Underline words only (not spaces) */
|
|
10239
10298
|
WORDS: "words",
|
|
10299
|
+
/** Double underline */
|
|
10240
10300
|
DOUBLE: "double",
|
|
10301
|
+
/** Thick single underline */
|
|
10241
10302
|
THICK: "thick",
|
|
10303
|
+
/** Dotted underline */
|
|
10242
10304
|
DOTTED: "dotted",
|
|
10305
|
+
/** Heavy dotted underline */
|
|
10243
10306
|
DOTTEDHEAVY: "dottedHeavy",
|
|
10307
|
+
/** Dashed underline */
|
|
10244
10308
|
DASH: "dash",
|
|
10309
|
+
/** Heavy dashed underline */
|
|
10245
10310
|
DASHEDHEAVY: "dashedHeavy",
|
|
10311
|
+
/** Long dashed underline */
|
|
10246
10312
|
DASHLONG: "dashLong",
|
|
10313
|
+
/** Heavy long dashed underline */
|
|
10247
10314
|
DASHLONGHEAVY: "dashLongHeavy",
|
|
10315
|
+
/** Dot-dash underline */
|
|
10248
10316
|
DOTDASH: "dotDash",
|
|
10317
|
+
/** Heavy dot-dash underline */
|
|
10249
10318
|
DASHDOTHEAVY: "dashDotHeavy",
|
|
10319
|
+
/** Dot-dot-dash underline */
|
|
10250
10320
|
DOTDOTDASH: "dotDotDash",
|
|
10321
|
+
/** Heavy dot-dot-dash underline */
|
|
10251
10322
|
DASHDOTDOTHEAVY: "dashDotDotHeavy",
|
|
10323
|
+
/** Wave underline */
|
|
10252
10324
|
WAVE: "wave",
|
|
10325
|
+
/** Heavy wave underline */
|
|
10253
10326
|
WAVYHEAVY: "wavyHeavy",
|
|
10327
|
+
/** Double wave underline */
|
|
10254
10328
|
WAVYDOUBLE: "wavyDouble",
|
|
10329
|
+
/** No underline */
|
|
10255
10330
|
NONE: "none"
|
|
10256
10331
|
};
|
|
10257
10332
|
/**
|
|
@@ -10337,12 +10412,19 @@
|
|
|
10337
10412
|
* @publicApi
|
|
10338
10413
|
*/
|
|
10339
10414
|
var TextEffect = {
|
|
10415
|
+
/** Blinking background animation */
|
|
10340
10416
|
BLINK_BACKGROUND: "blinkBackground",
|
|
10417
|
+
/** Lights animation effect */
|
|
10341
10418
|
LIGHTS: "lights",
|
|
10419
|
+
/** Black marching ants animation */
|
|
10342
10420
|
ANTS_BLACK: "antsBlack",
|
|
10421
|
+
/** Red marching ants animation */
|
|
10343
10422
|
ANTS_RED: "antsRed",
|
|
10423
|
+
/** Shimmer animation effect */
|
|
10344
10424
|
SHIMMER: "shimmer",
|
|
10425
|
+
/** Sparkle animation effect */
|
|
10345
10426
|
SPARKLE: "sparkle",
|
|
10427
|
+
/** No text effect */
|
|
10346
10428
|
NONE: "none"
|
|
10347
10429
|
};
|
|
10348
10430
|
/**
|
|
@@ -10378,22 +10460,39 @@
|
|
|
10378
10460
|
* ```
|
|
10379
10461
|
*/
|
|
10380
10462
|
var HighlightColor = {
|
|
10463
|
+
/** Black highlight */
|
|
10381
10464
|
BLACK: "black",
|
|
10465
|
+
/** Blue highlight */
|
|
10382
10466
|
BLUE: "blue",
|
|
10467
|
+
/** Cyan highlight */
|
|
10383
10468
|
CYAN: "cyan",
|
|
10469
|
+
/** Dark blue highlight */
|
|
10384
10470
|
DARK_BLUE: "darkBlue",
|
|
10471
|
+
/** Dark cyan highlight */
|
|
10385
10472
|
DARK_CYAN: "darkCyan",
|
|
10473
|
+
/** Dark gray highlight */
|
|
10386
10474
|
DARK_GRAY: "darkGray",
|
|
10475
|
+
/** Dark green highlight */
|
|
10387
10476
|
DARK_GREEN: "darkGreen",
|
|
10477
|
+
/** Dark magenta highlight */
|
|
10388
10478
|
DARK_MAGENTA: "darkMagenta",
|
|
10479
|
+
/** Dark red highlight */
|
|
10389
10480
|
DARK_RED: "darkRed",
|
|
10481
|
+
/** Dark yellow highlight */
|
|
10390
10482
|
DARK_YELLOW: "darkYellow",
|
|
10483
|
+
/** Green highlight */
|
|
10391
10484
|
GREEN: "green",
|
|
10485
|
+
/** Light gray highlight */
|
|
10392
10486
|
LIGHT_GRAY: "lightGray",
|
|
10487
|
+
/** Magenta highlight */
|
|
10393
10488
|
MAGENTA: "magenta",
|
|
10489
|
+
/** No highlight */
|
|
10394
10490
|
NONE: "none",
|
|
10491
|
+
/** Red highlight */
|
|
10395
10492
|
RED: "red",
|
|
10493
|
+
/** White highlight */
|
|
10396
10494
|
WHITE: "white",
|
|
10495
|
+
/** Yellow highlight */
|
|
10397
10496
|
YELLOW: "yellow"
|
|
10398
10497
|
};
|
|
10399
10498
|
/**
|
|
@@ -10548,9 +10647,13 @@
|
|
|
10548
10647
|
* @publicApi
|
|
10549
10648
|
*/
|
|
10550
10649
|
var PageNumber = {
|
|
10650
|
+
/** Inserts the current page number */
|
|
10551
10651
|
CURRENT: "CURRENT",
|
|
10652
|
+
/** Inserts the total number of pages in the document */
|
|
10552
10653
|
TOTAL_PAGES: "TOTAL_PAGES",
|
|
10654
|
+
/** Inserts the total number of pages in the current section */
|
|
10553
10655
|
TOTAL_PAGES_IN_SECTION: "TOTAL_PAGES_IN_SECTION",
|
|
10656
|
+
/** Inserts the current section number */
|
|
10554
10657
|
CURRENT_SECTION: "SECTION"
|
|
10555
10658
|
};
|
|
10556
10659
|
/**
|
|
@@ -12173,7 +12276,7 @@
|
|
|
12173
12276
|
};
|
|
12174
12277
|
}));
|
|
12175
12278
|
//#endregion
|
|
12176
|
-
//#region node_modules/nanoid/
|
|
12279
|
+
//#region node_modules/nanoid/url-alphabet/index.js
|
|
12177
12280
|
var import_hash = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
12178
12281
|
var hash = exports;
|
|
12179
12282
|
hash.utils = require_utils();
|
|
@@ -12189,18 +12292,20 @@
|
|
|
12189
12292
|
hash.ripemd160 = hash.ripemd.ripemd160;
|
|
12190
12293
|
})))(), 1);
|
|
12191
12294
|
var urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
12295
|
+
//#endregion
|
|
12296
|
+
//#region node_modules/nanoid/non-secure/index.js
|
|
12192
12297
|
var customAlphabet = (alphabet, defaultSize = 21) => {
|
|
12193
12298
|
return (size = defaultSize) => {
|
|
12194
12299
|
let id = "";
|
|
12195
12300
|
let i = size | 0;
|
|
12196
|
-
while (i--) id += alphabet[Math.random() * alphabet.length | 0];
|
|
12301
|
+
while (i-- > 0) id += alphabet[Math.random() * alphabet.length | 0];
|
|
12197
12302
|
return id;
|
|
12198
12303
|
};
|
|
12199
12304
|
};
|
|
12200
12305
|
var nanoid = (size = 21) => {
|
|
12201
12306
|
let id = "";
|
|
12202
12307
|
let i = size | 0;
|
|
12203
|
-
while (i--) id += urlAlphabet[Math.random() * 64 | 0];
|
|
12308
|
+
while (i-- > 0) id += urlAlphabet[Math.random() * 64 | 0];
|
|
12204
12309
|
return id;
|
|
12205
12310
|
};
|
|
12206
12311
|
//#endregion
|
|
@@ -12409,13 +12514,53 @@
|
|
|
12409
12514
|
* @publicApi
|
|
12410
12515
|
*/
|
|
12411
12516
|
var HorizontalPositionRelativeFrom = {
|
|
12517
|
+
/**
|
|
12518
|
+
* ## Character
|
|
12519
|
+
*
|
|
12520
|
+
* Specifies that the horizontal positioning shall be relative to the position of the anchor within its run content.
|
|
12521
|
+
*/
|
|
12412
12522
|
CHARACTER: "character",
|
|
12523
|
+
/**
|
|
12524
|
+
* ## Column
|
|
12525
|
+
*
|
|
12526
|
+
* Specifies that the horizontal positioning shall be relative to the extents of the column which contains its anchor.
|
|
12527
|
+
*/
|
|
12413
12528
|
COLUMN: "column",
|
|
12529
|
+
/**
|
|
12530
|
+
* ## Inside Margin
|
|
12531
|
+
*
|
|
12532
|
+
* 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).
|
|
12533
|
+
*/
|
|
12414
12534
|
INSIDE_MARGIN: "insideMargin",
|
|
12535
|
+
/**
|
|
12536
|
+
* ## Left Margin
|
|
12537
|
+
*
|
|
12538
|
+
* Specifies that the horizontal positioning shall be relative to the left margin of the page.
|
|
12539
|
+
*/
|
|
12415
12540
|
LEFT_MARGIN: "leftMargin",
|
|
12541
|
+
/**
|
|
12542
|
+
* ## Page Margin
|
|
12543
|
+
*
|
|
12544
|
+
* Specifies that the horizontal positioning shall be relative to the page margins.
|
|
12545
|
+
*/
|
|
12416
12546
|
MARGIN: "margin",
|
|
12547
|
+
/**
|
|
12548
|
+
* ## Outside Margin
|
|
12549
|
+
*
|
|
12550
|
+
* 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).
|
|
12551
|
+
*/
|
|
12417
12552
|
OUTSIDE_MARGIN: "outsideMargin",
|
|
12553
|
+
/**
|
|
12554
|
+
* ## Page Edge
|
|
12555
|
+
*
|
|
12556
|
+
* Specifies that the horizontal positioning shall be relative to the edge of the page.
|
|
12557
|
+
*/
|
|
12418
12558
|
PAGE: "page",
|
|
12559
|
+
/**
|
|
12560
|
+
* ## Right Margin
|
|
12561
|
+
*
|
|
12562
|
+
* Specifies that the horizontal positioning shall be relative to the right margin of the page.
|
|
12563
|
+
*/
|
|
12419
12564
|
RIGHT_MARGIN: "rightMargin"
|
|
12420
12565
|
};
|
|
12421
12566
|
/**
|
|
@@ -12444,13 +12589,53 @@
|
|
|
12444
12589
|
* @publicApi
|
|
12445
12590
|
*/
|
|
12446
12591
|
var VerticalPositionRelativeFrom = {
|
|
12592
|
+
/**
|
|
12593
|
+
* ## Bottom Margin
|
|
12594
|
+
*
|
|
12595
|
+
* Specifies that the vertical positioning shall be relative to the bottom margin of the current page.
|
|
12596
|
+
*/
|
|
12447
12597
|
BOTTOM_MARGIN: "bottomMargin",
|
|
12598
|
+
/**
|
|
12599
|
+
* ## Inside Margin
|
|
12600
|
+
*
|
|
12601
|
+
* Specifies that the vertical positioning shall be relative to the inside margin of the current page.
|
|
12602
|
+
*/
|
|
12448
12603
|
INSIDE_MARGIN: "insideMargin",
|
|
12604
|
+
/**
|
|
12605
|
+
* ## Line
|
|
12606
|
+
*
|
|
12607
|
+
* Specifies that the vertical positioning shall be relative to the line containing the anchor character.
|
|
12608
|
+
*/
|
|
12449
12609
|
LINE: "line",
|
|
12610
|
+
/**
|
|
12611
|
+
* ## Page Margin
|
|
12612
|
+
*
|
|
12613
|
+
* Specifies that the vertical positioning shall be relative to the page margins.
|
|
12614
|
+
*/
|
|
12450
12615
|
MARGIN: "margin",
|
|
12616
|
+
/**
|
|
12617
|
+
* ## Outside Margin
|
|
12618
|
+
*
|
|
12619
|
+
* Specifies that the vertical positioning shall be relative to the outside margin of the current page.
|
|
12620
|
+
*/
|
|
12451
12621
|
OUTSIDE_MARGIN: "outsideMargin",
|
|
12622
|
+
/**
|
|
12623
|
+
* ## Page Edge
|
|
12624
|
+
*
|
|
12625
|
+
* Specifies that the vertical positioning shall be relative to the edge of the page.
|
|
12626
|
+
*/
|
|
12452
12627
|
PAGE: "page",
|
|
12628
|
+
/**
|
|
12629
|
+
* ## Paragraph
|
|
12630
|
+
*
|
|
12631
|
+
* Specifies that the vertical positioning shall be relative to the paragraph which contains the drawing anchor.
|
|
12632
|
+
*/
|
|
12453
12633
|
PARAGRAPH: "paragraph",
|
|
12634
|
+
/**
|
|
12635
|
+
* ## Top Margin
|
|
12636
|
+
*
|
|
12637
|
+
* Specifies that the vertical positioning shall be relative to the top margin of the current page.
|
|
12638
|
+
*/
|
|
12454
12639
|
TOP_MARGIN: "topMargin"
|
|
12455
12640
|
};
|
|
12456
12641
|
//#endregion
|
|
@@ -14153,9 +14338,13 @@
|
|
|
14153
14338
|
* @publicApi
|
|
14154
14339
|
*/
|
|
14155
14340
|
var TextWrappingSide = {
|
|
14341
|
+
/** Text wraps on both sides of the drawing */
|
|
14156
14342
|
BOTH_SIDES: "bothSides",
|
|
14343
|
+
/** Text wraps only on the left side */
|
|
14157
14344
|
LEFT: "left",
|
|
14345
|
+
/** Text wraps only on the right side */
|
|
14158
14346
|
RIGHT: "right",
|
|
14347
|
+
/** Text wraps on the side with more space */
|
|
14159
14348
|
LARGEST: "largest"
|
|
14160
14349
|
};
|
|
14161
14350
|
//#endregion
|
|
@@ -15191,7 +15380,9 @@
|
|
|
15191
15380
|
*
|
|
15192
15381
|
* Indicates whether a relationship target is external to the package.
|
|
15193
15382
|
*/
|
|
15194
|
-
var TargetModeType = {
|
|
15383
|
+
var TargetModeType = {
|
|
15384
|
+
/** Target is external to the package (e.g., hyperlink to a URL) */
|
|
15385
|
+
EXTERNAL: "External" };
|
|
15195
15386
|
/**
|
|
15196
15387
|
* Creates a single relationship between parts in an OPC package.
|
|
15197
15388
|
*
|
|
@@ -15549,6 +15740,7 @@
|
|
|
15549
15740
|
super("w:comments");
|
|
15550
15741
|
_defineProperty(this, "relationships", void 0);
|
|
15551
15742
|
_defineProperty(this, "threadData", void 0);
|
|
15743
|
+
_defineProperty(this, "commentIdsData", void 0);
|
|
15552
15744
|
this.root.push(new RootCommentsAttributes({
|
|
15553
15745
|
"xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex",
|
|
15554
15746
|
"xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",
|
|
@@ -15582,14 +15774,23 @@
|
|
|
15582
15774
|
"xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml",
|
|
15583
15775
|
"xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"
|
|
15584
15776
|
}));
|
|
15585
|
-
|
|
15777
|
+
const hasThreading = children.some((child) => child.parentId !== void 0);
|
|
15778
|
+
const hasDurableIds = children.some((child) => child.durableId !== void 0);
|
|
15779
|
+
if (hasThreading || hasDurableIds) {
|
|
15586
15780
|
const idToParaId = new Map(children.map((child) => [child.id, commentIdToParaId(child.id)]));
|
|
15587
15781
|
for (const child of children) this.root.push(new Comment(child, idToParaId.get(child.id)));
|
|
15588
|
-
this.threadData = children.map((child) => ({
|
|
15782
|
+
if (hasThreading) this.threadData = children.map((child) => ({
|
|
15589
15783
|
paraId: idToParaId.get(child.id),
|
|
15590
15784
|
parentParaId: child.parentId !== void 0 ? idToParaId.get(child.parentId) : void 0,
|
|
15591
15785
|
done: child.resolved
|
|
15592
15786
|
}));
|
|
15787
|
+
if (hasDurableIds) this.commentIdsData = children.map((child) => {
|
|
15788
|
+
var _child$durableId;
|
|
15789
|
+
return {
|
|
15790
|
+
paraId: idToParaId.get(child.id),
|
|
15791
|
+
durableId: (_child$durableId = child.durableId) !== null && _child$durableId !== void 0 ? _child$durableId : idToParaId.get(child.id)
|
|
15792
|
+
};
|
|
15793
|
+
});
|
|
15593
15794
|
} else for (const child of children) this.root.push(new Comment(child));
|
|
15594
15795
|
this.relationships = new Relationships();
|
|
15595
15796
|
}
|
|
@@ -15600,6 +15801,10 @@
|
|
|
15600
15801
|
get ThreadData() {
|
|
15601
15802
|
return this.threadData;
|
|
15602
15803
|
}
|
|
15804
|
+
/** Comment id data for commentsIds.xml, or undefined when no comments carry a durableId. */
|
|
15805
|
+
get CommentIdsData() {
|
|
15806
|
+
return this.commentIdsData;
|
|
15807
|
+
}
|
|
15603
15808
|
};
|
|
15604
15809
|
//#endregion
|
|
15605
15810
|
//#region src/file/paragraph/run/comments-extended.ts
|
|
@@ -15680,6 +15885,69 @@
|
|
|
15680
15885
|
for (const data of threadData) this.root.push(new CommentEx(data));
|
|
15681
15886
|
}
|
|
15682
15887
|
};
|
|
15888
|
+
/**
|
|
15889
|
+
* @internal
|
|
15890
|
+
*/
|
|
15891
|
+
var CommentIdAttributes = class extends XmlAttributeComponent {
|
|
15892
|
+
constructor(..._args3) {
|
|
15893
|
+
super(..._args3);
|
|
15894
|
+
_defineProperty(this, "xmlKeys", {
|
|
15895
|
+
paraId: "w16cid:paraId",
|
|
15896
|
+
durableId: "w16cid:durableId"
|
|
15897
|
+
});
|
|
15898
|
+
}
|
|
15899
|
+
};
|
|
15900
|
+
/**
|
|
15901
|
+
* @internal
|
|
15902
|
+
*/
|
|
15903
|
+
var CommentId = class extends XmlComponent {
|
|
15904
|
+
constructor(options) {
|
|
15905
|
+
super("w16cid:commentId");
|
|
15906
|
+
this.root.push(new CommentIdAttributes({
|
|
15907
|
+
paraId: options.paraId,
|
|
15908
|
+
durableId: options.durableId
|
|
15909
|
+
}));
|
|
15910
|
+
}
|
|
15911
|
+
};
|
|
15912
|
+
/**
|
|
15913
|
+
* @internal
|
|
15914
|
+
*/
|
|
15915
|
+
var CommentsIdsAttributes = class extends XmlAttributeComponent {
|
|
15916
|
+
constructor(..._args4) {
|
|
15917
|
+
super(..._args4);
|
|
15918
|
+
_defineProperty(this, "xmlKeys", {
|
|
15919
|
+
"xmlns:w16cid": "xmlns:w16cid",
|
|
15920
|
+
"xmlns:mc": "xmlns:mc",
|
|
15921
|
+
"mc:Ignorable": "mc:Ignorable"
|
|
15922
|
+
});
|
|
15923
|
+
}
|
|
15924
|
+
};
|
|
15925
|
+
/**
|
|
15926
|
+
* Represents the commentsIds part (word/commentsIds.xml).
|
|
15927
|
+
*
|
|
15928
|
+
* Contains w16cid:commentId elements that map each comment's volatile paraId
|
|
15929
|
+
* to a stable w16cid:durableId preserved by Word across edits.
|
|
15930
|
+
*
|
|
15931
|
+
* ## XSD Schema (wml-cid.xsd)
|
|
15932
|
+
* ```xml
|
|
15933
|
+
* <xsd:complexType name="CT_CommentsIds">
|
|
15934
|
+
* <xsd:sequence>
|
|
15935
|
+
* <xsd:element name="commentId" type="CT_CommentId" minOccurs="0" maxOccurs="unbounded"/>
|
|
15936
|
+
* </xsd:sequence>
|
|
15937
|
+
* </xsd:complexType>
|
|
15938
|
+
* ```
|
|
15939
|
+
*/
|
|
15940
|
+
var CommentsIds = class extends XmlComponent {
|
|
15941
|
+
constructor(commentIdsData) {
|
|
15942
|
+
super("w16cid:commentsIds");
|
|
15943
|
+
this.root.push(new CommentsIdsAttributes({
|
|
15944
|
+
"xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid",
|
|
15945
|
+
"xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006",
|
|
15946
|
+
"mc:Ignorable": "w16cid"
|
|
15947
|
+
}));
|
|
15948
|
+
for (const data of commentIdsData) this.root.push(new CommentId(data));
|
|
15949
|
+
}
|
|
15950
|
+
};
|
|
15683
15951
|
//#endregion
|
|
15684
15952
|
//#region src/file/paragraph/run/empty-children.ts
|
|
15685
15953
|
/**
|
|
@@ -15897,8 +16165,11 @@
|
|
|
15897
16165
|
* @publicApi
|
|
15898
16166
|
*/
|
|
15899
16167
|
var PositionalTabAlignment = {
|
|
16168
|
+
/** Left-aligned tab */
|
|
15900
16169
|
LEFT: "left",
|
|
16170
|
+
/** Center-aligned tab */
|
|
15901
16171
|
CENTER: "center",
|
|
16172
|
+
/** Right-aligned tab */
|
|
15902
16173
|
RIGHT: "right"
|
|
15903
16174
|
};
|
|
15904
16175
|
/**
|
|
@@ -15919,7 +16190,9 @@
|
|
|
15919
16190
|
* @publicApi
|
|
15920
16191
|
*/
|
|
15921
16192
|
var PositionalTabRelativeTo = {
|
|
16193
|
+
/** Position relative to margin */
|
|
15922
16194
|
MARGIN: "margin",
|
|
16195
|
+
/** Position relative to indent */
|
|
15923
16196
|
INDENT: "indent"
|
|
15924
16197
|
};
|
|
15925
16198
|
/**
|
|
@@ -15943,10 +16216,15 @@
|
|
|
15943
16216
|
* @publicApi
|
|
15944
16217
|
*/
|
|
15945
16218
|
var PositionalTabLeader = {
|
|
16219
|
+
/** No leader character */
|
|
15946
16220
|
NONE: "none",
|
|
16221
|
+
/** Dot leader (...) */
|
|
15947
16222
|
DOT: "dot",
|
|
16223
|
+
/** Hyphen leader (---) */
|
|
15948
16224
|
HYPHEN: "hyphen",
|
|
16225
|
+
/** Underscore leader (___) */
|
|
15949
16226
|
UNDERSCORE: "underscore",
|
|
16227
|
+
/** Middle dot leader (···) */
|
|
15950
16228
|
MIDDLE_DOT: "middleDot"
|
|
15951
16229
|
};
|
|
15952
16230
|
var PositionalTabAttributes = class extends XmlAttributeComponent {
|
|
@@ -16015,7 +16293,9 @@
|
|
|
16015
16293
|
* @internal
|
|
16016
16294
|
*/
|
|
16017
16295
|
var BreakType = {
|
|
16296
|
+
/** Column break - text continues at the beginning of the next column */
|
|
16018
16297
|
COLUMN: "column",
|
|
16298
|
+
/** Page break - text continues at the beginning of the next page */
|
|
16019
16299
|
PAGE: "page"
|
|
16020
16300
|
};
|
|
16021
16301
|
/**
|
|
@@ -16135,9 +16415,13 @@
|
|
|
16135
16415
|
* @publicApi
|
|
16136
16416
|
*/
|
|
16137
16417
|
var LineRuleType = {
|
|
16418
|
+
/** Line spacing is at least the specified value */
|
|
16138
16419
|
AT_LEAST: "atLeast",
|
|
16420
|
+
/** Line spacing is exactly the specified value */
|
|
16139
16421
|
EXACTLY: "exactly",
|
|
16422
|
+
/** Line spacing is exactly the specified value (alias for EXACTLY) */
|
|
16140
16423
|
EXACT: "exact",
|
|
16424
|
+
/** Line spacing is automatically determined based on content */
|
|
16141
16425
|
AUTO: "auto"
|
|
16142
16426
|
};
|
|
16143
16427
|
/**
|
|
@@ -16220,12 +16504,19 @@
|
|
|
16220
16504
|
* @publicApi
|
|
16221
16505
|
*/
|
|
16222
16506
|
var HeadingLevel = {
|
|
16507
|
+
/** Heading 1 style */
|
|
16223
16508
|
HEADING_1: "Heading1",
|
|
16509
|
+
/** Heading 2 style */
|
|
16224
16510
|
HEADING_2: "Heading2",
|
|
16511
|
+
/** Heading 3 style */
|
|
16225
16512
|
HEADING_3: "Heading3",
|
|
16513
|
+
/** Heading 4 style */
|
|
16226
16514
|
HEADING_4: "Heading4",
|
|
16515
|
+
/** Heading 5 style */
|
|
16227
16516
|
HEADING_5: "Heading5",
|
|
16517
|
+
/** Heading 6 style */
|
|
16228
16518
|
HEADING_6: "Heading6",
|
|
16519
|
+
/** Title style */
|
|
16229
16520
|
TITLE: "Title"
|
|
16230
16521
|
};
|
|
16231
16522
|
/**
|
|
@@ -16283,14 +16574,23 @@
|
|
|
16283
16574
|
* @publicApi
|
|
16284
16575
|
*/
|
|
16285
16576
|
var TabStopType = {
|
|
16577
|
+
/** Left-aligned tab stop */
|
|
16286
16578
|
LEFT: "left",
|
|
16579
|
+
/** Right-aligned tab stop */
|
|
16287
16580
|
RIGHT: "right",
|
|
16581
|
+
/** Center-aligned tab stop */
|
|
16288
16582
|
CENTER: "center",
|
|
16583
|
+
/** Bar tab stop - inserts a vertical bar at the position */
|
|
16289
16584
|
BAR: "bar",
|
|
16585
|
+
/** Clears a tab stop at the specified position */
|
|
16290
16586
|
CLEAR: "clear",
|
|
16587
|
+
/** Decimal-aligned tab stop - aligns on decimal point */
|
|
16291
16588
|
DECIMAL: "decimal",
|
|
16589
|
+
/** End-aligned tab stop (right-to-left equivalent) */
|
|
16292
16590
|
END: "end",
|
|
16591
|
+
/** List tab stop for numbered lists */
|
|
16293
16592
|
NUM: "num",
|
|
16593
|
+
/** Start-aligned tab stop (left-to-right equivalent) */
|
|
16294
16594
|
START: "start"
|
|
16295
16595
|
};
|
|
16296
16596
|
/**
|
|
@@ -16301,10 +16601,15 @@
|
|
|
16301
16601
|
* @publicApi
|
|
16302
16602
|
*/
|
|
16303
16603
|
var LeaderType = {
|
|
16604
|
+
/** Dot leader (....) */
|
|
16304
16605
|
DOT: "dot",
|
|
16606
|
+
/** Hyphen leader (----) */
|
|
16305
16607
|
HYPHEN: "hyphen",
|
|
16608
|
+
/** Middle dot leader (····) */
|
|
16306
16609
|
MIDDLE_DOT: "middleDot",
|
|
16610
|
+
/** No leader */
|
|
16307
16611
|
NONE: "none",
|
|
16612
|
+
/** Underscore leader (____) */
|
|
16308
16613
|
UNDERSCORE: "underscore"
|
|
16309
16614
|
};
|
|
16310
16615
|
/**
|
|
@@ -16312,7 +16617,9 @@
|
|
|
16312
16617
|
*
|
|
16313
16618
|
* @publicApi
|
|
16314
16619
|
*/
|
|
16315
|
-
var TabStopPosition = {
|
|
16620
|
+
var TabStopPosition = {
|
|
16621
|
+
/** Maximum tab stop position (right margin) */
|
|
16622
|
+
MAX: 9026 };
|
|
16316
16623
|
/**
|
|
16317
16624
|
* Creates a single tab stop item element.
|
|
16318
16625
|
*
|
|
@@ -16543,7 +16850,9 @@
|
|
|
16543
16850
|
* @publicApi
|
|
16544
16851
|
*/
|
|
16545
16852
|
var HyperlinkType = {
|
|
16853
|
+
/** Internal hyperlink to a bookmark within the document */
|
|
16546
16854
|
INTERNAL: "INTERNAL",
|
|
16855
|
+
/** External hyperlink to a URL outside the document */
|
|
16547
16856
|
EXTERNAL: "EXTERNAL"
|
|
16548
16857
|
};
|
|
16549
16858
|
/**
|
|
@@ -16659,6 +16968,7 @@
|
|
|
16659
16968
|
var ExternalHyperlink = class extends XmlComponent {
|
|
16660
16969
|
constructor(options) {
|
|
16661
16970
|
super("w:externalHyperlink");
|
|
16971
|
+
_defineProperty(this, "options", void 0);
|
|
16662
16972
|
this.options = options;
|
|
16663
16973
|
}
|
|
16664
16974
|
};
|
|
@@ -16908,10 +17218,10 @@
|
|
|
16908
17218
|
return NumberedItemReferenceFormat;
|
|
16909
17219
|
}({});
|
|
16910
17220
|
var SWITCH_MAP = {
|
|
16911
|
-
[
|
|
16912
|
-
[
|
|
16913
|
-
[
|
|
16914
|
-
[
|
|
17221
|
+
["relative"]: "\\r",
|
|
17222
|
+
["no_context"]: "\\n",
|
|
17223
|
+
["full_context"]: "\\w",
|
|
17224
|
+
["none"]: void 0
|
|
16915
17225
|
};
|
|
16916
17226
|
/**
|
|
16917
17227
|
* Creates a field/cross reference to a numbered item in the document.
|
|
@@ -16930,7 +17240,7 @@
|
|
|
16930
17240
|
*/
|
|
16931
17241
|
var NumberedItemReference = class extends SimpleField {
|
|
16932
17242
|
constructor(bookmarkId, cachedValue, options = {}) {
|
|
16933
|
-
const { hyperlink = true, referenceFormat =
|
|
17243
|
+
const { hyperlink = true, referenceFormat = "full_context" } = options;
|
|
16934
17244
|
const instruction = `${`REF ${bookmarkId}`} ${[...hyperlink ? ["\\h"] : [], ...[SWITCH_MAP[referenceFormat]].filter((a) => !!a)].join(" ")}`;
|
|
16935
17245
|
super(instruction, cachedValue);
|
|
16936
17246
|
}
|
|
@@ -17346,6 +17656,7 @@
|
|
|
17346
17656
|
*/
|
|
17347
17657
|
var FontWrapper = class {
|
|
17348
17658
|
constructor(options) {
|
|
17659
|
+
_defineProperty(this, "options", void 0);
|
|
17349
17660
|
_defineProperty(this, "fontTable", void 0);
|
|
17350
17661
|
_defineProperty(this, "relationships", void 0);
|
|
17351
17662
|
_defineProperty(this, "fontOptionsWithKey", []);
|
|
@@ -17397,8 +17708,11 @@
|
|
|
17397
17708
|
* beginning of a paragraph. This enum defines how the drop cap should be positioned.
|
|
17398
17709
|
*/
|
|
17399
17710
|
var DropCapType = {
|
|
17711
|
+
/** No drop cap effect */
|
|
17400
17712
|
NONE: "none",
|
|
17713
|
+
/** Drop cap that drops down into the paragraph text */
|
|
17401
17714
|
DROP: "drop",
|
|
17715
|
+
/** Drop cap that extends into the margin */
|
|
17402
17716
|
MARGIN: "margin"
|
|
17403
17717
|
};
|
|
17404
17718
|
/**
|
|
@@ -17407,8 +17721,11 @@
|
|
|
17407
17721
|
* Determines the reference point for frame positioning (horizontal and vertical).
|
|
17408
17722
|
*/
|
|
17409
17723
|
var FrameAnchorType = {
|
|
17724
|
+
/** Anchor relative to the page margin */
|
|
17410
17725
|
MARGIN: "margin",
|
|
17726
|
+
/** Anchor relative to the page edge */
|
|
17411
17727
|
PAGE: "page",
|
|
17728
|
+
/** Anchor relative to the text column */
|
|
17412
17729
|
TEXT: "text"
|
|
17413
17730
|
};
|
|
17414
17731
|
/**
|
|
@@ -17417,11 +17734,17 @@
|
|
|
17417
17734
|
* Controls how surrounding text wraps around the frame.
|
|
17418
17735
|
*/
|
|
17419
17736
|
var FrameWrap = {
|
|
17737
|
+
/** Wrap text around the frame on all sides */
|
|
17420
17738
|
AROUND: "around",
|
|
17739
|
+
/** Automatic wrapping based on available space */
|
|
17421
17740
|
AUTO: "auto",
|
|
17741
|
+
/** No text wrapping */
|
|
17422
17742
|
NONE: "none",
|
|
17743
|
+
/** Do not allow text beside the frame */
|
|
17423
17744
|
NOT_BESIDE: "notBeside",
|
|
17745
|
+
/** Allow text to flow through the frame */
|
|
17424
17746
|
THROUGH: "through",
|
|
17747
|
+
/** Wrap text tightly around the frame */
|
|
17425
17748
|
TIGHT: "tight"
|
|
17426
17749
|
};
|
|
17427
17750
|
/**
|
|
@@ -19920,7 +20243,13 @@
|
|
|
19920
20243
|
* Vertical merge revision types.
|
|
19921
20244
|
*/
|
|
19922
20245
|
var VerticalMergeRevisionType = {
|
|
20246
|
+
/**
|
|
20247
|
+
* Cell that is merged with upper one.
|
|
20248
|
+
*/
|
|
19923
20249
|
CONTINUE: "cont",
|
|
20250
|
+
/**
|
|
20251
|
+
* Cell that is starting the vertical merge.
|
|
20252
|
+
*/
|
|
19924
20253
|
RESTART: "rest"
|
|
19925
20254
|
};
|
|
19926
20255
|
var CellMergeAttributes = class extends XmlAttributeComponent {
|
|
@@ -20157,9 +20486,13 @@
|
|
|
20157
20486
|
* @publicApi
|
|
20158
20487
|
*/
|
|
20159
20488
|
var WidthType = {
|
|
20489
|
+
/** Auto. */
|
|
20160
20490
|
AUTO: "auto",
|
|
20491
|
+
/** Value is in twentieths of a point */
|
|
20161
20492
|
DXA: "dxa",
|
|
20493
|
+
/** No (empty) value. */
|
|
20162
20494
|
NIL: "nil",
|
|
20495
|
+
/** Value is in percentage. */
|
|
20163
20496
|
PERCENTAGE: "pct"
|
|
20164
20497
|
};
|
|
20165
20498
|
/**
|
|
@@ -20291,7 +20624,15 @@
|
|
|
20291
20624
|
* Defines the merge behavior for vertically merged cells (row span).
|
|
20292
20625
|
*/
|
|
20293
20626
|
var VerticalMergeType = {
|
|
20627
|
+
/**
|
|
20628
|
+
* Cell that is merged with upper one.
|
|
20629
|
+
* This cell continues a vertical merge started by a cell above it.
|
|
20630
|
+
*/
|
|
20294
20631
|
CONTINUE: "continue",
|
|
20632
|
+
/**
|
|
20633
|
+
* Cell that is starting the vertical merge.
|
|
20634
|
+
* This cell begins a new vertical merge region.
|
|
20635
|
+
*/
|
|
20295
20636
|
RESTART: "restart"
|
|
20296
20637
|
};
|
|
20297
20638
|
/**
|
|
@@ -20340,8 +20681,11 @@
|
|
|
20340
20681
|
* Specifies the direction in which text flows within a table cell.
|
|
20341
20682
|
*/
|
|
20342
20683
|
var TextDirection = {
|
|
20684
|
+
/** Text flows from bottom to top, left to right */
|
|
20343
20685
|
BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr",
|
|
20686
|
+
/** Text flows from left to right, top to bottom (default) */
|
|
20344
20687
|
LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb",
|
|
20688
|
+
/** Text flows from top to bottom, right to left */
|
|
20345
20689
|
TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl"
|
|
20346
20690
|
};
|
|
20347
20691
|
/**
|
|
@@ -20545,6 +20889,7 @@
|
|
|
20545
20889
|
var TableCell = class extends XmlComponent {
|
|
20546
20890
|
constructor(options) {
|
|
20547
20891
|
super("w:tc");
|
|
20892
|
+
_defineProperty(this, "options", void 0);
|
|
20548
20893
|
this.options = options;
|
|
20549
20894
|
this.root.push(new TableCellProperties(options));
|
|
20550
20895
|
for (const child of options.children) this.root.push(child);
|
|
@@ -20794,7 +21139,9 @@
|
|
|
20794
21139
|
* @publicApi
|
|
20795
21140
|
*/
|
|
20796
21141
|
var TableLayoutType = {
|
|
21142
|
+
/** Auto-fit layout - column widths are adjusted based on content */
|
|
20797
21143
|
AUTOFIT: "autofit",
|
|
21144
|
+
/** Fixed layout - column widths are fixed as specified */
|
|
20798
21145
|
FIXED: "fixed"
|
|
20799
21146
|
};
|
|
20800
21147
|
/**
|
|
@@ -20847,7 +21194,9 @@
|
|
|
20847
21194
|
* ```
|
|
20848
21195
|
*/
|
|
20849
21196
|
var CellSpacingType = {
|
|
21197
|
+
/** Value is in twentieths of a point */
|
|
20850
21198
|
DXA: "dxa",
|
|
21199
|
+
/** No (empty) value. */
|
|
20851
21200
|
NIL: "nil"
|
|
20852
21201
|
};
|
|
20853
21202
|
/**
|
|
@@ -21160,8 +21509,11 @@
|
|
|
21160
21509
|
* @publicApi
|
|
21161
21510
|
*/
|
|
21162
21511
|
var HeightRule = {
|
|
21512
|
+
/** Height is determined based on the content, so value is ignored. */
|
|
21163
21513
|
AUTO: "auto",
|
|
21514
|
+
/** At least the value specified */
|
|
21164
21515
|
ATLEAST: "atLeast",
|
|
21516
|
+
/** Exactly the value specified */
|
|
21165
21517
|
EXACT: "exact"
|
|
21166
21518
|
};
|
|
21167
21519
|
/**
|
|
@@ -21339,6 +21691,7 @@
|
|
|
21339
21691
|
var TableRow = class extends XmlComponent {
|
|
21340
21692
|
constructor(options) {
|
|
21341
21693
|
super("w:tr");
|
|
21694
|
+
_defineProperty(this, "options", void 0);
|
|
21342
21695
|
this.options = options;
|
|
21343
21696
|
this.root.push(new TableRowProperties(options));
|
|
21344
21697
|
for (const child of options.children) this.root.push(child);
|
|
@@ -21605,6 +21958,12 @@
|
|
|
21605
21958
|
this.root.push(createOverride("application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtended+xml", "/word/commentsExtended.xml"));
|
|
21606
21959
|
}
|
|
21607
21960
|
/**
|
|
21961
|
+
* Registers the commentsIds part in the content types.
|
|
21962
|
+
*/
|
|
21963
|
+
addCommentsIds() {
|
|
21964
|
+
this.root.push(createOverride("application/vnd.openxmlformats-officedocument.wordprocessingml.commentsIds+xml", "/word/commentsIds.xml"));
|
|
21965
|
+
}
|
|
21966
|
+
/**
|
|
21608
21967
|
* Registers a footer part in the content types.
|
|
21609
21968
|
*
|
|
21610
21969
|
* @param index - Footer index number (e.g., 1 for footer1.xml)
|
|
@@ -22052,9 +22411,24 @@
|
|
|
22052
22411
|
* ```
|
|
22053
22412
|
*/
|
|
22054
22413
|
var DocumentGridType = {
|
|
22414
|
+
/**
|
|
22415
|
+
* Specifies that no document grid shall be applied to the contents of the current section in the document.
|
|
22416
|
+
*/
|
|
22055
22417
|
DEFAULT: "default",
|
|
22418
|
+
/**
|
|
22419
|
+
* 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.
|
|
22420
|
+
*/
|
|
22056
22421
|
LINES: "lines",
|
|
22422
|
+
/**
|
|
22423
|
+
* 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.
|
|
22424
|
+
*
|
|
22425
|
+
* When this value is set, the input specified via the user interface may be allowed in exact number of line/character pitch units. */
|
|
22057
22426
|
LINES_AND_CHARS: "linesAndChars",
|
|
22427
|
+
/**
|
|
22428
|
+
* 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.
|
|
22429
|
+
*
|
|
22430
|
+
* 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
|
|
22431
|
+
*/
|
|
22058
22432
|
SNAP_TO_CHARS: "snapToChars"
|
|
22059
22433
|
};
|
|
22060
22434
|
/**
|
|
@@ -22107,8 +22481,11 @@
|
|
|
22107
22481
|
* ```
|
|
22108
22482
|
*/
|
|
22109
22483
|
var HeaderFooterReferenceType = {
|
|
22484
|
+
/** 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). */
|
|
22110
22485
|
DEFAULT: "default",
|
|
22486
|
+
/** 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). */
|
|
22111
22487
|
FIRST: "first",
|
|
22488
|
+
/** 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). */
|
|
22112
22489
|
EVEN: "even"
|
|
22113
22490
|
};
|
|
22114
22491
|
var HeaderFooterType = {
|
|
@@ -22150,8 +22527,23 @@
|
|
|
22150
22527
|
* @publicApi
|
|
22151
22528
|
*/
|
|
22152
22529
|
var LineNumberRestartFormat = {
|
|
22530
|
+
/**
|
|
22531
|
+
* ## Restart Line Numbering on Each Page
|
|
22532
|
+
*
|
|
22533
|
+
* Specifies that line numbering for the parent section shall restart to the starting value whenever a new page is displayed.
|
|
22534
|
+
*/
|
|
22153
22535
|
NEW_PAGE: "newPage",
|
|
22536
|
+
/**
|
|
22537
|
+
* ## Restart Line Numbering for Each Section
|
|
22538
|
+
*
|
|
22539
|
+
* Specifies that line numbering for the parent section shall restart to the starting value whenever the parent begins.
|
|
22540
|
+
*/
|
|
22154
22541
|
NEW_SECTION: "newSection",
|
|
22542
|
+
/**
|
|
22543
|
+
* ## Continue Line Numbering From Previous Section
|
|
22544
|
+
*
|
|
22545
|
+
* Specifies that line numbering for the parent section shall continue from the line numbering from the end of the previous section, if any.
|
|
22546
|
+
*/
|
|
22155
22547
|
CONTINUOUS: "continuous"
|
|
22156
22548
|
};
|
|
22157
22549
|
/**
|
|
@@ -22221,8 +22613,11 @@
|
|
|
22221
22613
|
* @publicApi
|
|
22222
22614
|
*/
|
|
22223
22615
|
var PageBorderDisplay = {
|
|
22616
|
+
/** Display border on all pages */
|
|
22224
22617
|
ALL_PAGES: "allPages",
|
|
22618
|
+
/** Display border only on first page */
|
|
22225
22619
|
FIRST_PAGE: "firstPage",
|
|
22620
|
+
/** Display border on all pages except first page */
|
|
22226
22621
|
NOT_FIRST_PAGE: "notFirstPage"
|
|
22227
22622
|
};
|
|
22228
22623
|
/**
|
|
@@ -22241,7 +22636,9 @@
|
|
|
22241
22636
|
* @publicApi
|
|
22242
22637
|
*/
|
|
22243
22638
|
var PageBorderOffsetFrom = {
|
|
22639
|
+
/** Position border relative to page edge */
|
|
22244
22640
|
PAGE: "page",
|
|
22641
|
+
/** Position border relative to text (default) */
|
|
22245
22642
|
TEXT: "text"
|
|
22246
22643
|
};
|
|
22247
22644
|
/**
|
|
@@ -22260,7 +22657,9 @@
|
|
|
22260
22657
|
* @publicApi
|
|
22261
22658
|
*/
|
|
22262
22659
|
var PageBorderZOrder = {
|
|
22660
|
+
/** Display border behind page contents */
|
|
22263
22661
|
BACK: "back",
|
|
22662
|
+
/** Display border in front of page contents (default) */
|
|
22264
22663
|
FRONT: "front"
|
|
22265
22664
|
};
|
|
22266
22665
|
var PageBordersAttributes = class extends XmlAttributeComponent {
|
|
@@ -22418,10 +22817,15 @@
|
|
|
22418
22817
|
* @publicApi
|
|
22419
22818
|
*/
|
|
22420
22819
|
var PageNumberSeparator = {
|
|
22820
|
+
/** Hyphen separator (-) */
|
|
22421
22821
|
HYPHEN: "hyphen",
|
|
22822
|
+
/** Period separator (.) */
|
|
22422
22823
|
PERIOD: "period",
|
|
22824
|
+
/** Colon separator (:) */
|
|
22423
22825
|
COLON: "colon",
|
|
22826
|
+
/** Em dash separator (—) */
|
|
22424
22827
|
EM_DASH: "emDash",
|
|
22828
|
+
/** En dash separator (–) */
|
|
22425
22829
|
EN_DASH: "endash"
|
|
22426
22830
|
};
|
|
22427
22831
|
/**
|
|
@@ -22489,7 +22893,17 @@
|
|
|
22489
22893
|
* @publicApi
|
|
22490
22894
|
*/
|
|
22491
22895
|
var PageOrientation = {
|
|
22896
|
+
/**
|
|
22897
|
+
* ## Portrait Mode
|
|
22898
|
+
*
|
|
22899
|
+
* Specifies that pages in this section shall be printed in portrait mode.
|
|
22900
|
+
*/
|
|
22492
22901
|
PORTRAIT: "portrait",
|
|
22902
|
+
/**
|
|
22903
|
+
* ## Landscape Mode
|
|
22904
|
+
*
|
|
22905
|
+
* 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.
|
|
22906
|
+
*/
|
|
22493
22907
|
LANDSCAPE: "landscape"
|
|
22494
22908
|
};
|
|
22495
22909
|
/**
|
|
@@ -22551,7 +22965,9 @@
|
|
|
22551
22965
|
* vertically (top-to-bottom), commonly used for East Asian languages.
|
|
22552
22966
|
*/
|
|
22553
22967
|
var PageTextDirectionType = {
|
|
22968
|
+
/** Left-to-right, top-to-bottom (standard Western text flow) */
|
|
22554
22969
|
LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb",
|
|
22970
|
+
/** Top-to-bottom, right-to-left (vertical East Asian text flow) */
|
|
22555
22971
|
TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl"
|
|
22556
22972
|
};
|
|
22557
22973
|
var PageTextDirectionAttributes = class extends XmlAttributeComponent {
|
|
@@ -22615,10 +23031,15 @@
|
|
|
22615
23031
|
* @publicApi
|
|
22616
23032
|
*/
|
|
22617
23033
|
var SectionType = {
|
|
23034
|
+
/** Section begins on the next page */
|
|
22618
23035
|
NEXT_PAGE: "nextPage",
|
|
23036
|
+
/** Section begins on the next column */
|
|
22619
23037
|
NEXT_COLUMN: "nextColumn",
|
|
23038
|
+
/** Section begins immediately following the previous section */
|
|
22620
23039
|
CONTINUOUS: "continuous",
|
|
23040
|
+
/** Section begins on the next even-numbered page */
|
|
22621
23041
|
EVEN_PAGE: "evenPage",
|
|
23042
|
+
/** Section begins on the next odd-numbered page */
|
|
22622
23043
|
ODD_PAGE: "oddPage"
|
|
22623
23044
|
};
|
|
22624
23045
|
/**
|
|
@@ -22669,12 +23090,19 @@
|
|
|
22669
23090
|
* @property GUTTER - Gutter margin: 0 twips
|
|
22670
23091
|
*/
|
|
22671
23092
|
var sectionMarginDefaults = {
|
|
23093
|
+
/** Top margin: 1440 twips (1 inch) */
|
|
22672
23094
|
TOP: 1440,
|
|
23095
|
+
/** Right margin: 1440 twips (1 inch) */
|
|
22673
23096
|
RIGHT: 1440,
|
|
23097
|
+
/** Bottom margin: 1440 twips (1 inch) */
|
|
22674
23098
|
BOTTOM: 1440,
|
|
23099
|
+
/** Left margin: 1440 twips (1 inch) */
|
|
22675
23100
|
LEFT: 1440,
|
|
23101
|
+
/** Header margin from top: 708 twips (0.5 inches) */
|
|
22676
23102
|
HEADER: 708,
|
|
23103
|
+
/** Footer margin from bottom: 708 twips (0.5 inches) */
|
|
22677
23104
|
FOOTER: 708,
|
|
23105
|
+
/** Gutter margin for binding: 0 twips */
|
|
22678
23106
|
GUTTER: 0
|
|
22679
23107
|
};
|
|
22680
23108
|
/**
|
|
@@ -22687,8 +23115,11 @@
|
|
|
22687
23115
|
* @property ORIENTATION - Page orientation: portrait
|
|
22688
23116
|
*/
|
|
22689
23117
|
var sectionPageSizeDefaults = {
|
|
23118
|
+
/** Page width: 11906 twips (8.27 inches, 210mm) */
|
|
22690
23119
|
WIDTH: 11906,
|
|
23120
|
+
/** Page height: 16838 twips (11.69 inches, 297mm) */
|
|
22691
23121
|
HEIGHT: 16838,
|
|
23122
|
+
/** Page orientation: portrait */
|
|
22692
23123
|
ORIENTATION: PageOrientation.PORTRAIT
|
|
22693
23124
|
};
|
|
22694
23125
|
/**
|
|
@@ -23610,6 +24041,7 @@
|
|
|
23610
24041
|
*/
|
|
23611
24042
|
var FooterWrapper = class {
|
|
23612
24043
|
constructor(media, referenceId, initContent) {
|
|
24044
|
+
_defineProperty(this, "media", void 0);
|
|
23613
24045
|
_defineProperty(this, "footer", void 0);
|
|
23614
24046
|
_defineProperty(this, "relationships", void 0);
|
|
23615
24047
|
this.media = media;
|
|
@@ -23724,7 +24156,9 @@
|
|
|
23724
24156
|
* @publicApi
|
|
23725
24157
|
*/
|
|
23726
24158
|
var FootnoteType = {
|
|
24159
|
+
/** Separator line between body text and footnotes */
|
|
23727
24160
|
SEPERATOR: "separator",
|
|
24161
|
+
/** Continuation separator for footnotes spanning pages */
|
|
23728
24162
|
CONTINUATION_SEPERATOR: "continuationSeparator"
|
|
23729
24163
|
};
|
|
23730
24164
|
/**
|
|
@@ -24130,6 +24564,7 @@
|
|
|
24130
24564
|
*/
|
|
24131
24565
|
var HeaderWrapper = class {
|
|
24132
24566
|
constructor(media, referenceId, initContent) {
|
|
24567
|
+
_defineProperty(this, "media", void 0);
|
|
24133
24568
|
_defineProperty(this, "header", void 0);
|
|
24134
24569
|
_defineProperty(this, "relationships", void 0);
|
|
24135
24570
|
this.media = media;
|
|
@@ -24241,68 +24676,131 @@
|
|
|
24241
24676
|
* @publicApi
|
|
24242
24677
|
*/
|
|
24243
24678
|
var LevelFormat = {
|
|
24679
|
+
/** Decimal numbering (1, 2, 3...). */
|
|
24244
24680
|
DECIMAL: "decimal",
|
|
24681
|
+
/** Uppercase roman numerals (I, II, III...). */
|
|
24245
24682
|
UPPER_ROMAN: "upperRoman",
|
|
24683
|
+
/** Lowercase roman numerals (i, ii, iii...). */
|
|
24246
24684
|
LOWER_ROMAN: "lowerRoman",
|
|
24685
|
+
/** Uppercase letters (A, B, C...). */
|
|
24247
24686
|
UPPER_LETTER: "upperLetter",
|
|
24687
|
+
/** Lowercase letters (a, b, c...). */
|
|
24248
24688
|
LOWER_LETTER: "lowerLetter",
|
|
24689
|
+
/** Ordinal numbers (1st, 2nd, 3rd...). */
|
|
24249
24690
|
ORDINAL: "ordinal",
|
|
24691
|
+
/** Cardinal text (one, two, three...). */
|
|
24250
24692
|
CARDINAL_TEXT: "cardinalText",
|
|
24693
|
+
/** Ordinal text (first, second, third...). */
|
|
24251
24694
|
ORDINAL_TEXT: "ordinalText",
|
|
24695
|
+
/** Hexadecimal numbering. */
|
|
24252
24696
|
HEX: "hex",
|
|
24697
|
+
/** Chicago Manual of Style numbering. */
|
|
24253
24698
|
CHICAGO: "chicago",
|
|
24699
|
+
/** Ideograph digital numbering. */
|
|
24254
24700
|
IDEOGRAPH__DIGITAL: "ideographDigital",
|
|
24701
|
+
/** Japanese counting system. */
|
|
24255
24702
|
JAPANESE_COUNTING: "japaneseCounting",
|
|
24703
|
+
/** Japanese aiueo ordering. */
|
|
24256
24704
|
AIUEO: "aiueo",
|
|
24705
|
+
/** Japanese iroha ordering. */
|
|
24257
24706
|
IROHA: "iroha",
|
|
24707
|
+
/** Full-width decimal numbering. */
|
|
24258
24708
|
DECIMAL_FULL_WIDTH: "decimalFullWidth",
|
|
24709
|
+
/** Half-width decimal numbering. */
|
|
24259
24710
|
DECIMAL_HALF_WIDTH: "decimalHalfWidth",
|
|
24711
|
+
/** Japanese legal numbering. */
|
|
24260
24712
|
JAPANESE_LEGAL: "japaneseLegal",
|
|
24713
|
+
/** Japanese digital ten thousand numbering. */
|
|
24261
24714
|
JAPANESE_DIGITAL_TEN_THOUSAND: "japaneseDigitalTenThousand",
|
|
24715
|
+
/** Decimal numbers enclosed in circles. */
|
|
24262
24716
|
DECIMAL_ENCLOSED_CIRCLE: "decimalEnclosedCircle",
|
|
24717
|
+
/** Full-width decimal numbering variant 2. */
|
|
24263
24718
|
DECIMAL_FULL_WIDTH2: "decimalFullWidth2",
|
|
24719
|
+
/** Full-width aiueo ordering. */
|
|
24264
24720
|
AIUEO_FULL_WIDTH: "aiueoFullWidth",
|
|
24721
|
+
/** Full-width iroha ordering. */
|
|
24265
24722
|
IROHA_FULL_WIDTH: "irohaFullWidth",
|
|
24723
|
+
/** Decimal with leading zeros. */
|
|
24266
24724
|
DECIMAL_ZERO: "decimalZero",
|
|
24725
|
+
/** Bullet points. */
|
|
24267
24726
|
BULLET: "bullet",
|
|
24727
|
+
/** Korean ganada ordering. */
|
|
24268
24728
|
GANADA: "ganada",
|
|
24729
|
+
/** Korean chosung ordering. */
|
|
24269
24730
|
CHOSUNG: "chosung",
|
|
24731
|
+
/** Decimal enclosed with fullstop. */
|
|
24270
24732
|
DECIMAL_ENCLOSED_FULLSTOP: "decimalEnclosedFullstop",
|
|
24733
|
+
/** Decimal enclosed in parentheses. */
|
|
24271
24734
|
DECIMAL_ENCLOSED_PARENTHESES: "decimalEnclosedParen",
|
|
24735
|
+
/** Decimal enclosed in circles (Chinese). */
|
|
24272
24736
|
DECIMAL_ENCLOSED_CIRCLE_CHINESE: "decimalEnclosedCircleChinese",
|
|
24737
|
+
/** Ideograph enclosed in circles. */
|
|
24273
24738
|
IDEOGRAPH_ENCLOSED_CIRCLE: "ideographEnclosedCircle",
|
|
24739
|
+
/** Traditional ideograph numbering. */
|
|
24274
24740
|
IDEOGRAPH_TRADITIONAL: "ideographTraditional",
|
|
24741
|
+
/** Ideograph zodiac numbering. */
|
|
24275
24742
|
IDEOGRAPH_ZODIAC: "ideographZodiac",
|
|
24743
|
+
/** Traditional ideograph zodiac numbering. */
|
|
24276
24744
|
IDEOGRAPH_ZODIAC_TRADITIONAL: "ideographZodiacTraditional",
|
|
24745
|
+
/** Taiwanese counting system. */
|
|
24277
24746
|
TAIWANESE_COUNTING: "taiwaneseCounting",
|
|
24747
|
+
/** Traditional ideograph legal numbering. */
|
|
24278
24748
|
IDEOGRAPH_LEGAL_TRADITIONAL: "ideographLegalTraditional",
|
|
24749
|
+
/** Taiwanese counting thousand system. */
|
|
24279
24750
|
TAIWANESE_COUNTING_THOUSAND: "taiwaneseCountingThousand",
|
|
24751
|
+
/** Taiwanese digital numbering. */
|
|
24280
24752
|
TAIWANESE_DIGITAL: "taiwaneseDigital",
|
|
24753
|
+
/** Chinese counting system. */
|
|
24281
24754
|
CHINESE_COUNTING: "chineseCounting",
|
|
24755
|
+
/** Simplified Chinese legal numbering. */
|
|
24282
24756
|
CHINESE_LEGAL_SIMPLIFIED: "chineseLegalSimplified",
|
|
24757
|
+
/** Chinese counting thousand system. */
|
|
24283
24758
|
CHINESE_COUNTING_THOUSAND: "chineseCountingThousand",
|
|
24759
|
+
/** Korean digital numbering. */
|
|
24284
24760
|
KOREAN_DIGITAL: "koreanDigital",
|
|
24761
|
+
/** Korean counting system. */
|
|
24285
24762
|
KOREAN_COUNTING: "koreanCounting",
|
|
24763
|
+
/** Korean legal numbering. */
|
|
24286
24764
|
KOREAN_LEGAL: "koreanLegal",
|
|
24765
|
+
/** Korean digital numbering variant 2. */
|
|
24287
24766
|
KOREAN_DIGITAL2: "koreanDigital2",
|
|
24767
|
+
/** Vietnamese counting system. */
|
|
24288
24768
|
VIETNAMESE_COUNTING: "vietnameseCounting",
|
|
24769
|
+
/** Russian lowercase numbering. */
|
|
24289
24770
|
RUSSIAN_LOWER: "russianLower",
|
|
24771
|
+
/** Russian uppercase numbering. */
|
|
24290
24772
|
RUSSIAN_UPPER: "russianUpper",
|
|
24773
|
+
/** No numbering. */
|
|
24291
24774
|
NONE: "none",
|
|
24775
|
+
/** Number enclosed in dashes. */
|
|
24292
24776
|
NUMBER_IN_DASH: "numberInDash",
|
|
24777
|
+
/** Hebrew numbering variant 1. */
|
|
24293
24778
|
HEBREW1: "hebrew1",
|
|
24779
|
+
/** Hebrew numbering variant 2. */
|
|
24294
24780
|
HEBREW2: "hebrew2",
|
|
24781
|
+
/** Arabic alpha numbering. */
|
|
24295
24782
|
ARABIC_ALPHA: "arabicAlpha",
|
|
24783
|
+
/** Arabic abjad numbering. */
|
|
24296
24784
|
ARABIC_ABJAD: "arabicAbjad",
|
|
24785
|
+
/** Hindi vowels. */
|
|
24297
24786
|
HINDI_VOWELS: "hindiVowels",
|
|
24787
|
+
/** Hindi consonants. */
|
|
24298
24788
|
HINDI_CONSONANTS: "hindiConsonants",
|
|
24789
|
+
/** Hindi numbers. */
|
|
24299
24790
|
HINDI_NUMBERS: "hindiNumbers",
|
|
24791
|
+
/** Hindi counting system. */
|
|
24300
24792
|
HINDI_COUNTING: "hindiCounting",
|
|
24793
|
+
/** Thai letters. */
|
|
24301
24794
|
THAI_LETTERS: "thaiLetters",
|
|
24795
|
+
/** Thai numbers. */
|
|
24302
24796
|
THAI_NUMBERS: "thaiNumbers",
|
|
24797
|
+
/** Thai counting system. */
|
|
24303
24798
|
THAI_COUNTING: "thaiCounting",
|
|
24799
|
+
/** Thai Baht text. */
|
|
24304
24800
|
BAHT_TEXT: "bahtText",
|
|
24801
|
+
/** Dollar text. */
|
|
24305
24802
|
DOLLAR_TEXT: "dollarText",
|
|
24803
|
+
/** Custom numbering format. */
|
|
24306
24804
|
CUSTOM: "custom"
|
|
24307
24805
|
};
|
|
24308
24806
|
/**
|
|
@@ -24369,8 +24867,11 @@
|
|
|
24369
24867
|
* @publicApi
|
|
24370
24868
|
*/
|
|
24371
24869
|
var LevelSuffix = {
|
|
24870
|
+
/** No separator after the numbering. */
|
|
24372
24871
|
NOTHING: "nothing",
|
|
24872
|
+
/** Space character after the numbering. */
|
|
24373
24873
|
SPACE: "space",
|
|
24874
|
+
/** Tab character after the numbering. */
|
|
24374
24875
|
TAB: "tab"
|
|
24375
24876
|
};
|
|
24376
24877
|
/**
|
|
@@ -26386,6 +26887,12 @@
|
|
|
26386
26887
|
"commentsExtended",
|
|
26387
26888
|
void 0
|
|
26388
26889
|
);
|
|
26890
|
+
_defineProperty(
|
|
26891
|
+
this,
|
|
26892
|
+
/** Durable comment id mapping (word/commentsIds.xml). */
|
|
26893
|
+
"commentsIds",
|
|
26894
|
+
void 0
|
|
26895
|
+
);
|
|
26389
26896
|
_defineProperty(this, "fontWrapper", void 0);
|
|
26390
26897
|
this.coreProperties = new CoreProperties(_objectSpread2(_objectSpread2({}, options), {}, {
|
|
26391
26898
|
creator: (_options$creator = options.creator) !== null && _options$creator !== void 0 ? _options$creator : "Un-named",
|
|
@@ -26395,6 +26902,7 @@
|
|
|
26395
26902
|
this.numbering = new Numbering(options.numbering ? options.numbering : { config: [] });
|
|
26396
26903
|
this.comments = new Comments((_options$comments = options.comments) !== null && _options$comments !== void 0 ? _options$comments : { children: [] });
|
|
26397
26904
|
if (this.comments.ThreadData) this.commentsExtended = new CommentsExtended(this.comments.ThreadData);
|
|
26905
|
+
if (this.comments.CommentIdsData) this.commentsIds = new CommentsIds(this.comments.CommentIdsData);
|
|
26398
26906
|
this.fileRelationships = new Relationships();
|
|
26399
26907
|
this.customProperties = new CustomProperties((_options$customProper = options.customProperties) !== null && _options$customProper !== void 0 ? _options$customProper : []);
|
|
26400
26908
|
this.appProperties = new AppProperties();
|
|
@@ -26422,8 +26930,13 @@
|
|
|
26422
26930
|
const defaultStyles = new DefaultStylesFactory().newInstance((_options$styles = options.styles) === null || _options$styles === void 0 ? void 0 : _options$styles.default);
|
|
26423
26931
|
const externalStyles = new ExternalStylesFactory().newInstance(options.externalStyles);
|
|
26424
26932
|
this.styles = new Styles(_objectSpread2(_objectSpread2({}, externalStyles), {}, { importedStyles: [...defaultStyles.importedStyles, ...externalStyles.importedStyles] }));
|
|
26425
|
-
} else if (options.styles)
|
|
26426
|
-
|
|
26933
|
+
} else if (options.styles) {
|
|
26934
|
+
const defaultStyles = new DefaultStylesFactory().newInstance(options.styles.default);
|
|
26935
|
+
this.styles = new Styles(_objectSpread2(_objectSpread2({}, defaultStyles), options.styles));
|
|
26936
|
+
} else {
|
|
26937
|
+
const stylesFactory = new DefaultStylesFactory();
|
|
26938
|
+
this.styles = new Styles(stylesFactory.newInstance());
|
|
26939
|
+
}
|
|
26427
26940
|
this.addDefaultRelationships();
|
|
26428
26941
|
for (const section of options.sections) this.addSection(section);
|
|
26429
26942
|
if (options.footnotes) for (const key in options.footnotes) this.footnotesWrapper.View.createFootNote(parseFloat(key), options.footnotes[key].children);
|
|
@@ -26488,6 +27001,10 @@
|
|
|
26488
27001
|
this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++, "http://schemas.microsoft.com/office/2011/relationships/commentsExtended", "commentsExtended.xml");
|
|
26489
27002
|
this.contentTypes.addCommentsExtended();
|
|
26490
27003
|
}
|
|
27004
|
+
if (this.commentsIds) {
|
|
27005
|
+
this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++, "http://schemas.microsoft.com/office/2016/09/relationships/commentsIds", "commentsIds.xml");
|
|
27006
|
+
this.contentTypes.addCommentsIds();
|
|
27007
|
+
}
|
|
26491
27008
|
}
|
|
26492
27009
|
get Document() {
|
|
26493
27010
|
return this.documentWrapper;
|
|
@@ -26538,6 +27055,10 @@
|
|
|
26538
27055
|
get CommentsExtended() {
|
|
26539
27056
|
return this.commentsExtended;
|
|
26540
27057
|
}
|
|
27058
|
+
/** Durable comment id part. Undefined when no comment carries a durableId. */
|
|
27059
|
+
get CommentsIds() {
|
|
27060
|
+
return this.commentsIds;
|
|
27061
|
+
}
|
|
26541
27062
|
get FontTable() {
|
|
26542
27063
|
return this.fontWrapper;
|
|
26543
27064
|
}
|
|
@@ -26707,7 +27228,7 @@
|
|
|
26707
27228
|
}
|
|
26708
27229
|
};
|
|
26709
27230
|
//#endregion
|
|
26710
|
-
//#region \0@oxc-project+runtime@0.
|
|
27231
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/objectWithoutPropertiesLoose.js
|
|
26711
27232
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
26712
27233
|
if (null == r) return {};
|
|
26713
27234
|
var t = {};
|
|
@@ -26718,7 +27239,7 @@
|
|
|
26718
27239
|
return t;
|
|
26719
27240
|
}
|
|
26720
27241
|
//#endregion
|
|
26721
|
-
//#region \0@oxc-project+runtime@0.
|
|
27242
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/objectWithoutProperties.js
|
|
26722
27243
|
function _objectWithoutProperties(e, t) {
|
|
26723
27244
|
if (null == e) return {};
|
|
26724
27245
|
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
@@ -30671,8 +31192,8 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
30671
31192
|
module.exports = escapeForXML;
|
|
30672
31193
|
}));
|
|
30673
31194
|
//#endregion
|
|
30674
|
-
//#region
|
|
30675
|
-
var
|
|
31195
|
+
//#region node_modules/xml/lib/xml.js
|
|
31196
|
+
var require_xml = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
30676
31197
|
init_dist();
|
|
30677
31198
|
var escapeForXML = require_escapeForXML();
|
|
30678
31199
|
var Stream = require_stream_browserify().Stream;
|
|
@@ -30845,9 +31366,12 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
30845
31366
|
}
|
|
30846
31367
|
module.exports = xml;
|
|
30847
31368
|
module.exports.element = module.exports.Element = element;
|
|
30848
|
-
}))
|
|
30849
|
-
|
|
31369
|
+
}));
|
|
31370
|
+
//#endregion
|
|
31371
|
+
//#region src/file/fonts/obfuscate-ttf-to-odttf.ts
|
|
30850
31372
|
var import_stream_browserify = require_stream_browserify();
|
|
31373
|
+
var import_jszip_min = /* @__PURE__ */ __toESM(require_jszip_min(), 1);
|
|
31374
|
+
var import_xml = /* @__PURE__ */ __toESM(require_xml(), 1);
|
|
30851
31375
|
/**
|
|
30852
31376
|
* Font obfuscation module for embedding fonts in WordprocessingML documents.
|
|
30853
31377
|
*
|
|
@@ -31111,7 +31635,7 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
31111
31635
|
const documentMediaDatas = this.imageReplacer.getMediaData(documentXmlData, file.Media);
|
|
31112
31636
|
const commentMediaDatas = this.imageReplacer.getMediaData(commentXmlData, file.Media);
|
|
31113
31637
|
const footnoteMediaDatas = this.imageReplacer.getMediaData(footnoteXmlData, file.Media);
|
|
31114
|
-
return _objectSpread2(_objectSpread2({
|
|
31638
|
+
return _objectSpread2(_objectSpread2(_objectSpread2({
|
|
31115
31639
|
Relationships: {
|
|
31116
31640
|
data: (() => {
|
|
31117
31641
|
documentMediaDatas.forEach((mediaData, i) => {
|
|
@@ -31412,6 +31936,22 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
31412
31936
|
}
|
|
31413
31937
|
}),
|
|
31414
31938
|
path: "word/commentsExtended.xml"
|
|
31939
|
+
} } : {}), file.CommentsIds ? { CommentsIds: {
|
|
31940
|
+
data: (0, import_xml.default)(this.formatter.format(file.CommentsIds, {
|
|
31941
|
+
viewWrapper: {
|
|
31942
|
+
View: file.CommentsIds,
|
|
31943
|
+
Relationships: file.Comments.Relationships
|
|
31944
|
+
},
|
|
31945
|
+
file,
|
|
31946
|
+
stack: []
|
|
31947
|
+
}), {
|
|
31948
|
+
indent: prettify,
|
|
31949
|
+
declaration: {
|
|
31950
|
+
standalone: "yes",
|
|
31951
|
+
encoding: "UTF-8"
|
|
31952
|
+
}
|
|
31953
|
+
}),
|
|
31954
|
+
path: "word/commentsIds.xml"
|
|
31415
31955
|
} } : {}), {}, {
|
|
31416
31956
|
FontTable: {
|
|
31417
31957
|
data: (0, import_xml.default)(this.formatter.format(file.FontTable.View, {
|
|
@@ -31428,21 +31968,21 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
31428
31968
|
path: "word/fontTable.xml"
|
|
31429
31969
|
},
|
|
31430
31970
|
FontTableRelationships: {
|
|
31431
|
-
data: (0, import_xml.default)(this.formatter.format(file.FontTable.Relationships, {
|
|
31971
|
+
data: (() => (0, import_xml.default)(this.formatter.format(file.FontTable.Relationships, {
|
|
31432
31972
|
viewWrapper: file.Document,
|
|
31433
31973
|
file,
|
|
31434
31974
|
stack: []
|
|
31435
31975
|
}), {
|
|
31436
31976
|
indent: prettify,
|
|
31437
31977
|
declaration: { encoding: "UTF-8" }
|
|
31438
|
-
}),
|
|
31978
|
+
}))(),
|
|
31439
31979
|
path: "word/_rels/fontTable.xml.rels"
|
|
31440
31980
|
}
|
|
31441
31981
|
});
|
|
31442
31982
|
}
|
|
31443
31983
|
};
|
|
31444
31984
|
//#endregion
|
|
31445
|
-
//#region \0@oxc-project+runtime@0.
|
|
31985
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/asyncToGenerator.js
|
|
31446
31986
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
31447
31987
|
try {
|
|
31448
31988
|
var i = n[a](c), u = i.value;
|
|
@@ -31483,9 +32023,13 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
31483
32023
|
* @publicApi
|
|
31484
32024
|
*/
|
|
31485
32025
|
var PrettifyType = {
|
|
32026
|
+
/** No prettification (smallest file size) */
|
|
31486
32027
|
NONE: "",
|
|
32028
|
+
/** Indent with 2 spaces */
|
|
31487
32029
|
WITH_2_BLANKS: " ",
|
|
32030
|
+
/** Indent with 4 spaces */
|
|
31488
32031
|
WITH_4_BLANKS: " ",
|
|
32032
|
+
/** Indent with tab character */
|
|
31489
32033
|
WITH_TAB: " "
|
|
31490
32034
|
};
|
|
31491
32035
|
var convertPrettifyType = (prettify) => prettify === true ? PrettifyType.WITH_2_BLANKS : prettify === false ? void 0 : prettify;
|
|
@@ -31880,8 +32424,11 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
31880
32424
|
* Replacement modes for multi-run text replacement.
|
|
31881
32425
|
*/
|
|
31882
32426
|
var ReplaceMode = {
|
|
32427
|
+
/** Looking for the start of the replacement text */
|
|
31883
32428
|
START: 0,
|
|
32429
|
+
/** Processing runs in the middle of the replacement text */
|
|
31884
32430
|
MIDDLE: 1,
|
|
32431
|
+
/** Reached the end of the replacement text */
|
|
31885
32432
|
END: 2
|
|
31886
32433
|
};
|
|
31887
32434
|
/**
|
|
@@ -32173,7 +32720,9 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
32173
32720
|
* @publicApi
|
|
32174
32721
|
*/
|
|
32175
32722
|
var PatchType = {
|
|
32723
|
+
/** Replace entire file-level elements (e.g., whole paragraphs) */
|
|
32176
32724
|
DOCUMENT: "file",
|
|
32725
|
+
/** Replace content within paragraphs (inline replacement) */
|
|
32177
32726
|
PARAGRAPH: "paragraph"
|
|
32178
32727
|
};
|
|
32179
32728
|
var imageReplacer = new ImageReplacer();
|
|
@@ -32459,6 +33008,7 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
|
|
|
32459
33008
|
exports.CommentReference = CommentReference;
|
|
32460
33009
|
exports.Comments = Comments;
|
|
32461
33010
|
exports.CommentsExtended = CommentsExtended;
|
|
33011
|
+
exports.CommentsIds = CommentsIds;
|
|
32462
33012
|
exports.ConcreteHyperlink = ConcreteHyperlink;
|
|
32463
33013
|
exports.ConcreteNumbering = ConcreteNumbering;
|
|
32464
33014
|
exports.ContinuationSeparator = ContinuationSeparator;
|