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.cjs
CHANGED
|
@@ -7,7 +7,7 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
9
|
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
10
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
10
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
11
11
|
var __copyProps = (to, from, except, desc) => {
|
|
12
12
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
13
13
|
key = keys[i];
|
|
@@ -23,7 +23,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
23
|
enumerable: true
|
|
24
24
|
}) : target, mod));
|
|
25
25
|
//#endregion
|
|
26
|
-
//#region \0@oxc-project+runtime@0.
|
|
26
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/typeof.js
|
|
27
27
|
function _typeof(o) {
|
|
28
28
|
"@babel/helpers - typeof";
|
|
29
29
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -33,7 +33,7 @@ function _typeof(o) {
|
|
|
33
33
|
}, _typeof(o);
|
|
34
34
|
}
|
|
35
35
|
//#endregion
|
|
36
|
-
//#region \0@oxc-project+runtime@0.
|
|
36
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/toPrimitive.js
|
|
37
37
|
function toPrimitive(t, r) {
|
|
38
38
|
if ("object" != _typeof(t) || !t) return t;
|
|
39
39
|
var e = t[Symbol.toPrimitive];
|
|
@@ -45,13 +45,13 @@ function toPrimitive(t, r) {
|
|
|
45
45
|
return ("string" === r ? String : Number)(t);
|
|
46
46
|
}
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region \0@oxc-project+runtime@0.
|
|
48
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/toPropertyKey.js
|
|
49
49
|
function toPropertyKey(t) {
|
|
50
50
|
var i = toPrimitive(t, "string");
|
|
51
51
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
52
52
|
}
|
|
53
53
|
//#endregion
|
|
54
|
-
//#region \0@oxc-project+runtime@0.
|
|
54
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/defineProperty.js
|
|
55
55
|
function _defineProperty(e, r, t) {
|
|
56
56
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
57
57
|
value: t,
|
|
@@ -251,7 +251,7 @@ var IgnoreIfEmptyXmlComponent = class extends XmlComponent {
|
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
253
|
//#endregion
|
|
254
|
-
//#region \0@oxc-project+runtime@0.
|
|
254
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/objectSpread2.js
|
|
255
255
|
function ownKeys(e, r) {
|
|
256
256
|
var t = Object.keys(e);
|
|
257
257
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -308,6 +308,7 @@ var XmlAttributeComponent = class extends BaseXmlComponent {
|
|
|
308
308
|
*/
|
|
309
309
|
constructor(root) {
|
|
310
310
|
super("_attr");
|
|
311
|
+
_defineProperty(this, "root", void 0);
|
|
311
312
|
_defineProperty(
|
|
312
313
|
this,
|
|
313
314
|
/** Optional mapping from property names to XML attribute names. */
|
|
@@ -360,6 +361,7 @@ var NextAttributeComponent = class extends BaseXmlComponent {
|
|
|
360
361
|
*/
|
|
361
362
|
constructor(root) {
|
|
362
363
|
super("_attr");
|
|
364
|
+
_defineProperty(this, "root", void 0);
|
|
363
365
|
this.root = root;
|
|
364
366
|
}
|
|
365
367
|
/**
|
|
@@ -4383,7 +4385,8 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
4383
4385
|
this.ended = false;
|
|
4384
4386
|
this.finished = false;
|
|
4385
4387
|
this.destroyed = false;
|
|
4386
|
-
|
|
4388
|
+
var noDecode = options.decodeStrings === false;
|
|
4389
|
+
this.decodeStrings = !noDecode;
|
|
4387
4390
|
this.defaultEncoding = options.defaultEncoding || "utf8";
|
|
4388
4391
|
this.length = 0;
|
|
4389
4392
|
this.writing = false;
|
|
@@ -8125,6 +8128,7 @@ var ImportedRootElementAttributes = class extends XmlComponent {
|
|
|
8125
8128
|
*/
|
|
8126
8129
|
constructor(_attr) {
|
|
8127
8130
|
super("");
|
|
8131
|
+
_defineProperty(this, "_attr", void 0);
|
|
8128
8132
|
this._attr = _attr;
|
|
8129
8133
|
}
|
|
8130
8134
|
/**
|
|
@@ -8835,18 +8839,31 @@ var BuilderElement = class extends XmlComponent {
|
|
|
8835
8839
|
* @publicApi
|
|
8836
8840
|
*/
|
|
8837
8841
|
var AlignmentType = {
|
|
8842
|
+
/** Align Start */
|
|
8838
8843
|
START: "start",
|
|
8844
|
+
/** Align Center */
|
|
8839
8845
|
CENTER: "center",
|
|
8846
|
+
/** End */
|
|
8840
8847
|
END: "end",
|
|
8848
|
+
/** Justified */
|
|
8841
8849
|
BOTH: "both",
|
|
8850
|
+
/** Medium Kashida Length */
|
|
8842
8851
|
MEDIUM_KASHIDA: "mediumKashida",
|
|
8852
|
+
/** Distribute All Characters Equally */
|
|
8843
8853
|
DISTRIBUTE: "distribute",
|
|
8854
|
+
/** Align to List Tab */
|
|
8844
8855
|
NUM_TAB: "numTab",
|
|
8856
|
+
/** Widest Kashida Length */
|
|
8845
8857
|
HIGH_KASHIDA: "highKashida",
|
|
8858
|
+
/** Low Kashida Length */
|
|
8846
8859
|
LOW_KASHIDA: "lowKashida",
|
|
8860
|
+
/** Thai Language Justification */
|
|
8847
8861
|
THAI_DISTRIBUTE: "thaiDistribute",
|
|
8862
|
+
/** Align Left */
|
|
8848
8863
|
LEFT: "left",
|
|
8864
|
+
/** Align Right */
|
|
8849
8865
|
RIGHT: "right",
|
|
8866
|
+
/** Justified */
|
|
8850
8867
|
JUSTIFIED: "both"
|
|
8851
8868
|
};
|
|
8852
8869
|
/**
|
|
@@ -8994,32 +9011,59 @@ var createBorderElement = (elementName, { color, size, space, style }) => new Bu
|
|
|
8994
9011
|
* @publicApi
|
|
8995
9012
|
*/
|
|
8996
9013
|
var BorderStyle = {
|
|
9014
|
+
/** a single line */
|
|
8997
9015
|
SINGLE: "single",
|
|
9016
|
+
/** a line with a series of alternating thin and thick strokes */
|
|
8998
9017
|
DASH_DOT_STROKED: "dashDotStroked",
|
|
9018
|
+
/** a dashed line */
|
|
8999
9019
|
DASHED: "dashed",
|
|
9020
|
+
/** a dashed line with small gaps */
|
|
9000
9021
|
DASH_SMALL_GAP: "dashSmallGap",
|
|
9022
|
+
/** a line with alternating dots and dashes */
|
|
9001
9023
|
DOT_DASH: "dotDash",
|
|
9024
|
+
/** a line with a repeating dot - dot - dash sequence */
|
|
9002
9025
|
DOT_DOT_DASH: "dotDotDash",
|
|
9026
|
+
/** a dotted line */
|
|
9003
9027
|
DOTTED: "dotted",
|
|
9028
|
+
/** a double line */
|
|
9004
9029
|
DOUBLE: "double",
|
|
9030
|
+
/** a double wavy line */
|
|
9005
9031
|
DOUBLE_WAVE: "doubleWave",
|
|
9032
|
+
/** an inset set of lines */
|
|
9006
9033
|
INSET: "inset",
|
|
9034
|
+
/** no border */
|
|
9007
9035
|
NIL: "nil",
|
|
9036
|
+
/** no border */
|
|
9008
9037
|
NONE: "none",
|
|
9038
|
+
/** an outset set of lines */
|
|
9009
9039
|
OUTSET: "outset",
|
|
9040
|
+
/** a single line */
|
|
9010
9041
|
THICK: "thick",
|
|
9042
|
+
/** a thick line contained within a thin line with a large-sized intermediate gap */
|
|
9011
9043
|
THICK_THIN_LARGE_GAP: "thickThinLargeGap",
|
|
9044
|
+
/** a thick line contained within a thin line with a medium-sized intermediate gap */
|
|
9012
9045
|
THICK_THIN_MEDIUM_GAP: "thickThinMediumGap",
|
|
9046
|
+
/** a thick line contained within a thin line with a small intermediate gap */
|
|
9013
9047
|
THICK_THIN_SMALL_GAP: "thickThinSmallGap",
|
|
9048
|
+
/** a thin line contained within a thick line with a large-sized intermediate gap */
|
|
9014
9049
|
THIN_THICK_LARGE_GAP: "thinThickLargeGap",
|
|
9050
|
+
/** a thick line contained within a thin line with a medium-sized intermediate gap */
|
|
9015
9051
|
THIN_THICK_MEDIUM_GAP: "thinThickMediumGap",
|
|
9052
|
+
/** a thick line contained within a thin line with a small intermediate gap */
|
|
9016
9053
|
THIN_THICK_SMALL_GAP: "thinThickSmallGap",
|
|
9054
|
+
/** a thin-thick-thin line with a large gap */
|
|
9017
9055
|
THIN_THICK_THIN_LARGE_GAP: "thinThickThinLargeGap",
|
|
9056
|
+
/** a thin-thick-thin line with a medium gap */
|
|
9018
9057
|
THIN_THICK_THIN_MEDIUM_GAP: "thinThickThinMediumGap",
|
|
9058
|
+
/** a thin-thick-thin line with a small gap */
|
|
9019
9059
|
THIN_THICK_THIN_SMALL_GAP: "thinThickThinSmallGap",
|
|
9060
|
+
/** a three-staged gradient line, getting darker towards the paragraph */
|
|
9020
9061
|
THREE_D_EMBOSS: "threeDEmboss",
|
|
9062
|
+
/** a three-staged gradient like, getting darker away from the paragraph */
|
|
9021
9063
|
THREE_D_ENGRAVE: "threeDEngrave",
|
|
9064
|
+
/** a triple line */
|
|
9022
9065
|
TRIPLE: "triple",
|
|
9066
|
+
/** a wavy line */
|
|
9023
9067
|
WAVE: "wave"
|
|
9024
9068
|
};
|
|
9025
9069
|
//#endregion
|
|
@@ -9335,10 +9379,15 @@ var createEnd = (dirty) => createFieldChar(FieldCharacterType.END, dirty);
|
|
|
9335
9379
|
* @publicApi
|
|
9336
9380
|
*/
|
|
9337
9381
|
var HorizontalPositionAlign = {
|
|
9382
|
+
/** Center horizontally */
|
|
9338
9383
|
CENTER: "center",
|
|
9384
|
+
/** Align to inside margin (left on odd, right on even pages) */
|
|
9339
9385
|
INSIDE: "inside",
|
|
9386
|
+
/** Align to left */
|
|
9340
9387
|
LEFT: "left",
|
|
9388
|
+
/** Align to outside margin (right on odd, left on even pages) */
|
|
9341
9389
|
OUTSIDE: "outside",
|
|
9390
|
+
/** Align to right */
|
|
9342
9391
|
RIGHT: "right"
|
|
9343
9392
|
};
|
|
9344
9393
|
/**
|
|
@@ -9349,10 +9398,15 @@ var HorizontalPositionAlign = {
|
|
|
9349
9398
|
* @publicApi
|
|
9350
9399
|
*/
|
|
9351
9400
|
var VerticalPositionAlign = {
|
|
9401
|
+
/** Align to bottom */
|
|
9352
9402
|
BOTTOM: "bottom",
|
|
9403
|
+
/** Center vertically */
|
|
9353
9404
|
CENTER: "center",
|
|
9405
|
+
/** Align to inside margin */
|
|
9354
9406
|
INSIDE: "inside",
|
|
9407
|
+
/** Align to outside margin */
|
|
9355
9408
|
OUTSIDE: "outside",
|
|
9409
|
+
/** Align to top */
|
|
9356
9410
|
TOP: "top"
|
|
9357
9411
|
};
|
|
9358
9412
|
//#endregion
|
|
@@ -9671,6 +9725,7 @@ var createShading = ({ fill, color, type }) => new BuilderElement({
|
|
|
9671
9725
|
* @publicApi
|
|
9672
9726
|
*/
|
|
9673
9727
|
var ShadingType = {
|
|
9728
|
+
/** Clear shading - no pattern, fill color only */
|
|
9674
9729
|
CLEAR: "clear",
|
|
9675
9730
|
DIAGONAL_CROSS: "diagCross",
|
|
9676
9731
|
DIAGONAL_STRIPE: "diagStripe",
|
|
@@ -9815,7 +9870,9 @@ var InsertionTrackChange = class extends XmlComponent {
|
|
|
9815
9870
|
*
|
|
9816
9871
|
* @publicApi
|
|
9817
9872
|
*/
|
|
9818
|
-
var EmphasisMarkType = {
|
|
9873
|
+
var EmphasisMarkType = {
|
|
9874
|
+
/** Dot emphasis mark */
|
|
9875
|
+
DOT: "dot" };
|
|
9819
9876
|
/**
|
|
9820
9877
|
* Creates an emphasis mark element for a WordprocessingML document.
|
|
9821
9878
|
*
|
|
@@ -10232,23 +10289,41 @@ var createSubScript = () => createVerticalAlignRun("subscript");
|
|
|
10232
10289
|
* @publicApi
|
|
10233
10290
|
*/
|
|
10234
10291
|
var UnderlineType = {
|
|
10292
|
+
/** Single underline */
|
|
10235
10293
|
SINGLE: "single",
|
|
10294
|
+
/** Underline words only (not spaces) */
|
|
10236
10295
|
WORDS: "words",
|
|
10296
|
+
/** Double underline */
|
|
10237
10297
|
DOUBLE: "double",
|
|
10298
|
+
/** Thick single underline */
|
|
10238
10299
|
THICK: "thick",
|
|
10300
|
+
/** Dotted underline */
|
|
10239
10301
|
DOTTED: "dotted",
|
|
10302
|
+
/** Heavy dotted underline */
|
|
10240
10303
|
DOTTEDHEAVY: "dottedHeavy",
|
|
10304
|
+
/** Dashed underline */
|
|
10241
10305
|
DASH: "dash",
|
|
10306
|
+
/** Heavy dashed underline */
|
|
10242
10307
|
DASHEDHEAVY: "dashedHeavy",
|
|
10308
|
+
/** Long dashed underline */
|
|
10243
10309
|
DASHLONG: "dashLong",
|
|
10310
|
+
/** Heavy long dashed underline */
|
|
10244
10311
|
DASHLONGHEAVY: "dashLongHeavy",
|
|
10312
|
+
/** Dot-dash underline */
|
|
10245
10313
|
DOTDASH: "dotDash",
|
|
10314
|
+
/** Heavy dot-dash underline */
|
|
10246
10315
|
DASHDOTHEAVY: "dashDotHeavy",
|
|
10316
|
+
/** Dot-dot-dash underline */
|
|
10247
10317
|
DOTDOTDASH: "dotDotDash",
|
|
10318
|
+
/** Heavy dot-dot-dash underline */
|
|
10248
10319
|
DASHDOTDOTHEAVY: "dashDotDotHeavy",
|
|
10320
|
+
/** Wave underline */
|
|
10249
10321
|
WAVE: "wave",
|
|
10322
|
+
/** Heavy wave underline */
|
|
10250
10323
|
WAVYHEAVY: "wavyHeavy",
|
|
10324
|
+
/** Double wave underline */
|
|
10251
10325
|
WAVYDOUBLE: "wavyDouble",
|
|
10326
|
+
/** No underline */
|
|
10252
10327
|
NONE: "none"
|
|
10253
10328
|
};
|
|
10254
10329
|
/**
|
|
@@ -10334,12 +10409,19 @@ var createUnderline = (underlineType = UnderlineType.SINGLE, color) => new Build
|
|
|
10334
10409
|
* @publicApi
|
|
10335
10410
|
*/
|
|
10336
10411
|
var TextEffect = {
|
|
10412
|
+
/** Blinking background animation */
|
|
10337
10413
|
BLINK_BACKGROUND: "blinkBackground",
|
|
10414
|
+
/** Lights animation effect */
|
|
10338
10415
|
LIGHTS: "lights",
|
|
10416
|
+
/** Black marching ants animation */
|
|
10339
10417
|
ANTS_BLACK: "antsBlack",
|
|
10418
|
+
/** Red marching ants animation */
|
|
10340
10419
|
ANTS_RED: "antsRed",
|
|
10420
|
+
/** Shimmer animation effect */
|
|
10341
10421
|
SHIMMER: "shimmer",
|
|
10422
|
+
/** Sparkle animation effect */
|
|
10342
10423
|
SPARKLE: "sparkle",
|
|
10424
|
+
/** No text effect */
|
|
10343
10425
|
NONE: "none"
|
|
10344
10426
|
};
|
|
10345
10427
|
/**
|
|
@@ -10375,22 +10457,39 @@ var TextEffect = {
|
|
|
10375
10457
|
* ```
|
|
10376
10458
|
*/
|
|
10377
10459
|
var HighlightColor = {
|
|
10460
|
+
/** Black highlight */
|
|
10378
10461
|
BLACK: "black",
|
|
10462
|
+
/** Blue highlight */
|
|
10379
10463
|
BLUE: "blue",
|
|
10464
|
+
/** Cyan highlight */
|
|
10380
10465
|
CYAN: "cyan",
|
|
10466
|
+
/** Dark blue highlight */
|
|
10381
10467
|
DARK_BLUE: "darkBlue",
|
|
10468
|
+
/** Dark cyan highlight */
|
|
10382
10469
|
DARK_CYAN: "darkCyan",
|
|
10470
|
+
/** Dark gray highlight */
|
|
10383
10471
|
DARK_GRAY: "darkGray",
|
|
10472
|
+
/** Dark green highlight */
|
|
10384
10473
|
DARK_GREEN: "darkGreen",
|
|
10474
|
+
/** Dark magenta highlight */
|
|
10385
10475
|
DARK_MAGENTA: "darkMagenta",
|
|
10476
|
+
/** Dark red highlight */
|
|
10386
10477
|
DARK_RED: "darkRed",
|
|
10478
|
+
/** Dark yellow highlight */
|
|
10387
10479
|
DARK_YELLOW: "darkYellow",
|
|
10480
|
+
/** Green highlight */
|
|
10388
10481
|
GREEN: "green",
|
|
10482
|
+
/** Light gray highlight */
|
|
10389
10483
|
LIGHT_GRAY: "lightGray",
|
|
10484
|
+
/** Magenta highlight */
|
|
10390
10485
|
MAGENTA: "magenta",
|
|
10486
|
+
/** No highlight */
|
|
10391
10487
|
NONE: "none",
|
|
10488
|
+
/** Red highlight */
|
|
10392
10489
|
RED: "red",
|
|
10490
|
+
/** White highlight */
|
|
10393
10491
|
WHITE: "white",
|
|
10492
|
+
/** Yellow highlight */
|
|
10394
10493
|
YELLOW: "yellow"
|
|
10395
10494
|
};
|
|
10396
10495
|
/**
|
|
@@ -10545,9 +10644,13 @@ var Text = class extends XmlComponent {
|
|
|
10545
10644
|
* @publicApi
|
|
10546
10645
|
*/
|
|
10547
10646
|
var PageNumber = {
|
|
10647
|
+
/** Inserts the current page number */
|
|
10548
10648
|
CURRENT: "CURRENT",
|
|
10649
|
+
/** Inserts the total number of pages in the document */
|
|
10549
10650
|
TOTAL_PAGES: "TOTAL_PAGES",
|
|
10651
|
+
/** Inserts the total number of pages in the current section */
|
|
10550
10652
|
TOTAL_PAGES_IN_SECTION: "TOTAL_PAGES_IN_SECTION",
|
|
10653
|
+
/** Inserts the current section number */
|
|
10551
10654
|
CURRENT_SECTION: "SECTION"
|
|
10552
10655
|
};
|
|
10553
10656
|
/**
|
|
@@ -12406,13 +12509,53 @@ var encodeUtf8 = (str) => new Uint8Array(new TextEncoder().encode(str));
|
|
|
12406
12509
|
* @publicApi
|
|
12407
12510
|
*/
|
|
12408
12511
|
var HorizontalPositionRelativeFrom = {
|
|
12512
|
+
/**
|
|
12513
|
+
* ## Character
|
|
12514
|
+
*
|
|
12515
|
+
* Specifies that the horizontal positioning shall be relative to the position of the anchor within its run content.
|
|
12516
|
+
*/
|
|
12409
12517
|
CHARACTER: "character",
|
|
12518
|
+
/**
|
|
12519
|
+
* ## Column
|
|
12520
|
+
*
|
|
12521
|
+
* Specifies that the horizontal positioning shall be relative to the extents of the column which contains its anchor.
|
|
12522
|
+
*/
|
|
12410
12523
|
COLUMN: "column",
|
|
12524
|
+
/**
|
|
12525
|
+
* ## Inside Margin
|
|
12526
|
+
*
|
|
12527
|
+
* 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).
|
|
12528
|
+
*/
|
|
12411
12529
|
INSIDE_MARGIN: "insideMargin",
|
|
12530
|
+
/**
|
|
12531
|
+
* ## Left Margin
|
|
12532
|
+
*
|
|
12533
|
+
* Specifies that the horizontal positioning shall be relative to the left margin of the page.
|
|
12534
|
+
*/
|
|
12412
12535
|
LEFT_MARGIN: "leftMargin",
|
|
12536
|
+
/**
|
|
12537
|
+
* ## Page Margin
|
|
12538
|
+
*
|
|
12539
|
+
* Specifies that the horizontal positioning shall be relative to the page margins.
|
|
12540
|
+
*/
|
|
12413
12541
|
MARGIN: "margin",
|
|
12542
|
+
/**
|
|
12543
|
+
* ## Outside Margin
|
|
12544
|
+
*
|
|
12545
|
+
* 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).
|
|
12546
|
+
*/
|
|
12414
12547
|
OUTSIDE_MARGIN: "outsideMargin",
|
|
12548
|
+
/**
|
|
12549
|
+
* ## Page Edge
|
|
12550
|
+
*
|
|
12551
|
+
* Specifies that the horizontal positioning shall be relative to the edge of the page.
|
|
12552
|
+
*/
|
|
12415
12553
|
PAGE: "page",
|
|
12554
|
+
/**
|
|
12555
|
+
* ## Right Margin
|
|
12556
|
+
*
|
|
12557
|
+
* Specifies that the horizontal positioning shall be relative to the right margin of the page.
|
|
12558
|
+
*/
|
|
12416
12559
|
RIGHT_MARGIN: "rightMargin"
|
|
12417
12560
|
};
|
|
12418
12561
|
/**
|
|
@@ -12441,13 +12584,53 @@ var HorizontalPositionRelativeFrom = {
|
|
|
12441
12584
|
* @publicApi
|
|
12442
12585
|
*/
|
|
12443
12586
|
var VerticalPositionRelativeFrom = {
|
|
12587
|
+
/**
|
|
12588
|
+
* ## Bottom Margin
|
|
12589
|
+
*
|
|
12590
|
+
* Specifies that the vertical positioning shall be relative to the bottom margin of the current page.
|
|
12591
|
+
*/
|
|
12444
12592
|
BOTTOM_MARGIN: "bottomMargin",
|
|
12593
|
+
/**
|
|
12594
|
+
* ## Inside Margin
|
|
12595
|
+
*
|
|
12596
|
+
* Specifies that the vertical positioning shall be relative to the inside margin of the current page.
|
|
12597
|
+
*/
|
|
12445
12598
|
INSIDE_MARGIN: "insideMargin",
|
|
12599
|
+
/**
|
|
12600
|
+
* ## Line
|
|
12601
|
+
*
|
|
12602
|
+
* Specifies that the vertical positioning shall be relative to the line containing the anchor character.
|
|
12603
|
+
*/
|
|
12446
12604
|
LINE: "line",
|
|
12605
|
+
/**
|
|
12606
|
+
* ## Page Margin
|
|
12607
|
+
*
|
|
12608
|
+
* Specifies that the vertical positioning shall be relative to the page margins.
|
|
12609
|
+
*/
|
|
12447
12610
|
MARGIN: "margin",
|
|
12611
|
+
/**
|
|
12612
|
+
* ## Outside Margin
|
|
12613
|
+
*
|
|
12614
|
+
* Specifies that the vertical positioning shall be relative to the outside margin of the current page.
|
|
12615
|
+
*/
|
|
12448
12616
|
OUTSIDE_MARGIN: "outsideMargin",
|
|
12617
|
+
/**
|
|
12618
|
+
* ## Page Edge
|
|
12619
|
+
*
|
|
12620
|
+
* Specifies that the vertical positioning shall be relative to the edge of the page.
|
|
12621
|
+
*/
|
|
12449
12622
|
PAGE: "page",
|
|
12623
|
+
/**
|
|
12624
|
+
* ## Paragraph
|
|
12625
|
+
*
|
|
12626
|
+
* Specifies that the vertical positioning shall be relative to the paragraph which contains the drawing anchor.
|
|
12627
|
+
*/
|
|
12450
12628
|
PARAGRAPH: "paragraph",
|
|
12629
|
+
/**
|
|
12630
|
+
* ## Top Margin
|
|
12631
|
+
*
|
|
12632
|
+
* Specifies that the vertical positioning shall be relative to the top margin of the current page.
|
|
12633
|
+
*/
|
|
12451
12634
|
TOP_MARGIN: "topMargin"
|
|
12452
12635
|
};
|
|
12453
12636
|
//#endregion
|
|
@@ -14150,9 +14333,13 @@ var TextWrappingType = {
|
|
|
14150
14333
|
* @publicApi
|
|
14151
14334
|
*/
|
|
14152
14335
|
var TextWrappingSide = {
|
|
14336
|
+
/** Text wraps on both sides of the drawing */
|
|
14153
14337
|
BOTH_SIDES: "bothSides",
|
|
14338
|
+
/** Text wraps only on the left side */
|
|
14154
14339
|
LEFT: "left",
|
|
14340
|
+
/** Text wraps only on the right side */
|
|
14155
14341
|
RIGHT: "right",
|
|
14342
|
+
/** Text wraps on the side with more space */
|
|
14156
14343
|
LARGEST: "largest"
|
|
14157
14344
|
};
|
|
14158
14345
|
//#endregion
|
|
@@ -15188,7 +15375,9 @@ var RelationshipsAttributes = class extends XmlAttributeComponent {
|
|
|
15188
15375
|
*
|
|
15189
15376
|
* Indicates whether a relationship target is external to the package.
|
|
15190
15377
|
*/
|
|
15191
|
-
var TargetModeType = {
|
|
15378
|
+
var TargetModeType = {
|
|
15379
|
+
/** Target is external to the package (e.g., hyperlink to a URL) */
|
|
15380
|
+
EXTERNAL: "External" };
|
|
15192
15381
|
/**
|
|
15193
15382
|
* Creates a single relationship between parts in an OPC package.
|
|
15194
15383
|
*
|
|
@@ -15894,8 +16083,11 @@ var LastRenderedPageBreak = class extends EmptyElement {
|
|
|
15894
16083
|
* @publicApi
|
|
15895
16084
|
*/
|
|
15896
16085
|
var PositionalTabAlignment = {
|
|
16086
|
+
/** Left-aligned tab */
|
|
15897
16087
|
LEFT: "left",
|
|
16088
|
+
/** Center-aligned tab */
|
|
15898
16089
|
CENTER: "center",
|
|
16090
|
+
/** Right-aligned tab */
|
|
15899
16091
|
RIGHT: "right"
|
|
15900
16092
|
};
|
|
15901
16093
|
/**
|
|
@@ -15916,7 +16108,9 @@ var PositionalTabAlignment = {
|
|
|
15916
16108
|
* @publicApi
|
|
15917
16109
|
*/
|
|
15918
16110
|
var PositionalTabRelativeTo = {
|
|
16111
|
+
/** Position relative to margin */
|
|
15919
16112
|
MARGIN: "margin",
|
|
16113
|
+
/** Position relative to indent */
|
|
15920
16114
|
INDENT: "indent"
|
|
15921
16115
|
};
|
|
15922
16116
|
/**
|
|
@@ -15940,10 +16134,15 @@ var PositionalTabRelativeTo = {
|
|
|
15940
16134
|
* @publicApi
|
|
15941
16135
|
*/
|
|
15942
16136
|
var PositionalTabLeader = {
|
|
16137
|
+
/** No leader character */
|
|
15943
16138
|
NONE: "none",
|
|
16139
|
+
/** Dot leader (...) */
|
|
15944
16140
|
DOT: "dot",
|
|
16141
|
+
/** Hyphen leader (---) */
|
|
15945
16142
|
HYPHEN: "hyphen",
|
|
16143
|
+
/** Underscore leader (___) */
|
|
15946
16144
|
UNDERSCORE: "underscore",
|
|
16145
|
+
/** Middle dot leader (···) */
|
|
15947
16146
|
MIDDLE_DOT: "middleDot"
|
|
15948
16147
|
};
|
|
15949
16148
|
var PositionalTabAttributes = class extends XmlAttributeComponent {
|
|
@@ -16012,7 +16211,9 @@ var PositionalTab = class extends XmlComponent {
|
|
|
16012
16211
|
* @internal
|
|
16013
16212
|
*/
|
|
16014
16213
|
var BreakType = {
|
|
16214
|
+
/** Column break - text continues at the beginning of the next column */
|
|
16015
16215
|
COLUMN: "column",
|
|
16216
|
+
/** Page break - text continues at the beginning of the next page */
|
|
16016
16217
|
PAGE: "page"
|
|
16017
16218
|
};
|
|
16018
16219
|
/**
|
|
@@ -16132,9 +16333,13 @@ var PageBreakBefore = class extends XmlComponent {
|
|
|
16132
16333
|
* @publicApi
|
|
16133
16334
|
*/
|
|
16134
16335
|
var LineRuleType = {
|
|
16336
|
+
/** Line spacing is at least the specified value */
|
|
16135
16337
|
AT_LEAST: "atLeast",
|
|
16338
|
+
/** Line spacing is exactly the specified value */
|
|
16136
16339
|
EXACTLY: "exactly",
|
|
16340
|
+
/** Line spacing is exactly the specified value (alias for EXACTLY) */
|
|
16137
16341
|
EXACT: "exact",
|
|
16342
|
+
/** Line spacing is automatically determined based on content */
|
|
16138
16343
|
AUTO: "auto"
|
|
16139
16344
|
};
|
|
16140
16345
|
/**
|
|
@@ -16217,12 +16422,19 @@ var createSpacing = ({ after, before, line, lineRule, beforeAutoSpacing, afterAu
|
|
|
16217
16422
|
* @publicApi
|
|
16218
16423
|
*/
|
|
16219
16424
|
var HeadingLevel = {
|
|
16425
|
+
/** Heading 1 style */
|
|
16220
16426
|
HEADING_1: "Heading1",
|
|
16427
|
+
/** Heading 2 style */
|
|
16221
16428
|
HEADING_2: "Heading2",
|
|
16429
|
+
/** Heading 3 style */
|
|
16222
16430
|
HEADING_3: "Heading3",
|
|
16431
|
+
/** Heading 4 style */
|
|
16223
16432
|
HEADING_4: "Heading4",
|
|
16433
|
+
/** Heading 5 style */
|
|
16224
16434
|
HEADING_5: "Heading5",
|
|
16435
|
+
/** Heading 6 style */
|
|
16225
16436
|
HEADING_6: "Heading6",
|
|
16437
|
+
/** Title style */
|
|
16226
16438
|
TITLE: "Title"
|
|
16227
16439
|
};
|
|
16228
16440
|
/**
|
|
@@ -16280,14 +16492,23 @@ var createParagraphStyle = (styleId) => new BuilderElement({
|
|
|
16280
16492
|
* @publicApi
|
|
16281
16493
|
*/
|
|
16282
16494
|
var TabStopType = {
|
|
16495
|
+
/** Left-aligned tab stop */
|
|
16283
16496
|
LEFT: "left",
|
|
16497
|
+
/** Right-aligned tab stop */
|
|
16284
16498
|
RIGHT: "right",
|
|
16499
|
+
/** Center-aligned tab stop */
|
|
16285
16500
|
CENTER: "center",
|
|
16501
|
+
/** Bar tab stop - inserts a vertical bar at the position */
|
|
16286
16502
|
BAR: "bar",
|
|
16503
|
+
/** Clears a tab stop at the specified position */
|
|
16287
16504
|
CLEAR: "clear",
|
|
16505
|
+
/** Decimal-aligned tab stop - aligns on decimal point */
|
|
16288
16506
|
DECIMAL: "decimal",
|
|
16507
|
+
/** End-aligned tab stop (right-to-left equivalent) */
|
|
16289
16508
|
END: "end",
|
|
16509
|
+
/** List tab stop for numbered lists */
|
|
16290
16510
|
NUM: "num",
|
|
16511
|
+
/** Start-aligned tab stop (left-to-right equivalent) */
|
|
16291
16512
|
START: "start"
|
|
16292
16513
|
};
|
|
16293
16514
|
/**
|
|
@@ -16298,10 +16519,15 @@ var TabStopType = {
|
|
|
16298
16519
|
* @publicApi
|
|
16299
16520
|
*/
|
|
16300
16521
|
var LeaderType = {
|
|
16522
|
+
/** Dot leader (....) */
|
|
16301
16523
|
DOT: "dot",
|
|
16524
|
+
/** Hyphen leader (----) */
|
|
16302
16525
|
HYPHEN: "hyphen",
|
|
16526
|
+
/** Middle dot leader (····) */
|
|
16303
16527
|
MIDDLE_DOT: "middleDot",
|
|
16528
|
+
/** No leader */
|
|
16304
16529
|
NONE: "none",
|
|
16530
|
+
/** Underscore leader (____) */
|
|
16305
16531
|
UNDERSCORE: "underscore"
|
|
16306
16532
|
};
|
|
16307
16533
|
/**
|
|
@@ -16309,7 +16535,9 @@ var LeaderType = {
|
|
|
16309
16535
|
*
|
|
16310
16536
|
* @publicApi
|
|
16311
16537
|
*/
|
|
16312
|
-
var TabStopPosition = {
|
|
16538
|
+
var TabStopPosition = {
|
|
16539
|
+
/** Maximum tab stop position (right margin) */
|
|
16540
|
+
MAX: 9026 };
|
|
16313
16541
|
/**
|
|
16314
16542
|
* Creates a single tab stop item element.
|
|
16315
16543
|
*
|
|
@@ -16540,7 +16768,9 @@ var HyperlinkAttributes = class extends XmlAttributeComponent {
|
|
|
16540
16768
|
* @publicApi
|
|
16541
16769
|
*/
|
|
16542
16770
|
var HyperlinkType = {
|
|
16771
|
+
/** Internal hyperlink to a bookmark within the document */
|
|
16543
16772
|
INTERNAL: "INTERNAL",
|
|
16773
|
+
/** External hyperlink to a URL outside the document */
|
|
16544
16774
|
EXTERNAL: "EXTERNAL"
|
|
16545
16775
|
};
|
|
16546
16776
|
/**
|
|
@@ -16656,6 +16886,7 @@ var InternalHyperlink = class extends ConcreteHyperlink {
|
|
|
16656
16886
|
var ExternalHyperlink = class extends XmlComponent {
|
|
16657
16887
|
constructor(options) {
|
|
16658
16888
|
super("w:externalHyperlink");
|
|
16889
|
+
_defineProperty(this, "options", void 0);
|
|
16659
16890
|
this.options = options;
|
|
16660
16891
|
}
|
|
16661
16892
|
};
|
|
@@ -16905,10 +17136,10 @@ var NumberedItemReferenceFormat = /* @__PURE__ */ function(NumberedItemReference
|
|
|
16905
17136
|
return NumberedItemReferenceFormat;
|
|
16906
17137
|
}({});
|
|
16907
17138
|
var SWITCH_MAP = {
|
|
16908
|
-
[
|
|
16909
|
-
[
|
|
16910
|
-
[
|
|
16911
|
-
[
|
|
17139
|
+
["relative"]: "\\r",
|
|
17140
|
+
["no_context"]: "\\n",
|
|
17141
|
+
["full_context"]: "\\w",
|
|
17142
|
+
["none"]: void 0
|
|
16912
17143
|
};
|
|
16913
17144
|
/**
|
|
16914
17145
|
* Creates a field/cross reference to a numbered item in the document.
|
|
@@ -16927,7 +17158,7 @@ var SWITCH_MAP = {
|
|
|
16927
17158
|
*/
|
|
16928
17159
|
var NumberedItemReference = class extends SimpleField {
|
|
16929
17160
|
constructor(bookmarkId, cachedValue, options = {}) {
|
|
16930
|
-
const { hyperlink = true, referenceFormat =
|
|
17161
|
+
const { hyperlink = true, referenceFormat = "full_context" } = options;
|
|
16931
17162
|
const instruction = `${`REF ${bookmarkId}`} ${[...hyperlink ? ["\\h"] : [], ...[SWITCH_MAP[referenceFormat]].filter((a) => !!a)].join(" ")}`;
|
|
16932
17163
|
super(instruction, cachedValue);
|
|
16933
17164
|
}
|
|
@@ -17343,6 +17574,7 @@ var createFontTable = (fonts) => new BuilderElement({
|
|
|
17343
17574
|
*/
|
|
17344
17575
|
var FontWrapper = class {
|
|
17345
17576
|
constructor(options) {
|
|
17577
|
+
_defineProperty(this, "options", void 0);
|
|
17346
17578
|
_defineProperty(this, "fontTable", void 0);
|
|
17347
17579
|
_defineProperty(this, "relationships", void 0);
|
|
17348
17580
|
_defineProperty(this, "fontOptionsWithKey", []);
|
|
@@ -17394,8 +17626,11 @@ var createWordWrap = () => new BuilderElement({
|
|
|
17394
17626
|
* beginning of a paragraph. This enum defines how the drop cap should be positioned.
|
|
17395
17627
|
*/
|
|
17396
17628
|
var DropCapType = {
|
|
17629
|
+
/** No drop cap effect */
|
|
17397
17630
|
NONE: "none",
|
|
17631
|
+
/** Drop cap that drops down into the paragraph text */
|
|
17398
17632
|
DROP: "drop",
|
|
17633
|
+
/** Drop cap that extends into the margin */
|
|
17399
17634
|
MARGIN: "margin"
|
|
17400
17635
|
};
|
|
17401
17636
|
/**
|
|
@@ -17404,8 +17639,11 @@ var DropCapType = {
|
|
|
17404
17639
|
* Determines the reference point for frame positioning (horizontal and vertical).
|
|
17405
17640
|
*/
|
|
17406
17641
|
var FrameAnchorType = {
|
|
17642
|
+
/** Anchor relative to the page margin */
|
|
17407
17643
|
MARGIN: "margin",
|
|
17644
|
+
/** Anchor relative to the page edge */
|
|
17408
17645
|
PAGE: "page",
|
|
17646
|
+
/** Anchor relative to the text column */
|
|
17409
17647
|
TEXT: "text"
|
|
17410
17648
|
};
|
|
17411
17649
|
/**
|
|
@@ -17414,11 +17652,17 @@ var FrameAnchorType = {
|
|
|
17414
17652
|
* Controls how surrounding text wraps around the frame.
|
|
17415
17653
|
*/
|
|
17416
17654
|
var FrameWrap = {
|
|
17655
|
+
/** Wrap text around the frame on all sides */
|
|
17417
17656
|
AROUND: "around",
|
|
17657
|
+
/** Automatic wrapping based on available space */
|
|
17418
17658
|
AUTO: "auto",
|
|
17659
|
+
/** No text wrapping */
|
|
17419
17660
|
NONE: "none",
|
|
17661
|
+
/** Do not allow text beside the frame */
|
|
17420
17662
|
NOT_BESIDE: "notBeside",
|
|
17663
|
+
/** Allow text to flow through the frame */
|
|
17421
17664
|
THROUGH: "through",
|
|
17665
|
+
/** Wrap text tightly around the frame */
|
|
17422
17666
|
TIGHT: "tight"
|
|
17423
17667
|
};
|
|
17424
17668
|
/**
|
|
@@ -19917,7 +20161,13 @@ var DeletedTableCell = class extends XmlComponent {
|
|
|
19917
20161
|
* Vertical merge revision types.
|
|
19918
20162
|
*/
|
|
19919
20163
|
var VerticalMergeRevisionType = {
|
|
20164
|
+
/**
|
|
20165
|
+
* Cell that is merged with upper one.
|
|
20166
|
+
*/
|
|
19920
20167
|
CONTINUE: "cont",
|
|
20168
|
+
/**
|
|
20169
|
+
* Cell that is starting the vertical merge.
|
|
20170
|
+
*/
|
|
19921
20171
|
RESTART: "rest"
|
|
19922
20172
|
};
|
|
19923
20173
|
var CellMergeAttributes = class extends XmlAttributeComponent {
|
|
@@ -20154,9 +20404,13 @@ var createCellMargin = (options) => {
|
|
|
20154
20404
|
* @publicApi
|
|
20155
20405
|
*/
|
|
20156
20406
|
var WidthType = {
|
|
20407
|
+
/** Auto. */
|
|
20157
20408
|
AUTO: "auto",
|
|
20409
|
+
/** Value is in twentieths of a point */
|
|
20158
20410
|
DXA: "dxa",
|
|
20411
|
+
/** No (empty) value. */
|
|
20159
20412
|
NIL: "nil",
|
|
20413
|
+
/** Value is in percentage. */
|
|
20160
20414
|
PERCENTAGE: "pct"
|
|
20161
20415
|
};
|
|
20162
20416
|
/**
|
|
@@ -20288,7 +20542,15 @@ var GridSpan = class extends XmlComponent {
|
|
|
20288
20542
|
* Defines the merge behavior for vertically merged cells (row span).
|
|
20289
20543
|
*/
|
|
20290
20544
|
var VerticalMergeType = {
|
|
20545
|
+
/**
|
|
20546
|
+
* Cell that is merged with upper one.
|
|
20547
|
+
* This cell continues a vertical merge started by a cell above it.
|
|
20548
|
+
*/
|
|
20291
20549
|
CONTINUE: "continue",
|
|
20550
|
+
/**
|
|
20551
|
+
* Cell that is starting the vertical merge.
|
|
20552
|
+
* This cell begins a new vertical merge region.
|
|
20553
|
+
*/
|
|
20292
20554
|
RESTART: "restart"
|
|
20293
20555
|
};
|
|
20294
20556
|
/**
|
|
@@ -20337,8 +20599,11 @@ var VerticalMerge = class extends XmlComponent {
|
|
|
20337
20599
|
* Specifies the direction in which text flows within a table cell.
|
|
20338
20600
|
*/
|
|
20339
20601
|
var TextDirection = {
|
|
20602
|
+
/** Text flows from bottom to top, left to right */
|
|
20340
20603
|
BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr",
|
|
20604
|
+
/** Text flows from left to right, top to bottom (default) */
|
|
20341
20605
|
LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb",
|
|
20606
|
+
/** Text flows from top to bottom, right to left */
|
|
20342
20607
|
TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl"
|
|
20343
20608
|
};
|
|
20344
20609
|
/**
|
|
@@ -20542,6 +20807,7 @@ var TableCellPropertiesChange = class extends XmlComponent {
|
|
|
20542
20807
|
var TableCell = class extends XmlComponent {
|
|
20543
20808
|
constructor(options) {
|
|
20544
20809
|
super("w:tc");
|
|
20810
|
+
_defineProperty(this, "options", void 0);
|
|
20545
20811
|
this.options = options;
|
|
20546
20812
|
this.root.push(new TableCellProperties(options));
|
|
20547
20813
|
for (const child of options.children) this.root.push(child);
|
|
@@ -20791,7 +21057,9 @@ var createTableFloatProperties = ({ horizontalAnchor, verticalAnchor, absoluteHo
|
|
|
20791
21057
|
* @publicApi
|
|
20792
21058
|
*/
|
|
20793
21059
|
var TableLayoutType = {
|
|
21060
|
+
/** Auto-fit layout - column widths are adjusted based on content */
|
|
20794
21061
|
AUTOFIT: "autofit",
|
|
21062
|
+
/** Fixed layout - column widths are fixed as specified */
|
|
20795
21063
|
FIXED: "fixed"
|
|
20796
21064
|
};
|
|
20797
21065
|
/**
|
|
@@ -20844,7 +21112,9 @@ var createTableLayout = (type) => new BuilderElement({
|
|
|
20844
21112
|
* ```
|
|
20845
21113
|
*/
|
|
20846
21114
|
var CellSpacingType = {
|
|
21115
|
+
/** Value is in twentieths of a point */
|
|
20847
21116
|
DXA: "dxa",
|
|
21117
|
+
/** No (empty) value. */
|
|
20848
21118
|
NIL: "nil"
|
|
20849
21119
|
};
|
|
20850
21120
|
/**
|
|
@@ -21157,8 +21427,11 @@ var Table = class extends FileChild {
|
|
|
21157
21427
|
* @publicApi
|
|
21158
21428
|
*/
|
|
21159
21429
|
var HeightRule = {
|
|
21430
|
+
/** Height is determined based on the content, so value is ignored. */
|
|
21160
21431
|
AUTO: "auto",
|
|
21432
|
+
/** At least the value specified */
|
|
21161
21433
|
ATLEAST: "atLeast",
|
|
21434
|
+
/** Exactly the value specified */
|
|
21162
21435
|
EXACT: "exact"
|
|
21163
21436
|
};
|
|
21164
21437
|
/**
|
|
@@ -21336,6 +21609,7 @@ var TableRowPropertiesChange = class extends XmlComponent {
|
|
|
21336
21609
|
var TableRow = class extends XmlComponent {
|
|
21337
21610
|
constructor(options) {
|
|
21338
21611
|
super("w:tr");
|
|
21612
|
+
_defineProperty(this, "options", void 0);
|
|
21339
21613
|
this.options = options;
|
|
21340
21614
|
this.root.push(new TableRowProperties(options));
|
|
21341
21615
|
for (const child of options.children) this.root.push(child);
|
|
@@ -22049,9 +22323,24 @@ var createColumns = ({ space, count, separate, equalWidth, children }) => new Bu
|
|
|
22049
22323
|
* ```
|
|
22050
22324
|
*/
|
|
22051
22325
|
var DocumentGridType = {
|
|
22326
|
+
/**
|
|
22327
|
+
* Specifies that no document grid shall be applied to the contents of the current section in the document.
|
|
22328
|
+
*/
|
|
22052
22329
|
DEFAULT: "default",
|
|
22330
|
+
/**
|
|
22331
|
+
* 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.
|
|
22332
|
+
*/
|
|
22053
22333
|
LINES: "lines",
|
|
22334
|
+
/**
|
|
22335
|
+
* 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.
|
|
22336
|
+
*
|
|
22337
|
+
* When this value is set, the input specified via the user interface may be allowed in exact number of line/character pitch units. */
|
|
22054
22338
|
LINES_AND_CHARS: "linesAndChars",
|
|
22339
|
+
/**
|
|
22340
|
+
* 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.
|
|
22341
|
+
*
|
|
22342
|
+
* 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
|
|
22343
|
+
*/
|
|
22055
22344
|
SNAP_TO_CHARS: "snapToChars"
|
|
22056
22345
|
};
|
|
22057
22346
|
/**
|
|
@@ -22104,8 +22393,11 @@ var createDocumentGrid = ({ type, linePitch, charSpace }) => new BuilderElement(
|
|
|
22104
22393
|
* ```
|
|
22105
22394
|
*/
|
|
22106
22395
|
var HeaderFooterReferenceType = {
|
|
22396
|
+
/** Specifies that this header or footer shall appear on every page in this section which is not overridden with a specific `even` or `first` page header/footer. In a section with all three types specified, this type shall be used on all odd numbered pages (counting from the `first` page in the section, not the section numbering). */
|
|
22107
22397
|
DEFAULT: "default",
|
|
22398
|
+
/** Specifies that this header or footer shall appear on the first page in this section. The appearance of this header or footer is contingent on the setting of the `titlePg` element (§2.10.6). */
|
|
22108
22399
|
FIRST: "first",
|
|
22400
|
+
/** Specifies that this header or footer shall appear on all even numbered pages in this section (counting from the first page in the section, not the section numbering). The appearance of this header or footer is contingent on the setting of the `evenAndOddHeaders` element (§2.10.1). */
|
|
22109
22401
|
EVEN: "even"
|
|
22110
22402
|
};
|
|
22111
22403
|
var HeaderFooterType = {
|
|
@@ -22147,8 +22439,23 @@ var createHeaderFooterReference = (type, options) => new BuilderElement({
|
|
|
22147
22439
|
* @publicApi
|
|
22148
22440
|
*/
|
|
22149
22441
|
var LineNumberRestartFormat = {
|
|
22442
|
+
/**
|
|
22443
|
+
* ## Restart Line Numbering on Each Page
|
|
22444
|
+
*
|
|
22445
|
+
* Specifies that line numbering for the parent section shall restart to the starting value whenever a new page is displayed.
|
|
22446
|
+
*/
|
|
22150
22447
|
NEW_PAGE: "newPage",
|
|
22448
|
+
/**
|
|
22449
|
+
* ## Restart Line Numbering for Each Section
|
|
22450
|
+
*
|
|
22451
|
+
* Specifies that line numbering for the parent section shall restart to the starting value whenever the parent begins.
|
|
22452
|
+
*/
|
|
22151
22453
|
NEW_SECTION: "newSection",
|
|
22454
|
+
/**
|
|
22455
|
+
* ## Continue Line Numbering From Previous Section
|
|
22456
|
+
*
|
|
22457
|
+
* Specifies that line numbering for the parent section shall continue from the line numbering from the end of the previous section, if any.
|
|
22458
|
+
*/
|
|
22152
22459
|
CONTINUOUS: "continuous"
|
|
22153
22460
|
};
|
|
22154
22461
|
/**
|
|
@@ -22218,8 +22525,11 @@ var createLineNumberType = ({ countBy, start, restart, distance }) => new Builde
|
|
|
22218
22525
|
* @publicApi
|
|
22219
22526
|
*/
|
|
22220
22527
|
var PageBorderDisplay = {
|
|
22528
|
+
/** Display border on all pages */
|
|
22221
22529
|
ALL_PAGES: "allPages",
|
|
22530
|
+
/** Display border only on first page */
|
|
22222
22531
|
FIRST_PAGE: "firstPage",
|
|
22532
|
+
/** Display border on all pages except first page */
|
|
22223
22533
|
NOT_FIRST_PAGE: "notFirstPage"
|
|
22224
22534
|
};
|
|
22225
22535
|
/**
|
|
@@ -22238,7 +22548,9 @@ var PageBorderDisplay = {
|
|
|
22238
22548
|
* @publicApi
|
|
22239
22549
|
*/
|
|
22240
22550
|
var PageBorderOffsetFrom = {
|
|
22551
|
+
/** Position border relative to page edge */
|
|
22241
22552
|
PAGE: "page",
|
|
22553
|
+
/** Position border relative to text (default) */
|
|
22242
22554
|
TEXT: "text"
|
|
22243
22555
|
};
|
|
22244
22556
|
/**
|
|
@@ -22257,7 +22569,9 @@ var PageBorderOffsetFrom = {
|
|
|
22257
22569
|
* @publicApi
|
|
22258
22570
|
*/
|
|
22259
22571
|
var PageBorderZOrder = {
|
|
22572
|
+
/** Display border behind page contents */
|
|
22260
22573
|
BACK: "back",
|
|
22574
|
+
/** Display border in front of page contents (default) */
|
|
22261
22575
|
FRONT: "front"
|
|
22262
22576
|
};
|
|
22263
22577
|
var PageBordersAttributes = class extends XmlAttributeComponent {
|
|
@@ -22415,10 +22729,15 @@ var createPageMargin = (top, right, bottom, left, header, footer, gutter) => new
|
|
|
22415
22729
|
* @publicApi
|
|
22416
22730
|
*/
|
|
22417
22731
|
var PageNumberSeparator = {
|
|
22732
|
+
/** Hyphen separator (-) */
|
|
22418
22733
|
HYPHEN: "hyphen",
|
|
22734
|
+
/** Period separator (.) */
|
|
22419
22735
|
PERIOD: "period",
|
|
22736
|
+
/** Colon separator (:) */
|
|
22420
22737
|
COLON: "colon",
|
|
22738
|
+
/** Em dash separator (—) */
|
|
22421
22739
|
EM_DASH: "emDash",
|
|
22740
|
+
/** En dash separator (–) */
|
|
22422
22741
|
EN_DASH: "endash"
|
|
22423
22742
|
};
|
|
22424
22743
|
/**
|
|
@@ -22486,7 +22805,17 @@ var createPageNumberType = ({ start, formatType, separator }) => new BuilderElem
|
|
|
22486
22805
|
* @publicApi
|
|
22487
22806
|
*/
|
|
22488
22807
|
var PageOrientation = {
|
|
22808
|
+
/**
|
|
22809
|
+
* ## Portrait Mode
|
|
22810
|
+
*
|
|
22811
|
+
* Specifies that pages in this section shall be printed in portrait mode.
|
|
22812
|
+
*/
|
|
22489
22813
|
PORTRAIT: "portrait",
|
|
22814
|
+
/**
|
|
22815
|
+
* ## Landscape Mode
|
|
22816
|
+
*
|
|
22817
|
+
* 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.
|
|
22818
|
+
*/
|
|
22490
22819
|
LANDSCAPE: "landscape"
|
|
22491
22820
|
};
|
|
22492
22821
|
/**
|
|
@@ -22548,7 +22877,9 @@ var createPageSize = ({ width, height, orientation, code }) => {
|
|
|
22548
22877
|
* vertically (top-to-bottom), commonly used for East Asian languages.
|
|
22549
22878
|
*/
|
|
22550
22879
|
var PageTextDirectionType = {
|
|
22880
|
+
/** Left-to-right, top-to-bottom (standard Western text flow) */
|
|
22551
22881
|
LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb",
|
|
22882
|
+
/** Top-to-bottom, right-to-left (vertical East Asian text flow) */
|
|
22552
22883
|
TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl"
|
|
22553
22884
|
};
|
|
22554
22885
|
var PageTextDirectionAttributes = class extends XmlAttributeComponent {
|
|
@@ -22612,10 +22943,15 @@ var PageTextDirection = class extends XmlComponent {
|
|
|
22612
22943
|
* @publicApi
|
|
22613
22944
|
*/
|
|
22614
22945
|
var SectionType = {
|
|
22946
|
+
/** Section begins on the next page */
|
|
22615
22947
|
NEXT_PAGE: "nextPage",
|
|
22948
|
+
/** Section begins on the next column */
|
|
22616
22949
|
NEXT_COLUMN: "nextColumn",
|
|
22950
|
+
/** Section begins immediately following the previous section */
|
|
22617
22951
|
CONTINUOUS: "continuous",
|
|
22952
|
+
/** Section begins on the next even-numbered page */
|
|
22618
22953
|
EVEN_PAGE: "evenPage",
|
|
22954
|
+
/** Section begins on the next odd-numbered page */
|
|
22619
22955
|
ODD_PAGE: "oddPage"
|
|
22620
22956
|
};
|
|
22621
22957
|
/**
|
|
@@ -22666,12 +23002,19 @@ var createSectionType = (value) => new BuilderElement({
|
|
|
22666
23002
|
* @property GUTTER - Gutter margin: 0 twips
|
|
22667
23003
|
*/
|
|
22668
23004
|
var sectionMarginDefaults = {
|
|
23005
|
+
/** Top margin: 1440 twips (1 inch) */
|
|
22669
23006
|
TOP: 1440,
|
|
23007
|
+
/** Right margin: 1440 twips (1 inch) */
|
|
22670
23008
|
RIGHT: 1440,
|
|
23009
|
+
/** Bottom margin: 1440 twips (1 inch) */
|
|
22671
23010
|
BOTTOM: 1440,
|
|
23011
|
+
/** Left margin: 1440 twips (1 inch) */
|
|
22672
23012
|
LEFT: 1440,
|
|
23013
|
+
/** Header margin from top: 708 twips (0.5 inches) */
|
|
22673
23014
|
HEADER: 708,
|
|
23015
|
+
/** Footer margin from bottom: 708 twips (0.5 inches) */
|
|
22674
23016
|
FOOTER: 708,
|
|
23017
|
+
/** Gutter margin for binding: 0 twips */
|
|
22675
23018
|
GUTTER: 0
|
|
22676
23019
|
};
|
|
22677
23020
|
/**
|
|
@@ -22684,8 +23027,11 @@ var sectionMarginDefaults = {
|
|
|
22684
23027
|
* @property ORIENTATION - Page orientation: portrait
|
|
22685
23028
|
*/
|
|
22686
23029
|
var sectionPageSizeDefaults = {
|
|
23030
|
+
/** Page width: 11906 twips (8.27 inches, 210mm) */
|
|
22687
23031
|
WIDTH: 11906,
|
|
23032
|
+
/** Page height: 16838 twips (11.69 inches, 297mm) */
|
|
22688
23033
|
HEIGHT: 16838,
|
|
23034
|
+
/** Page orientation: portrait */
|
|
22689
23035
|
ORIENTATION: PageOrientation.PORTRAIT
|
|
22690
23036
|
};
|
|
22691
23037
|
/**
|
|
@@ -23607,6 +23953,7 @@ var Footer$1 = class extends InitializableXmlComponent {
|
|
|
23607
23953
|
*/
|
|
23608
23954
|
var FooterWrapper = class {
|
|
23609
23955
|
constructor(media, referenceId, initContent) {
|
|
23956
|
+
_defineProperty(this, "media", void 0);
|
|
23610
23957
|
_defineProperty(this, "footer", void 0);
|
|
23611
23958
|
_defineProperty(this, "relationships", void 0);
|
|
23612
23959
|
this.media = media;
|
|
@@ -23721,7 +24068,9 @@ var FootnoteRefRun = class extends Run {
|
|
|
23721
24068
|
* @publicApi
|
|
23722
24069
|
*/
|
|
23723
24070
|
var FootnoteType = {
|
|
24071
|
+
/** Separator line between body text and footnotes */
|
|
23724
24072
|
SEPERATOR: "separator",
|
|
24073
|
+
/** Continuation separator for footnotes spanning pages */
|
|
23725
24074
|
CONTINUATION_SEPERATOR: "continuationSeparator"
|
|
23726
24075
|
};
|
|
23727
24076
|
/**
|
|
@@ -24127,6 +24476,7 @@ var Header$1 = class extends InitializableXmlComponent {
|
|
|
24127
24476
|
*/
|
|
24128
24477
|
var HeaderWrapper = class {
|
|
24129
24478
|
constructor(media, referenceId, initContent) {
|
|
24479
|
+
_defineProperty(this, "media", void 0);
|
|
24130
24480
|
_defineProperty(this, "header", void 0);
|
|
24131
24481
|
_defineProperty(this, "relationships", void 0);
|
|
24132
24482
|
this.media = media;
|
|
@@ -24238,68 +24588,131 @@ var WORKAROUND2 = "";
|
|
|
24238
24588
|
* @publicApi
|
|
24239
24589
|
*/
|
|
24240
24590
|
var LevelFormat = {
|
|
24591
|
+
/** Decimal numbering (1, 2, 3...). */
|
|
24241
24592
|
DECIMAL: "decimal",
|
|
24593
|
+
/** Uppercase roman numerals (I, II, III...). */
|
|
24242
24594
|
UPPER_ROMAN: "upperRoman",
|
|
24595
|
+
/** Lowercase roman numerals (i, ii, iii...). */
|
|
24243
24596
|
LOWER_ROMAN: "lowerRoman",
|
|
24597
|
+
/** Uppercase letters (A, B, C...). */
|
|
24244
24598
|
UPPER_LETTER: "upperLetter",
|
|
24599
|
+
/** Lowercase letters (a, b, c...). */
|
|
24245
24600
|
LOWER_LETTER: "lowerLetter",
|
|
24601
|
+
/** Ordinal numbers (1st, 2nd, 3rd...). */
|
|
24246
24602
|
ORDINAL: "ordinal",
|
|
24603
|
+
/** Cardinal text (one, two, three...). */
|
|
24247
24604
|
CARDINAL_TEXT: "cardinalText",
|
|
24605
|
+
/** Ordinal text (first, second, third...). */
|
|
24248
24606
|
ORDINAL_TEXT: "ordinalText",
|
|
24607
|
+
/** Hexadecimal numbering. */
|
|
24249
24608
|
HEX: "hex",
|
|
24609
|
+
/** Chicago Manual of Style numbering. */
|
|
24250
24610
|
CHICAGO: "chicago",
|
|
24611
|
+
/** Ideograph digital numbering. */
|
|
24251
24612
|
IDEOGRAPH__DIGITAL: "ideographDigital",
|
|
24613
|
+
/** Japanese counting system. */
|
|
24252
24614
|
JAPANESE_COUNTING: "japaneseCounting",
|
|
24615
|
+
/** Japanese aiueo ordering. */
|
|
24253
24616
|
AIUEO: "aiueo",
|
|
24617
|
+
/** Japanese iroha ordering. */
|
|
24254
24618
|
IROHA: "iroha",
|
|
24619
|
+
/** Full-width decimal numbering. */
|
|
24255
24620
|
DECIMAL_FULL_WIDTH: "decimalFullWidth",
|
|
24621
|
+
/** Half-width decimal numbering. */
|
|
24256
24622
|
DECIMAL_HALF_WIDTH: "decimalHalfWidth",
|
|
24623
|
+
/** Japanese legal numbering. */
|
|
24257
24624
|
JAPANESE_LEGAL: "japaneseLegal",
|
|
24625
|
+
/** Japanese digital ten thousand numbering. */
|
|
24258
24626
|
JAPANESE_DIGITAL_TEN_THOUSAND: "japaneseDigitalTenThousand",
|
|
24627
|
+
/** Decimal numbers enclosed in circles. */
|
|
24259
24628
|
DECIMAL_ENCLOSED_CIRCLE: "decimalEnclosedCircle",
|
|
24629
|
+
/** Full-width decimal numbering variant 2. */
|
|
24260
24630
|
DECIMAL_FULL_WIDTH2: "decimalFullWidth2",
|
|
24631
|
+
/** Full-width aiueo ordering. */
|
|
24261
24632
|
AIUEO_FULL_WIDTH: "aiueoFullWidth",
|
|
24633
|
+
/** Full-width iroha ordering. */
|
|
24262
24634
|
IROHA_FULL_WIDTH: "irohaFullWidth",
|
|
24635
|
+
/** Decimal with leading zeros. */
|
|
24263
24636
|
DECIMAL_ZERO: "decimalZero",
|
|
24637
|
+
/** Bullet points. */
|
|
24264
24638
|
BULLET: "bullet",
|
|
24639
|
+
/** Korean ganada ordering. */
|
|
24265
24640
|
GANADA: "ganada",
|
|
24641
|
+
/** Korean chosung ordering. */
|
|
24266
24642
|
CHOSUNG: "chosung",
|
|
24643
|
+
/** Decimal enclosed with fullstop. */
|
|
24267
24644
|
DECIMAL_ENCLOSED_FULLSTOP: "decimalEnclosedFullstop",
|
|
24645
|
+
/** Decimal enclosed in parentheses. */
|
|
24268
24646
|
DECIMAL_ENCLOSED_PARENTHESES: "decimalEnclosedParen",
|
|
24647
|
+
/** Decimal enclosed in circles (Chinese). */
|
|
24269
24648
|
DECIMAL_ENCLOSED_CIRCLE_CHINESE: "decimalEnclosedCircleChinese",
|
|
24649
|
+
/** Ideograph enclosed in circles. */
|
|
24270
24650
|
IDEOGRAPH_ENCLOSED_CIRCLE: "ideographEnclosedCircle",
|
|
24651
|
+
/** Traditional ideograph numbering. */
|
|
24271
24652
|
IDEOGRAPH_TRADITIONAL: "ideographTraditional",
|
|
24653
|
+
/** Ideograph zodiac numbering. */
|
|
24272
24654
|
IDEOGRAPH_ZODIAC: "ideographZodiac",
|
|
24655
|
+
/** Traditional ideograph zodiac numbering. */
|
|
24273
24656
|
IDEOGRAPH_ZODIAC_TRADITIONAL: "ideographZodiacTraditional",
|
|
24657
|
+
/** Taiwanese counting system. */
|
|
24274
24658
|
TAIWANESE_COUNTING: "taiwaneseCounting",
|
|
24659
|
+
/** Traditional ideograph legal numbering. */
|
|
24275
24660
|
IDEOGRAPH_LEGAL_TRADITIONAL: "ideographLegalTraditional",
|
|
24661
|
+
/** Taiwanese counting thousand system. */
|
|
24276
24662
|
TAIWANESE_COUNTING_THOUSAND: "taiwaneseCountingThousand",
|
|
24663
|
+
/** Taiwanese digital numbering. */
|
|
24277
24664
|
TAIWANESE_DIGITAL: "taiwaneseDigital",
|
|
24665
|
+
/** Chinese counting system. */
|
|
24278
24666
|
CHINESE_COUNTING: "chineseCounting",
|
|
24667
|
+
/** Simplified Chinese legal numbering. */
|
|
24279
24668
|
CHINESE_LEGAL_SIMPLIFIED: "chineseLegalSimplified",
|
|
24669
|
+
/** Chinese counting thousand system. */
|
|
24280
24670
|
CHINESE_COUNTING_THOUSAND: "chineseCountingThousand",
|
|
24671
|
+
/** Korean digital numbering. */
|
|
24281
24672
|
KOREAN_DIGITAL: "koreanDigital",
|
|
24673
|
+
/** Korean counting system. */
|
|
24282
24674
|
KOREAN_COUNTING: "koreanCounting",
|
|
24675
|
+
/** Korean legal numbering. */
|
|
24283
24676
|
KOREAN_LEGAL: "koreanLegal",
|
|
24677
|
+
/** Korean digital numbering variant 2. */
|
|
24284
24678
|
KOREAN_DIGITAL2: "koreanDigital2",
|
|
24679
|
+
/** Vietnamese counting system. */
|
|
24285
24680
|
VIETNAMESE_COUNTING: "vietnameseCounting",
|
|
24681
|
+
/** Russian lowercase numbering. */
|
|
24286
24682
|
RUSSIAN_LOWER: "russianLower",
|
|
24683
|
+
/** Russian uppercase numbering. */
|
|
24287
24684
|
RUSSIAN_UPPER: "russianUpper",
|
|
24685
|
+
/** No numbering. */
|
|
24288
24686
|
NONE: "none",
|
|
24687
|
+
/** Number enclosed in dashes. */
|
|
24289
24688
|
NUMBER_IN_DASH: "numberInDash",
|
|
24689
|
+
/** Hebrew numbering variant 1. */
|
|
24290
24690
|
HEBREW1: "hebrew1",
|
|
24691
|
+
/** Hebrew numbering variant 2. */
|
|
24291
24692
|
HEBREW2: "hebrew2",
|
|
24693
|
+
/** Arabic alpha numbering. */
|
|
24292
24694
|
ARABIC_ALPHA: "arabicAlpha",
|
|
24695
|
+
/** Arabic abjad numbering. */
|
|
24293
24696
|
ARABIC_ABJAD: "arabicAbjad",
|
|
24697
|
+
/** Hindi vowels. */
|
|
24294
24698
|
HINDI_VOWELS: "hindiVowels",
|
|
24699
|
+
/** Hindi consonants. */
|
|
24295
24700
|
HINDI_CONSONANTS: "hindiConsonants",
|
|
24701
|
+
/** Hindi numbers. */
|
|
24296
24702
|
HINDI_NUMBERS: "hindiNumbers",
|
|
24703
|
+
/** Hindi counting system. */
|
|
24297
24704
|
HINDI_COUNTING: "hindiCounting",
|
|
24705
|
+
/** Thai letters. */
|
|
24298
24706
|
THAI_LETTERS: "thaiLetters",
|
|
24707
|
+
/** Thai numbers. */
|
|
24299
24708
|
THAI_NUMBERS: "thaiNumbers",
|
|
24709
|
+
/** Thai counting system. */
|
|
24300
24710
|
THAI_COUNTING: "thaiCounting",
|
|
24711
|
+
/** Thai Baht text. */
|
|
24301
24712
|
BAHT_TEXT: "bahtText",
|
|
24713
|
+
/** Dollar text. */
|
|
24302
24714
|
DOLLAR_TEXT: "dollarText",
|
|
24715
|
+
/** Custom numbering format. */
|
|
24303
24716
|
CUSTOM: "custom"
|
|
24304
24717
|
};
|
|
24305
24718
|
/**
|
|
@@ -24366,8 +24779,11 @@ var LevelJc = class extends XmlComponent {
|
|
|
24366
24779
|
* @publicApi
|
|
24367
24780
|
*/
|
|
24368
24781
|
var LevelSuffix = {
|
|
24782
|
+
/** No separator after the numbering. */
|
|
24369
24783
|
NOTHING: "nothing",
|
|
24784
|
+
/** Space character after the numbering. */
|
|
24370
24785
|
SPACE: "space",
|
|
24786
|
+
/** Tab character after the numbering. */
|
|
24371
24787
|
TAB: "tab"
|
|
24372
24788
|
};
|
|
24373
24789
|
/**
|
|
@@ -26419,8 +26835,13 @@ var File = class {
|
|
|
26419
26835
|
const defaultStyles = new DefaultStylesFactory().newInstance((_options$styles = options.styles) === null || _options$styles === void 0 ? void 0 : _options$styles.default);
|
|
26420
26836
|
const externalStyles = new ExternalStylesFactory().newInstance(options.externalStyles);
|
|
26421
26837
|
this.styles = new Styles(_objectSpread2(_objectSpread2({}, externalStyles), {}, { importedStyles: [...defaultStyles.importedStyles, ...externalStyles.importedStyles] }));
|
|
26422
|
-
} else if (options.styles)
|
|
26423
|
-
|
|
26838
|
+
} else if (options.styles) {
|
|
26839
|
+
const defaultStyles = new DefaultStylesFactory().newInstance(options.styles.default);
|
|
26840
|
+
this.styles = new Styles(_objectSpread2(_objectSpread2({}, defaultStyles), options.styles));
|
|
26841
|
+
} else {
|
|
26842
|
+
const stylesFactory = new DefaultStylesFactory();
|
|
26843
|
+
this.styles = new Styles(stylesFactory.newInstance());
|
|
26844
|
+
}
|
|
26424
26845
|
this.addDefaultRelationships();
|
|
26425
26846
|
for (const section of options.sections) this.addSection(section);
|
|
26426
26847
|
if (options.footnotes) for (const key in options.footnotes) this.footnotesWrapper.View.createFootNote(parseFloat(key), options.footnotes[key].children);
|
|
@@ -26704,7 +27125,7 @@ var StructuredDocumentTagProperties = class extends XmlComponent {
|
|
|
26704
27125
|
}
|
|
26705
27126
|
};
|
|
26706
27127
|
//#endregion
|
|
26707
|
-
//#region \0@oxc-project+runtime@0.
|
|
27128
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/objectWithoutPropertiesLoose.js
|
|
26708
27129
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
26709
27130
|
if (null == r) return {};
|
|
26710
27131
|
var t = {};
|
|
@@ -26715,7 +27136,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
26715
27136
|
return t;
|
|
26716
27137
|
}
|
|
26717
27138
|
//#endregion
|
|
26718
|
-
//#region \0@oxc-project+runtime@0.
|
|
27139
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/objectWithoutProperties.js
|
|
26719
27140
|
function _objectWithoutProperties(e, t) {
|
|
26720
27141
|
if (null == e) return {};
|
|
26721
27142
|
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
@@ -30668,8 +31089,8 @@ var require_escapeForXML = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
30668
31089
|
module.exports = escapeForXML;
|
|
30669
31090
|
}));
|
|
30670
31091
|
//#endregion
|
|
30671
|
-
//#region
|
|
30672
|
-
var
|
|
31092
|
+
//#region node_modules/xml/lib/xml.js
|
|
31093
|
+
var require_xml = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
30673
31094
|
init_dist();
|
|
30674
31095
|
var escapeForXML = require_escapeForXML();
|
|
30675
31096
|
var Stream = require_stream_browserify().Stream;
|
|
@@ -30842,9 +31263,12 @@ var import_xml = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((export
|
|
|
30842
31263
|
}
|
|
30843
31264
|
module.exports = xml;
|
|
30844
31265
|
module.exports.element = module.exports.Element = element;
|
|
30845
|
-
}))
|
|
30846
|
-
|
|
31266
|
+
}));
|
|
31267
|
+
//#endregion
|
|
31268
|
+
//#region src/file/fonts/obfuscate-ttf-to-odttf.ts
|
|
30847
31269
|
var import_stream_browserify = require_stream_browserify();
|
|
31270
|
+
var import_jszip_min = /* @__PURE__ */ __toESM(require_jszip_min(), 1);
|
|
31271
|
+
var import_xml = /* @__PURE__ */ __toESM(require_xml(), 1);
|
|
30848
31272
|
/**
|
|
30849
31273
|
* Font obfuscation module for embedding fonts in WordprocessingML documents.
|
|
30850
31274
|
*
|
|
@@ -31439,7 +31863,7 @@ var Compiler = class {
|
|
|
31439
31863
|
}
|
|
31440
31864
|
};
|
|
31441
31865
|
//#endregion
|
|
31442
|
-
//#region \0@oxc-project+runtime@0.
|
|
31866
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/asyncToGenerator.js
|
|
31443
31867
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
31444
31868
|
try {
|
|
31445
31869
|
var i = n[a](c), u = i.value;
|
|
@@ -31480,9 +31904,13 @@ function _asyncToGenerator(n) {
|
|
|
31480
31904
|
* @publicApi
|
|
31481
31905
|
*/
|
|
31482
31906
|
var PrettifyType = {
|
|
31907
|
+
/** No prettification (smallest file size) */
|
|
31483
31908
|
NONE: "",
|
|
31909
|
+
/** Indent with 2 spaces */
|
|
31484
31910
|
WITH_2_BLANKS: " ",
|
|
31911
|
+
/** Indent with 4 spaces */
|
|
31485
31912
|
WITH_4_BLANKS: " ",
|
|
31913
|
+
/** Indent with tab character */
|
|
31486
31914
|
WITH_TAB: " "
|
|
31487
31915
|
};
|
|
31488
31916
|
var convertPrettifyType = (prettify) => prettify === true ? PrettifyType.WITH_2_BLANKS : prettify === false ? void 0 : prettify;
|
|
@@ -31877,8 +32305,11 @@ var splitRunElement = (runElement, token) => {
|
|
|
31877
32305
|
* Replacement modes for multi-run text replacement.
|
|
31878
32306
|
*/
|
|
31879
32307
|
var ReplaceMode = {
|
|
32308
|
+
/** Looking for the start of the replacement text */
|
|
31880
32309
|
START: 0,
|
|
32310
|
+
/** Processing runs in the middle of the replacement text */
|
|
31881
32311
|
MIDDLE: 1,
|
|
32312
|
+
/** Reached the end of the replacement text */
|
|
31882
32313
|
END: 2
|
|
31883
32314
|
};
|
|
31884
32315
|
/**
|
|
@@ -32170,7 +32601,9 @@ var getLastElementIndexFromPath = (path) => path[path.length - 1];
|
|
|
32170
32601
|
* @publicApi
|
|
32171
32602
|
*/
|
|
32172
32603
|
var PatchType = {
|
|
32604
|
+
/** Replace entire file-level elements (e.g., whole paragraphs) */
|
|
32173
32605
|
DOCUMENT: "file",
|
|
32606
|
+
/** Replace content within paragraphs (inline replacement) */
|
|
32174
32607
|
PARAGRAPH: "paragraph"
|
|
32175
32608
|
};
|
|
32176
32609
|
var imageReplacer = new ImageReplacer();
|