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