docx 9.7.0 → 9.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +457 -24
- package/dist/index.d.cts +3214 -5
- package/dist/index.d.ts +3214 -5
- package/dist/index.iife.js +457 -24
- package/dist/index.mjs +457 -24
- package/dist/index.umd.cjs +457 -24
- package/package.json +7 -6
- 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.mjs
CHANGED
|
@@ -6,7 +6,7 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
9
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
9
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
10
10
|
var __copyProps = (to, from, except, desc) => {
|
|
11
11
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
12
|
key = keys[i];
|
|
@@ -26,7 +26,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
26
26
|
throw Error("Calling `require` for \"" + x + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
|
-
//#region \0@oxc-project+runtime@0.
|
|
29
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/typeof.js
|
|
30
30
|
function _typeof(o) {
|
|
31
31
|
"@babel/helpers - typeof";
|
|
32
32
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -36,7 +36,7 @@ function _typeof(o) {
|
|
|
36
36
|
}, _typeof(o);
|
|
37
37
|
}
|
|
38
38
|
//#endregion
|
|
39
|
-
//#region \0@oxc-project+runtime@0.
|
|
39
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/toPrimitive.js
|
|
40
40
|
function toPrimitive(t, r) {
|
|
41
41
|
if ("object" != _typeof(t) || !t) return t;
|
|
42
42
|
var e = t[Symbol.toPrimitive];
|
|
@@ -48,13 +48,13 @@ function toPrimitive(t, r) {
|
|
|
48
48
|
return ("string" === r ? String : Number)(t);
|
|
49
49
|
}
|
|
50
50
|
//#endregion
|
|
51
|
-
//#region \0@oxc-project+runtime@0.
|
|
51
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/toPropertyKey.js
|
|
52
52
|
function toPropertyKey(t) {
|
|
53
53
|
var i = toPrimitive(t, "string");
|
|
54
54
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
57
|
-
//#region \0@oxc-project+runtime@0.
|
|
57
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/defineProperty.js
|
|
58
58
|
function _defineProperty(e, r, t) {
|
|
59
59
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
60
60
|
value: t,
|
|
@@ -254,7 +254,7 @@ var IgnoreIfEmptyXmlComponent = class extends XmlComponent {
|
|
|
254
254
|
}
|
|
255
255
|
};
|
|
256
256
|
//#endregion
|
|
257
|
-
//#region \0@oxc-project+runtime@0.
|
|
257
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/objectSpread2.js
|
|
258
258
|
function ownKeys(e, r) {
|
|
259
259
|
var t = Object.keys(e);
|
|
260
260
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -311,6 +311,7 @@ var XmlAttributeComponent = class extends BaseXmlComponent {
|
|
|
311
311
|
*/
|
|
312
312
|
constructor(root) {
|
|
313
313
|
super("_attr");
|
|
314
|
+
_defineProperty(this, "root", void 0);
|
|
314
315
|
_defineProperty(
|
|
315
316
|
this,
|
|
316
317
|
/** Optional mapping from property names to XML attribute names. */
|
|
@@ -363,6 +364,7 @@ var NextAttributeComponent = class extends BaseXmlComponent {
|
|
|
363
364
|
*/
|
|
364
365
|
constructor(root) {
|
|
365
366
|
super("_attr");
|
|
367
|
+
_defineProperty(this, "root", void 0);
|
|
366
368
|
this.root = root;
|
|
367
369
|
}
|
|
368
370
|
/**
|
|
@@ -4386,7 +4388,8 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
4386
4388
|
this.ended = false;
|
|
4387
4389
|
this.finished = false;
|
|
4388
4390
|
this.destroyed = false;
|
|
4389
|
-
|
|
4391
|
+
var noDecode = options.decodeStrings === false;
|
|
4392
|
+
this.decodeStrings = !noDecode;
|
|
4390
4393
|
this.defaultEncoding = options.defaultEncoding || "utf8";
|
|
4391
4394
|
this.length = 0;
|
|
4392
4395
|
this.writing = false;
|
|
@@ -8128,6 +8131,7 @@ var ImportedRootElementAttributes = class extends XmlComponent {
|
|
|
8128
8131
|
*/
|
|
8129
8132
|
constructor(_attr) {
|
|
8130
8133
|
super("");
|
|
8134
|
+
_defineProperty(this, "_attr", void 0);
|
|
8131
8135
|
this._attr = _attr;
|
|
8132
8136
|
}
|
|
8133
8137
|
/**
|
|
@@ -8838,18 +8842,31 @@ var BuilderElement = class extends XmlComponent {
|
|
|
8838
8842
|
* @publicApi
|
|
8839
8843
|
*/
|
|
8840
8844
|
var AlignmentType = {
|
|
8845
|
+
/** Align Start */
|
|
8841
8846
|
START: "start",
|
|
8847
|
+
/** Align Center */
|
|
8842
8848
|
CENTER: "center",
|
|
8849
|
+
/** End */
|
|
8843
8850
|
END: "end",
|
|
8851
|
+
/** Justified */
|
|
8844
8852
|
BOTH: "both",
|
|
8853
|
+
/** Medium Kashida Length */
|
|
8845
8854
|
MEDIUM_KASHIDA: "mediumKashida",
|
|
8855
|
+
/** Distribute All Characters Equally */
|
|
8846
8856
|
DISTRIBUTE: "distribute",
|
|
8857
|
+
/** Align to List Tab */
|
|
8847
8858
|
NUM_TAB: "numTab",
|
|
8859
|
+
/** Widest Kashida Length */
|
|
8848
8860
|
HIGH_KASHIDA: "highKashida",
|
|
8861
|
+
/** Low Kashida Length */
|
|
8849
8862
|
LOW_KASHIDA: "lowKashida",
|
|
8863
|
+
/** Thai Language Justification */
|
|
8850
8864
|
THAI_DISTRIBUTE: "thaiDistribute",
|
|
8865
|
+
/** Align Left */
|
|
8851
8866
|
LEFT: "left",
|
|
8867
|
+
/** Align Right */
|
|
8852
8868
|
RIGHT: "right",
|
|
8869
|
+
/** Justified */
|
|
8853
8870
|
JUSTIFIED: "both"
|
|
8854
8871
|
};
|
|
8855
8872
|
/**
|
|
@@ -8997,32 +9014,59 @@ var createBorderElement = (elementName, { color, size, space, style }) => new Bu
|
|
|
8997
9014
|
* @publicApi
|
|
8998
9015
|
*/
|
|
8999
9016
|
var BorderStyle = {
|
|
9017
|
+
/** a single line */
|
|
9000
9018
|
SINGLE: "single",
|
|
9019
|
+
/** a line with a series of alternating thin and thick strokes */
|
|
9001
9020
|
DASH_DOT_STROKED: "dashDotStroked",
|
|
9021
|
+
/** a dashed line */
|
|
9002
9022
|
DASHED: "dashed",
|
|
9023
|
+
/** a dashed line with small gaps */
|
|
9003
9024
|
DASH_SMALL_GAP: "dashSmallGap",
|
|
9025
|
+
/** a line with alternating dots and dashes */
|
|
9004
9026
|
DOT_DASH: "dotDash",
|
|
9027
|
+
/** a line with a repeating dot - dot - dash sequence */
|
|
9005
9028
|
DOT_DOT_DASH: "dotDotDash",
|
|
9029
|
+
/** a dotted line */
|
|
9006
9030
|
DOTTED: "dotted",
|
|
9031
|
+
/** a double line */
|
|
9007
9032
|
DOUBLE: "double",
|
|
9033
|
+
/** a double wavy line */
|
|
9008
9034
|
DOUBLE_WAVE: "doubleWave",
|
|
9035
|
+
/** an inset set of lines */
|
|
9009
9036
|
INSET: "inset",
|
|
9037
|
+
/** no border */
|
|
9010
9038
|
NIL: "nil",
|
|
9039
|
+
/** no border */
|
|
9011
9040
|
NONE: "none",
|
|
9041
|
+
/** an outset set of lines */
|
|
9012
9042
|
OUTSET: "outset",
|
|
9043
|
+
/** a single line */
|
|
9013
9044
|
THICK: "thick",
|
|
9045
|
+
/** a thick line contained within a thin line with a large-sized intermediate gap */
|
|
9014
9046
|
THICK_THIN_LARGE_GAP: "thickThinLargeGap",
|
|
9047
|
+
/** a thick line contained within a thin line with a medium-sized intermediate gap */
|
|
9015
9048
|
THICK_THIN_MEDIUM_GAP: "thickThinMediumGap",
|
|
9049
|
+
/** a thick line contained within a thin line with a small intermediate gap */
|
|
9016
9050
|
THICK_THIN_SMALL_GAP: "thickThinSmallGap",
|
|
9051
|
+
/** a thin line contained within a thick line with a large-sized intermediate gap */
|
|
9017
9052
|
THIN_THICK_LARGE_GAP: "thinThickLargeGap",
|
|
9053
|
+
/** a thick line contained within a thin line with a medium-sized intermediate gap */
|
|
9018
9054
|
THIN_THICK_MEDIUM_GAP: "thinThickMediumGap",
|
|
9055
|
+
/** a thick line contained within a thin line with a small intermediate gap */
|
|
9019
9056
|
THIN_THICK_SMALL_GAP: "thinThickSmallGap",
|
|
9057
|
+
/** a thin-thick-thin line with a large gap */
|
|
9020
9058
|
THIN_THICK_THIN_LARGE_GAP: "thinThickThinLargeGap",
|
|
9059
|
+
/** a thin-thick-thin line with a medium gap */
|
|
9021
9060
|
THIN_THICK_THIN_MEDIUM_GAP: "thinThickThinMediumGap",
|
|
9061
|
+
/** a thin-thick-thin line with a small gap */
|
|
9022
9062
|
THIN_THICK_THIN_SMALL_GAP: "thinThickThinSmallGap",
|
|
9063
|
+
/** a three-staged gradient line, getting darker towards the paragraph */
|
|
9023
9064
|
THREE_D_EMBOSS: "threeDEmboss",
|
|
9065
|
+
/** a three-staged gradient like, getting darker away from the paragraph */
|
|
9024
9066
|
THREE_D_ENGRAVE: "threeDEngrave",
|
|
9067
|
+
/** a triple line */
|
|
9025
9068
|
TRIPLE: "triple",
|
|
9069
|
+
/** a wavy line */
|
|
9026
9070
|
WAVE: "wave"
|
|
9027
9071
|
};
|
|
9028
9072
|
//#endregion
|
|
@@ -9338,10 +9382,15 @@ var createEnd = (dirty) => createFieldChar(FieldCharacterType.END, dirty);
|
|
|
9338
9382
|
* @publicApi
|
|
9339
9383
|
*/
|
|
9340
9384
|
var HorizontalPositionAlign = {
|
|
9385
|
+
/** Center horizontally */
|
|
9341
9386
|
CENTER: "center",
|
|
9387
|
+
/** Align to inside margin (left on odd, right on even pages) */
|
|
9342
9388
|
INSIDE: "inside",
|
|
9389
|
+
/** Align to left */
|
|
9343
9390
|
LEFT: "left",
|
|
9391
|
+
/** Align to outside margin (right on odd, left on even pages) */
|
|
9344
9392
|
OUTSIDE: "outside",
|
|
9393
|
+
/** Align to right */
|
|
9345
9394
|
RIGHT: "right"
|
|
9346
9395
|
};
|
|
9347
9396
|
/**
|
|
@@ -9352,10 +9401,15 @@ var HorizontalPositionAlign = {
|
|
|
9352
9401
|
* @publicApi
|
|
9353
9402
|
*/
|
|
9354
9403
|
var VerticalPositionAlign = {
|
|
9404
|
+
/** Align to bottom */
|
|
9355
9405
|
BOTTOM: "bottom",
|
|
9406
|
+
/** Center vertically */
|
|
9356
9407
|
CENTER: "center",
|
|
9408
|
+
/** Align to inside margin */
|
|
9357
9409
|
INSIDE: "inside",
|
|
9410
|
+
/** Align to outside margin */
|
|
9358
9411
|
OUTSIDE: "outside",
|
|
9412
|
+
/** Align to top */
|
|
9359
9413
|
TOP: "top"
|
|
9360
9414
|
};
|
|
9361
9415
|
//#endregion
|
|
@@ -9674,6 +9728,7 @@ var createShading = ({ fill, color, type }) => new BuilderElement({
|
|
|
9674
9728
|
* @publicApi
|
|
9675
9729
|
*/
|
|
9676
9730
|
var ShadingType = {
|
|
9731
|
+
/** Clear shading - no pattern, fill color only */
|
|
9677
9732
|
CLEAR: "clear",
|
|
9678
9733
|
DIAGONAL_CROSS: "diagCross",
|
|
9679
9734
|
DIAGONAL_STRIPE: "diagStripe",
|
|
@@ -9818,7 +9873,9 @@ var InsertionTrackChange = class extends XmlComponent {
|
|
|
9818
9873
|
*
|
|
9819
9874
|
* @publicApi
|
|
9820
9875
|
*/
|
|
9821
|
-
var EmphasisMarkType = {
|
|
9876
|
+
var EmphasisMarkType = {
|
|
9877
|
+
/** Dot emphasis mark */
|
|
9878
|
+
DOT: "dot" };
|
|
9822
9879
|
/**
|
|
9823
9880
|
* Creates an emphasis mark element for a WordprocessingML document.
|
|
9824
9881
|
*
|
|
@@ -10235,23 +10292,41 @@ var createSubScript = () => createVerticalAlignRun("subscript");
|
|
|
10235
10292
|
* @publicApi
|
|
10236
10293
|
*/
|
|
10237
10294
|
var UnderlineType = {
|
|
10295
|
+
/** Single underline */
|
|
10238
10296
|
SINGLE: "single",
|
|
10297
|
+
/** Underline words only (not spaces) */
|
|
10239
10298
|
WORDS: "words",
|
|
10299
|
+
/** Double underline */
|
|
10240
10300
|
DOUBLE: "double",
|
|
10301
|
+
/** Thick single underline */
|
|
10241
10302
|
THICK: "thick",
|
|
10303
|
+
/** Dotted underline */
|
|
10242
10304
|
DOTTED: "dotted",
|
|
10305
|
+
/** Heavy dotted underline */
|
|
10243
10306
|
DOTTEDHEAVY: "dottedHeavy",
|
|
10307
|
+
/** Dashed underline */
|
|
10244
10308
|
DASH: "dash",
|
|
10309
|
+
/** Heavy dashed underline */
|
|
10245
10310
|
DASHEDHEAVY: "dashedHeavy",
|
|
10311
|
+
/** Long dashed underline */
|
|
10246
10312
|
DASHLONG: "dashLong",
|
|
10313
|
+
/** Heavy long dashed underline */
|
|
10247
10314
|
DASHLONGHEAVY: "dashLongHeavy",
|
|
10315
|
+
/** Dot-dash underline */
|
|
10248
10316
|
DOTDASH: "dotDash",
|
|
10317
|
+
/** Heavy dot-dash underline */
|
|
10249
10318
|
DASHDOTHEAVY: "dashDotHeavy",
|
|
10319
|
+
/** Dot-dot-dash underline */
|
|
10250
10320
|
DOTDOTDASH: "dotDotDash",
|
|
10321
|
+
/** Heavy dot-dot-dash underline */
|
|
10251
10322
|
DASHDOTDOTHEAVY: "dashDotDotHeavy",
|
|
10323
|
+
/** Wave underline */
|
|
10252
10324
|
WAVE: "wave",
|
|
10325
|
+
/** Heavy wave underline */
|
|
10253
10326
|
WAVYHEAVY: "wavyHeavy",
|
|
10327
|
+
/** Double wave underline */
|
|
10254
10328
|
WAVYDOUBLE: "wavyDouble",
|
|
10329
|
+
/** No underline */
|
|
10255
10330
|
NONE: "none"
|
|
10256
10331
|
};
|
|
10257
10332
|
/**
|
|
@@ -10337,12 +10412,19 @@ var createUnderline = (underlineType = UnderlineType.SINGLE, color) => new Build
|
|
|
10337
10412
|
* @publicApi
|
|
10338
10413
|
*/
|
|
10339
10414
|
var TextEffect = {
|
|
10415
|
+
/** Blinking background animation */
|
|
10340
10416
|
BLINK_BACKGROUND: "blinkBackground",
|
|
10417
|
+
/** Lights animation effect */
|
|
10341
10418
|
LIGHTS: "lights",
|
|
10419
|
+
/** Black marching ants animation */
|
|
10342
10420
|
ANTS_BLACK: "antsBlack",
|
|
10421
|
+
/** Red marching ants animation */
|
|
10343
10422
|
ANTS_RED: "antsRed",
|
|
10423
|
+
/** Shimmer animation effect */
|
|
10344
10424
|
SHIMMER: "shimmer",
|
|
10425
|
+
/** Sparkle animation effect */
|
|
10345
10426
|
SPARKLE: "sparkle",
|
|
10427
|
+
/** No text effect */
|
|
10346
10428
|
NONE: "none"
|
|
10347
10429
|
};
|
|
10348
10430
|
/**
|
|
@@ -10378,22 +10460,39 @@ var TextEffect = {
|
|
|
10378
10460
|
* ```
|
|
10379
10461
|
*/
|
|
10380
10462
|
var HighlightColor = {
|
|
10463
|
+
/** Black highlight */
|
|
10381
10464
|
BLACK: "black",
|
|
10465
|
+
/** Blue highlight */
|
|
10382
10466
|
BLUE: "blue",
|
|
10467
|
+
/** Cyan highlight */
|
|
10383
10468
|
CYAN: "cyan",
|
|
10469
|
+
/** Dark blue highlight */
|
|
10384
10470
|
DARK_BLUE: "darkBlue",
|
|
10471
|
+
/** Dark cyan highlight */
|
|
10385
10472
|
DARK_CYAN: "darkCyan",
|
|
10473
|
+
/** Dark gray highlight */
|
|
10386
10474
|
DARK_GRAY: "darkGray",
|
|
10475
|
+
/** Dark green highlight */
|
|
10387
10476
|
DARK_GREEN: "darkGreen",
|
|
10477
|
+
/** Dark magenta highlight */
|
|
10388
10478
|
DARK_MAGENTA: "darkMagenta",
|
|
10479
|
+
/** Dark red highlight */
|
|
10389
10480
|
DARK_RED: "darkRed",
|
|
10481
|
+
/** Dark yellow highlight */
|
|
10390
10482
|
DARK_YELLOW: "darkYellow",
|
|
10483
|
+
/** Green highlight */
|
|
10391
10484
|
GREEN: "green",
|
|
10485
|
+
/** Light gray highlight */
|
|
10392
10486
|
LIGHT_GRAY: "lightGray",
|
|
10487
|
+
/** Magenta highlight */
|
|
10393
10488
|
MAGENTA: "magenta",
|
|
10489
|
+
/** No highlight */
|
|
10394
10490
|
NONE: "none",
|
|
10491
|
+
/** Red highlight */
|
|
10395
10492
|
RED: "red",
|
|
10493
|
+
/** White highlight */
|
|
10396
10494
|
WHITE: "white",
|
|
10495
|
+
/** Yellow highlight */
|
|
10397
10496
|
YELLOW: "yellow"
|
|
10398
10497
|
};
|
|
10399
10498
|
/**
|
|
@@ -10548,9 +10647,13 @@ var Text = class extends XmlComponent {
|
|
|
10548
10647
|
* @publicApi
|
|
10549
10648
|
*/
|
|
10550
10649
|
var PageNumber = {
|
|
10650
|
+
/** Inserts the current page number */
|
|
10551
10651
|
CURRENT: "CURRENT",
|
|
10652
|
+
/** Inserts the total number of pages in the document */
|
|
10552
10653
|
TOTAL_PAGES: "TOTAL_PAGES",
|
|
10654
|
+
/** Inserts the total number of pages in the current section */
|
|
10553
10655
|
TOTAL_PAGES_IN_SECTION: "TOTAL_PAGES_IN_SECTION",
|
|
10656
|
+
/** Inserts the current section number */
|
|
10554
10657
|
CURRENT_SECTION: "SECTION"
|
|
10555
10658
|
};
|
|
10556
10659
|
/**
|
|
@@ -12409,13 +12512,53 @@ var encodeUtf8 = (str) => new Uint8Array(new TextEncoder().encode(str));
|
|
|
12409
12512
|
* @publicApi
|
|
12410
12513
|
*/
|
|
12411
12514
|
var HorizontalPositionRelativeFrom = {
|
|
12515
|
+
/**
|
|
12516
|
+
* ## Character
|
|
12517
|
+
*
|
|
12518
|
+
* Specifies that the horizontal positioning shall be relative to the position of the anchor within its run content.
|
|
12519
|
+
*/
|
|
12412
12520
|
CHARACTER: "character",
|
|
12521
|
+
/**
|
|
12522
|
+
* ## Column
|
|
12523
|
+
*
|
|
12524
|
+
* Specifies that the horizontal positioning shall be relative to the extents of the column which contains its anchor.
|
|
12525
|
+
*/
|
|
12413
12526
|
COLUMN: "column",
|
|
12527
|
+
/**
|
|
12528
|
+
* ## Inside Margin
|
|
12529
|
+
*
|
|
12530
|
+
* Specifies that the horizontal positioning shall be relative to the inside margin of the current page (the left margin on odd pages, right on even pages).
|
|
12531
|
+
*/
|
|
12414
12532
|
INSIDE_MARGIN: "insideMargin",
|
|
12533
|
+
/**
|
|
12534
|
+
* ## Left Margin
|
|
12535
|
+
*
|
|
12536
|
+
* Specifies that the horizontal positioning shall be relative to the left margin of the page.
|
|
12537
|
+
*/
|
|
12415
12538
|
LEFT_MARGIN: "leftMargin",
|
|
12539
|
+
/**
|
|
12540
|
+
* ## Page Margin
|
|
12541
|
+
*
|
|
12542
|
+
* Specifies that the horizontal positioning shall be relative to the page margins.
|
|
12543
|
+
*/
|
|
12416
12544
|
MARGIN: "margin",
|
|
12545
|
+
/**
|
|
12546
|
+
* ## Outside Margin
|
|
12547
|
+
*
|
|
12548
|
+
* Specifies that the horizontal positioning shall be relative to the outside margin of the current page (the right margin on odd pages, left on even pages).
|
|
12549
|
+
*/
|
|
12417
12550
|
OUTSIDE_MARGIN: "outsideMargin",
|
|
12551
|
+
/**
|
|
12552
|
+
* ## Page Edge
|
|
12553
|
+
*
|
|
12554
|
+
* Specifies that the horizontal positioning shall be relative to the edge of the page.
|
|
12555
|
+
*/
|
|
12418
12556
|
PAGE: "page",
|
|
12557
|
+
/**
|
|
12558
|
+
* ## Right Margin
|
|
12559
|
+
*
|
|
12560
|
+
* Specifies that the horizontal positioning shall be relative to the right margin of the page.
|
|
12561
|
+
*/
|
|
12419
12562
|
RIGHT_MARGIN: "rightMargin"
|
|
12420
12563
|
};
|
|
12421
12564
|
/**
|
|
@@ -12444,13 +12587,53 @@ var HorizontalPositionRelativeFrom = {
|
|
|
12444
12587
|
* @publicApi
|
|
12445
12588
|
*/
|
|
12446
12589
|
var VerticalPositionRelativeFrom = {
|
|
12590
|
+
/**
|
|
12591
|
+
* ## Bottom Margin
|
|
12592
|
+
*
|
|
12593
|
+
* Specifies that the vertical positioning shall be relative to the bottom margin of the current page.
|
|
12594
|
+
*/
|
|
12447
12595
|
BOTTOM_MARGIN: "bottomMargin",
|
|
12596
|
+
/**
|
|
12597
|
+
* ## Inside Margin
|
|
12598
|
+
*
|
|
12599
|
+
* Specifies that the vertical positioning shall be relative to the inside margin of the current page.
|
|
12600
|
+
*/
|
|
12448
12601
|
INSIDE_MARGIN: "insideMargin",
|
|
12602
|
+
/**
|
|
12603
|
+
* ## Line
|
|
12604
|
+
*
|
|
12605
|
+
* Specifies that the vertical positioning shall be relative to the line containing the anchor character.
|
|
12606
|
+
*/
|
|
12449
12607
|
LINE: "line",
|
|
12608
|
+
/**
|
|
12609
|
+
* ## Page Margin
|
|
12610
|
+
*
|
|
12611
|
+
* Specifies that the vertical positioning shall be relative to the page margins.
|
|
12612
|
+
*/
|
|
12450
12613
|
MARGIN: "margin",
|
|
12614
|
+
/**
|
|
12615
|
+
* ## Outside Margin
|
|
12616
|
+
*
|
|
12617
|
+
* Specifies that the vertical positioning shall be relative to the outside margin of the current page.
|
|
12618
|
+
*/
|
|
12451
12619
|
OUTSIDE_MARGIN: "outsideMargin",
|
|
12620
|
+
/**
|
|
12621
|
+
* ## Page Edge
|
|
12622
|
+
*
|
|
12623
|
+
* Specifies that the vertical positioning shall be relative to the edge of the page.
|
|
12624
|
+
*/
|
|
12452
12625
|
PAGE: "page",
|
|
12626
|
+
/**
|
|
12627
|
+
* ## Paragraph
|
|
12628
|
+
*
|
|
12629
|
+
* Specifies that the vertical positioning shall be relative to the paragraph which contains the drawing anchor.
|
|
12630
|
+
*/
|
|
12453
12631
|
PARAGRAPH: "paragraph",
|
|
12632
|
+
/**
|
|
12633
|
+
* ## Top Margin
|
|
12634
|
+
*
|
|
12635
|
+
* Specifies that the vertical positioning shall be relative to the top margin of the current page.
|
|
12636
|
+
*/
|
|
12454
12637
|
TOP_MARGIN: "topMargin"
|
|
12455
12638
|
};
|
|
12456
12639
|
//#endregion
|
|
@@ -14153,9 +14336,13 @@ var TextWrappingType = {
|
|
|
14153
14336
|
* @publicApi
|
|
14154
14337
|
*/
|
|
14155
14338
|
var TextWrappingSide = {
|
|
14339
|
+
/** Text wraps on both sides of the drawing */
|
|
14156
14340
|
BOTH_SIDES: "bothSides",
|
|
14341
|
+
/** Text wraps only on the left side */
|
|
14157
14342
|
LEFT: "left",
|
|
14343
|
+
/** Text wraps only on the right side */
|
|
14158
14344
|
RIGHT: "right",
|
|
14345
|
+
/** Text wraps on the side with more space */
|
|
14159
14346
|
LARGEST: "largest"
|
|
14160
14347
|
};
|
|
14161
14348
|
//#endregion
|
|
@@ -15191,7 +15378,9 @@ var RelationshipsAttributes = class extends XmlAttributeComponent {
|
|
|
15191
15378
|
*
|
|
15192
15379
|
* Indicates whether a relationship target is external to the package.
|
|
15193
15380
|
*/
|
|
15194
|
-
var TargetModeType = {
|
|
15381
|
+
var TargetModeType = {
|
|
15382
|
+
/** Target is external to the package (e.g., hyperlink to a URL) */
|
|
15383
|
+
EXTERNAL: "External" };
|
|
15195
15384
|
/**
|
|
15196
15385
|
* Creates a single relationship between parts in an OPC package.
|
|
15197
15386
|
*
|
|
@@ -15897,8 +16086,11 @@ var LastRenderedPageBreak = class extends EmptyElement {
|
|
|
15897
16086
|
* @publicApi
|
|
15898
16087
|
*/
|
|
15899
16088
|
var PositionalTabAlignment = {
|
|
16089
|
+
/** Left-aligned tab */
|
|
15900
16090
|
LEFT: "left",
|
|
16091
|
+
/** Center-aligned tab */
|
|
15901
16092
|
CENTER: "center",
|
|
16093
|
+
/** Right-aligned tab */
|
|
15902
16094
|
RIGHT: "right"
|
|
15903
16095
|
};
|
|
15904
16096
|
/**
|
|
@@ -15919,7 +16111,9 @@ var PositionalTabAlignment = {
|
|
|
15919
16111
|
* @publicApi
|
|
15920
16112
|
*/
|
|
15921
16113
|
var PositionalTabRelativeTo = {
|
|
16114
|
+
/** Position relative to margin */
|
|
15922
16115
|
MARGIN: "margin",
|
|
16116
|
+
/** Position relative to indent */
|
|
15923
16117
|
INDENT: "indent"
|
|
15924
16118
|
};
|
|
15925
16119
|
/**
|
|
@@ -15943,10 +16137,15 @@ var PositionalTabRelativeTo = {
|
|
|
15943
16137
|
* @publicApi
|
|
15944
16138
|
*/
|
|
15945
16139
|
var PositionalTabLeader = {
|
|
16140
|
+
/** No leader character */
|
|
15946
16141
|
NONE: "none",
|
|
16142
|
+
/** Dot leader (...) */
|
|
15947
16143
|
DOT: "dot",
|
|
16144
|
+
/** Hyphen leader (---) */
|
|
15948
16145
|
HYPHEN: "hyphen",
|
|
16146
|
+
/** Underscore leader (___) */
|
|
15949
16147
|
UNDERSCORE: "underscore",
|
|
16148
|
+
/** Middle dot leader (···) */
|
|
15950
16149
|
MIDDLE_DOT: "middleDot"
|
|
15951
16150
|
};
|
|
15952
16151
|
var PositionalTabAttributes = class extends XmlAttributeComponent {
|
|
@@ -16015,7 +16214,9 @@ var PositionalTab = class extends XmlComponent {
|
|
|
16015
16214
|
* @internal
|
|
16016
16215
|
*/
|
|
16017
16216
|
var BreakType = {
|
|
16217
|
+
/** Column break - text continues at the beginning of the next column */
|
|
16018
16218
|
COLUMN: "column",
|
|
16219
|
+
/** Page break - text continues at the beginning of the next page */
|
|
16019
16220
|
PAGE: "page"
|
|
16020
16221
|
};
|
|
16021
16222
|
/**
|
|
@@ -16135,9 +16336,13 @@ var PageBreakBefore = class extends XmlComponent {
|
|
|
16135
16336
|
* @publicApi
|
|
16136
16337
|
*/
|
|
16137
16338
|
var LineRuleType = {
|
|
16339
|
+
/** Line spacing is at least the specified value */
|
|
16138
16340
|
AT_LEAST: "atLeast",
|
|
16341
|
+
/** Line spacing is exactly the specified value */
|
|
16139
16342
|
EXACTLY: "exactly",
|
|
16343
|
+
/** Line spacing is exactly the specified value (alias for EXACTLY) */
|
|
16140
16344
|
EXACT: "exact",
|
|
16345
|
+
/** Line spacing is automatically determined based on content */
|
|
16141
16346
|
AUTO: "auto"
|
|
16142
16347
|
};
|
|
16143
16348
|
/**
|
|
@@ -16220,12 +16425,19 @@ var createSpacing = ({ after, before, line, lineRule, beforeAutoSpacing, afterAu
|
|
|
16220
16425
|
* @publicApi
|
|
16221
16426
|
*/
|
|
16222
16427
|
var HeadingLevel = {
|
|
16428
|
+
/** Heading 1 style */
|
|
16223
16429
|
HEADING_1: "Heading1",
|
|
16430
|
+
/** Heading 2 style */
|
|
16224
16431
|
HEADING_2: "Heading2",
|
|
16432
|
+
/** Heading 3 style */
|
|
16225
16433
|
HEADING_3: "Heading3",
|
|
16434
|
+
/** Heading 4 style */
|
|
16226
16435
|
HEADING_4: "Heading4",
|
|
16436
|
+
/** Heading 5 style */
|
|
16227
16437
|
HEADING_5: "Heading5",
|
|
16438
|
+
/** Heading 6 style */
|
|
16228
16439
|
HEADING_6: "Heading6",
|
|
16440
|
+
/** Title style */
|
|
16229
16441
|
TITLE: "Title"
|
|
16230
16442
|
};
|
|
16231
16443
|
/**
|
|
@@ -16283,14 +16495,23 @@ var createParagraphStyle = (styleId) => new BuilderElement({
|
|
|
16283
16495
|
* @publicApi
|
|
16284
16496
|
*/
|
|
16285
16497
|
var TabStopType = {
|
|
16498
|
+
/** Left-aligned tab stop */
|
|
16286
16499
|
LEFT: "left",
|
|
16500
|
+
/** Right-aligned tab stop */
|
|
16287
16501
|
RIGHT: "right",
|
|
16502
|
+
/** Center-aligned tab stop */
|
|
16288
16503
|
CENTER: "center",
|
|
16504
|
+
/** Bar tab stop - inserts a vertical bar at the position */
|
|
16289
16505
|
BAR: "bar",
|
|
16506
|
+
/** Clears a tab stop at the specified position */
|
|
16290
16507
|
CLEAR: "clear",
|
|
16508
|
+
/** Decimal-aligned tab stop - aligns on decimal point */
|
|
16291
16509
|
DECIMAL: "decimal",
|
|
16510
|
+
/** End-aligned tab stop (right-to-left equivalent) */
|
|
16292
16511
|
END: "end",
|
|
16512
|
+
/** List tab stop for numbered lists */
|
|
16293
16513
|
NUM: "num",
|
|
16514
|
+
/** Start-aligned tab stop (left-to-right equivalent) */
|
|
16294
16515
|
START: "start"
|
|
16295
16516
|
};
|
|
16296
16517
|
/**
|
|
@@ -16301,10 +16522,15 @@ var TabStopType = {
|
|
|
16301
16522
|
* @publicApi
|
|
16302
16523
|
*/
|
|
16303
16524
|
var LeaderType = {
|
|
16525
|
+
/** Dot leader (....) */
|
|
16304
16526
|
DOT: "dot",
|
|
16527
|
+
/** Hyphen leader (----) */
|
|
16305
16528
|
HYPHEN: "hyphen",
|
|
16529
|
+
/** Middle dot leader (····) */
|
|
16306
16530
|
MIDDLE_DOT: "middleDot",
|
|
16531
|
+
/** No leader */
|
|
16307
16532
|
NONE: "none",
|
|
16533
|
+
/** Underscore leader (____) */
|
|
16308
16534
|
UNDERSCORE: "underscore"
|
|
16309
16535
|
};
|
|
16310
16536
|
/**
|
|
@@ -16312,7 +16538,9 @@ var LeaderType = {
|
|
|
16312
16538
|
*
|
|
16313
16539
|
* @publicApi
|
|
16314
16540
|
*/
|
|
16315
|
-
var TabStopPosition = {
|
|
16541
|
+
var TabStopPosition = {
|
|
16542
|
+
/** Maximum tab stop position (right margin) */
|
|
16543
|
+
MAX: 9026 };
|
|
16316
16544
|
/**
|
|
16317
16545
|
* Creates a single tab stop item element.
|
|
16318
16546
|
*
|
|
@@ -16543,7 +16771,9 @@ var HyperlinkAttributes = class extends XmlAttributeComponent {
|
|
|
16543
16771
|
* @publicApi
|
|
16544
16772
|
*/
|
|
16545
16773
|
var HyperlinkType = {
|
|
16774
|
+
/** Internal hyperlink to a bookmark within the document */
|
|
16546
16775
|
INTERNAL: "INTERNAL",
|
|
16776
|
+
/** External hyperlink to a URL outside the document */
|
|
16547
16777
|
EXTERNAL: "EXTERNAL"
|
|
16548
16778
|
};
|
|
16549
16779
|
/**
|
|
@@ -16659,6 +16889,7 @@ var InternalHyperlink = class extends ConcreteHyperlink {
|
|
|
16659
16889
|
var ExternalHyperlink = class extends XmlComponent {
|
|
16660
16890
|
constructor(options) {
|
|
16661
16891
|
super("w:externalHyperlink");
|
|
16892
|
+
_defineProperty(this, "options", void 0);
|
|
16662
16893
|
this.options = options;
|
|
16663
16894
|
}
|
|
16664
16895
|
};
|
|
@@ -16908,10 +17139,10 @@ var NumberedItemReferenceFormat = /* @__PURE__ */ function(NumberedItemReference
|
|
|
16908
17139
|
return NumberedItemReferenceFormat;
|
|
16909
17140
|
}({});
|
|
16910
17141
|
var SWITCH_MAP = {
|
|
16911
|
-
[
|
|
16912
|
-
[
|
|
16913
|
-
[
|
|
16914
|
-
[
|
|
17142
|
+
["relative"]: "\\r",
|
|
17143
|
+
["no_context"]: "\\n",
|
|
17144
|
+
["full_context"]: "\\w",
|
|
17145
|
+
["none"]: void 0
|
|
16915
17146
|
};
|
|
16916
17147
|
/**
|
|
16917
17148
|
* Creates a field/cross reference to a numbered item in the document.
|
|
@@ -16930,7 +17161,7 @@ var SWITCH_MAP = {
|
|
|
16930
17161
|
*/
|
|
16931
17162
|
var NumberedItemReference = class extends SimpleField {
|
|
16932
17163
|
constructor(bookmarkId, cachedValue, options = {}) {
|
|
16933
|
-
const { hyperlink = true, referenceFormat =
|
|
17164
|
+
const { hyperlink = true, referenceFormat = "full_context" } = options;
|
|
16934
17165
|
const instruction = `${`REF ${bookmarkId}`} ${[...hyperlink ? ["\\h"] : [], ...[SWITCH_MAP[referenceFormat]].filter((a) => !!a)].join(" ")}`;
|
|
16935
17166
|
super(instruction, cachedValue);
|
|
16936
17167
|
}
|
|
@@ -17346,6 +17577,7 @@ var createFontTable = (fonts) => new BuilderElement({
|
|
|
17346
17577
|
*/
|
|
17347
17578
|
var FontWrapper = class {
|
|
17348
17579
|
constructor(options) {
|
|
17580
|
+
_defineProperty(this, "options", void 0);
|
|
17349
17581
|
_defineProperty(this, "fontTable", void 0);
|
|
17350
17582
|
_defineProperty(this, "relationships", void 0);
|
|
17351
17583
|
_defineProperty(this, "fontOptionsWithKey", []);
|
|
@@ -17397,8 +17629,11 @@ var createWordWrap = () => new BuilderElement({
|
|
|
17397
17629
|
* beginning of a paragraph. This enum defines how the drop cap should be positioned.
|
|
17398
17630
|
*/
|
|
17399
17631
|
var DropCapType = {
|
|
17632
|
+
/** No drop cap effect */
|
|
17400
17633
|
NONE: "none",
|
|
17634
|
+
/** Drop cap that drops down into the paragraph text */
|
|
17401
17635
|
DROP: "drop",
|
|
17636
|
+
/** Drop cap that extends into the margin */
|
|
17402
17637
|
MARGIN: "margin"
|
|
17403
17638
|
};
|
|
17404
17639
|
/**
|
|
@@ -17407,8 +17642,11 @@ var DropCapType = {
|
|
|
17407
17642
|
* Determines the reference point for frame positioning (horizontal and vertical).
|
|
17408
17643
|
*/
|
|
17409
17644
|
var FrameAnchorType = {
|
|
17645
|
+
/** Anchor relative to the page margin */
|
|
17410
17646
|
MARGIN: "margin",
|
|
17647
|
+
/** Anchor relative to the page edge */
|
|
17411
17648
|
PAGE: "page",
|
|
17649
|
+
/** Anchor relative to the text column */
|
|
17412
17650
|
TEXT: "text"
|
|
17413
17651
|
};
|
|
17414
17652
|
/**
|
|
@@ -17417,11 +17655,17 @@ var FrameAnchorType = {
|
|
|
17417
17655
|
* Controls how surrounding text wraps around the frame.
|
|
17418
17656
|
*/
|
|
17419
17657
|
var FrameWrap = {
|
|
17658
|
+
/** Wrap text around the frame on all sides */
|
|
17420
17659
|
AROUND: "around",
|
|
17660
|
+
/** Automatic wrapping based on available space */
|
|
17421
17661
|
AUTO: "auto",
|
|
17662
|
+
/** No text wrapping */
|
|
17422
17663
|
NONE: "none",
|
|
17664
|
+
/** Do not allow text beside the frame */
|
|
17423
17665
|
NOT_BESIDE: "notBeside",
|
|
17666
|
+
/** Allow text to flow through the frame */
|
|
17424
17667
|
THROUGH: "through",
|
|
17668
|
+
/** Wrap text tightly around the frame */
|
|
17425
17669
|
TIGHT: "tight"
|
|
17426
17670
|
};
|
|
17427
17671
|
/**
|
|
@@ -19920,7 +20164,13 @@ var DeletedTableCell = class extends XmlComponent {
|
|
|
19920
20164
|
* Vertical merge revision types.
|
|
19921
20165
|
*/
|
|
19922
20166
|
var VerticalMergeRevisionType = {
|
|
20167
|
+
/**
|
|
20168
|
+
* Cell that is merged with upper one.
|
|
20169
|
+
*/
|
|
19923
20170
|
CONTINUE: "cont",
|
|
20171
|
+
/**
|
|
20172
|
+
* Cell that is starting the vertical merge.
|
|
20173
|
+
*/
|
|
19924
20174
|
RESTART: "rest"
|
|
19925
20175
|
};
|
|
19926
20176
|
var CellMergeAttributes = class extends XmlAttributeComponent {
|
|
@@ -20157,9 +20407,13 @@ var createCellMargin = (options) => {
|
|
|
20157
20407
|
* @publicApi
|
|
20158
20408
|
*/
|
|
20159
20409
|
var WidthType = {
|
|
20410
|
+
/** Auto. */
|
|
20160
20411
|
AUTO: "auto",
|
|
20412
|
+
/** Value is in twentieths of a point */
|
|
20161
20413
|
DXA: "dxa",
|
|
20414
|
+
/** No (empty) value. */
|
|
20162
20415
|
NIL: "nil",
|
|
20416
|
+
/** Value is in percentage. */
|
|
20163
20417
|
PERCENTAGE: "pct"
|
|
20164
20418
|
};
|
|
20165
20419
|
/**
|
|
@@ -20291,7 +20545,15 @@ var GridSpan = class extends XmlComponent {
|
|
|
20291
20545
|
* Defines the merge behavior for vertically merged cells (row span).
|
|
20292
20546
|
*/
|
|
20293
20547
|
var VerticalMergeType = {
|
|
20548
|
+
/**
|
|
20549
|
+
* Cell that is merged with upper one.
|
|
20550
|
+
* This cell continues a vertical merge started by a cell above it.
|
|
20551
|
+
*/
|
|
20294
20552
|
CONTINUE: "continue",
|
|
20553
|
+
/**
|
|
20554
|
+
* Cell that is starting the vertical merge.
|
|
20555
|
+
* This cell begins a new vertical merge region.
|
|
20556
|
+
*/
|
|
20295
20557
|
RESTART: "restart"
|
|
20296
20558
|
};
|
|
20297
20559
|
/**
|
|
@@ -20340,8 +20602,11 @@ var VerticalMerge = class extends XmlComponent {
|
|
|
20340
20602
|
* Specifies the direction in which text flows within a table cell.
|
|
20341
20603
|
*/
|
|
20342
20604
|
var TextDirection = {
|
|
20605
|
+
/** Text flows from bottom to top, left to right */
|
|
20343
20606
|
BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr",
|
|
20607
|
+
/** Text flows from left to right, top to bottom (default) */
|
|
20344
20608
|
LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb",
|
|
20609
|
+
/** Text flows from top to bottom, right to left */
|
|
20345
20610
|
TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl"
|
|
20346
20611
|
};
|
|
20347
20612
|
/**
|
|
@@ -20545,6 +20810,7 @@ var TableCellPropertiesChange = class extends XmlComponent {
|
|
|
20545
20810
|
var TableCell = class extends XmlComponent {
|
|
20546
20811
|
constructor(options) {
|
|
20547
20812
|
super("w:tc");
|
|
20813
|
+
_defineProperty(this, "options", void 0);
|
|
20548
20814
|
this.options = options;
|
|
20549
20815
|
this.root.push(new TableCellProperties(options));
|
|
20550
20816
|
for (const child of options.children) this.root.push(child);
|
|
@@ -20794,7 +21060,9 @@ var createTableFloatProperties = ({ horizontalAnchor, verticalAnchor, absoluteHo
|
|
|
20794
21060
|
* @publicApi
|
|
20795
21061
|
*/
|
|
20796
21062
|
var TableLayoutType = {
|
|
21063
|
+
/** Auto-fit layout - column widths are adjusted based on content */
|
|
20797
21064
|
AUTOFIT: "autofit",
|
|
21065
|
+
/** Fixed layout - column widths are fixed as specified */
|
|
20798
21066
|
FIXED: "fixed"
|
|
20799
21067
|
};
|
|
20800
21068
|
/**
|
|
@@ -20847,7 +21115,9 @@ var createTableLayout = (type) => new BuilderElement({
|
|
|
20847
21115
|
* ```
|
|
20848
21116
|
*/
|
|
20849
21117
|
var CellSpacingType = {
|
|
21118
|
+
/** Value is in twentieths of a point */
|
|
20850
21119
|
DXA: "dxa",
|
|
21120
|
+
/** No (empty) value. */
|
|
20851
21121
|
NIL: "nil"
|
|
20852
21122
|
};
|
|
20853
21123
|
/**
|
|
@@ -21160,8 +21430,11 @@ var Table = class extends FileChild {
|
|
|
21160
21430
|
* @publicApi
|
|
21161
21431
|
*/
|
|
21162
21432
|
var HeightRule = {
|
|
21433
|
+
/** Height is determined based on the content, so value is ignored. */
|
|
21163
21434
|
AUTO: "auto",
|
|
21435
|
+
/** At least the value specified */
|
|
21164
21436
|
ATLEAST: "atLeast",
|
|
21437
|
+
/** Exactly the value specified */
|
|
21165
21438
|
EXACT: "exact"
|
|
21166
21439
|
};
|
|
21167
21440
|
/**
|
|
@@ -21339,6 +21612,7 @@ var TableRowPropertiesChange = class extends XmlComponent {
|
|
|
21339
21612
|
var TableRow = class extends XmlComponent {
|
|
21340
21613
|
constructor(options) {
|
|
21341
21614
|
super("w:tr");
|
|
21615
|
+
_defineProperty(this, "options", void 0);
|
|
21342
21616
|
this.options = options;
|
|
21343
21617
|
this.root.push(new TableRowProperties(options));
|
|
21344
21618
|
for (const child of options.children) this.root.push(child);
|
|
@@ -22052,9 +22326,24 @@ var createColumns = ({ space, count, separate, equalWidth, children }) => new Bu
|
|
|
22052
22326
|
* ```
|
|
22053
22327
|
*/
|
|
22054
22328
|
var DocumentGridType = {
|
|
22329
|
+
/**
|
|
22330
|
+
* Specifies that no document grid shall be applied to the contents of the current section in the document.
|
|
22331
|
+
*/
|
|
22055
22332
|
DEFAULT: "default",
|
|
22333
|
+
/**
|
|
22334
|
+
* 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.
|
|
22335
|
+
*/
|
|
22056
22336
|
LINES: "lines",
|
|
22337
|
+
/**
|
|
22338
|
+
* 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.
|
|
22339
|
+
*
|
|
22340
|
+
* When this value is set, the input specified via the user interface may be allowed in exact number of line/character pitch units. */
|
|
22057
22341
|
LINES_AND_CHARS: "linesAndChars",
|
|
22342
|
+
/**
|
|
22343
|
+
* 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.
|
|
22344
|
+
*
|
|
22345
|
+
* 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
|
|
22346
|
+
*/
|
|
22058
22347
|
SNAP_TO_CHARS: "snapToChars"
|
|
22059
22348
|
};
|
|
22060
22349
|
/**
|
|
@@ -22107,8 +22396,11 @@ var createDocumentGrid = ({ type, linePitch, charSpace }) => new BuilderElement(
|
|
|
22107
22396
|
* ```
|
|
22108
22397
|
*/
|
|
22109
22398
|
var HeaderFooterReferenceType = {
|
|
22399
|
+
/** Specifies that this header or footer shall appear on every page in this section which is not overridden with a specific `even` or `first` page header/footer. In a section with all three types specified, this type shall be used on all odd numbered pages (counting from the `first` page in the section, not the section numbering). */
|
|
22110
22400
|
DEFAULT: "default",
|
|
22401
|
+
/** Specifies that this header or footer shall appear on the first page in this section. The appearance of this header or footer is contingent on the setting of the `titlePg` element (§2.10.6). */
|
|
22111
22402
|
FIRST: "first",
|
|
22403
|
+
/** Specifies that this header or footer shall appear on all even numbered pages in this section (counting from the first page in the section, not the section numbering). The appearance of this header or footer is contingent on the setting of the `evenAndOddHeaders` element (§2.10.1). */
|
|
22112
22404
|
EVEN: "even"
|
|
22113
22405
|
};
|
|
22114
22406
|
var HeaderFooterType = {
|
|
@@ -22150,8 +22442,23 @@ var createHeaderFooterReference = (type, options) => new BuilderElement({
|
|
|
22150
22442
|
* @publicApi
|
|
22151
22443
|
*/
|
|
22152
22444
|
var LineNumberRestartFormat = {
|
|
22445
|
+
/**
|
|
22446
|
+
* ## Restart Line Numbering on Each Page
|
|
22447
|
+
*
|
|
22448
|
+
* Specifies that line numbering for the parent section shall restart to the starting value whenever a new page is displayed.
|
|
22449
|
+
*/
|
|
22153
22450
|
NEW_PAGE: "newPage",
|
|
22451
|
+
/**
|
|
22452
|
+
* ## Restart Line Numbering for Each Section
|
|
22453
|
+
*
|
|
22454
|
+
* Specifies that line numbering for the parent section shall restart to the starting value whenever the parent begins.
|
|
22455
|
+
*/
|
|
22154
22456
|
NEW_SECTION: "newSection",
|
|
22457
|
+
/**
|
|
22458
|
+
* ## Continue Line Numbering From Previous Section
|
|
22459
|
+
*
|
|
22460
|
+
* Specifies that line numbering for the parent section shall continue from the line numbering from the end of the previous section, if any.
|
|
22461
|
+
*/
|
|
22155
22462
|
CONTINUOUS: "continuous"
|
|
22156
22463
|
};
|
|
22157
22464
|
/**
|
|
@@ -22221,8 +22528,11 @@ var createLineNumberType = ({ countBy, start, restart, distance }) => new Builde
|
|
|
22221
22528
|
* @publicApi
|
|
22222
22529
|
*/
|
|
22223
22530
|
var PageBorderDisplay = {
|
|
22531
|
+
/** Display border on all pages */
|
|
22224
22532
|
ALL_PAGES: "allPages",
|
|
22533
|
+
/** Display border only on first page */
|
|
22225
22534
|
FIRST_PAGE: "firstPage",
|
|
22535
|
+
/** Display border on all pages except first page */
|
|
22226
22536
|
NOT_FIRST_PAGE: "notFirstPage"
|
|
22227
22537
|
};
|
|
22228
22538
|
/**
|
|
@@ -22241,7 +22551,9 @@ var PageBorderDisplay = {
|
|
|
22241
22551
|
* @publicApi
|
|
22242
22552
|
*/
|
|
22243
22553
|
var PageBorderOffsetFrom = {
|
|
22554
|
+
/** Position border relative to page edge */
|
|
22244
22555
|
PAGE: "page",
|
|
22556
|
+
/** Position border relative to text (default) */
|
|
22245
22557
|
TEXT: "text"
|
|
22246
22558
|
};
|
|
22247
22559
|
/**
|
|
@@ -22260,7 +22572,9 @@ var PageBorderOffsetFrom = {
|
|
|
22260
22572
|
* @publicApi
|
|
22261
22573
|
*/
|
|
22262
22574
|
var PageBorderZOrder = {
|
|
22575
|
+
/** Display border behind page contents */
|
|
22263
22576
|
BACK: "back",
|
|
22577
|
+
/** Display border in front of page contents (default) */
|
|
22264
22578
|
FRONT: "front"
|
|
22265
22579
|
};
|
|
22266
22580
|
var PageBordersAttributes = class extends XmlAttributeComponent {
|
|
@@ -22418,10 +22732,15 @@ var createPageMargin = (top, right, bottom, left, header, footer, gutter) => new
|
|
|
22418
22732
|
* @publicApi
|
|
22419
22733
|
*/
|
|
22420
22734
|
var PageNumberSeparator = {
|
|
22735
|
+
/** Hyphen separator (-) */
|
|
22421
22736
|
HYPHEN: "hyphen",
|
|
22737
|
+
/** Period separator (.) */
|
|
22422
22738
|
PERIOD: "period",
|
|
22739
|
+
/** Colon separator (:) */
|
|
22423
22740
|
COLON: "colon",
|
|
22741
|
+
/** Em dash separator (—) */
|
|
22424
22742
|
EM_DASH: "emDash",
|
|
22743
|
+
/** En dash separator (–) */
|
|
22425
22744
|
EN_DASH: "endash"
|
|
22426
22745
|
};
|
|
22427
22746
|
/**
|
|
@@ -22489,7 +22808,17 @@ var createPageNumberType = ({ start, formatType, separator }) => new BuilderElem
|
|
|
22489
22808
|
* @publicApi
|
|
22490
22809
|
*/
|
|
22491
22810
|
var PageOrientation = {
|
|
22811
|
+
/**
|
|
22812
|
+
* ## Portrait Mode
|
|
22813
|
+
*
|
|
22814
|
+
* Specifies that pages in this section shall be printed in portrait mode.
|
|
22815
|
+
*/
|
|
22492
22816
|
PORTRAIT: "portrait",
|
|
22817
|
+
/**
|
|
22818
|
+
* ## Landscape Mode
|
|
22819
|
+
*
|
|
22820
|
+
* 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.
|
|
22821
|
+
*/
|
|
22493
22822
|
LANDSCAPE: "landscape"
|
|
22494
22823
|
};
|
|
22495
22824
|
/**
|
|
@@ -22551,7 +22880,9 @@ var createPageSize = ({ width, height, orientation, code }) => {
|
|
|
22551
22880
|
* vertically (top-to-bottom), commonly used for East Asian languages.
|
|
22552
22881
|
*/
|
|
22553
22882
|
var PageTextDirectionType = {
|
|
22883
|
+
/** Left-to-right, top-to-bottom (standard Western text flow) */
|
|
22554
22884
|
LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb",
|
|
22885
|
+
/** Top-to-bottom, right-to-left (vertical East Asian text flow) */
|
|
22555
22886
|
TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl"
|
|
22556
22887
|
};
|
|
22557
22888
|
var PageTextDirectionAttributes = class extends XmlAttributeComponent {
|
|
@@ -22615,10 +22946,15 @@ var PageTextDirection = class extends XmlComponent {
|
|
|
22615
22946
|
* @publicApi
|
|
22616
22947
|
*/
|
|
22617
22948
|
var SectionType = {
|
|
22949
|
+
/** Section begins on the next page */
|
|
22618
22950
|
NEXT_PAGE: "nextPage",
|
|
22951
|
+
/** Section begins on the next column */
|
|
22619
22952
|
NEXT_COLUMN: "nextColumn",
|
|
22953
|
+
/** Section begins immediately following the previous section */
|
|
22620
22954
|
CONTINUOUS: "continuous",
|
|
22955
|
+
/** Section begins on the next even-numbered page */
|
|
22621
22956
|
EVEN_PAGE: "evenPage",
|
|
22957
|
+
/** Section begins on the next odd-numbered page */
|
|
22622
22958
|
ODD_PAGE: "oddPage"
|
|
22623
22959
|
};
|
|
22624
22960
|
/**
|
|
@@ -22669,12 +23005,19 @@ var createSectionType = (value) => new BuilderElement({
|
|
|
22669
23005
|
* @property GUTTER - Gutter margin: 0 twips
|
|
22670
23006
|
*/
|
|
22671
23007
|
var sectionMarginDefaults = {
|
|
23008
|
+
/** Top margin: 1440 twips (1 inch) */
|
|
22672
23009
|
TOP: 1440,
|
|
23010
|
+
/** Right margin: 1440 twips (1 inch) */
|
|
22673
23011
|
RIGHT: 1440,
|
|
23012
|
+
/** Bottom margin: 1440 twips (1 inch) */
|
|
22674
23013
|
BOTTOM: 1440,
|
|
23014
|
+
/** Left margin: 1440 twips (1 inch) */
|
|
22675
23015
|
LEFT: 1440,
|
|
23016
|
+
/** Header margin from top: 708 twips (0.5 inches) */
|
|
22676
23017
|
HEADER: 708,
|
|
23018
|
+
/** Footer margin from bottom: 708 twips (0.5 inches) */
|
|
22677
23019
|
FOOTER: 708,
|
|
23020
|
+
/** Gutter margin for binding: 0 twips */
|
|
22678
23021
|
GUTTER: 0
|
|
22679
23022
|
};
|
|
22680
23023
|
/**
|
|
@@ -22687,8 +23030,11 @@ var sectionMarginDefaults = {
|
|
|
22687
23030
|
* @property ORIENTATION - Page orientation: portrait
|
|
22688
23031
|
*/
|
|
22689
23032
|
var sectionPageSizeDefaults = {
|
|
23033
|
+
/** Page width: 11906 twips (8.27 inches, 210mm) */
|
|
22690
23034
|
WIDTH: 11906,
|
|
23035
|
+
/** Page height: 16838 twips (11.69 inches, 297mm) */
|
|
22691
23036
|
HEIGHT: 16838,
|
|
23037
|
+
/** Page orientation: portrait */
|
|
22692
23038
|
ORIENTATION: PageOrientation.PORTRAIT
|
|
22693
23039
|
};
|
|
22694
23040
|
/**
|
|
@@ -23610,6 +23956,7 @@ var Footer$1 = class extends InitializableXmlComponent {
|
|
|
23610
23956
|
*/
|
|
23611
23957
|
var FooterWrapper = class {
|
|
23612
23958
|
constructor(media, referenceId, initContent) {
|
|
23959
|
+
_defineProperty(this, "media", void 0);
|
|
23613
23960
|
_defineProperty(this, "footer", void 0);
|
|
23614
23961
|
_defineProperty(this, "relationships", void 0);
|
|
23615
23962
|
this.media = media;
|
|
@@ -23724,7 +24071,9 @@ var FootnoteRefRun = class extends Run {
|
|
|
23724
24071
|
* @publicApi
|
|
23725
24072
|
*/
|
|
23726
24073
|
var FootnoteType = {
|
|
24074
|
+
/** Separator line between body text and footnotes */
|
|
23727
24075
|
SEPERATOR: "separator",
|
|
24076
|
+
/** Continuation separator for footnotes spanning pages */
|
|
23728
24077
|
CONTINUATION_SEPERATOR: "continuationSeparator"
|
|
23729
24078
|
};
|
|
23730
24079
|
/**
|
|
@@ -24130,6 +24479,7 @@ var Header$1 = class extends InitializableXmlComponent {
|
|
|
24130
24479
|
*/
|
|
24131
24480
|
var HeaderWrapper = class {
|
|
24132
24481
|
constructor(media, referenceId, initContent) {
|
|
24482
|
+
_defineProperty(this, "media", void 0);
|
|
24133
24483
|
_defineProperty(this, "header", void 0);
|
|
24134
24484
|
_defineProperty(this, "relationships", void 0);
|
|
24135
24485
|
this.media = media;
|
|
@@ -24241,68 +24591,131 @@ var WORKAROUND2 = "";
|
|
|
24241
24591
|
* @publicApi
|
|
24242
24592
|
*/
|
|
24243
24593
|
var LevelFormat = {
|
|
24594
|
+
/** Decimal numbering (1, 2, 3...). */
|
|
24244
24595
|
DECIMAL: "decimal",
|
|
24596
|
+
/** Uppercase roman numerals (I, II, III...). */
|
|
24245
24597
|
UPPER_ROMAN: "upperRoman",
|
|
24598
|
+
/** Lowercase roman numerals (i, ii, iii...). */
|
|
24246
24599
|
LOWER_ROMAN: "lowerRoman",
|
|
24600
|
+
/** Uppercase letters (A, B, C...). */
|
|
24247
24601
|
UPPER_LETTER: "upperLetter",
|
|
24602
|
+
/** Lowercase letters (a, b, c...). */
|
|
24248
24603
|
LOWER_LETTER: "lowerLetter",
|
|
24604
|
+
/** Ordinal numbers (1st, 2nd, 3rd...). */
|
|
24249
24605
|
ORDINAL: "ordinal",
|
|
24606
|
+
/** Cardinal text (one, two, three...). */
|
|
24250
24607
|
CARDINAL_TEXT: "cardinalText",
|
|
24608
|
+
/** Ordinal text (first, second, third...). */
|
|
24251
24609
|
ORDINAL_TEXT: "ordinalText",
|
|
24610
|
+
/** Hexadecimal numbering. */
|
|
24252
24611
|
HEX: "hex",
|
|
24612
|
+
/** Chicago Manual of Style numbering. */
|
|
24253
24613
|
CHICAGO: "chicago",
|
|
24614
|
+
/** Ideograph digital numbering. */
|
|
24254
24615
|
IDEOGRAPH__DIGITAL: "ideographDigital",
|
|
24616
|
+
/** Japanese counting system. */
|
|
24255
24617
|
JAPANESE_COUNTING: "japaneseCounting",
|
|
24618
|
+
/** Japanese aiueo ordering. */
|
|
24256
24619
|
AIUEO: "aiueo",
|
|
24620
|
+
/** Japanese iroha ordering. */
|
|
24257
24621
|
IROHA: "iroha",
|
|
24622
|
+
/** Full-width decimal numbering. */
|
|
24258
24623
|
DECIMAL_FULL_WIDTH: "decimalFullWidth",
|
|
24624
|
+
/** Half-width decimal numbering. */
|
|
24259
24625
|
DECIMAL_HALF_WIDTH: "decimalHalfWidth",
|
|
24626
|
+
/** Japanese legal numbering. */
|
|
24260
24627
|
JAPANESE_LEGAL: "japaneseLegal",
|
|
24628
|
+
/** Japanese digital ten thousand numbering. */
|
|
24261
24629
|
JAPANESE_DIGITAL_TEN_THOUSAND: "japaneseDigitalTenThousand",
|
|
24630
|
+
/** Decimal numbers enclosed in circles. */
|
|
24262
24631
|
DECIMAL_ENCLOSED_CIRCLE: "decimalEnclosedCircle",
|
|
24632
|
+
/** Full-width decimal numbering variant 2. */
|
|
24263
24633
|
DECIMAL_FULL_WIDTH2: "decimalFullWidth2",
|
|
24634
|
+
/** Full-width aiueo ordering. */
|
|
24264
24635
|
AIUEO_FULL_WIDTH: "aiueoFullWidth",
|
|
24636
|
+
/** Full-width iroha ordering. */
|
|
24265
24637
|
IROHA_FULL_WIDTH: "irohaFullWidth",
|
|
24638
|
+
/** Decimal with leading zeros. */
|
|
24266
24639
|
DECIMAL_ZERO: "decimalZero",
|
|
24640
|
+
/** Bullet points. */
|
|
24267
24641
|
BULLET: "bullet",
|
|
24642
|
+
/** Korean ganada ordering. */
|
|
24268
24643
|
GANADA: "ganada",
|
|
24644
|
+
/** Korean chosung ordering. */
|
|
24269
24645
|
CHOSUNG: "chosung",
|
|
24646
|
+
/** Decimal enclosed with fullstop. */
|
|
24270
24647
|
DECIMAL_ENCLOSED_FULLSTOP: "decimalEnclosedFullstop",
|
|
24648
|
+
/** Decimal enclosed in parentheses. */
|
|
24271
24649
|
DECIMAL_ENCLOSED_PARENTHESES: "decimalEnclosedParen",
|
|
24650
|
+
/** Decimal enclosed in circles (Chinese). */
|
|
24272
24651
|
DECIMAL_ENCLOSED_CIRCLE_CHINESE: "decimalEnclosedCircleChinese",
|
|
24652
|
+
/** Ideograph enclosed in circles. */
|
|
24273
24653
|
IDEOGRAPH_ENCLOSED_CIRCLE: "ideographEnclosedCircle",
|
|
24654
|
+
/** Traditional ideograph numbering. */
|
|
24274
24655
|
IDEOGRAPH_TRADITIONAL: "ideographTraditional",
|
|
24656
|
+
/** Ideograph zodiac numbering. */
|
|
24275
24657
|
IDEOGRAPH_ZODIAC: "ideographZodiac",
|
|
24658
|
+
/** Traditional ideograph zodiac numbering. */
|
|
24276
24659
|
IDEOGRAPH_ZODIAC_TRADITIONAL: "ideographZodiacTraditional",
|
|
24660
|
+
/** Taiwanese counting system. */
|
|
24277
24661
|
TAIWANESE_COUNTING: "taiwaneseCounting",
|
|
24662
|
+
/** Traditional ideograph legal numbering. */
|
|
24278
24663
|
IDEOGRAPH_LEGAL_TRADITIONAL: "ideographLegalTraditional",
|
|
24664
|
+
/** Taiwanese counting thousand system. */
|
|
24279
24665
|
TAIWANESE_COUNTING_THOUSAND: "taiwaneseCountingThousand",
|
|
24666
|
+
/** Taiwanese digital numbering. */
|
|
24280
24667
|
TAIWANESE_DIGITAL: "taiwaneseDigital",
|
|
24668
|
+
/** Chinese counting system. */
|
|
24281
24669
|
CHINESE_COUNTING: "chineseCounting",
|
|
24670
|
+
/** Simplified Chinese legal numbering. */
|
|
24282
24671
|
CHINESE_LEGAL_SIMPLIFIED: "chineseLegalSimplified",
|
|
24672
|
+
/** Chinese counting thousand system. */
|
|
24283
24673
|
CHINESE_COUNTING_THOUSAND: "chineseCountingThousand",
|
|
24674
|
+
/** Korean digital numbering. */
|
|
24284
24675
|
KOREAN_DIGITAL: "koreanDigital",
|
|
24676
|
+
/** Korean counting system. */
|
|
24285
24677
|
KOREAN_COUNTING: "koreanCounting",
|
|
24678
|
+
/** Korean legal numbering. */
|
|
24286
24679
|
KOREAN_LEGAL: "koreanLegal",
|
|
24680
|
+
/** Korean digital numbering variant 2. */
|
|
24287
24681
|
KOREAN_DIGITAL2: "koreanDigital2",
|
|
24682
|
+
/** Vietnamese counting system. */
|
|
24288
24683
|
VIETNAMESE_COUNTING: "vietnameseCounting",
|
|
24684
|
+
/** Russian lowercase numbering. */
|
|
24289
24685
|
RUSSIAN_LOWER: "russianLower",
|
|
24686
|
+
/** Russian uppercase numbering. */
|
|
24290
24687
|
RUSSIAN_UPPER: "russianUpper",
|
|
24688
|
+
/** No numbering. */
|
|
24291
24689
|
NONE: "none",
|
|
24690
|
+
/** Number enclosed in dashes. */
|
|
24292
24691
|
NUMBER_IN_DASH: "numberInDash",
|
|
24692
|
+
/** Hebrew numbering variant 1. */
|
|
24293
24693
|
HEBREW1: "hebrew1",
|
|
24694
|
+
/** Hebrew numbering variant 2. */
|
|
24294
24695
|
HEBREW2: "hebrew2",
|
|
24696
|
+
/** Arabic alpha numbering. */
|
|
24295
24697
|
ARABIC_ALPHA: "arabicAlpha",
|
|
24698
|
+
/** Arabic abjad numbering. */
|
|
24296
24699
|
ARABIC_ABJAD: "arabicAbjad",
|
|
24700
|
+
/** Hindi vowels. */
|
|
24297
24701
|
HINDI_VOWELS: "hindiVowels",
|
|
24702
|
+
/** Hindi consonants. */
|
|
24298
24703
|
HINDI_CONSONANTS: "hindiConsonants",
|
|
24704
|
+
/** Hindi numbers. */
|
|
24299
24705
|
HINDI_NUMBERS: "hindiNumbers",
|
|
24706
|
+
/** Hindi counting system. */
|
|
24300
24707
|
HINDI_COUNTING: "hindiCounting",
|
|
24708
|
+
/** Thai letters. */
|
|
24301
24709
|
THAI_LETTERS: "thaiLetters",
|
|
24710
|
+
/** Thai numbers. */
|
|
24302
24711
|
THAI_NUMBERS: "thaiNumbers",
|
|
24712
|
+
/** Thai counting system. */
|
|
24303
24713
|
THAI_COUNTING: "thaiCounting",
|
|
24714
|
+
/** Thai Baht text. */
|
|
24304
24715
|
BAHT_TEXT: "bahtText",
|
|
24716
|
+
/** Dollar text. */
|
|
24305
24717
|
DOLLAR_TEXT: "dollarText",
|
|
24718
|
+
/** Custom numbering format. */
|
|
24306
24719
|
CUSTOM: "custom"
|
|
24307
24720
|
};
|
|
24308
24721
|
/**
|
|
@@ -24369,8 +24782,11 @@ var LevelJc = class extends XmlComponent {
|
|
|
24369
24782
|
* @publicApi
|
|
24370
24783
|
*/
|
|
24371
24784
|
var LevelSuffix = {
|
|
24785
|
+
/** No separator after the numbering. */
|
|
24372
24786
|
NOTHING: "nothing",
|
|
24787
|
+
/** Space character after the numbering. */
|
|
24373
24788
|
SPACE: "space",
|
|
24789
|
+
/** Tab character after the numbering. */
|
|
24374
24790
|
TAB: "tab"
|
|
24375
24791
|
};
|
|
24376
24792
|
/**
|
|
@@ -26422,8 +26838,13 @@ var File = class {
|
|
|
26422
26838
|
const defaultStyles = new DefaultStylesFactory().newInstance((_options$styles = options.styles) === null || _options$styles === void 0 ? void 0 : _options$styles.default);
|
|
26423
26839
|
const externalStyles = new ExternalStylesFactory().newInstance(options.externalStyles);
|
|
26424
26840
|
this.styles = new Styles(_objectSpread2(_objectSpread2({}, externalStyles), {}, { importedStyles: [...defaultStyles.importedStyles, ...externalStyles.importedStyles] }));
|
|
26425
|
-
} else if (options.styles)
|
|
26426
|
-
|
|
26841
|
+
} else if (options.styles) {
|
|
26842
|
+
const defaultStyles = new DefaultStylesFactory().newInstance(options.styles.default);
|
|
26843
|
+
this.styles = new Styles(_objectSpread2(_objectSpread2({}, defaultStyles), options.styles));
|
|
26844
|
+
} else {
|
|
26845
|
+
const stylesFactory = new DefaultStylesFactory();
|
|
26846
|
+
this.styles = new Styles(stylesFactory.newInstance());
|
|
26847
|
+
}
|
|
26427
26848
|
this.addDefaultRelationships();
|
|
26428
26849
|
for (const section of options.sections) this.addSection(section);
|
|
26429
26850
|
if (options.footnotes) for (const key in options.footnotes) this.footnotesWrapper.View.createFootNote(parseFloat(key), options.footnotes[key].children);
|
|
@@ -26707,7 +27128,7 @@ var StructuredDocumentTagProperties = class extends XmlComponent {
|
|
|
26707
27128
|
}
|
|
26708
27129
|
};
|
|
26709
27130
|
//#endregion
|
|
26710
|
-
//#region \0@oxc-project+runtime@0.
|
|
27131
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/objectWithoutPropertiesLoose.js
|
|
26711
27132
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
26712
27133
|
if (null == r) return {};
|
|
26713
27134
|
var t = {};
|
|
@@ -26718,7 +27139,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
26718
27139
|
return t;
|
|
26719
27140
|
}
|
|
26720
27141
|
//#endregion
|
|
26721
|
-
//#region \0@oxc-project+runtime@0.
|
|
27142
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/objectWithoutProperties.js
|
|
26722
27143
|
function _objectWithoutProperties(e, t) {
|
|
26723
27144
|
if (null == e) return {};
|
|
26724
27145
|
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
@@ -30671,8 +31092,8 @@ var require_escapeForXML = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
30671
31092
|
module.exports = escapeForXML;
|
|
30672
31093
|
}));
|
|
30673
31094
|
//#endregion
|
|
30674
|
-
//#region
|
|
30675
|
-
var
|
|
31095
|
+
//#region node_modules/xml/lib/xml.js
|
|
31096
|
+
var require_xml = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
30676
31097
|
init_dist();
|
|
30677
31098
|
var escapeForXML = require_escapeForXML();
|
|
30678
31099
|
var Stream = require_stream_browserify().Stream;
|
|
@@ -30845,9 +31266,12 @@ var import_xml = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((export
|
|
|
30845
31266
|
}
|
|
30846
31267
|
module.exports = xml;
|
|
30847
31268
|
module.exports.element = module.exports.Element = element;
|
|
30848
|
-
}))
|
|
30849
|
-
|
|
31269
|
+
}));
|
|
31270
|
+
//#endregion
|
|
31271
|
+
//#region src/file/fonts/obfuscate-ttf-to-odttf.ts
|
|
30850
31272
|
var import_stream_browserify = require_stream_browserify();
|
|
31273
|
+
var import_jszip_min = /* @__PURE__ */ __toESM(require_jszip_min(), 1);
|
|
31274
|
+
var import_xml = /* @__PURE__ */ __toESM(require_xml(), 1);
|
|
30851
31275
|
/**
|
|
30852
31276
|
* Font obfuscation module for embedding fonts in WordprocessingML documents.
|
|
30853
31277
|
*
|
|
@@ -31442,7 +31866,7 @@ var Compiler = class {
|
|
|
31442
31866
|
}
|
|
31443
31867
|
};
|
|
31444
31868
|
//#endregion
|
|
31445
|
-
//#region \0@oxc-project+runtime@0.
|
|
31869
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/asyncToGenerator.js
|
|
31446
31870
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
31447
31871
|
try {
|
|
31448
31872
|
var i = n[a](c), u = i.value;
|
|
@@ -31483,9 +31907,13 @@ function _asyncToGenerator(n) {
|
|
|
31483
31907
|
* @publicApi
|
|
31484
31908
|
*/
|
|
31485
31909
|
var PrettifyType = {
|
|
31910
|
+
/** No prettification (smallest file size) */
|
|
31486
31911
|
NONE: "",
|
|
31912
|
+
/** Indent with 2 spaces */
|
|
31487
31913
|
WITH_2_BLANKS: " ",
|
|
31914
|
+
/** Indent with 4 spaces */
|
|
31488
31915
|
WITH_4_BLANKS: " ",
|
|
31916
|
+
/** Indent with tab character */
|
|
31489
31917
|
WITH_TAB: " "
|
|
31490
31918
|
};
|
|
31491
31919
|
var convertPrettifyType = (prettify) => prettify === true ? PrettifyType.WITH_2_BLANKS : prettify === false ? void 0 : prettify;
|
|
@@ -31880,8 +32308,11 @@ var splitRunElement = (runElement, token) => {
|
|
|
31880
32308
|
* Replacement modes for multi-run text replacement.
|
|
31881
32309
|
*/
|
|
31882
32310
|
var ReplaceMode = {
|
|
32311
|
+
/** Looking for the start of the replacement text */
|
|
31883
32312
|
START: 0,
|
|
32313
|
+
/** Processing runs in the middle of the replacement text */
|
|
31884
32314
|
MIDDLE: 1,
|
|
32315
|
+
/** Reached the end of the replacement text */
|
|
31885
32316
|
END: 2
|
|
31886
32317
|
};
|
|
31887
32318
|
/**
|
|
@@ -32173,7 +32604,9 @@ var getLastElementIndexFromPath = (path) => path[path.length - 1];
|
|
|
32173
32604
|
* @publicApi
|
|
32174
32605
|
*/
|
|
32175
32606
|
var PatchType = {
|
|
32607
|
+
/** Replace entire file-level elements (e.g., whole paragraphs) */
|
|
32176
32608
|
DOCUMENT: "file",
|
|
32609
|
+
/** Replace content within paragraphs (inline replacement) */
|
|
32177
32610
|
PARAGRAPH: "paragraph"
|
|
32178
32611
|
};
|
|
32179
32612
|
var imageReplacer = new ImageReplacer();
|