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