docx 8.0.4 → 8.1.0
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/build/export/formatter.d.ts +1 -1
- package/build/export/packer/image-replacer.d.ts +1 -1
- package/build/export/packer/next-compiler.d.ts +3 -3
- package/build/export/packer/numbering-replacer.d.ts +1 -1
- package/build/export/packer/packer.d.ts +1 -1
- package/build/file/app-properties/app-properties-attributes.d.ts +1 -1
- package/build/file/app-properties/app-properties.d.ts +1 -1
- package/build/file/border/border.d.ts +1 -1
- package/build/file/content-types/content-types-attributes.d.ts +1 -1
- package/build/file/content-types/content-types.d.ts +1 -1
- package/build/file/content-types/default/default-attributes.d.ts +1 -1
- package/build/file/content-types/default/default.d.ts +1 -1
- package/build/file/content-types/override/override-attributes.d.ts +1 -1
- package/build/file/content-types/override/override.d.ts +1 -1
- package/build/file/core-properties/properties.d.ts +3 -3
- package/build/file/custom-properties/custom-properties-attributes.d.ts +1 -1
- package/build/file/custom-properties/custom-properties.d.ts +1 -1
- package/build/file/custom-properties/custom-property-attributes.d.ts +1 -1
- package/build/file/custom-properties/custom-property.d.ts +1 -1
- package/build/file/document/body/body.d.ts +1 -1
- package/build/file/document/body/section-properties/properties/column.d.ts +2 -2
- package/build/file/document/body/section-properties/properties/columns.d.ts +2 -2
- package/build/file/document/body/section-properties/properties/doc-grid.d.ts +1 -1
- package/build/file/document/body/section-properties/properties/header-footer-reference.d.ts +1 -1
- package/build/file/document/body/section-properties/properties/line-number.d.ts +2 -2
- package/build/file/document/body/section-properties/properties/page-borders.d.ts +2 -2
- package/build/file/document/body/section-properties/properties/page-margin.d.ts +2 -2
- package/build/file/document/body/section-properties/properties/page-number.d.ts +2 -2
- package/build/file/document/body/section-properties/properties/page-size.d.ts +2 -2
- package/build/file/document/body/section-properties/properties/page-text-direction.d.ts +1 -1
- package/build/file/document/body/section-properties/properties/section-type.d.ts +1 -1
- package/build/file/document/body/section-properties/section-properties.d.ts +4 -4
- package/build/file/document/document-attributes.d.ts +1 -1
- package/build/file/document/document-background/document-background.d.ts +1 -1
- package/build/file/document/document.d.ts +1 -1
- package/build/file/drawing/anchor/anchor-attributes.d.ts +1 -1
- package/build/file/drawing/anchor/anchor.d.ts +2 -2
- package/build/file/drawing/doc-properties/doc-properties-children.d.ts +1 -1
- package/build/file/drawing/doc-properties/doc-properties.d.ts +1 -1
- package/build/file/drawing/drawing.d.ts +2 -3
- package/build/file/drawing/effect-extent/effect-extent-attributes.d.ts +1 -1
- package/build/file/drawing/effect-extent/effect-extent.d.ts +1 -1
- package/build/file/drawing/extent/extent-attributes.d.ts +1 -1
- package/build/file/drawing/extent/extent.d.ts +1 -1
- package/build/file/drawing/floating/align.d.ts +2 -2
- package/build/file/drawing/floating/floating-position.d.ts +1 -1
- package/build/file/drawing/floating/horizontal-position.d.ts +1 -1
- package/build/file/drawing/floating/position-offset.d.ts +1 -1
- package/build/file/drawing/floating/simple-pos.d.ts +1 -1
- package/build/file/drawing/floating/vertical-position.d.ts +1 -1
- package/build/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-lock-attributes.d.ts +1 -1
- package/build/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-locks.d.ts +1 -1
- package/build/file/drawing/graphic-frame/graphic-frame-properties.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/graphic-data-attribute.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/graphic-data.d.ts +2 -2
- package/build/file/drawing/inline/graphic/graphic-data/pic/blip/blip-fill.d.ts +2 -2
- package/build/file/drawing/inline/graphic/graphic-data/pic/blip/blip.d.ts +2 -2
- package/build/file/drawing/inline/graphic/graphic-data/pic/blip/source-rectangle.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/blip/stretch.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/child-non-visual-pic-properties.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/pic-locks/pic-locks-attributes.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/pic-locks/pic-locks.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-pic-properties.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties-attributes.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/pic-attributes.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/pic.d.ts +2 -2
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents-attributes.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/form.d.ts +2 -2
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off-attributes.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/adjustment-values/adjustment-values.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry-attributes.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties-attributes.d.ts +1 -1
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties.d.ts +2 -2
- package/build/file/drawing/inline/graphic/graphic.d.ts +2 -2
- package/build/file/drawing/inline/inline-attributes.d.ts +1 -1
- package/build/file/drawing/inline/inline.d.ts +2 -2
- package/build/file/drawing/text-wrap/wrap-none.d.ts +1 -1
- package/build/file/drawing/text-wrap/wrap-square.d.ts +1 -1
- package/build/file/drawing/text-wrap/wrap-tight.d.ts +1 -1
- package/build/file/drawing/text-wrap/wrap-top-and-bottom.d.ts +1 -1
- package/build/file/file-child.d.ts +1 -1
- package/build/file/footer/footer-attributes.d.ts +1 -1
- package/build/file/footer/footer.d.ts +1 -1
- package/build/file/footer-wrapper.d.ts +1 -1
- package/build/file/footnotes/footnote/footnote-attributes.d.ts +1 -1
- package/build/file/footnotes/footnote/footnote.d.ts +2 -2
- package/build/file/footnotes/footnote/run/continuation-seperator-run.d.ts +1 -1
- package/build/file/footnotes/footnote/run/continuation-seperator.d.ts +1 -1
- package/build/file/footnotes/footnote/run/footnote-ref-run.d.ts +1 -1
- package/build/file/footnotes/footnote/run/footnote-ref.d.ts +1 -1
- package/build/file/footnotes/footnote/run/reference-run.d.ts +2 -2
- package/build/file/footnotes/footnote/run/seperator-run.d.ts +1 -1
- package/build/file/footnotes/footnote/run/seperator.d.ts +1 -1
- package/build/file/footnotes/footnotes-attributes.d.ts +1 -1
- package/build/file/footnotes/footnotes.d.ts +1 -1
- package/build/file/header/header-attributes.d.ts +1 -1
- package/build/file/header/header.d.ts +1 -1
- package/build/file/header-wrapper.d.ts +1 -1
- package/build/file/numbering/abstract-numbering.d.ts +1 -1
- package/build/file/numbering/level.d.ts +1 -1
- package/build/file/numbering/multi-level-type.d.ts +1 -1
- package/build/file/numbering/num.d.ts +1 -1
- package/build/file/numbering/numbering.d.ts +2 -2
- package/build/file/paragraph/formatting/alignment.d.ts +1 -1
- package/build/file/paragraph/formatting/border.d.ts +2 -2
- package/build/file/paragraph/formatting/break.d.ts +1 -1
- package/build/file/paragraph/formatting/indent.d.ts +2 -2
- package/build/file/paragraph/formatting/spacing.d.ts +1 -1
- package/build/file/paragraph/formatting/style.d.ts +1 -1
- package/build/file/paragraph/formatting/tab-stop.d.ts +1 -1
- package/build/file/paragraph/formatting/unordered-list.d.ts +1 -1
- package/build/file/paragraph/formatting/word-wrap.d.ts +1 -1
- package/build/file/paragraph/frame/frame-properties.d.ts +3 -3
- package/build/file/paragraph/links/bookmark-attributes.d.ts +1 -1
- package/build/file/paragraph/links/bookmark.d.ts +1 -1
- package/build/file/paragraph/links/hyperlink-attributes.d.ts +1 -1
- package/build/file/paragraph/links/hyperlink.d.ts +1 -1
- package/build/file/paragraph/links/outline-level.d.ts +1 -1
- package/build/file/paragraph/links/pageref-field-instruction.d.ts +1 -1
- package/build/file/paragraph/math/brackets/math-angled-brackets.d.ts +1 -1
- package/build/file/paragraph/math/brackets/math-beginning-character.d.ts +1 -1
- package/build/file/paragraph/math/brackets/math-bracket-properties.d.ts +1 -1
- package/build/file/paragraph/math/brackets/math-curly-brackets.d.ts +1 -1
- package/build/file/paragraph/math/brackets/math-ending-char.d.ts +1 -1
- package/build/file/paragraph/math/brackets/math-round-brackets.d.ts +1 -1
- package/build/file/paragraph/math/brackets/math-square-brackets.d.ts +1 -1
- package/build/file/paragraph/math/fraction/math-denominator.d.ts +1 -1
- package/build/file/paragraph/math/fraction/math-fraction.d.ts +1 -1
- package/build/file/paragraph/math/fraction/math-numerator.d.ts +1 -1
- package/build/file/paragraph/math/function/math-function-name.d.ts +1 -1
- package/build/file/paragraph/math/function/math-function-properties.d.ts +1 -1
- package/build/file/paragraph/math/function/math-function.d.ts +1 -1
- package/build/file/paragraph/math/math-run.d.ts +1 -1
- package/build/file/paragraph/math/math-text.d.ts +1 -1
- package/build/file/paragraph/math/math.d.ts +1 -1
- package/build/file/paragraph/math/n-ary/math-accent-character.d.ts +1 -1
- package/build/file/paragraph/math/n-ary/math-base.d.ts +1 -1
- package/build/file/paragraph/math/n-ary/math-integral.d.ts +1 -1
- package/build/file/paragraph/math/n-ary/math-limit-location.d.ts +1 -1
- package/build/file/paragraph/math/n-ary/math-n-ary-properties.d.ts +1 -1
- package/build/file/paragraph/math/n-ary/math-sub-script-hide.d.ts +1 -1
- package/build/file/paragraph/math/n-ary/math-sub-script.d.ts +1 -1
- package/build/file/paragraph/math/n-ary/math-sum.d.ts +1 -1
- package/build/file/paragraph/math/n-ary/math-super-script-hide.d.ts +1 -1
- package/build/file/paragraph/math/n-ary/math-super-script.d.ts +1 -1
- package/build/file/paragraph/math/radical/math-degree-hide.d.ts +1 -1
- package/build/file/paragraph/math/radical/math-degree.d.ts +1 -1
- package/build/file/paragraph/math/radical/math-radical-properties.d.ts +1 -1
- package/build/file/paragraph/math/radical/math-radical.d.ts +1 -1
- package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.d.ts +1 -1
- package/build/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.d.ts +1 -1
- package/build/file/paragraph/math/script/sub-script/math-sub-script-function-properties.d.ts +1 -1
- package/build/file/paragraph/math/script/sub-script/math-sub-script-function.d.ts +1 -1
- package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.d.ts +1 -1
- package/build/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.d.ts +1 -1
- package/build/file/paragraph/math/script/super-script/math-super-script-function-properties.d.ts +1 -1
- package/build/file/paragraph/math/script/super-script/math-super-script-function.d.ts +1 -1
- package/build/file/paragraph/paragraph.d.ts +3 -3
- package/build/file/paragraph/properties.d.ts +1 -1
- package/build/file/paragraph/run/break.d.ts +1 -1
- package/build/file/paragraph/run/comment-run.d.ts +2 -2
- package/build/file/paragraph/run/emphasis-mark.d.ts +1 -1
- package/build/file/paragraph/run/empty-children.d.ts +1 -1
- package/build/file/paragraph/run/field.d.ts +1 -1
- package/build/file/paragraph/run/formatting.d.ts +2 -2
- package/build/file/paragraph/run/image-run.d.ts +2 -2
- package/build/file/paragraph/run/language.d.ts +1 -1
- package/build/file/paragraph/run/page-number.d.ts +1 -1
- package/build/file/paragraph/run/positional-tab.d.ts +1 -1
- package/build/file/paragraph/run/properties.d.ts +6 -5
- package/build/file/paragraph/run/run-components/symbol.d.ts +1 -1
- package/build/file/paragraph/run/run-components/text.d.ts +2 -2
- package/build/file/paragraph/run/run-fonts.d.ts +1 -1
- package/build/file/paragraph/run/run.d.ts +3 -3
- package/build/file/paragraph/run/script.d.ts +1 -1
- package/build/file/paragraph/run/sequential-identifier-instruction.d.ts +1 -1
- package/build/file/paragraph/run/sequential-identifier.d.ts +1 -1
- package/build/file/paragraph/run/simple-field.d.ts +1 -1
- package/build/file/paragraph/run/text-attributes.d.ts +2 -2
- package/build/file/paragraph/run/underline.d.ts +1 -1
- package/build/file/relationships/attributes.d.ts +1 -1
- package/build/file/relationships/relationship/relationship-attributes.d.ts +1 -1
- package/build/file/relationships/relationship/relationship.d.ts +1 -1
- package/build/file/relationships/relationships.d.ts +1 -1
- package/build/file/settings/compatibility-setting/compatibility-setting.d.ts +1 -1
- package/build/file/settings/compatibility.d.ts +1 -1
- package/build/file/settings/settings.d.ts +1 -1
- package/build/file/shading/shading.d.ts +1 -1
- package/build/file/styles/defaults/document-defaults.d.ts +3 -3
- package/build/file/styles/defaults/paragraph-properties.d.ts +2 -2
- package/build/file/styles/defaults/run-properties.d.ts +2 -2
- package/build/file/styles/style/character-style.d.ts +1 -1
- package/build/file/styles/style/components.d.ts +1 -1
- package/build/file/styles/style/paragraph-style.d.ts +1 -1
- package/build/file/styles/style/style.d.ts +1 -1
- package/build/file/styles/styles.d.ts +2 -2
- package/build/file/table/grid.d.ts +2 -2
- package/build/file/table/table-cell/table-cell-components.d.ts +2 -2
- package/build/file/table/table-cell/table-cell-properties.d.ts +2 -2
- package/build/file/table/table-cell/table-cell.d.ts +2 -2
- package/build/file/table/table-properties/table-borders.d.ts +2 -2
- package/build/file/table/table-properties/table-cell-margin.d.ts +1 -1
- package/build/file/table/table-properties/table-float-properties.d.ts +2 -2
- package/build/file/table/table-properties/table-layout.d.ts +1 -1
- package/build/file/table/table-properties/table-properties.d.ts +1 -1
- package/build/file/table/table-row/table-row-height.d.ts +2 -2
- package/build/file/table/table-row/table-row-properties.d.ts +2 -2
- package/build/file/table/table-row/table-row.d.ts +1 -1
- package/build/file/table/table-width.d.ts +2 -2
- package/build/file/table/table.d.ts +1 -1
- package/build/file/table-of-contents/field-instruction.d.ts +1 -1
- package/build/file/table-of-contents/sdt-content.d.ts +1 -1
- package/build/file/table-of-contents/sdt-properties.d.ts +1 -1
- package/build/file/table-of-contents/table-of-contents.d.ts +1 -1
- package/build/file/track-revision/track-revision-components/deleted-page-number.d.ts +1 -1
- package/build/file/track-revision/track-revision-components/deleted-text-run.d.ts +1 -1
- package/build/file/track-revision/track-revision-components/deleted-text.d.ts +1 -1
- package/build/file/track-revision/track-revision-components/inserted-text-run.d.ts +1 -1
- package/build/file/track-revision/track-revision.d.ts +1 -1
- package/build/file/vertical-align/vertical-align.d.ts +1 -1
- package/build/file/xml-components/imported-xml-component.d.ts +1 -1
- package/build/file/xml-components/initializable-xml-component.d.ts +1 -1
- package/build/file/xml-components/simple-elements.d.ts +2 -2
- package/build/file/xml-components/xmlable-object.d.ts +1 -1
- package/build/index.cjs +19480 -0
- package/build/index.iife.js +19483 -0
- package/build/index.js +19480 -2
- package/build/index.umd.cjs +19484 -0
- package/build/patcher/from-docx.d.ts +2 -2
- package/build/patcher/relationship-manager.d.ts +1 -1
- package/build/patcher/replacer.d.ts +1 -1
- package/package.json +110 -113
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.d.ts +0 -4
- package/build/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.d.ts +0 -4
- package/build/file/footer/index.d.ts +0 -1
- package/build/file/header/index.d.ts +0 -1
- package/build/file/paragraph/formatting/width.d.ts +0 -0
- package/build/file/styles/latent-styles/exceptions.d.ts +0 -20
- package/build/file/styles/latent-styles/index.d.ts +0 -1
- package/build/file/styles/latent-styles/latent-styles.d.ts +0 -5
- package/build/file/styles/sample/default-style.d.ts +0 -1
- package/build/file/styles/sample/index.d.ts +0 -1
- package/build/index.js.LICENSE.txt +0 -10
- package/build/tests/utility.d.ts +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseXmlComponent, IContext, IXmlableObject } from
|
|
1
|
+
import { BaseXmlComponent, IContext, IXmlableObject } from '../file/xml-components';
|
|
2
2
|
export declare class Formatter {
|
|
3
3
|
format(input: BaseXmlComponent, context?: IContext): IXmlableObject;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMediaData, Media } from
|
|
1
|
+
import { IMediaData, Media } from '../../file/media';
|
|
2
2
|
export declare class ImageReplacer {
|
|
3
3
|
replace(xmlData: string, mediaData: readonly IMediaData[], offset: number): string;
|
|
4
4
|
getMediaData(xmlData: string, media: Media): readonly IMediaData[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { File } from
|
|
1
|
+
import JSZip from "jszip";
|
|
2
|
+
import { File } from '../../file/file';
|
|
3
3
|
import { PrettifyType } from "./packer";
|
|
4
4
|
export declare class Compiler {
|
|
5
5
|
private readonly formatter;
|
|
6
6
|
private readonly imageReplacer;
|
|
7
7
|
private readonly numberingReplacer;
|
|
8
8
|
constructor();
|
|
9
|
-
compile(file: File, prettifyXml?:
|
|
9
|
+
compile(file: File, prettifyXml?: PrettifyType): JSZip;
|
|
10
10
|
private xmlifyFile;
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ICommentsOptions } from
|
|
2
|
-
import { ICompatibilityOptions } from
|
|
3
|
-
import { XmlComponent } from
|
|
1
|
+
import { ICommentsOptions } from '../paragraph/run/comment-run';
|
|
2
|
+
import { ICompatibilityOptions } from '../settings/compatibility';
|
|
3
|
+
import { XmlComponent } from '../xml-components';
|
|
4
4
|
import { ICustomPropertyOptions } from "../custom-properties";
|
|
5
5
|
import { IDocumentBackgroundOptions } from "../document";
|
|
6
6
|
import { ISectionOptions } from "../file";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IContext, IXmlableObject, XmlComponent } from
|
|
1
|
+
import { IContext, IXmlableObject, XmlComponent } from '../xml-components';
|
|
2
2
|
import { ICustomPropertyOptions } from "./custom-property";
|
|
3
3
|
export declare class CustomProperties extends XmlComponent {
|
|
4
4
|
private nextId;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IContext, IXmlableObject, XmlComponent } from
|
|
1
|
+
import { IContext, IXmlableObject, XmlComponent } from '../../xml-components';
|
|
2
2
|
import { ISectionPropertiesOptions } from "./section-properties/section-properties";
|
|
3
3
|
export declare class Body extends XmlComponent {
|
|
4
4
|
private readonly sections;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { XmlComponent } from
|
|
2
|
-
import { PositiveUniversalMeasure } from
|
|
1
|
+
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
+
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
|
3
3
|
type IColumnAttributes = {
|
|
4
4
|
readonly width: number | PositiveUniversalMeasure;
|
|
5
5
|
readonly space?: number | PositiveUniversalMeasure;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { XmlComponent } from
|
|
2
|
-
import { PositiveUniversalMeasure } from
|
|
1
|
+
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
+
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
|
3
3
|
import { Column } from "./column";
|
|
4
4
|
export type IColumnsAttributes = {
|
|
5
5
|
readonly space?: number | PositiveUniversalMeasure;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { XmlComponent } from
|
|
2
|
-
import { PositiveUniversalMeasure } from
|
|
1
|
+
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
+
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
|
3
3
|
export declare enum LineNumberRestartFormat {
|
|
4
4
|
NEW_PAGE = "newPage",
|
|
5
5
|
NEW_SECTION = "newSection",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBorderOptions } from
|
|
2
|
-
import { IgnoreIfEmptyXmlComponent } from
|
|
1
|
+
import { IBorderOptions } from '../../../../border';
|
|
2
|
+
import { IgnoreIfEmptyXmlComponent } from '../../../../xml-components';
|
|
3
3
|
export declare enum PageBorderDisplay {
|
|
4
4
|
ALL_PAGES = "allPages",
|
|
5
5
|
FIRST_PAGE = "firstPage",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { XmlComponent } from
|
|
2
|
-
import { PositiveUniversalMeasure, UniversalMeasure } from
|
|
1
|
+
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
+
import { PositiveUniversalMeasure, UniversalMeasure } from '../../../../../util/values';
|
|
3
3
|
export type IPageMarginAttributes = {
|
|
4
4
|
readonly top?: number | UniversalMeasure;
|
|
5
5
|
readonly right?: number | PositiveUniversalMeasure;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NumberFormat } from
|
|
2
|
-
import { XmlAttributeComponent, XmlComponent } from
|
|
1
|
+
import { NumberFormat } from '../../../../shared/number-format';
|
|
2
|
+
import { XmlAttributeComponent, XmlComponent } from '../../../../xml-components';
|
|
3
3
|
export declare enum PageNumberSeparator {
|
|
4
4
|
HYPHEN = "hyphen",
|
|
5
5
|
PERIOD = "period",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { XmlComponent } from
|
|
2
|
-
import { PositiveUniversalMeasure } from
|
|
1
|
+
import { XmlComponent } from '../../../../xml-components';
|
|
2
|
+
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
|
3
3
|
export declare enum PageOrientation {
|
|
4
4
|
PORTRAIT = "portrait",
|
|
5
5
|
LANDSCAPE = "landscape"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FooterWrapper } from
|
|
2
|
-
import { HeaderWrapper } from
|
|
3
|
-
import { VerticalAlign } from
|
|
4
|
-
import { XmlComponent } from
|
|
1
|
+
import { FooterWrapper } from '../../../footer-wrapper';
|
|
2
|
+
import { HeaderWrapper } from '../../../header-wrapper';
|
|
3
|
+
import { VerticalAlign } from '../../../vertical-align';
|
|
4
|
+
import { XmlComponent } from '../../../xml-components';
|
|
5
5
|
import { IColumnsAttributes } from "./properties/columns";
|
|
6
6
|
import { IDocGridAttributesProperties } from "./properties/doc-grid";
|
|
7
7
|
import { ILineNumberAttributes } from "./properties/line-number";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XmlAttributeComponent, XmlComponent } from
|
|
1
|
+
import { XmlAttributeComponent, XmlComponent } from '../../xml-components';
|
|
2
2
|
export declare class DocumentBackgroundAttributes extends XmlAttributeComponent<{
|
|
3
3
|
readonly color?: string;
|
|
4
4
|
readonly themeColor?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMediaData, IMediaDataTransformation } from
|
|
2
|
-
import { XmlComponent } from
|
|
1
|
+
import { IMediaData, IMediaDataTransformation } from '../../media';
|
|
2
|
+
import { XmlComponent } from '../../xml-components';
|
|
3
3
|
import { IDrawingOptions } from "../drawing";
|
|
4
4
|
export declare class Anchor extends XmlComponent {
|
|
5
5
|
constructor(mediaData: IMediaData, transform: IMediaDataTransformation, drawingOptions: IDrawingOptions);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { XmlComponent } from
|
|
1
|
+
import { XmlComponent } from '../../xml-components';
|
|
2
2
|
export declare const createHyperlinkClick: (linkId: string, hasXmlNs: boolean) => XmlComponent;
|
|
3
3
|
export declare const createHyperlinkHover: (linkId: string, hasXmlNs: boolean) => XmlComponent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMediaData } from
|
|
2
|
-
import { XmlComponent } from
|
|
1
|
+
import { IMediaData } from '../media';
|
|
2
|
+
import { XmlComponent } from '../xml-components';
|
|
3
3
|
import { DocPropertiesOptions } from "./doc-properties/doc-properties";
|
|
4
4
|
import { IFloating } from "./floating";
|
|
5
5
|
export interface IDistance {
|
|
@@ -13,6 +13,5 @@ export interface IDrawingOptions {
|
|
|
13
13
|
readonly docProperties?: DocPropertiesOptions;
|
|
14
14
|
}
|
|
15
15
|
export declare class Drawing extends XmlComponent {
|
|
16
|
-
private readonly inline;
|
|
17
16
|
constructor(imageData: IMediaData, drawingOptions?: IDrawingOptions);
|
|
18
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HorizontalPositionAlign, VerticalPositionAlign } from
|
|
2
|
-
import { XmlComponent } from
|
|
1
|
+
import { HorizontalPositionAlign, VerticalPositionAlign } from '../../shared/alignment';
|
|
2
|
+
import { XmlComponent } from '../../xml-components';
|
|
3
3
|
export declare class Align extends XmlComponent {
|
|
4
4
|
constructor(value: HorizontalPositionAlign | VerticalPositionAlign);
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HorizontalPositionAlign, VerticalPositionAlign } from
|
|
1
|
+
import { HorizontalPositionAlign, VerticalPositionAlign } from '../../shared/alignment';
|
|
2
2
|
import { ITextWrapping } from "../text-wrap";
|
|
3
3
|
export declare enum HorizontalPositionRelativeFrom {
|
|
4
4
|
CHARACTER = "character",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XmlComponent } from
|
|
1
|
+
import { XmlComponent } from '../../xml-components';
|
|
2
2
|
import { IHorizontalPositionOptions } from "./floating-position";
|
|
3
3
|
export declare class HorizontalPosition extends XmlComponent {
|
|
4
4
|
constructor(horizontalPosition: IHorizontalPositionOptions);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XmlComponent } from
|
|
1
|
+
import { XmlComponent } from '../../xml-components';
|
|
2
2
|
import { IVerticalPositionOptions } from "./floating-position";
|
|
3
3
|
export declare class VerticalPosition extends XmlComponent {
|
|
4
4
|
constructor(verticalPosition: IVerticalPositionOptions);
|
package/build/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-lock-attributes.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XmlAttributeComponent } from
|
|
1
|
+
import { XmlAttributeComponent } from '../../../xml-components';
|
|
2
2
|
export declare class GraphicFrameLockAttributes extends XmlAttributeComponent<{
|
|
3
3
|
readonly xmlns?: string;
|
|
4
4
|
readonly noChangeAspect?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMediaData, IMediaDataTransformation } from
|
|
2
|
-
import { XmlComponent } from
|
|
1
|
+
import { IMediaData, IMediaDataTransformation } from '../../../../media';
|
|
2
|
+
import { XmlComponent } from '../../../../xml-components';
|
|
3
3
|
export declare class GraphicData extends XmlComponent {
|
|
4
4
|
private readonly pic;
|
|
5
5
|
constructor(mediaData: IMediaData, transform: IMediaDataTransformation);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMediaData } from
|
|
2
|
-
import { XmlComponent } from
|
|
1
|
+
import { IMediaData } from '../../../../../../media';
|
|
2
|
+
import { XmlComponent } from '../../../../../../xml-components';
|
|
3
3
|
export declare class BlipFill extends XmlComponent {
|
|
4
4
|
constructor(mediaData: IMediaData);
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMediaData } from
|
|
2
|
-
import { XmlComponent } from
|
|
1
|
+
import { IMediaData } from '../../../../../../media';
|
|
2
|
+
import { XmlComponent } from '../../../../../../xml-components';
|
|
3
3
|
export declare class Blip extends XmlComponent {
|
|
4
4
|
constructor(mediaData: IMediaData);
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XmlAttributeComponent } from
|
|
1
|
+
import { XmlAttributeComponent } from '../../../../../../../../xml-components';
|
|
2
2
|
export declare class PicLocksAttributes extends XmlAttributeComponent<{
|
|
3
3
|
readonly noChangeAspect?: number;
|
|
4
4
|
readonly noChangeArrowheads?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XmlAttributeComponent } from
|
|
1
|
+
import { XmlAttributeComponent } from '../../../../../../../xml-components';
|
|
2
2
|
export declare class NonVisualPropertiesAttributes extends XmlAttributeComponent<{
|
|
3
3
|
readonly id?: number;
|
|
4
4
|
readonly name?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IContext, IXmlableObject, XmlComponent } from
|
|
1
|
+
import { IContext, IXmlableObject, XmlComponent } from '../../../../../../../xml-components';
|
|
2
2
|
export declare class NonVisualProperties extends XmlComponent {
|
|
3
3
|
constructor();
|
|
4
4
|
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMediaData, IMediaDataTransformation } from
|
|
2
|
-
import { XmlComponent } from
|
|
1
|
+
import { IMediaData, IMediaDataTransformation } from '../../../../../media';
|
|
2
|
+
import { XmlComponent } from '../../../../../xml-components';
|
|
3
3
|
export declare class Pic extends XmlComponent {
|
|
4
4
|
constructor(mediaData: IMediaData, transform: IMediaDataTransformation);
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XmlAttributeComponent } from
|
|
1
|
+
import { XmlAttributeComponent } from '../../../../../../../../xml-components';
|
|
2
2
|
export declare class ExtentsAttributes extends XmlAttributeComponent<{
|
|
3
3
|
readonly cx?: number;
|
|
4
4
|
readonly cy?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XmlComponent } from
|
|
1
|
+
import { XmlComponent } from '../../../../../../../../xml-components';
|
|
2
2
|
export declare class Extents extends XmlComponent {
|
|
3
3
|
private readonly attributes;
|
|
4
4
|
constructor(x: number, y: number);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMediaDataTransformation } from
|
|
2
|
-
import { XmlAttributeComponent, XmlComponent } from
|
|
1
|
+
import { IMediaDataTransformation } from '../../../../../../../media';
|
|
2
|
+
import { XmlAttributeComponent, XmlComponent } from '../../../../../../../xml-components';
|
|
3
3
|
export declare class FormAttributes extends XmlAttributeComponent<{
|
|
4
4
|
readonly flipVertical?: boolean;
|
|
5
5
|
readonly flipHorizontal?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XmlAttributeComponent } from
|
|
1
|
+
import { XmlAttributeComponent } from '../../../../../../../../xml-components';
|
|
2
2
|
export declare class OffsetAttributes extends XmlAttributeComponent<{
|
|
3
3
|
readonly x?: number;
|
|
4
4
|
readonly y?: number;
|