@office-open/docx 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -13
- package/dist/index.d.mts +553 -504
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1954 -5435
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _$_office_open_core0 from "@office-open/core";
|
|
2
|
+
import { AppProperties, AttributeData, AttributeMap, AttributePayload, BaseXmlComponent, BuilderElement, Context as Context$1, EMPTY_OBJECT, EmptyElement, IXmlableObject, IgnoreIfEmptyXmlComponent, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, NextAttributeComponent, OutputByType, OutputByType as OutputByType$1, OutputType, OutputType as OutputType$1, ParsedDocument, PrettifyType, Relationships, UniqueNumericIdCreator, XmlAttributeComponent, XmlAttributeComponent as XmlAttributeComponent$1, XmlComponent, XmlComponent as XmlComponent$1, attrObj, chartAttr, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, hashedId, hpsMeasureObj, numberValObj, onOffObj, parseArchive, stringContainerObj, stringEnumValObj, stringValObj, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl } from "@office-open/core";
|
|
2
3
|
import { DataType } from "undio";
|
|
3
4
|
import { BlipEffectsOptions, CustomGeometryOptions, EffectDagOptions, EffectListOptions, FillOptions, OutlineOptions, Scene3DOptions, Shape3DOptions, SourceRectangleOptions, TileOptions } from "@office-open/core/drawingml";
|
|
4
|
-
import { ChartCollection,
|
|
5
|
-
import { COLOR_CATEGORIES, DEFAULT_DRAWING_XML,
|
|
5
|
+
import { ChartCollection, ChartData, ChartSeriesData, ChartSpace, ChartSpaceOptions } from "@office-open/core/chart";
|
|
6
|
+
import { COLOR_CATEGORIES, DEFAULT_DRAWING_XML, LAYOUT_CATEGORIES, STYLE_CATEGORIES, SmartArtCollection, SmartArtData, TreeNode, createDataModel, getColorXml, getLayoutXml, getStyleXml } from "@office-open/core/smartart";
|
|
6
7
|
import { Element } from "@office-open/xml";
|
|
7
8
|
import { Buffer } from "\u0000polyfill-node.buffer";
|
|
8
|
-
import { Readable } from "stream";
|
|
9
9
|
export * from "@office-open/core/values";
|
|
10
10
|
export * from "@office-open/core/smartart";
|
|
11
11
|
|
|
@@ -71,11 +71,11 @@ declare class Footer$1 extends HeaderFooterBase {
|
|
|
71
71
|
}
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region src/file/drawing/inline/graphic/graphic-data/wpg/wpg-group.d.ts
|
|
74
|
-
interface
|
|
74
|
+
interface ChildOffset {
|
|
75
75
|
readonly x: number;
|
|
76
76
|
readonly y: number;
|
|
77
77
|
}
|
|
78
|
-
interface
|
|
78
|
+
interface ChildExtent {
|
|
79
79
|
readonly cx: number;
|
|
80
80
|
readonly cy: number;
|
|
81
81
|
}
|
|
@@ -124,7 +124,7 @@ interface PresetTextShapeOptions {
|
|
|
124
124
|
interface FlatTextOptions {
|
|
125
125
|
readonly z?: number;
|
|
126
126
|
}
|
|
127
|
-
interface
|
|
127
|
+
interface BodyPropertiesOptions {
|
|
128
128
|
readonly rotation?: number;
|
|
129
129
|
readonly spcFirstLastPara?: boolean;
|
|
130
130
|
readonly vertOverflow?: (typeof TextVertOverflowType)[keyof typeof TextVertOverflowType];
|
|
@@ -159,18 +159,18 @@ interface IBodyPropertiesOptions {
|
|
|
159
159
|
readonly sp3d?: Shape3DOptions;
|
|
160
160
|
readonly flatTx?: FlatTextOptions;
|
|
161
161
|
}
|
|
162
|
-
declare const createBodyProperties: (options?:
|
|
162
|
+
declare const createBodyProperties: (options?: BodyPropertiesOptions) => XmlComponent;
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region src/file/drawing/inline/graphic/graphic-data/wps/non-visual-shape-properties.d.ts
|
|
165
|
-
interface
|
|
165
|
+
interface NonVisualShapePropertiesOptions {
|
|
166
166
|
readonly txBox: string;
|
|
167
167
|
}
|
|
168
168
|
//#endregion
|
|
169
169
|
//#region src/file/drawing/inline/graphic/graphic-data/wps/wps-shape.d.ts
|
|
170
170
|
interface WpsShapeCoreOptions {
|
|
171
171
|
readonly children: readonly Paragraph[];
|
|
172
|
-
readonly nonVisualProperties?:
|
|
173
|
-
readonly bodyProperties?:
|
|
172
|
+
readonly nonVisualProperties?: NonVisualShapePropertiesOptions;
|
|
173
|
+
readonly bodyProperties?: BodyPropertiesOptions;
|
|
174
174
|
readonly outline?: OutlineOptions;
|
|
175
175
|
readonly fill?: FillOptions;
|
|
176
176
|
readonly customGeometry?: CustomGeometryOptions;
|
|
@@ -181,7 +181,7 @@ interface WpsShapeCoreOptions {
|
|
|
181
181
|
}
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region src/file/media/data.d.ts
|
|
184
|
-
interface
|
|
184
|
+
interface MediaDataTransformation {
|
|
185
185
|
readonly offset?: {
|
|
186
186
|
readonly pixels: {
|
|
187
187
|
readonly x: number;
|
|
@@ -208,7 +208,7 @@ interface IMediaDataTransformation {
|
|
|
208
208
|
}
|
|
209
209
|
interface CoreMediaData {
|
|
210
210
|
readonly fileName: string;
|
|
211
|
-
readonly transformation:
|
|
211
|
+
readonly transformation: MediaDataTransformation;
|
|
212
212
|
readonly data: Uint8Array;
|
|
213
213
|
readonly srcRect?: SourceRectangleOptions;
|
|
214
214
|
}
|
|
@@ -221,7 +221,7 @@ interface SvgMediaData {
|
|
|
221
221
|
}
|
|
222
222
|
interface WpsMediaData {
|
|
223
223
|
readonly type: "wps";
|
|
224
|
-
readonly transformation:
|
|
224
|
+
readonly transformation: MediaDataTransformation;
|
|
225
225
|
readonly data: WpsShapeCoreOptions;
|
|
226
226
|
}
|
|
227
227
|
interface WpgCommonMediaData {
|
|
@@ -231,21 +231,21 @@ interface WpgCommonMediaData {
|
|
|
231
231
|
type IGroupChildMediaData = (WpsMediaData | IMediaData) & WpgCommonMediaData;
|
|
232
232
|
interface WpgMediaData {
|
|
233
233
|
readonly type: "wpg";
|
|
234
|
-
readonly transformation:
|
|
234
|
+
readonly transformation: MediaDataTransformation;
|
|
235
235
|
readonly children: readonly IGroupChildMediaData[];
|
|
236
|
-
readonly chOff?:
|
|
237
|
-
readonly chExt?:
|
|
236
|
+
readonly chOff?: ChildOffset;
|
|
237
|
+
readonly chExt?: ChildExtent;
|
|
238
238
|
readonly fill?: FillOptions;
|
|
239
239
|
readonly effects?: EffectListOptions;
|
|
240
240
|
}
|
|
241
241
|
interface ChartMediaData {
|
|
242
242
|
readonly type: "chart";
|
|
243
|
-
readonly transformation:
|
|
243
|
+
readonly transformation: MediaDataTransformation;
|
|
244
244
|
readonly chartKey: string;
|
|
245
245
|
}
|
|
246
246
|
interface SmartArtMediaData {
|
|
247
247
|
readonly type: "smartart";
|
|
248
|
-
readonly transformation:
|
|
248
|
+
readonly transformation: MediaDataTransformation;
|
|
249
249
|
readonly smartArtKey: string;
|
|
250
250
|
}
|
|
251
251
|
type IExtendedMediaData = IMediaData | WpsMediaData | WpgMediaData | ChartMediaData | SmartArtMediaData;
|
|
@@ -253,7 +253,7 @@ type IMediaData = (RegularMediaData | SvgMediaData) & CoreMediaData;
|
|
|
253
253
|
declare const WORKAROUND2 = "";
|
|
254
254
|
//#endregion
|
|
255
255
|
//#region src/file/media/media.d.ts
|
|
256
|
-
interface
|
|
256
|
+
interface MediaTransformation {
|
|
257
257
|
readonly offset?: {
|
|
258
258
|
readonly top?: number;
|
|
259
259
|
readonly left?: number;
|
|
@@ -266,7 +266,7 @@ interface IMediaTransformation {
|
|
|
266
266
|
};
|
|
267
267
|
readonly rotation?: number;
|
|
268
268
|
}
|
|
269
|
-
declare const createTransformation: (options:
|
|
269
|
+
declare const createTransformation: (options: MediaTransformation) => MediaDataTransformation;
|
|
270
270
|
declare class Media {
|
|
271
271
|
private readonly map;
|
|
272
272
|
constructor();
|
|
@@ -275,11 +275,11 @@ declare class Media {
|
|
|
275
275
|
}
|
|
276
276
|
//#endregion
|
|
277
277
|
//#region src/file/footer-wrapper.d.ts
|
|
278
|
-
interface
|
|
278
|
+
interface DocumentFooter {
|
|
279
279
|
readonly footer: FooterWrapper;
|
|
280
280
|
readonly type: (typeof HeaderFooterReferenceType)[keyof typeof HeaderFooterReferenceType];
|
|
281
281
|
}
|
|
282
|
-
declare class FooterWrapper implements
|
|
282
|
+
declare class FooterWrapper implements ViewWrapper {
|
|
283
283
|
private readonly media;
|
|
284
284
|
private readonly footer;
|
|
285
285
|
private readonly relationships;
|
|
@@ -297,11 +297,11 @@ declare class Header$1 extends HeaderFooterBase {
|
|
|
297
297
|
}
|
|
298
298
|
//#endregion
|
|
299
299
|
//#region src/file/header-wrapper.d.ts
|
|
300
|
-
interface
|
|
300
|
+
interface DocumentHeader {
|
|
301
301
|
readonly header: HeaderWrapper;
|
|
302
302
|
readonly type: (typeof HeaderFooterReferenceType)[keyof typeof HeaderFooterReferenceType];
|
|
303
303
|
}
|
|
304
|
-
declare class HeaderWrapper implements
|
|
304
|
+
declare class HeaderWrapper implements ViewWrapper {
|
|
305
305
|
private readonly media;
|
|
306
306
|
private readonly header;
|
|
307
307
|
private readonly relationships;
|
|
@@ -314,7 +314,7 @@ declare class HeaderWrapper implements IViewWrapper {
|
|
|
314
314
|
}
|
|
315
315
|
//#endregion
|
|
316
316
|
//#region src/file/track-revision/track-revision.d.ts
|
|
317
|
-
interface
|
|
317
|
+
interface ChangedAttributesProperties {
|
|
318
318
|
readonly id: number;
|
|
319
319
|
readonly author: string;
|
|
320
320
|
readonly date: string;
|
|
@@ -332,28 +332,22 @@ declare const VerticalAlignSection: {
|
|
|
332
332
|
readonly CENTER: "center";
|
|
333
333
|
readonly TOP: "top";
|
|
334
334
|
};
|
|
335
|
-
declare const VerticalAlign: {
|
|
336
|
-
readonly BOTH: "both";
|
|
337
|
-
readonly BOTTOM: "bottom";
|
|
338
|
-
readonly CENTER: "center";
|
|
339
|
-
readonly TOP: "top";
|
|
340
|
-
};
|
|
341
335
|
type TableVerticalAlign = (typeof VerticalAlignTable)[keyof typeof VerticalAlignTable];
|
|
342
336
|
type SectionVerticalAlign = (typeof VerticalAlignSection)[keyof typeof VerticalAlignSection];
|
|
343
|
-
declare const createVerticalAlign: (value:
|
|
337
|
+
declare const createVerticalAlign: (value: TableVerticalAlign | SectionVerticalAlign) => XmlComponent;
|
|
344
338
|
import * as import__office_open_core_values from "@office-open/core/values";
|
|
345
339
|
//#endregion
|
|
346
340
|
//#region src/file/document/body/section-properties/properties/column.d.ts
|
|
347
|
-
interface
|
|
341
|
+
interface ColumnAttributes {
|
|
348
342
|
readonly width: number | values_d_exports.PositiveUniversalMeasure;
|
|
349
343
|
readonly space?: number | values_d_exports.PositiveUniversalMeasure;
|
|
350
344
|
}
|
|
351
345
|
declare class Column extends XmlComponent {
|
|
352
|
-
constructor(options:
|
|
346
|
+
constructor(options: ColumnAttributes);
|
|
353
347
|
}
|
|
354
348
|
//#endregion
|
|
355
349
|
//#region src/file/document/body/section-properties/properties/columns.d.ts
|
|
356
|
-
interface
|
|
350
|
+
interface ColumnsAttributes {
|
|
357
351
|
readonly space?: number | values_d_exports.PositiveUniversalMeasure;
|
|
358
352
|
readonly count?: number;
|
|
359
353
|
readonly separate?: boolean;
|
|
@@ -366,7 +360,7 @@ declare const createColumns: ({
|
|
|
366
360
|
separate,
|
|
367
361
|
equalWidth,
|
|
368
362
|
children
|
|
369
|
-
}:
|
|
363
|
+
}: ColumnsAttributes) => XmlComponent;
|
|
370
364
|
//#endregion
|
|
371
365
|
//#region src/file/document/body/section-properties/properties/doc-grid.d.ts
|
|
372
366
|
declare const DocumentGridType: {
|
|
@@ -375,7 +369,7 @@ declare const DocumentGridType: {
|
|
|
375
369
|
readonly LINES_AND_CHARS: "linesAndChars";
|
|
376
370
|
readonly SNAP_TO_CHARS: "snapToChars";
|
|
377
371
|
};
|
|
378
|
-
interface
|
|
372
|
+
interface DocGridAttributesProperties {
|
|
379
373
|
readonly type?: (typeof DocumentGridType)[keyof typeof DocumentGridType];
|
|
380
374
|
readonly linePitch: number;
|
|
381
375
|
readonly charSpace?: number;
|
|
@@ -384,7 +378,7 @@ declare const createDocumentGrid: ({
|
|
|
384
378
|
type,
|
|
385
379
|
linePitch,
|
|
386
380
|
charSpace
|
|
387
|
-
}:
|
|
381
|
+
}: DocGridAttributesProperties) => XmlComponent;
|
|
388
382
|
//#endregion
|
|
389
383
|
//#region src/file/shared/number-format.d.ts
|
|
390
384
|
declare const NumberFormat: {
|
|
@@ -487,7 +481,7 @@ declare const LineNumberRestartFormat: {
|
|
|
487
481
|
readonly NEW_SECTION: "newSection";
|
|
488
482
|
readonly CONTINUOUS: "continuous";
|
|
489
483
|
};
|
|
490
|
-
interface
|
|
484
|
+
interface LineNumberAttributes {
|
|
491
485
|
readonly countBy?: number;
|
|
492
486
|
readonly start?: number;
|
|
493
487
|
readonly restart?: (typeof LineNumberRestartFormat)[keyof typeof LineNumberRestartFormat];
|
|
@@ -498,10 +492,10 @@ declare const createLineNumberType: ({
|
|
|
498
492
|
start,
|
|
499
493
|
restart,
|
|
500
494
|
distance
|
|
501
|
-
}:
|
|
495
|
+
}: LineNumberAttributes) => XmlComponent;
|
|
502
496
|
//#endregion
|
|
503
497
|
//#region src/file/border/border.d.ts
|
|
504
|
-
interface
|
|
498
|
+
interface BorderOptions {
|
|
505
499
|
readonly style: (typeof BorderStyle)[keyof typeof BorderStyle];
|
|
506
500
|
readonly color?: string;
|
|
507
501
|
readonly themeColor?: (typeof values_d_exports.ThemeColor)[keyof typeof values_d_exports.ThemeColor];
|
|
@@ -512,6 +506,17 @@ interface IBorderOptions {
|
|
|
512
506
|
readonly size?: number;
|
|
513
507
|
readonly space?: number;
|
|
514
508
|
}
|
|
509
|
+
declare const buildBorderObj: (elementName: string, {
|
|
510
|
+
color,
|
|
511
|
+
size,
|
|
512
|
+
space,
|
|
513
|
+
style,
|
|
514
|
+
themeColor,
|
|
515
|
+
themeTint,
|
|
516
|
+
themeShade,
|
|
517
|
+
shadow,
|
|
518
|
+
frame
|
|
519
|
+
}: BorderOptions) => IXmlableObject;
|
|
515
520
|
declare const createBorderElement: (elementName: string, {
|
|
516
521
|
color,
|
|
517
522
|
size,
|
|
@@ -522,7 +527,7 @@ declare const createBorderElement: (elementName: string, {
|
|
|
522
527
|
themeShade,
|
|
523
528
|
shadow,
|
|
524
529
|
frame
|
|
525
|
-
}:
|
|
530
|
+
}: BorderOptions) => XmlComponent;
|
|
526
531
|
declare const BorderStyle: {
|
|
527
532
|
readonly SINGLE: "single";
|
|
528
533
|
readonly DASH_DOT_STROKED: "dashDotStroked";
|
|
@@ -567,21 +572,21 @@ declare const PageBorderZOrder: {
|
|
|
567
572
|
readonly BACK: "back";
|
|
568
573
|
readonly FRONT: "front";
|
|
569
574
|
};
|
|
570
|
-
interface
|
|
575
|
+
interface PageBordersOptions {
|
|
571
576
|
readonly display?: (typeof PageBorderDisplay)[keyof typeof PageBorderDisplay];
|
|
572
577
|
readonly offsetFrom?: (typeof PageBorderOffsetFrom)[keyof typeof PageBorderOffsetFrom];
|
|
573
578
|
readonly zOrder?: (typeof PageBorderZOrder)[keyof typeof PageBorderZOrder];
|
|
574
|
-
readonly top?:
|
|
575
|
-
readonly right?:
|
|
576
|
-
readonly bottom?:
|
|
577
|
-
readonly left?:
|
|
579
|
+
readonly top?: BorderOptions;
|
|
580
|
+
readonly right?: BorderOptions;
|
|
581
|
+
readonly bottom?: BorderOptions;
|
|
582
|
+
readonly left?: BorderOptions;
|
|
578
583
|
}
|
|
579
584
|
declare class PageBorders extends IgnoreIfEmptyXmlComponent {
|
|
580
|
-
constructor(options?:
|
|
585
|
+
constructor(options?: PageBordersOptions);
|
|
581
586
|
}
|
|
582
587
|
//#endregion
|
|
583
588
|
//#region src/file/document/body/section-properties/properties/page-margin.d.ts
|
|
584
|
-
interface
|
|
589
|
+
interface PageMarginAttributes {
|
|
585
590
|
readonly top?: number | values_d_exports.UniversalMeasure;
|
|
586
591
|
readonly right?: number | values_d_exports.PositiveUniversalMeasure;
|
|
587
592
|
readonly bottom?: number | values_d_exports.UniversalMeasure;
|
|
@@ -600,7 +605,7 @@ declare const PageNumberSeparator: {
|
|
|
600
605
|
readonly EM_DASH: "emDash";
|
|
601
606
|
readonly EN_DASH: "enDash";
|
|
602
607
|
};
|
|
603
|
-
interface
|
|
608
|
+
interface PageNumberTypeAttributes {
|
|
604
609
|
readonly start?: number;
|
|
605
610
|
readonly formatType?: (typeof NumberFormat)[keyof typeof NumberFormat];
|
|
606
611
|
readonly separator?: (typeof PageNumberSeparator)[keyof typeof PageNumberSeparator];
|
|
@@ -611,14 +616,14 @@ declare const createPageNumberType: ({
|
|
|
611
616
|
formatType,
|
|
612
617
|
separator,
|
|
613
618
|
chapStyle
|
|
614
|
-
}:
|
|
619
|
+
}: PageNumberTypeAttributes) => XmlComponent;
|
|
615
620
|
//#endregion
|
|
616
621
|
//#region src/file/document/body/section-properties/properties/page-size.d.ts
|
|
617
622
|
declare const PageOrientation: {
|
|
618
623
|
readonly PORTRAIT: "portrait";
|
|
619
624
|
readonly LANDSCAPE: "landscape";
|
|
620
625
|
};
|
|
621
|
-
interface
|
|
626
|
+
interface PageSizeAttributes {
|
|
622
627
|
readonly width: number | values_d_exports.PositiveUniversalMeasure;
|
|
623
628
|
readonly height: number | values_d_exports.PositiveUniversalMeasure;
|
|
624
629
|
readonly orientation?: (typeof PageOrientation)[keyof typeof PageOrientation];
|
|
@@ -629,7 +634,7 @@ declare const createPageSize: ({
|
|
|
629
634
|
height,
|
|
630
635
|
orientation,
|
|
631
636
|
code
|
|
632
|
-
}:
|
|
637
|
+
}: PageSizeAttributes) => XmlComponent;
|
|
633
638
|
//#endregion
|
|
634
639
|
//#region src/file/document/body/section-properties/properties/page-text-direction.d.ts
|
|
635
640
|
declare const PageTextDirectionType: {
|
|
@@ -651,26 +656,26 @@ declare const SectionType: {
|
|
|
651
656
|
declare const createSectionType: (value: (typeof SectionType)[keyof typeof SectionType]) => XmlComponent;
|
|
652
657
|
//#endregion
|
|
653
658
|
//#region src/file/document/body/section-properties/section-properties.d.ts
|
|
654
|
-
interface
|
|
659
|
+
interface HeaderFooterGroup<T> {
|
|
655
660
|
readonly default?: T;
|
|
656
661
|
readonly first?: T;
|
|
657
662
|
readonly even?: T;
|
|
658
663
|
}
|
|
659
|
-
interface
|
|
664
|
+
interface SectionPropertiesOptionsBase {
|
|
660
665
|
readonly page?: {
|
|
661
|
-
readonly size?: Partial<
|
|
662
|
-
readonly margin?:
|
|
663
|
-
readonly pageNumbers?:
|
|
664
|
-
readonly borders?:
|
|
666
|
+
readonly size?: Partial<PageSizeAttributes>;
|
|
667
|
+
readonly margin?: PageMarginAttributes;
|
|
668
|
+
readonly pageNumbers?: PageNumberTypeAttributes;
|
|
669
|
+
readonly borders?: PageBordersOptions;
|
|
665
670
|
readonly textDirection?: (typeof PageTextDirectionType)[keyof typeof PageTextDirectionType];
|
|
666
671
|
};
|
|
667
|
-
readonly grid?: Partial<
|
|
668
|
-
readonly headerWrapperGroup?:
|
|
669
|
-
readonly footerWrapperGroup?:
|
|
670
|
-
readonly lineNumbers?:
|
|
672
|
+
readonly grid?: Partial<DocGridAttributesProperties>;
|
|
673
|
+
readonly headerWrapperGroup?: HeaderFooterGroup<HeaderWrapper>;
|
|
674
|
+
readonly footerWrapperGroup?: HeaderFooterGroup<FooterWrapper>;
|
|
675
|
+
readonly lineNumbers?: LineNumberAttributes;
|
|
671
676
|
readonly titlePage?: boolean;
|
|
672
677
|
readonly verticalAlign?: SectionVerticalAlign;
|
|
673
|
-
readonly column?:
|
|
678
|
+
readonly column?: ColumnsAttributes;
|
|
674
679
|
readonly type?: (typeof SectionType)[keyof typeof SectionType];
|
|
675
680
|
readonly noEndnote?: boolean;
|
|
676
681
|
readonly formProtection?: boolean;
|
|
@@ -684,10 +689,10 @@ interface ISectionPropertiesOptionsBase {
|
|
|
684
689
|
readonly endnotePr?: EndnotePropertiesOptions;
|
|
685
690
|
readonly printerSettingsId?: string;
|
|
686
691
|
}
|
|
687
|
-
type ISectionPropertiesChangeOptions =
|
|
692
|
+
type ISectionPropertiesChangeOptions = ChangedAttributesProperties & SectionPropertiesOptionsBase;
|
|
688
693
|
type ISectionPropertiesOptions = {
|
|
689
694
|
readonly revision?: ISectionPropertiesChangeOptions;
|
|
690
|
-
} &
|
|
695
|
+
} & SectionPropertiesOptionsBase;
|
|
691
696
|
declare const sectionMarginDefaults: {
|
|
692
697
|
TOP: number;
|
|
693
698
|
RIGHT: number;
|
|
@@ -756,7 +761,7 @@ declare class Body extends XmlComponent {
|
|
|
756
761
|
private readonly sections;
|
|
757
762
|
constructor();
|
|
758
763
|
addSection(options: ISectionPropertiesOptions): void;
|
|
759
|
-
prepForXml(context:
|
|
764
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
760
765
|
push(component: BaseXmlComponent | string): void;
|
|
761
766
|
private createSectionParagraph;
|
|
762
767
|
}
|
|
@@ -767,7 +772,7 @@ declare const HeaderFooterReferenceType: {
|
|
|
767
772
|
readonly FIRST: "first";
|
|
768
773
|
readonly EVEN: "even";
|
|
769
774
|
};
|
|
770
|
-
interface
|
|
775
|
+
interface HeaderFooterReferenceOptions {
|
|
771
776
|
readonly type?: (typeof HeaderFooterReferenceType)[keyof typeof HeaderFooterReferenceType];
|
|
772
777
|
readonly id?: number;
|
|
773
778
|
}
|
|
@@ -775,46 +780,33 @@ declare const HeaderFooterType: {
|
|
|
775
780
|
readonly FOOTER: "w:footerReference";
|
|
776
781
|
readonly HEADER: "w:headerReference";
|
|
777
782
|
};
|
|
778
|
-
declare const createHeaderFooterReference: (type: (typeof HeaderFooterType)[keyof typeof HeaderFooterType], options:
|
|
783
|
+
declare const createHeaderFooterReference: (type: (typeof HeaderFooterType)[keyof typeof HeaderFooterType], options: HeaderFooterReferenceOptions) => XmlComponent;
|
|
779
784
|
//#endregion
|
|
780
785
|
//#region src/file/document/document-background/document-background.d.ts
|
|
781
|
-
|
|
782
|
-
readonly color?: string;
|
|
783
|
-
readonly themeColor?: string;
|
|
784
|
-
readonly themeShade?: string;
|
|
785
|
-
readonly themeTint?: string;
|
|
786
|
-
}> {
|
|
787
|
-
protected readonly xmlKeys: {
|
|
788
|
-
color: string;
|
|
789
|
-
themeColor: string;
|
|
790
|
-
themeShade: string;
|
|
791
|
-
themeTint: string;
|
|
792
|
-
};
|
|
793
|
-
}
|
|
794
|
-
interface IBackgroundImageOptions {
|
|
786
|
+
interface BackgroundImageOptions {
|
|
795
787
|
readonly data: DataType;
|
|
796
788
|
readonly type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
797
789
|
}
|
|
798
|
-
interface
|
|
790
|
+
interface DocumentBackgroundOptions {
|
|
799
791
|
readonly color?: string;
|
|
800
792
|
readonly themeColor?: string;
|
|
801
793
|
readonly themeShade?: string;
|
|
802
794
|
readonly themeTint?: string;
|
|
803
|
-
readonly image?:
|
|
795
|
+
readonly image?: BackgroundImageOptions;
|
|
804
796
|
}
|
|
805
797
|
declare class DocumentBackground extends XmlComponent {
|
|
806
798
|
private readonly imageData?;
|
|
807
|
-
constructor(options:
|
|
808
|
-
prepForXml(context:
|
|
799
|
+
constructor(options: DocumentBackgroundOptions);
|
|
800
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
809
801
|
}
|
|
810
802
|
//#endregion
|
|
811
803
|
//#region src/file/document/document.d.ts
|
|
812
|
-
interface
|
|
813
|
-
readonly background?:
|
|
804
|
+
interface DocumentOptions {
|
|
805
|
+
readonly background?: DocumentBackgroundOptions;
|
|
814
806
|
}
|
|
815
807
|
declare class Document extends XmlComponent {
|
|
816
808
|
private readonly body;
|
|
817
|
-
constructor(options:
|
|
809
|
+
constructor(options: DocumentOptions);
|
|
818
810
|
add(item: FileChild | ConcreteHyperlink): Document;
|
|
819
811
|
get Body(): Body;
|
|
820
812
|
}
|
|
@@ -826,13 +818,6 @@ declare class Endnotes extends XmlComponent {
|
|
|
826
818
|
}
|
|
827
819
|
//#endregion
|
|
828
820
|
//#region src/file/footnotes/footnote/run/reference-run.d.ts
|
|
829
|
-
declare class FootNoteReferenceRunAttributes extends XmlAttributeComponent<{
|
|
830
|
-
readonly id: number;
|
|
831
|
-
}> {
|
|
832
|
-
protected readonly xmlKeys: {
|
|
833
|
-
id: string;
|
|
834
|
-
};
|
|
835
|
-
}
|
|
836
821
|
declare class FootnoteReference extends XmlComponent {
|
|
837
822
|
constructor(id: number);
|
|
838
823
|
}
|
|
@@ -846,7 +831,7 @@ declare class StyleLevel {
|
|
|
846
831
|
readonly level: number;
|
|
847
832
|
constructor(styleName: string, level: number);
|
|
848
833
|
}
|
|
849
|
-
interface
|
|
834
|
+
interface TableOfContentsOptions {
|
|
850
835
|
readonly captionLabel?: string;
|
|
851
836
|
readonly entriesFromBookmark?: string;
|
|
852
837
|
readonly captionLabelIncludingNumbers?: string;
|
|
@@ -868,7 +853,7 @@ interface ITableOfContentsOptions {
|
|
|
868
853
|
//#region src/file/table-of-contents/field-instruction.d.ts
|
|
869
854
|
declare class FieldInstruction extends XmlComponent {
|
|
870
855
|
private readonly properties;
|
|
871
|
-
constructor(properties?:
|
|
856
|
+
constructor(properties?: TableOfContentsOptions);
|
|
872
857
|
}
|
|
873
858
|
//#endregion
|
|
874
859
|
//#region src/file/paragraph/run/empty-children.d.ts
|
|
@@ -925,7 +910,7 @@ declare class LastRenderedPageBreak extends EmptyElement {
|
|
|
925
910
|
}
|
|
926
911
|
//#endregion
|
|
927
912
|
//#region src/file/shading/shading.d.ts
|
|
928
|
-
interface
|
|
913
|
+
interface ShadingAttributesProperties {
|
|
929
914
|
readonly fill?: string;
|
|
930
915
|
readonly color?: string;
|
|
931
916
|
readonly type?: (typeof ShadingType)[keyof typeof ShadingType];
|
|
@@ -946,7 +931,18 @@ declare const createShading: ({
|
|
|
946
931
|
themeFill,
|
|
947
932
|
themeFillTint,
|
|
948
933
|
themeFillShade
|
|
949
|
-
}:
|
|
934
|
+
}: ShadingAttributesProperties) => XmlComponent;
|
|
935
|
+
declare const buildShadingObj: ({
|
|
936
|
+
fill,
|
|
937
|
+
color,
|
|
938
|
+
type,
|
|
939
|
+
themeColor,
|
|
940
|
+
themeTint,
|
|
941
|
+
themeShade,
|
|
942
|
+
themeFill,
|
|
943
|
+
themeFillTint,
|
|
944
|
+
themeFillShade
|
|
945
|
+
}: ShadingAttributesProperties) => IXmlableObject;
|
|
950
946
|
declare const ShadingType: {
|
|
951
947
|
readonly CLEAR: "clear";
|
|
952
948
|
readonly DIAGONAL_CROSS: "diagCross";
|
|
@@ -1013,6 +1009,7 @@ declare const EmphasisMarkType: {
|
|
|
1013
1009
|
};
|
|
1014
1010
|
declare const createEmphasisMark: (emphasisMarkType?: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType]) => XmlComponent;
|
|
1015
1011
|
declare const createDotEmphasisMark: () => XmlComponent;
|
|
1012
|
+
declare const buildEmphasisMarkObj: (emphasisMarkType?: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType]) => IXmlableObject;
|
|
1016
1013
|
//#endregion
|
|
1017
1014
|
//#region src/file/paragraph/run/formatting.d.ts
|
|
1018
1015
|
interface ColorOptions {
|
|
@@ -1023,14 +1020,14 @@ interface ColorOptions {
|
|
|
1023
1020
|
}
|
|
1024
1021
|
//#endregion
|
|
1025
1022
|
//#region src/file/paragraph/run/language.d.ts
|
|
1026
|
-
interface
|
|
1023
|
+
interface LanguageOptions {
|
|
1027
1024
|
readonly value?: string;
|
|
1028
1025
|
readonly eastAsia?: string;
|
|
1029
1026
|
readonly bidirectional?: string;
|
|
1030
1027
|
}
|
|
1031
1028
|
//#endregion
|
|
1032
1029
|
//#region src/file/paragraph/run/run-fonts.d.ts
|
|
1033
|
-
interface
|
|
1030
|
+
interface FontAttributesProperties {
|
|
1034
1031
|
readonly ascii?: string;
|
|
1035
1032
|
readonly cs?: string;
|
|
1036
1033
|
readonly eastAsia?: string;
|
|
@@ -1041,7 +1038,8 @@ interface IFontAttributesProperties {
|
|
|
1041
1038
|
readonly eastAsiaTheme?: (typeof values_d_exports.ThemeFont)[keyof typeof values_d_exports.ThemeFont];
|
|
1042
1039
|
readonly cstheme?: (typeof values_d_exports.ThemeFont)[keyof typeof values_d_exports.ThemeFont];
|
|
1043
1040
|
}
|
|
1044
|
-
declare const createRunFonts: (nameOrAttrs: string |
|
|
1041
|
+
declare const createRunFonts: (nameOrAttrs: string | FontAttributesProperties, hint?: string) => XmlComponent;
|
|
1042
|
+
declare const buildRunFontsObj: (nameOrAttrs: string | FontAttributesProperties, hint?: string) => IXmlableObject;
|
|
1045
1043
|
//#endregion
|
|
1046
1044
|
//#region src/file/paragraph/run/underline.d.ts
|
|
1047
1045
|
declare const UnderlineType: {
|
|
@@ -1065,9 +1063,10 @@ declare const UnderlineType: {
|
|
|
1065
1063
|
readonly NONE: "none";
|
|
1066
1064
|
};
|
|
1067
1065
|
declare const createUnderline: (underlineType?: (typeof UnderlineType)[keyof typeof UnderlineType], color?: string, themeColor?: (typeof values_d_exports.ThemeColor)[keyof typeof values_d_exports.ThemeColor], themeTint?: string, themeShade?: string) => XmlComponent;
|
|
1066
|
+
declare const buildUnderlineObj: (underlineType?: (typeof UnderlineType)[keyof typeof UnderlineType], color?: string, themeColor?: (typeof values_d_exports.ThemeColor)[keyof typeof values_d_exports.ThemeColor], themeTint?: string, themeShade?: string) => IXmlableObject;
|
|
1068
1067
|
//#endregion
|
|
1069
1068
|
//#region src/file/paragraph/run/properties.d.ts
|
|
1070
|
-
interface
|
|
1069
|
+
interface RunFontReference {
|
|
1071
1070
|
readonly name: string;
|
|
1072
1071
|
readonly hint?: string;
|
|
1073
1072
|
}
|
|
@@ -1125,16 +1124,16 @@ interface RunStylePropertiesOptions {
|
|
|
1125
1124
|
readonly doubleStrike?: boolean;
|
|
1126
1125
|
readonly subScript?: boolean;
|
|
1127
1126
|
readonly superScript?: boolean;
|
|
1128
|
-
readonly font?: string |
|
|
1127
|
+
readonly font?: string | RunFontReference | FontAttributesProperties;
|
|
1129
1128
|
readonly highlight?: (typeof HighlightColor)[keyof typeof HighlightColor];
|
|
1130
1129
|
readonly highlightComplexScript?: boolean | string;
|
|
1131
1130
|
readonly characterSpacing?: number;
|
|
1132
|
-
readonly shading?:
|
|
1131
|
+
readonly shading?: ShadingAttributesProperties;
|
|
1133
1132
|
readonly emboss?: boolean;
|
|
1134
1133
|
readonly imprint?: boolean;
|
|
1135
1134
|
readonly revision?: IRunPropertiesChangeOptions;
|
|
1136
|
-
readonly language?:
|
|
1137
|
-
readonly border?:
|
|
1135
|
+
readonly language?: LanguageOptions;
|
|
1136
|
+
readonly border?: BorderOptions;
|
|
1138
1137
|
readonly snapToGrid?: boolean;
|
|
1139
1138
|
readonly vanish?: boolean;
|
|
1140
1139
|
readonly specVanish?: boolean;
|
|
@@ -1147,16 +1146,16 @@ interface RunStylePropertiesOptions {
|
|
|
1147
1146
|
readonly complexScript?: boolean;
|
|
1148
1147
|
readonly eastAsianLayout?: EastAsianLayoutOptions;
|
|
1149
1148
|
}
|
|
1150
|
-
type
|
|
1149
|
+
type RunPropertiesOptions = {
|
|
1151
1150
|
readonly style?: string;
|
|
1152
1151
|
} & RunStylePropertiesOptions;
|
|
1153
|
-
type IRunPropertiesChangeOptions = {} &
|
|
1152
|
+
type IRunPropertiesChangeOptions = {} & RunPropertiesOptions & ChangedAttributesProperties;
|
|
1154
1153
|
type IParagraphRunPropertiesOptions = {
|
|
1155
|
-
readonly insertion?:
|
|
1156
|
-
readonly deletion?:
|
|
1157
|
-
} &
|
|
1154
|
+
readonly insertion?: ChangedAttributesProperties;
|
|
1155
|
+
readonly deletion?: ChangedAttributesProperties;
|
|
1156
|
+
} & RunPropertiesOptions;
|
|
1158
1157
|
declare class RunProperties extends IgnoreIfEmptyXmlComponent {
|
|
1159
|
-
constructor(options?:
|
|
1158
|
+
constructor(options?: RunPropertiesOptions);
|
|
1160
1159
|
push(item: XmlComponent): void;
|
|
1161
1160
|
}
|
|
1162
1161
|
declare class ParagraphRunProperties extends RunProperties {
|
|
@@ -1165,16 +1164,16 @@ declare class ParagraphRunProperties extends RunProperties {
|
|
|
1165
1164
|
declare class RunPropertiesChange extends XmlComponent {
|
|
1166
1165
|
constructor(options: IRunPropertiesChangeOptions);
|
|
1167
1166
|
}
|
|
1168
|
-
declare function buildRunProperties(options?:
|
|
1167
|
+
declare function buildRunProperties(options?: RunPropertiesOptions): IXmlableObject | undefined;
|
|
1169
1168
|
//#endregion
|
|
1170
1169
|
//#region src/file/paragraph/run/run.d.ts
|
|
1171
|
-
interface
|
|
1172
|
-
readonly children?: readonly (FieldInstruction | (typeof PageNumber)[keyof typeof PageNumber] | FootnoteReferenceRun | string | AnnotationReference | CarriageReturn | ContinuationSeparator | DayLong | DayShort | EndnoteReference | FootnoteReferenceElement | LastRenderedPageBreak | MonthLong | MonthShort | NoBreakHyphen | PageNumberElement | Separator | SoftHyphen | Tab | YearLong | YearShort | BaseXmlComponent)[];
|
|
1170
|
+
interface RunOptionsBase {
|
|
1171
|
+
readonly children?: readonly (FieldInstruction | (typeof PageNumber)[keyof typeof PageNumber] | FootnoteReferenceRun | string | AnnotationReference | CarriageReturn | ContinuationSeparator | DayLong | DayShort | EndnoteReference | FootnoteReferenceElement | LastRenderedPageBreak | MonthLong | MonthShort | NoBreakHyphen | PageNumberElement | Separator | SoftHyphen | Tab | YearLong | YearShort | BaseXmlComponent | IXmlableObject)[];
|
|
1173
1172
|
readonly break?: number;
|
|
1174
1173
|
readonly text?: string;
|
|
1175
1174
|
}
|
|
1176
|
-
type
|
|
1177
|
-
type IParagraphRunOptions =
|
|
1175
|
+
type RunOptions = RunOptionsBase & RunPropertiesOptions;
|
|
1176
|
+
type IParagraphRunOptions = RunOptionsBase & IParagraphRunPropertiesOptions;
|
|
1178
1177
|
declare const PageNumber: {
|
|
1179
1178
|
readonly CURRENT: "CURRENT";
|
|
1180
1179
|
readonly TOTAL_PAGES: "TOTAL_PAGES";
|
|
@@ -1184,20 +1183,21 @@ declare const PageNumber: {
|
|
|
1184
1183
|
declare class Run extends BaseXmlComponent {
|
|
1185
1184
|
private readonly options;
|
|
1186
1185
|
protected extraChildren: (BaseXmlComponent | IXmlableObject)[];
|
|
1187
|
-
|
|
1188
|
-
|
|
1186
|
+
private readonly _prebuilt;
|
|
1187
|
+
constructor(options: RunOptions);
|
|
1188
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
1189
1189
|
}
|
|
1190
1190
|
//#endregion
|
|
1191
1191
|
//#region src/file/paragraph/run/text-run.d.ts
|
|
1192
1192
|
declare class TextRun extends Run {
|
|
1193
|
-
constructor(options:
|
|
1193
|
+
constructor(options: RunOptions | string);
|
|
1194
1194
|
}
|
|
1195
1195
|
//#endregion
|
|
1196
1196
|
//#region src/file/paragraph/run/symbol-run.d.ts
|
|
1197
1197
|
type ISymbolRunOptions = {
|
|
1198
1198
|
readonly char: string;
|
|
1199
1199
|
readonly symbolfont?: string;
|
|
1200
|
-
} &
|
|
1200
|
+
} & RunOptions;
|
|
1201
1201
|
declare class SymbolRun extends Run {
|
|
1202
1202
|
constructor(options: ISymbolRunOptions | string);
|
|
1203
1203
|
}
|
|
@@ -1245,32 +1245,32 @@ declare const TextWrappingSide: {
|
|
|
1245
1245
|
readonly RIGHT: "right";
|
|
1246
1246
|
readonly LARGEST: "largest";
|
|
1247
1247
|
};
|
|
1248
|
-
interface
|
|
1248
|
+
interface TextWrapping {
|
|
1249
1249
|
readonly type: (typeof TextWrappingType)[keyof typeof TextWrappingType];
|
|
1250
1250
|
readonly side?: (typeof TextWrappingSide)[keyof typeof TextWrappingSide];
|
|
1251
|
-
readonly margins?:
|
|
1251
|
+
readonly margins?: Distance;
|
|
1252
1252
|
}
|
|
1253
1253
|
//#endregion
|
|
1254
1254
|
//#region src/file/drawing/text-wrap/wrap-none.d.ts
|
|
1255
1255
|
declare const createWrapNone: () => XmlComponent;
|
|
1256
1256
|
//#endregion
|
|
1257
1257
|
//#region src/file/drawing/text-wrap/wrap-square.d.ts
|
|
1258
|
-
declare const createWrapSquare: (textWrapping:
|
|
1258
|
+
declare const createWrapSquare: (textWrapping: TextWrapping, margins?: Margins) => XmlComponent;
|
|
1259
1259
|
//#endregion
|
|
1260
1260
|
//#region src/file/drawing/text-wrap/wrap-tight.d.ts
|
|
1261
|
-
declare const createWrapTight: (textWrapping:
|
|
1261
|
+
declare const createWrapTight: (textWrapping: TextWrapping, margins: Margins | undefined, extent: {
|
|
1262
1262
|
x: number;
|
|
1263
1263
|
y: number;
|
|
1264
1264
|
}) => XmlComponent;
|
|
1265
1265
|
//#endregion
|
|
1266
1266
|
//#region src/file/drawing/text-wrap/wrap-through.d.ts
|
|
1267
|
-
declare const createWrapThrough: (textWrapping:
|
|
1267
|
+
declare const createWrapThrough: (textWrapping: TextWrapping, margins: Margins | undefined, extent: {
|
|
1268
1268
|
x: number;
|
|
1269
1269
|
y: number;
|
|
1270
1270
|
}) => XmlComponent;
|
|
1271
1271
|
//#endregion
|
|
1272
1272
|
//#region src/file/drawing/text-wrap/wrap-top-and-bottom.d.ts
|
|
1273
|
-
declare const createWrapTopAndBottom: (margins?:
|
|
1273
|
+
declare const createWrapTopAndBottom: (margins?: Margins) => XmlComponent;
|
|
1274
1274
|
//#endregion
|
|
1275
1275
|
//#region src/file/drawing/floating/floating-position.d.ts
|
|
1276
1276
|
declare const HorizontalPositionRelativeFrom: {
|
|
@@ -1293,31 +1293,31 @@ declare const VerticalPositionRelativeFrom: {
|
|
|
1293
1293
|
readonly PARAGRAPH: "paragraph";
|
|
1294
1294
|
readonly TOP_MARGIN: "topMargin";
|
|
1295
1295
|
};
|
|
1296
|
-
interface
|
|
1296
|
+
interface HorizontalPositionOptions {
|
|
1297
1297
|
readonly relative?: (typeof HorizontalPositionRelativeFrom)[keyof typeof HorizontalPositionRelativeFrom];
|
|
1298
1298
|
readonly align?: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
|
|
1299
1299
|
readonly offset?: number;
|
|
1300
1300
|
}
|
|
1301
|
-
interface
|
|
1301
|
+
interface VerticalPositionOptions {
|
|
1302
1302
|
readonly relative?: (typeof VerticalPositionRelativeFrom)[keyof typeof VerticalPositionRelativeFrom];
|
|
1303
1303
|
readonly align?: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
|
|
1304
1304
|
readonly offset?: number;
|
|
1305
1305
|
}
|
|
1306
|
-
interface
|
|
1306
|
+
interface Margins {
|
|
1307
1307
|
readonly left?: number;
|
|
1308
1308
|
readonly bottom?: number;
|
|
1309
1309
|
readonly top?: number;
|
|
1310
1310
|
readonly right?: number;
|
|
1311
1311
|
}
|
|
1312
|
-
interface
|
|
1313
|
-
readonly horizontalPosition:
|
|
1314
|
-
readonly verticalPosition:
|
|
1312
|
+
interface Floating {
|
|
1313
|
+
readonly horizontalPosition: HorizontalPositionOptions;
|
|
1314
|
+
readonly verticalPosition: VerticalPositionOptions;
|
|
1315
1315
|
readonly allowOverlap?: boolean;
|
|
1316
1316
|
readonly lockAnchor?: boolean;
|
|
1317
1317
|
readonly behindDocument?: boolean;
|
|
1318
1318
|
readonly layoutInCell?: boolean;
|
|
1319
|
-
readonly margins?:
|
|
1320
|
-
readonly wrap?:
|
|
1319
|
+
readonly margins?: Margins;
|
|
1320
|
+
readonly wrap?: TextWrapping;
|
|
1321
1321
|
readonly zIndex?: number;
|
|
1322
1322
|
}
|
|
1323
1323
|
//#endregion
|
|
@@ -1329,24 +1329,24 @@ declare const createHorizontalPosition: ({
|
|
|
1329
1329
|
relative,
|
|
1330
1330
|
align,
|
|
1331
1331
|
offset
|
|
1332
|
-
}:
|
|
1332
|
+
}: HorizontalPositionOptions) => XmlComponent;
|
|
1333
1333
|
//#endregion
|
|
1334
1334
|
//#region src/file/drawing/floating/vertical-position.d.ts
|
|
1335
1335
|
declare const createVerticalPosition: ({
|
|
1336
1336
|
relative,
|
|
1337
1337
|
align,
|
|
1338
1338
|
offset
|
|
1339
|
-
}:
|
|
1339
|
+
}: VerticalPositionOptions) => XmlComponent;
|
|
1340
1340
|
//#endregion
|
|
1341
1341
|
//#region src/file/drawing/drawing.d.ts
|
|
1342
|
-
interface
|
|
1342
|
+
interface Distance {
|
|
1343
1343
|
readonly distT?: number;
|
|
1344
1344
|
readonly distB?: number;
|
|
1345
1345
|
readonly distL?: number;
|
|
1346
1346
|
readonly distR?: number;
|
|
1347
1347
|
}
|
|
1348
|
-
interface
|
|
1349
|
-
readonly floating?:
|
|
1348
|
+
interface DrawingOptions {
|
|
1349
|
+
readonly floating?: Floating;
|
|
1350
1350
|
readonly docProperties?: DocPropertiesOptions;
|
|
1351
1351
|
readonly outline?: OutlineOptions;
|
|
1352
1352
|
readonly fill?: FillOptions;
|
|
@@ -1355,13 +1355,13 @@ interface IDrawingOptions {
|
|
|
1355
1355
|
readonly tile?: TileOptions;
|
|
1356
1356
|
}
|
|
1357
1357
|
declare class Drawing extends XmlComponent {
|
|
1358
|
-
constructor(imageData: IExtendedMediaData, drawingOptions?:
|
|
1358
|
+
constructor(imageData: IExtendedMediaData, drawingOptions?: DrawingOptions);
|
|
1359
1359
|
}
|
|
1360
1360
|
//#endregion
|
|
1361
1361
|
//#region src/file/paragraph/run/image-run.d.ts
|
|
1362
1362
|
interface CoreImageOptions {
|
|
1363
|
-
readonly transformation:
|
|
1364
|
-
readonly floating?:
|
|
1363
|
+
readonly transformation: MediaTransformation;
|
|
1364
|
+
readonly floating?: Floating;
|
|
1365
1365
|
readonly altText?: DocPropertiesOptions;
|
|
1366
1366
|
readonly outline?: OutlineOptions;
|
|
1367
1367
|
readonly fill?: FillOptions;
|
|
@@ -1383,11 +1383,11 @@ type IImageOptions = (RegularImageOptions | SvgMediaOptions) & CoreImageOptions;
|
|
|
1383
1383
|
declare class ImageRun extends Run {
|
|
1384
1384
|
private readonly imageData;
|
|
1385
1385
|
constructor(options: IImageOptions);
|
|
1386
|
-
prepForXml(context:
|
|
1386
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
1387
1387
|
}
|
|
1388
1388
|
//#endregion
|
|
1389
1389
|
//#region src/file/paragraph/run/chart-run.d.ts
|
|
1390
|
-
interface
|
|
1390
|
+
interface ChartOptions {
|
|
1391
1391
|
readonly type: "column" | "bar" | "line" | "pie" | "area" | "scatter";
|
|
1392
1392
|
readonly data: {
|
|
1393
1393
|
readonly categories: readonly string[];
|
|
@@ -1396,8 +1396,8 @@ interface IChartOptions {
|
|
|
1396
1396
|
values: readonly number[];
|
|
1397
1397
|
}[];
|
|
1398
1398
|
};
|
|
1399
|
-
readonly transformation:
|
|
1400
|
-
readonly floating?:
|
|
1399
|
+
readonly transformation: MediaTransformation;
|
|
1400
|
+
readonly floating?: Floating;
|
|
1401
1401
|
readonly altText?: DocPropertiesOptions;
|
|
1402
1402
|
readonly title?: string;
|
|
1403
1403
|
readonly showLegend?: boolean;
|
|
@@ -1406,22 +1406,22 @@ interface IChartOptions {
|
|
|
1406
1406
|
declare class ChartRun extends Run {
|
|
1407
1407
|
private readonly chartOptions;
|
|
1408
1408
|
private readonly chartKey;
|
|
1409
|
-
constructor(options:
|
|
1410
|
-
prepForXml(context:
|
|
1409
|
+
constructor(options: ChartOptions);
|
|
1410
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
1411
1411
|
private hashChartData;
|
|
1412
1412
|
}
|
|
1413
1413
|
//#endregion
|
|
1414
1414
|
//#region src/file/paragraph/run/smartart-run.d.ts
|
|
1415
|
-
interface
|
|
1415
|
+
interface SmartArtNode {
|
|
1416
1416
|
readonly text: string;
|
|
1417
|
-
readonly children?: readonly
|
|
1417
|
+
readonly children?: readonly SmartArtNode[];
|
|
1418
1418
|
}
|
|
1419
|
-
interface
|
|
1419
|
+
interface SmartArtOptions {
|
|
1420
1420
|
readonly data: {
|
|
1421
|
-
readonly nodes: readonly
|
|
1421
|
+
readonly nodes: readonly SmartArtNode[];
|
|
1422
1422
|
};
|
|
1423
|
-
readonly transformation:
|
|
1424
|
-
readonly floating?:
|
|
1423
|
+
readonly transformation: MediaTransformation;
|
|
1424
|
+
readonly floating?: Floating;
|
|
1425
1425
|
readonly altText?: DocPropertiesOptions;
|
|
1426
1426
|
readonly layout?: string;
|
|
1427
1427
|
readonly style?: string;
|
|
@@ -1430,15 +1430,15 @@ interface ISmartArtOptions {
|
|
|
1430
1430
|
declare class SmartArtRun extends Run {
|
|
1431
1431
|
private readonly smartArtOptions;
|
|
1432
1432
|
private readonly smartArtKey;
|
|
1433
|
-
constructor(options:
|
|
1434
|
-
prepForXml(context:
|
|
1433
|
+
constructor(options: SmartArtOptions);
|
|
1434
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
1435
1435
|
private hashSmartArtData;
|
|
1436
1436
|
}
|
|
1437
1437
|
//#endregion
|
|
1438
1438
|
//#region src/file/paragraph/run/wps-shape-run.d.ts
|
|
1439
1439
|
interface CoreShapeOptions {
|
|
1440
|
-
readonly transformation:
|
|
1441
|
-
readonly floating?:
|
|
1440
|
+
readonly transformation: MediaTransformation;
|
|
1441
|
+
readonly floating?: Floating;
|
|
1442
1442
|
readonly altText?: DocPropertiesOptions;
|
|
1443
1443
|
}
|
|
1444
1444
|
type IWpsShapeOptions = WpsShapeCoreOptions & {
|
|
@@ -1452,8 +1452,8 @@ declare class WpsShapeRun extends Run {
|
|
|
1452
1452
|
//#region src/file/paragraph/run/wpg-group-run.d.ts
|
|
1453
1453
|
interface CoreGroupOptions {
|
|
1454
1454
|
readonly children: readonly IGroupChildMediaData[];
|
|
1455
|
-
readonly transformation:
|
|
1456
|
-
readonly floating?:
|
|
1455
|
+
readonly transformation: MediaTransformation;
|
|
1456
|
+
readonly floating?: Floating;
|
|
1457
1457
|
readonly altText?: DocPropertiesOptions;
|
|
1458
1458
|
}
|
|
1459
1459
|
type IWpgGroupOptions = {
|
|
@@ -1463,7 +1463,7 @@ declare class WpgGroupRun extends Run {
|
|
|
1463
1463
|
private readonly wpgGroupData;
|
|
1464
1464
|
private readonly mediaDatas;
|
|
1465
1465
|
constructor(options: IWpgGroupOptions);
|
|
1466
|
-
prepForXml(context:
|
|
1466
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
1467
1467
|
}
|
|
1468
1468
|
//#endregion
|
|
1469
1469
|
//#region src/file/paragraph/run/sequential-identifier.d.ts
|
|
@@ -1486,7 +1486,7 @@ declare class FootNotes extends XmlComponent {
|
|
|
1486
1486
|
}
|
|
1487
1487
|
//#endregion
|
|
1488
1488
|
//#region src/file/alt-chunk/alt-chunk.d.ts
|
|
1489
|
-
interface
|
|
1489
|
+
interface AltChunkOptions {
|
|
1490
1490
|
readonly data: Uint8Array | string;
|
|
1491
1491
|
readonly contentType: "text/html" | "application/rtf" | "text/plain";
|
|
1492
1492
|
readonly extension: "html" | "rtf" | "txt";
|
|
@@ -1495,12 +1495,12 @@ interface IAltChunkOptions {
|
|
|
1495
1495
|
declare class AltChunk extends XmlComponent implements FileChild {
|
|
1496
1496
|
readonly fileChild: symbol;
|
|
1497
1497
|
private readonly options;
|
|
1498
|
-
constructor(options:
|
|
1499
|
-
prepForXml(context:
|
|
1498
|
+
constructor(options: AltChunkOptions);
|
|
1499
|
+
prepForXml(context: Context): IXmlableObject;
|
|
1500
1500
|
}
|
|
1501
1501
|
//#endregion
|
|
1502
1502
|
//#region src/file/alt-chunk/alt-chunk-collection.d.ts
|
|
1503
|
-
interface
|
|
1503
|
+
interface AltChunkData {
|
|
1504
1504
|
readonly key: string;
|
|
1505
1505
|
readonly data: Uint8Array;
|
|
1506
1506
|
readonly path: string;
|
|
@@ -1510,26 +1510,26 @@ interface IAltChunkData {
|
|
|
1510
1510
|
declare class AltChunkCollection {
|
|
1511
1511
|
private readonly map;
|
|
1512
1512
|
constructor();
|
|
1513
|
-
addAltChunk(key: string, data:
|
|
1514
|
-
get Array(): readonly
|
|
1513
|
+
addAltChunk(key: string, data: AltChunkData): void;
|
|
1514
|
+
get Array(): readonly AltChunkData[];
|
|
1515
1515
|
}
|
|
1516
1516
|
//#endregion
|
|
1517
1517
|
//#region src/file/checkbox/checkbox-util.d.ts
|
|
1518
|
-
interface
|
|
1518
|
+
interface CheckboxSymbolProperties {
|
|
1519
1519
|
readonly value?: string;
|
|
1520
1520
|
readonly font?: string;
|
|
1521
1521
|
}
|
|
1522
|
-
interface
|
|
1522
|
+
interface CheckboxSymbolOptions {
|
|
1523
1523
|
readonly alias?: string;
|
|
1524
1524
|
readonly checked?: boolean;
|
|
1525
|
-
readonly checkedState?:
|
|
1526
|
-
readonly uncheckedState?:
|
|
1525
|
+
readonly checkedState?: CheckboxSymbolProperties;
|
|
1526
|
+
readonly uncheckedState?: CheckboxSymbolProperties;
|
|
1527
1527
|
}
|
|
1528
1528
|
declare class CheckBoxUtil extends XmlComponent {
|
|
1529
1529
|
private readonly DEFAULT_UNCHECKED_SYMBOL;
|
|
1530
1530
|
private readonly DEFAULT_CHECKED_SYMBOL;
|
|
1531
1531
|
private readonly DEFAULT_FONT;
|
|
1532
|
-
constructor(options?:
|
|
1532
|
+
constructor(options?: CheckboxSymbolOptions);
|
|
1533
1533
|
}
|
|
1534
1534
|
//#endregion
|
|
1535
1535
|
//#region src/file/checkbox/checkbox-symbol.d.ts
|
|
@@ -1542,7 +1542,7 @@ declare class CheckBox extends XmlComponent {
|
|
|
1542
1542
|
private readonly DEFAULT_UNCHECKED_SYMBOL;
|
|
1543
1543
|
private readonly DEFAULT_CHECKED_SYMBOL;
|
|
1544
1544
|
private readonly DEFAULT_FONT;
|
|
1545
|
-
constructor(options?:
|
|
1545
|
+
constructor(options?: CheckboxSymbolOptions);
|
|
1546
1546
|
}
|
|
1547
1547
|
//#endregion
|
|
1548
1548
|
//#region src/file/permissions/perm-start.d.ts
|
|
@@ -1556,7 +1556,7 @@ declare const EditGroupType: {
|
|
|
1556
1556
|
readonly CURRENT: "current";
|
|
1557
1557
|
};
|
|
1558
1558
|
type EditGroup = (typeof EditGroupType)[keyof typeof EditGroupType];
|
|
1559
|
-
interface
|
|
1559
|
+
interface PermStartOptions {
|
|
1560
1560
|
readonly id: string | number;
|
|
1561
1561
|
readonly edGroup?: EditGroup;
|
|
1562
1562
|
readonly ed?: string;
|
|
@@ -1564,7 +1564,7 @@ interface IPermStartOptions {
|
|
|
1564
1564
|
readonly colLast?: number;
|
|
1565
1565
|
}
|
|
1566
1566
|
declare class PermStart extends XmlComponent {
|
|
1567
|
-
constructor(options:
|
|
1567
|
+
constructor(options: PermStartOptions);
|
|
1568
1568
|
}
|
|
1569
1569
|
declare class PermEnd extends XmlComponent {
|
|
1570
1570
|
constructor(id: string | number);
|
|
@@ -1584,7 +1584,7 @@ declare class TableOfContents extends XmlComponent implements FileChild {
|
|
|
1584
1584
|
cachedEntries,
|
|
1585
1585
|
beginDirty,
|
|
1586
1586
|
...properties
|
|
1587
|
-
}?:
|
|
1587
|
+
}?: TableOfContentsOptions & {
|
|
1588
1588
|
readonly contentChildren?: readonly (BaseXmlComponent | string)[];
|
|
1589
1589
|
readonly cachedEntries?: readonly ToCEntry[];
|
|
1590
1590
|
readonly beginDirty?: boolean;
|
|
@@ -1676,24 +1676,24 @@ declare class StructuredDocumentTagContent extends XmlComponent {
|
|
|
1676
1676
|
}
|
|
1677
1677
|
//#endregion
|
|
1678
1678
|
//#region src/file/sdt/sdt.d.ts
|
|
1679
|
-
interface
|
|
1679
|
+
interface SdtRunOptions {
|
|
1680
1680
|
readonly properties: SdtPropertiesOptions;
|
|
1681
1681
|
readonly children?: readonly BaseXmlComponent[];
|
|
1682
1682
|
}
|
|
1683
1683
|
declare class StructuredDocumentTagRun extends XmlComponent {
|
|
1684
|
-
constructor(options:
|
|
1684
|
+
constructor(options: SdtRunOptions);
|
|
1685
1685
|
}
|
|
1686
|
-
interface
|
|
1686
|
+
interface SdtBlockOptions {
|
|
1687
1687
|
readonly properties: SdtPropertiesOptions;
|
|
1688
1688
|
readonly children?: readonly FileChild[];
|
|
1689
1689
|
}
|
|
1690
1690
|
declare class StructuredDocumentTagBlock extends XmlComponent implements FileChild {
|
|
1691
1691
|
readonly fileChild: symbol;
|
|
1692
|
-
constructor(options:
|
|
1692
|
+
constructor(options: SdtBlockOptions);
|
|
1693
1693
|
}
|
|
1694
1694
|
//#endregion
|
|
1695
1695
|
//#region src/file/table/grid.d.ts
|
|
1696
|
-
interface
|
|
1696
|
+
interface TableGridChangeOptions {
|
|
1697
1697
|
readonly id: number;
|
|
1698
1698
|
readonly columnWidths: readonly number[] | readonly values_d_exports.PositiveUniversalMeasure[];
|
|
1699
1699
|
}
|
|
@@ -1703,7 +1703,7 @@ declare const CellSpacingType: {
|
|
|
1703
1703
|
readonly DXA: "dxa";
|
|
1704
1704
|
readonly NIL: "nil";
|
|
1705
1705
|
};
|
|
1706
|
-
interface
|
|
1706
|
+
interface TableCellSpacingProperties {
|
|
1707
1707
|
readonly value: number | values_d_exports.Percentage | values_d_exports.UniversalMeasure;
|
|
1708
1708
|
readonly type?: (typeof CellSpacingType)[keyof typeof CellSpacingType];
|
|
1709
1709
|
}
|
|
@@ -1715,31 +1715,36 @@ declare const WidthType: {
|
|
|
1715
1715
|
readonly NIL: "nil";
|
|
1716
1716
|
readonly PERCENTAGE: "pct";
|
|
1717
1717
|
};
|
|
1718
|
-
interface
|
|
1718
|
+
interface TableWidthProperties {
|
|
1719
1719
|
readonly size: number | values_d_exports.Percentage | values_d_exports.UniversalMeasure;
|
|
1720
1720
|
readonly type?: (typeof WidthType)[keyof typeof WidthType];
|
|
1721
1721
|
}
|
|
1722
|
+
declare const buildTableWidthObj: (name: string, {
|
|
1723
|
+
type,
|
|
1724
|
+
size
|
|
1725
|
+
}: TableWidthProperties) => IXmlableObject;
|
|
1722
1726
|
declare const createTableWidthElement: (name: string, {
|
|
1723
1727
|
type,
|
|
1724
1728
|
size
|
|
1725
|
-
}:
|
|
1729
|
+
}: TableWidthProperties) => XmlComponent;
|
|
1726
1730
|
//#endregion
|
|
1727
1731
|
//#region src/file/table/table-properties/table-borders.d.ts
|
|
1728
|
-
interface
|
|
1729
|
-
readonly top?:
|
|
1730
|
-
readonly bottom?:
|
|
1731
|
-
readonly left?:
|
|
1732
|
-
readonly right?:
|
|
1733
|
-
readonly insideHorizontal?:
|
|
1734
|
-
readonly insideVertical?:
|
|
1735
|
-
}
|
|
1732
|
+
interface TableBordersOptions {
|
|
1733
|
+
readonly top?: BorderOptions;
|
|
1734
|
+
readonly bottom?: BorderOptions;
|
|
1735
|
+
readonly left?: BorderOptions;
|
|
1736
|
+
readonly right?: BorderOptions;
|
|
1737
|
+
readonly insideHorizontal?: BorderOptions;
|
|
1738
|
+
readonly insideVertical?: BorderOptions;
|
|
1739
|
+
}
|
|
1740
|
+
declare function buildTableBorders(options: TableBordersOptions): IXmlableObject;
|
|
1736
1741
|
declare class TableBorders extends XmlComponent {
|
|
1737
|
-
static readonly NONE:
|
|
1738
|
-
constructor(options:
|
|
1742
|
+
static readonly NONE: TableBordersOptions;
|
|
1743
|
+
constructor(options: TableBordersOptions);
|
|
1739
1744
|
}
|
|
1740
1745
|
//#endregion
|
|
1741
1746
|
//#region src/file/table/table-properties/table-cell-margin.d.ts
|
|
1742
|
-
interface
|
|
1747
|
+
interface TableCellMarginOptions {
|
|
1743
1748
|
readonly marginUnitType?: (typeof WidthType)[keyof typeof WidthType];
|
|
1744
1749
|
readonly top?: number;
|
|
1745
1750
|
readonly bottom?: number;
|
|
@@ -1772,7 +1777,7 @@ declare const OverlapType: {
|
|
|
1772
1777
|
readonly NEVER: "never";
|
|
1773
1778
|
readonly OVERLAP: "overlap";
|
|
1774
1779
|
};
|
|
1775
|
-
interface
|
|
1780
|
+
interface TableFloatOptions {
|
|
1776
1781
|
readonly horizontalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
|
|
1777
1782
|
readonly absoluteHorizontalPosition?: number | values_d_exports.UniversalMeasure;
|
|
1778
1783
|
readonly relativeHorizontalPosition?: (typeof RelativeHorizontalPosition)[keyof typeof RelativeHorizontalPosition];
|
|
@@ -1796,7 +1801,19 @@ declare const createTableFloatProperties: ({
|
|
|
1796
1801
|
topFromText,
|
|
1797
1802
|
leftFromText,
|
|
1798
1803
|
rightFromText
|
|
1799
|
-
}:
|
|
1804
|
+
}: TableFloatOptions) => XmlComponent;
|
|
1805
|
+
declare const buildTableFloatPropertiesObj: ({
|
|
1806
|
+
horizontalAnchor,
|
|
1807
|
+
verticalAnchor,
|
|
1808
|
+
absoluteHorizontalPosition,
|
|
1809
|
+
relativeHorizontalPosition,
|
|
1810
|
+
absoluteVerticalPosition,
|
|
1811
|
+
relativeVerticalPosition,
|
|
1812
|
+
bottomFromText,
|
|
1813
|
+
topFromText,
|
|
1814
|
+
leftFromText,
|
|
1815
|
+
rightFromText
|
|
1816
|
+
}: TableFloatOptions) => IXmlableObject;
|
|
1800
1817
|
declare const createTableOverlap: (overlap: (typeof OverlapType)[keyof typeof OverlapType]) => XmlComponent;
|
|
1801
1818
|
//#endregion
|
|
1802
1819
|
//#region src/file/table/table-properties/table-layout.d.ts
|
|
@@ -1807,7 +1824,7 @@ declare const TableLayoutType: {
|
|
|
1807
1824
|
declare const createTableLayout: (type: (typeof TableLayoutType)[keyof typeof TableLayoutType]) => XmlComponent;
|
|
1808
1825
|
//#endregion
|
|
1809
1826
|
//#region src/file/table/table-properties/table-look.d.ts
|
|
1810
|
-
interface
|
|
1827
|
+
interface TableLookOptions {
|
|
1811
1828
|
readonly firstRow?: boolean;
|
|
1812
1829
|
readonly lastRow?: boolean;
|
|
1813
1830
|
readonly firstColumn?: boolean;
|
|
@@ -1822,61 +1839,62 @@ declare const createTableLook: ({
|
|
|
1822
1839
|
lastColumn,
|
|
1823
1840
|
noHBand,
|
|
1824
1841
|
noVBand
|
|
1825
|
-
}:
|
|
1842
|
+
}: TableLookOptions) => XmlComponent;
|
|
1826
1843
|
//#endregion
|
|
1827
1844
|
//#region src/file/table/table-properties/table-properties.d.ts
|
|
1828
|
-
interface
|
|
1829
|
-
readonly width?:
|
|
1830
|
-
readonly indent?:
|
|
1845
|
+
interface TablePropertiesOptionsBase {
|
|
1846
|
+
readonly width?: TableWidthProperties;
|
|
1847
|
+
readonly indent?: TableWidthProperties;
|
|
1831
1848
|
readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
1832
|
-
readonly borders?:
|
|
1833
|
-
readonly float?:
|
|
1834
|
-
readonly shading?:
|
|
1849
|
+
readonly borders?: TableBordersOptions;
|
|
1850
|
+
readonly float?: TableFloatOptions;
|
|
1851
|
+
readonly shading?: ShadingAttributesProperties;
|
|
1835
1852
|
readonly style?: string;
|
|
1836
1853
|
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
1837
|
-
readonly cellMargin?:
|
|
1854
|
+
readonly cellMargin?: TableCellMarginOptions;
|
|
1838
1855
|
readonly visuallyRightToLeft?: boolean;
|
|
1839
|
-
readonly tableLook?:
|
|
1840
|
-
readonly cellSpacing?:
|
|
1856
|
+
readonly tableLook?: TableLookOptions;
|
|
1857
|
+
readonly cellSpacing?: TableCellSpacingProperties;
|
|
1841
1858
|
readonly styleRowBandSize?: number;
|
|
1842
1859
|
readonly styleColBandSize?: number;
|
|
1843
1860
|
readonly caption?: string;
|
|
1844
1861
|
readonly description?: string;
|
|
1845
1862
|
}
|
|
1846
|
-
type ITablePropertiesChangeOptions = ITablePropertiesOptions &
|
|
1863
|
+
type ITablePropertiesChangeOptions = ITablePropertiesOptions & ChangedAttributesProperties;
|
|
1847
1864
|
type ITablePropertiesOptions = {
|
|
1848
1865
|
readonly revision?: ITablePropertiesChangeOptions;
|
|
1849
1866
|
readonly includeIfEmpty?: boolean;
|
|
1850
|
-
} &
|
|
1867
|
+
} & TablePropertiesOptionsBase;
|
|
1868
|
+
declare function buildTableProperties(options: ITablePropertiesOptions): IXmlableObject | undefined;
|
|
1851
1869
|
declare class TableProperties extends IgnoreIfEmptyXmlComponent {
|
|
1852
1870
|
constructor(options: ITablePropertiesOptions);
|
|
1853
1871
|
}
|
|
1854
1872
|
//#endregion
|
|
1855
1873
|
//#region src/file/table/table-properties/table-property-exceptions.d.ts
|
|
1856
|
-
interface
|
|
1857
|
-
readonly width?:
|
|
1858
|
-
readonly indent?:
|
|
1874
|
+
interface TablePropertyExOptions {
|
|
1875
|
+
readonly width?: TableWidthProperties;
|
|
1876
|
+
readonly indent?: TableWidthProperties;
|
|
1859
1877
|
readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
1860
|
-
readonly borders?:
|
|
1861
|
-
readonly shading?:
|
|
1878
|
+
readonly borders?: TableBordersOptions;
|
|
1879
|
+
readonly shading?: ShadingAttributesProperties;
|
|
1862
1880
|
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
1863
|
-
readonly cellMargin?:
|
|
1864
|
-
readonly tableLook?:
|
|
1865
|
-
readonly cellSpacing?:
|
|
1881
|
+
readonly cellMargin?: TableCellMarginOptions;
|
|
1882
|
+
readonly tableLook?: TableLookOptions;
|
|
1883
|
+
readonly cellSpacing?: TableCellSpacingProperties;
|
|
1866
1884
|
}
|
|
1867
1885
|
declare class TablePropertyExceptions extends IgnoreIfEmptyXmlComponent {
|
|
1868
|
-
constructor(options:
|
|
1886
|
+
constructor(options: TablePropertyExOptions);
|
|
1869
1887
|
}
|
|
1870
1888
|
//#endregion
|
|
1871
1889
|
//#region src/file/sub-doc/sub-doc.d.ts
|
|
1872
|
-
interface
|
|
1890
|
+
interface SubDocOptions {
|
|
1873
1891
|
readonly data: Uint8Array | string;
|
|
1874
1892
|
}
|
|
1875
1893
|
declare class SubDoc extends XmlComponent implements FileChild {
|
|
1876
1894
|
readonly fileChild: symbol;
|
|
1877
1895
|
private readonly options;
|
|
1878
|
-
constructor(options:
|
|
1879
|
-
prepForXml(context:
|
|
1896
|
+
constructor(options: SubDocOptions);
|
|
1897
|
+
prepForXml(context: Context): IXmlableObject;
|
|
1880
1898
|
}
|
|
1881
1899
|
//#endregion
|
|
1882
1900
|
//#region src/file/textbox/types.d.ts
|
|
@@ -1911,15 +1929,15 @@ interface VmlShapeStyle {
|
|
|
1911
1929
|
//#endregion
|
|
1912
1930
|
//#region src/file/section-child.d.ts
|
|
1913
1931
|
type SectionChild = BaseXmlComponent | {
|
|
1914
|
-
paragraph: string |
|
|
1932
|
+
paragraph: string | ParagraphOptions;
|
|
1915
1933
|
} | {
|
|
1916
|
-
table:
|
|
1934
|
+
table: TableOptions;
|
|
1917
1935
|
} | {
|
|
1918
|
-
toc:
|
|
1936
|
+
toc: TableOfContentsOptions & {
|
|
1919
1937
|
readonly alias?: string;
|
|
1920
1938
|
};
|
|
1921
1939
|
} | {
|
|
1922
|
-
textbox: Omit<
|
|
1940
|
+
textbox: Omit<ParagraphOptions, "style" | "children"> & {
|
|
1923
1941
|
readonly style?: VmlShapeStyle;
|
|
1924
1942
|
readonly children?: readonly SectionChild[];
|
|
1925
1943
|
};
|
|
@@ -1929,29 +1947,29 @@ type SectionChild = BaseXmlComponent | {
|
|
|
1929
1947
|
readonly children?: readonly SectionChild[];
|
|
1930
1948
|
};
|
|
1931
1949
|
} | {
|
|
1932
|
-
altChunk:
|
|
1950
|
+
altChunk: AltChunkOptions;
|
|
1933
1951
|
} | {
|
|
1934
|
-
subDoc:
|
|
1952
|
+
subDoc: SubDocOptions;
|
|
1935
1953
|
};
|
|
1936
1954
|
//#endregion
|
|
1937
1955
|
//#region src/file/track-revision/track-revision-components/inserted-text-run.d.ts
|
|
1938
|
-
type IInsertedRunOptions =
|
|
1956
|
+
type IInsertedRunOptions = ChangedAttributesProperties & RunOptions;
|
|
1939
1957
|
declare class InsertedTextRun extends XmlComponent {
|
|
1940
1958
|
constructor(options: IInsertedRunOptions);
|
|
1941
1959
|
}
|
|
1942
1960
|
//#endregion
|
|
1943
1961
|
//#region src/file/track-revision/track-revision-components/deleted-text-run.d.ts
|
|
1944
|
-
type IDeletedRunOptions =
|
|
1962
|
+
type IDeletedRunOptions = RunOptions & ChangedAttributesProperties;
|
|
1945
1963
|
declare class DeletedTextRun extends XmlComponent {
|
|
1946
1964
|
protected readonly deletedTextRunWrapper: DeletedTextRunWrapper;
|
|
1947
1965
|
constructor(options: IDeletedRunOptions);
|
|
1948
1966
|
}
|
|
1949
1967
|
declare class DeletedTextRunWrapper extends XmlComponent {
|
|
1950
|
-
constructor(options:
|
|
1968
|
+
constructor(options: RunOptions);
|
|
1951
1969
|
}
|
|
1952
1970
|
//#endregion
|
|
1953
1971
|
//#region src/file/track-revision/track-revision-components/moved-text-run.d.ts
|
|
1954
|
-
type IMovedRunOptions =
|
|
1972
|
+
type IMovedRunOptions = RunOptions & ChangedAttributesProperties;
|
|
1955
1973
|
declare class MovedFromTextRun extends XmlComponent {
|
|
1956
1974
|
constructor(options: IMovedRunOptions);
|
|
1957
1975
|
}
|
|
@@ -1960,23 +1978,27 @@ declare class MovedToTextRun extends XmlComponent {
|
|
|
1960
1978
|
}
|
|
1961
1979
|
//#endregion
|
|
1962
1980
|
//#region src/file/track-revision/track-revision-components/inserted-table-row.d.ts
|
|
1981
|
+
declare function buildInsertedTableRowObj(options: ChangedAttributesProperties): IXmlableObject;
|
|
1963
1982
|
declare class InsertedTableRow extends XmlComponent {
|
|
1964
|
-
constructor(options:
|
|
1983
|
+
constructor(options: ChangedAttributesProperties);
|
|
1965
1984
|
}
|
|
1966
1985
|
//#endregion
|
|
1967
1986
|
//#region src/file/track-revision/track-revision-components/deleted-table-row.d.ts
|
|
1987
|
+
declare function buildDeletedTableRowObj(options: ChangedAttributesProperties): IXmlableObject;
|
|
1968
1988
|
declare class DeletedTableRow extends XmlComponent {
|
|
1969
|
-
constructor(options:
|
|
1989
|
+
constructor(options: ChangedAttributesProperties);
|
|
1970
1990
|
}
|
|
1971
1991
|
//#endregion
|
|
1972
1992
|
//#region src/file/track-revision/track-revision-components/inserted-table-cell.d.ts
|
|
1993
|
+
declare function buildInsertedTableCellObj(options: ChangedAttributesProperties): IXmlableObject;
|
|
1973
1994
|
declare class InsertedTableCell extends XmlComponent {
|
|
1974
|
-
constructor(options:
|
|
1995
|
+
constructor(options: ChangedAttributesProperties);
|
|
1975
1996
|
}
|
|
1976
1997
|
//#endregion
|
|
1977
1998
|
//#region src/file/track-revision/track-revision-components/deleted-table-cell.d.ts
|
|
1999
|
+
declare function buildDeletedTableCellObj(options: ChangedAttributesProperties): IXmlableObject;
|
|
1978
2000
|
declare class DeletedTableCell extends XmlComponent {
|
|
1979
|
-
constructor(options:
|
|
2001
|
+
constructor(options: ChangedAttributesProperties);
|
|
1980
2002
|
}
|
|
1981
2003
|
//#endregion
|
|
1982
2004
|
//#region src/file/track-revision/track-revision-components/cell-merge.d.ts
|
|
@@ -1984,19 +2006,11 @@ declare const VerticalMergeRevisionType: {
|
|
|
1984
2006
|
readonly CONTINUE: "cont";
|
|
1985
2007
|
readonly RESTART: "rest";
|
|
1986
2008
|
};
|
|
1987
|
-
type ICellMergeAttributes =
|
|
2009
|
+
type ICellMergeAttributes = ChangedAttributesProperties & {
|
|
1988
2010
|
readonly verticalMerge?: (typeof VerticalMergeRevisionType)[keyof typeof VerticalMergeRevisionType];
|
|
1989
2011
|
readonly verticalMergeOriginal?: (typeof VerticalMergeRevisionType)[keyof typeof VerticalMergeRevisionType];
|
|
1990
2012
|
};
|
|
1991
|
-
declare
|
|
1992
|
-
protected readonly xmlKeys: {
|
|
1993
|
-
author: string;
|
|
1994
|
-
date: string;
|
|
1995
|
-
id: string;
|
|
1996
|
-
verticalMerge: string;
|
|
1997
|
-
verticalMergeOriginal: string;
|
|
1998
|
-
};
|
|
1999
|
-
}
|
|
2013
|
+
declare function buildCellMergeObj(options: ICellMergeAttributes): IXmlableObject;
|
|
2000
2014
|
declare class CellMerge extends XmlComponent {
|
|
2001
2015
|
constructor(options: ICellMergeAttributes);
|
|
2002
2016
|
}
|
|
@@ -2014,7 +2028,7 @@ interface CnfStyleOptions {
|
|
|
2014
2028
|
readonly val: string;
|
|
2015
2029
|
readonly changed?: boolean;
|
|
2016
2030
|
}
|
|
2017
|
-
interface
|
|
2031
|
+
interface TableRowPropertiesOptionsBase {
|
|
2018
2032
|
readonly cnfStyle?: CnfStyleOptions;
|
|
2019
2033
|
readonly cantSplit?: boolean;
|
|
2020
2034
|
readonly tableHeader?: boolean;
|
|
@@ -2022,22 +2036,24 @@ interface ITableRowPropertiesOptionsBase {
|
|
|
2022
2036
|
readonly value: number | values_d_exports.PositiveUniversalMeasure;
|
|
2023
2037
|
readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
|
|
2024
2038
|
};
|
|
2025
|
-
readonly cellSpacing?:
|
|
2039
|
+
readonly cellSpacing?: TableCellSpacingProperties;
|
|
2026
2040
|
readonly divId?: number;
|
|
2027
2041
|
readonly gridBefore?: number;
|
|
2028
2042
|
readonly gridAfter?: number;
|
|
2029
|
-
readonly widthBefore?:
|
|
2030
|
-
readonly widthAfter?:
|
|
2043
|
+
readonly widthBefore?: TableWidthProperties;
|
|
2044
|
+
readonly widthAfter?: TableWidthProperties;
|
|
2031
2045
|
readonly rowAlignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
2032
2046
|
readonly hidden?: boolean;
|
|
2033
2047
|
}
|
|
2034
|
-
type ITableRowPropertiesOptions =
|
|
2035
|
-
readonly insertion?:
|
|
2036
|
-
readonly deletion?:
|
|
2048
|
+
type ITableRowPropertiesOptions = TableRowPropertiesOptionsBase & {
|
|
2049
|
+
readonly insertion?: ChangedAttributesProperties;
|
|
2050
|
+
readonly deletion?: ChangedAttributesProperties;
|
|
2037
2051
|
readonly revision?: ITableRowPropertiesChangeOptions;
|
|
2038
2052
|
readonly includeIfEmpty?: boolean;
|
|
2039
2053
|
};
|
|
2040
|
-
type ITableRowPropertiesChangeOptions =
|
|
2054
|
+
type ITableRowPropertiesChangeOptions = TableRowPropertiesOptionsBase & ChangedAttributesProperties;
|
|
2055
|
+
declare function buildTableRowPropertiesChangeObj(options: ITableRowPropertiesChangeOptions): IXmlableObject;
|
|
2056
|
+
declare function buildTableRowProperties(options: ITableRowPropertiesOptions): IXmlableObject | undefined;
|
|
2041
2057
|
declare class TableRowProperties extends IgnoreIfEmptyXmlComponent {
|
|
2042
2058
|
constructor(options: ITableRowPropertiesOptions);
|
|
2043
2059
|
}
|
|
@@ -2046,17 +2062,19 @@ declare class TableRowPropertiesChange extends XmlComponent {
|
|
|
2046
2062
|
}
|
|
2047
2063
|
//#endregion
|
|
2048
2064
|
//#region src/file/table/table-cell/table-cell-components.d.ts
|
|
2049
|
-
interface
|
|
2050
|
-
readonly top?:
|
|
2051
|
-
readonly start?:
|
|
2052
|
-
readonly left?:
|
|
2053
|
-
readonly bottom?:
|
|
2054
|
-
readonly end?:
|
|
2055
|
-
readonly right?:
|
|
2056
|
-
}
|
|
2065
|
+
interface TableCellBordersOptions {
|
|
2066
|
+
readonly top?: BorderOptions;
|
|
2067
|
+
readonly start?: BorderOptions;
|
|
2068
|
+
readonly left?: BorderOptions;
|
|
2069
|
+
readonly bottom?: BorderOptions;
|
|
2070
|
+
readonly end?: BorderOptions;
|
|
2071
|
+
readonly right?: BorderOptions;
|
|
2072
|
+
}
|
|
2073
|
+
declare function buildTableCellBorders(options: TableCellBordersOptions): IXmlableObject | undefined;
|
|
2057
2074
|
declare class TableCellBorders extends IgnoreIfEmptyXmlComponent {
|
|
2058
|
-
constructor(options:
|
|
2075
|
+
constructor(options: TableCellBordersOptions);
|
|
2059
2076
|
}
|
|
2077
|
+
declare function buildGridSpan(value: number): IXmlableObject;
|
|
2060
2078
|
declare class GridSpan extends XmlComponent {
|
|
2061
2079
|
constructor(value: number);
|
|
2062
2080
|
}
|
|
@@ -2064,6 +2082,7 @@ declare const VerticalMergeType: {
|
|
|
2064
2082
|
readonly CONTINUE: "continue";
|
|
2065
2083
|
readonly RESTART: "restart";
|
|
2066
2084
|
};
|
|
2085
|
+
declare function buildVerticalMerge(value: (typeof VerticalMergeType)[keyof typeof VerticalMergeType]): IXmlableObject;
|
|
2067
2086
|
declare class VerticalMerge extends XmlComponent {
|
|
2068
2087
|
constructor(value: (typeof VerticalMergeType)[keyof typeof VerticalMergeType]);
|
|
2069
2088
|
}
|
|
@@ -2072,82 +2091,83 @@ declare const TextDirection: {
|
|
|
2072
2091
|
readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
|
|
2073
2092
|
readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
|
|
2074
2093
|
};
|
|
2094
|
+
declare function buildTextDirection(value: (typeof TextDirection)[keyof typeof TextDirection]): IXmlableObject;
|
|
2075
2095
|
declare class TDirection extends XmlComponent {
|
|
2076
2096
|
constructor(value: (typeof TextDirection)[keyof typeof TextDirection]);
|
|
2077
2097
|
}
|
|
2078
2098
|
//#endregion
|
|
2079
2099
|
//#region src/file/table/table-cell/table-cell-properties.d.ts
|
|
2080
|
-
interface
|
|
2100
|
+
interface TableCellPropertiesOptionsBase {
|
|
2081
2101
|
readonly cnfStyle?: CnfStyleOptions;
|
|
2082
|
-
readonly shading?:
|
|
2083
|
-
readonly margins?:
|
|
2102
|
+
readonly shading?: ShadingAttributesProperties;
|
|
2103
|
+
readonly margins?: TableCellMarginOptions;
|
|
2084
2104
|
readonly verticalAlign?: TableVerticalAlign;
|
|
2085
2105
|
readonly textDirection?: (typeof TextDirection)[keyof typeof TextDirection];
|
|
2086
2106
|
readonly verticalMerge?: (typeof VerticalMergeType)[keyof typeof VerticalMergeType];
|
|
2087
|
-
readonly width?:
|
|
2107
|
+
readonly width?: TableWidthProperties;
|
|
2088
2108
|
readonly columnSpan?: number;
|
|
2089
2109
|
readonly rowSpan?: number;
|
|
2090
|
-
readonly borders?:
|
|
2110
|
+
readonly borders?: TableCellBordersOptions;
|
|
2091
2111
|
readonly horizontalMerge?: "continue" | "restart";
|
|
2092
2112
|
readonly noWrap?: boolean;
|
|
2093
2113
|
readonly fitText?: boolean;
|
|
2094
2114
|
readonly hideMark?: boolean;
|
|
2095
2115
|
readonly headers?: string[];
|
|
2096
|
-
readonly insertion?:
|
|
2097
|
-
readonly deletion?:
|
|
2116
|
+
readonly insertion?: ChangedAttributesProperties;
|
|
2117
|
+
readonly deletion?: ChangedAttributesProperties;
|
|
2098
2118
|
readonly cellMerge?: ICellMergeAttributes;
|
|
2099
2119
|
}
|
|
2100
2120
|
type ITableCellPropertiesOptions = {
|
|
2101
2121
|
readonly revision?: ITableCellPropertiesChangeOptions;
|
|
2102
2122
|
readonly includeIfEmpty?: boolean;
|
|
2103
|
-
} &
|
|
2104
|
-
type ITableCellPropertiesChangeOptions =
|
|
2123
|
+
} & TableCellPropertiesOptionsBase;
|
|
2124
|
+
type ITableCellPropertiesChangeOptions = TableCellPropertiesOptionsBase & ChangedAttributesProperties;
|
|
2105
2125
|
//#endregion
|
|
2106
2126
|
//#region src/file/table/table-cell/table-cell.d.ts
|
|
2107
|
-
type
|
|
2127
|
+
type TableCellOptions = {
|
|
2108
2128
|
readonly children: readonly (SectionChild | StructuredDocumentTagCell)[];
|
|
2109
2129
|
} & ITableCellPropertiesOptions;
|
|
2110
2130
|
declare class TableCell extends BaseXmlComponent {
|
|
2111
|
-
readonly options:
|
|
2112
|
-
constructor(options:
|
|
2113
|
-
prepForXml(context:
|
|
2131
|
+
readonly options: TableCellOptions;
|
|
2132
|
+
constructor(options: TableCellOptions);
|
|
2133
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
2114
2134
|
}
|
|
2115
2135
|
//#endregion
|
|
2116
2136
|
//#region src/file/table/table-row/table-row.d.ts
|
|
2117
|
-
type
|
|
2118
|
-
readonly children: readonly (TableCell | StructuredDocumentTagCell | StructuredDocumentTagRow |
|
|
2119
|
-
readonly propertyExceptions?:
|
|
2137
|
+
type TableRowOptions = {
|
|
2138
|
+
readonly children: readonly (TableCell | StructuredDocumentTagCell | StructuredDocumentTagRow | TableCellOptions)[];
|
|
2139
|
+
readonly propertyExceptions?: TablePropertyExOptions;
|
|
2120
2140
|
} & ITableRowPropertiesOptions;
|
|
2121
2141
|
declare class TableRow extends BaseXmlComponent {
|
|
2122
2142
|
private readonly options;
|
|
2123
2143
|
private extraCells;
|
|
2124
2144
|
private readonly coercedChildren;
|
|
2125
|
-
constructor(options:
|
|
2145
|
+
constructor(options: TableRowOptions);
|
|
2126
2146
|
get CellCount(): number;
|
|
2127
2147
|
get cells(): readonly TableCell[];
|
|
2128
2148
|
addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
|
|
2129
2149
|
rootIndexToColumnIndex(rootIndex: number): number;
|
|
2130
2150
|
columnIndexToRootIndex(columnIndex: number, allowEndNewCell?: boolean): number;
|
|
2131
|
-
prepForXml(context:
|
|
2151
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
2132
2152
|
private findInsertIndex;
|
|
2133
2153
|
}
|
|
2134
2154
|
//#endregion
|
|
2135
2155
|
//#region src/file/table/table.d.ts
|
|
2136
|
-
interface
|
|
2137
|
-
readonly rows: readonly (TableRow | StructuredDocumentTagRow |
|
|
2138
|
-
readonly width?:
|
|
2156
|
+
interface TableOptions {
|
|
2157
|
+
readonly rows: readonly (TableRow | StructuredDocumentTagRow | TableRowOptions)[];
|
|
2158
|
+
readonly width?: TableWidthProperties;
|
|
2139
2159
|
readonly columnWidths?: readonly number[];
|
|
2140
|
-
readonly columnWidthsRevision?:
|
|
2141
|
-
readonly margins?:
|
|
2142
|
-
readonly indent?:
|
|
2143
|
-
readonly float?:
|
|
2160
|
+
readonly columnWidthsRevision?: TableGridChangeOptions;
|
|
2161
|
+
readonly margins?: TableCellMarginOptions;
|
|
2162
|
+
readonly indent?: TableWidthProperties;
|
|
2163
|
+
readonly float?: TableFloatOptions;
|
|
2144
2164
|
readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
2145
2165
|
readonly style?: string;
|
|
2146
|
-
readonly borders?:
|
|
2166
|
+
readonly borders?: TableBordersOptions;
|
|
2147
2167
|
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
2148
2168
|
readonly visuallyRightToLeft?: boolean;
|
|
2149
|
-
readonly tableLook?:
|
|
2150
|
-
readonly cellSpacing?:
|
|
2169
|
+
readonly tableLook?: TableLookOptions;
|
|
2170
|
+
readonly cellSpacing?: TableCellSpacingProperties;
|
|
2151
2171
|
readonly styleRowBandSize?: number;
|
|
2152
2172
|
readonly styleColBandSize?: number;
|
|
2153
2173
|
readonly caption?: string;
|
|
@@ -2159,43 +2179,43 @@ declare class Table extends BaseXmlComponent implements FileChild {
|
|
|
2159
2179
|
private readonly options;
|
|
2160
2180
|
private readonly columnWidths;
|
|
2161
2181
|
private readonly rows;
|
|
2162
|
-
constructor(options:
|
|
2163
|
-
prepForXml(context:
|
|
2182
|
+
constructor(options: TableOptions);
|
|
2183
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
2164
2184
|
}
|
|
2165
2185
|
//#endregion
|
|
2166
2186
|
//#region src/file/sdt/sdt-cell.d.ts
|
|
2167
|
-
interface
|
|
2187
|
+
interface SdtCellOptions {
|
|
2168
2188
|
readonly properties: SdtPropertiesOptions;
|
|
2169
2189
|
readonly children?: readonly TableCell[];
|
|
2170
2190
|
}
|
|
2171
2191
|
declare class StructuredDocumentTagCell extends XmlComponent {
|
|
2172
|
-
readonly options:
|
|
2173
|
-
constructor(sdtOptions:
|
|
2192
|
+
readonly options: TableCellOptions;
|
|
2193
|
+
constructor(sdtOptions: SdtCellOptions);
|
|
2174
2194
|
}
|
|
2175
2195
|
//#endregion
|
|
2176
2196
|
//#region src/file/sdt/sdt-row.d.ts
|
|
2177
|
-
interface
|
|
2197
|
+
interface SdtRowOptions {
|
|
2178
2198
|
readonly properties: SdtPropertiesOptions;
|
|
2179
2199
|
readonly children?: readonly TableRow[];
|
|
2180
2200
|
}
|
|
2181
2201
|
declare class StructuredDocumentTagRow extends XmlComponent {
|
|
2182
2202
|
private readonly rows;
|
|
2183
|
-
constructor(options:
|
|
2203
|
+
constructor(options: SdtRowOptions);
|
|
2184
2204
|
get CellCount(): number;
|
|
2185
2205
|
get cells(): readonly TableCell[];
|
|
2186
2206
|
addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
|
|
2187
2207
|
}
|
|
2188
2208
|
//#endregion
|
|
2189
2209
|
//#region src/file/sub-doc/sub-doc-collection.d.ts
|
|
2190
|
-
interface
|
|
2210
|
+
interface SubDocData {
|
|
2191
2211
|
readonly data: Uint8Array;
|
|
2192
2212
|
readonly path: string;
|
|
2193
2213
|
}
|
|
2194
2214
|
declare class SubDocCollection {
|
|
2195
2215
|
private readonly map;
|
|
2196
2216
|
constructor();
|
|
2197
|
-
addSubDoc(key: string, data:
|
|
2198
|
-
get Array(): readonly
|
|
2217
|
+
addSubDoc(key: string, data: SubDocData): void;
|
|
2218
|
+
get Array(): readonly SubDocData[];
|
|
2199
2219
|
}
|
|
2200
2220
|
//#endregion
|
|
2201
2221
|
//#region src/file/paragraph/formatting/break.d.ts
|
|
@@ -2214,12 +2234,12 @@ declare const HyperlinkType: {
|
|
|
2214
2234
|
readonly INTERNAL: "INTERNAL";
|
|
2215
2235
|
readonly EXTERNAL: "EXTERNAL";
|
|
2216
2236
|
};
|
|
2217
|
-
interface
|
|
2237
|
+
interface InternalHyperlinkOptions {
|
|
2218
2238
|
readonly children: readonly ParagraphChild[];
|
|
2219
2239
|
readonly anchor: string;
|
|
2220
2240
|
readonly tooltip?: string;
|
|
2221
2241
|
}
|
|
2222
|
-
interface
|
|
2242
|
+
interface ExternalHyperlinkOptions {
|
|
2223
2243
|
readonly children: readonly ParagraphChild[];
|
|
2224
2244
|
readonly link: string;
|
|
2225
2245
|
readonly tooltip?: string;
|
|
@@ -2230,15 +2250,15 @@ declare class ConcreteHyperlink extends XmlComponent {
|
|
|
2230
2250
|
constructor(children: readonly ParagraphChild[], relationshipId: string, anchor?: string, tooltip?: string, tgtFrame?: string);
|
|
2231
2251
|
}
|
|
2232
2252
|
declare class InternalHyperlink extends ConcreteHyperlink {
|
|
2233
|
-
constructor(options:
|
|
2253
|
+
constructor(options: InternalHyperlinkOptions);
|
|
2234
2254
|
}
|
|
2235
2255
|
declare class ExternalHyperlink extends XmlComponent {
|
|
2236
|
-
readonly options:
|
|
2237
|
-
constructor(options:
|
|
2256
|
+
readonly options: ExternalHyperlinkOptions;
|
|
2257
|
+
constructor(options: ExternalHyperlinkOptions);
|
|
2238
2258
|
}
|
|
2239
2259
|
//#endregion
|
|
2240
2260
|
//#region src/file/paragraph/links/bookmark.d.ts
|
|
2241
|
-
interface
|
|
2261
|
+
interface BookmarkOptions {
|
|
2242
2262
|
readonly id: string;
|
|
2243
2263
|
readonly children: readonly ParagraphChild[];
|
|
2244
2264
|
}
|
|
@@ -2247,7 +2267,7 @@ declare class Bookmark {
|
|
|
2247
2267
|
readonly start: BookmarkStart;
|
|
2248
2268
|
readonly children: readonly ParagraphChild[];
|
|
2249
2269
|
readonly end: BookmarkEnd;
|
|
2250
|
-
constructor(options:
|
|
2270
|
+
constructor(options: BookmarkOptions);
|
|
2251
2271
|
}
|
|
2252
2272
|
declare class BookmarkStart extends XmlComponent {
|
|
2253
2273
|
constructor(id: string, linkId: number);
|
|
@@ -2272,6 +2292,7 @@ declare class MoveToRangeEnd extends XmlComponent {
|
|
|
2272
2292
|
//#endregion
|
|
2273
2293
|
//#region src/file/paragraph/links/div-id.d.ts
|
|
2274
2294
|
declare const createDivId: (id: number) => XmlComponent;
|
|
2295
|
+
declare const buildDivIdObj: (id: number) => IXmlableObject;
|
|
2275
2296
|
//#endregion
|
|
2276
2297
|
//#region src/file/paragraph/links/numbered-item-ref.d.ts
|
|
2277
2298
|
declare enum NumberedItemReferenceFormat {
|
|
@@ -2280,36 +2301,37 @@ declare enum NumberedItemReferenceFormat {
|
|
|
2280
2301
|
NO_CONTEXT = "no_context",
|
|
2281
2302
|
FULL_CONTEXT = "full_context"
|
|
2282
2303
|
}
|
|
2283
|
-
interface
|
|
2304
|
+
interface NumberedItemReferenceOptions {
|
|
2284
2305
|
readonly hyperlink?: boolean;
|
|
2285
2306
|
readonly referenceFormat?: NumberedItemReferenceFormat;
|
|
2286
2307
|
}
|
|
2287
2308
|
declare class NumberedItemReference extends SimpleField {
|
|
2288
|
-
constructor(bookmarkId: string, cachedValue?: string, options?:
|
|
2309
|
+
constructor(bookmarkId: string, cachedValue?: string, options?: NumberedItemReferenceOptions);
|
|
2289
2310
|
}
|
|
2290
2311
|
//#endregion
|
|
2291
2312
|
//#region src/file/paragraph/links/outline-level.d.ts
|
|
2292
2313
|
declare const createOutlineLevel: (level: number) => XmlComponent;
|
|
2314
|
+
declare const buildOutlineLevelObj: (level: number) => IXmlableObject;
|
|
2293
2315
|
//#endregion
|
|
2294
2316
|
//#region src/file/paragraph/links/pageref.d.ts
|
|
2295
|
-
interface
|
|
2317
|
+
interface PageReferenceOptions {
|
|
2296
2318
|
readonly hyperlink?: boolean;
|
|
2297
2319
|
readonly useRelativePosition?: boolean;
|
|
2298
2320
|
}
|
|
2299
2321
|
declare class PageReference extends Run {
|
|
2300
|
-
constructor(bookmarkId: string, options?:
|
|
2322
|
+
constructor(bookmarkId: string, options?: PageReferenceOptions);
|
|
2301
2323
|
}
|
|
2302
2324
|
//#endregion
|
|
2303
2325
|
//#region src/file/paragraph/links/bidi.d.ts
|
|
2304
|
-
interface
|
|
2326
|
+
interface DirOptions {
|
|
2305
2327
|
readonly children: readonly ParagraphChild[];
|
|
2306
2328
|
readonly val: "ltr" | "rtl";
|
|
2307
2329
|
}
|
|
2308
2330
|
declare class Dir extends XmlComponent {
|
|
2309
|
-
constructor(options:
|
|
2331
|
+
constructor(options: DirOptions);
|
|
2310
2332
|
}
|
|
2311
2333
|
declare class Bdo extends XmlComponent {
|
|
2312
|
-
constructor(options:
|
|
2334
|
+
constructor(options: DirOptions);
|
|
2313
2335
|
}
|
|
2314
2336
|
//#endregion
|
|
2315
2337
|
//#region src/file/paragraph/math/border-box/math-border-box-properties.d.ts
|
|
@@ -2326,12 +2348,12 @@ interface MathBorderBoxPropertiesOptions {
|
|
|
2326
2348
|
declare const createMathBorderBoxProperties: (options: MathBorderBoxPropertiesOptions) => XmlComponent;
|
|
2327
2349
|
//#endregion
|
|
2328
2350
|
//#region src/file/paragraph/math/border-box/math-border-box.d.ts
|
|
2329
|
-
interface
|
|
2351
|
+
interface MathBorderBoxOptions {
|
|
2330
2352
|
readonly properties?: MathBorderBoxPropertiesOptions;
|
|
2331
2353
|
readonly children: readonly MathComponent[];
|
|
2332
2354
|
}
|
|
2333
2355
|
declare class MathBorderBox extends XmlComponent {
|
|
2334
|
-
constructor(options:
|
|
2356
|
+
constructor(options: MathBorderBoxOptions);
|
|
2335
2357
|
}
|
|
2336
2358
|
//#endregion
|
|
2337
2359
|
//#region src/file/paragraph/math/box/math-box-properties.d.ts
|
|
@@ -2344,12 +2366,12 @@ interface MathBoxPropertiesOptions {
|
|
|
2344
2366
|
declare const createMathBoxProperties: (options: MathBoxPropertiesOptions) => XmlComponent;
|
|
2345
2367
|
//#endregion
|
|
2346
2368
|
//#region src/file/paragraph/math/box/math-box.d.ts
|
|
2347
|
-
interface
|
|
2369
|
+
interface MathBoxOptions {
|
|
2348
2370
|
readonly properties?: MathBoxPropertiesOptions;
|
|
2349
2371
|
readonly children: readonly MathComponent[];
|
|
2350
2372
|
}
|
|
2351
2373
|
declare class MathBox extends XmlComponent {
|
|
2352
|
-
constructor(options:
|
|
2374
|
+
constructor(options: MathBoxOptions);
|
|
2353
2375
|
}
|
|
2354
2376
|
//#endregion
|
|
2355
2377
|
//#region src/file/paragraph/math/brackets/math-round-brackets.d.ts
|
|
@@ -2392,12 +2414,12 @@ interface MathEqArrPropertiesOptions {
|
|
|
2392
2414
|
declare const createMathEqArrProperties: (options: MathEqArrPropertiesOptions) => XmlComponent;
|
|
2393
2415
|
//#endregion
|
|
2394
2416
|
//#region src/file/paragraph/math/eq-arr/math-eq-arr.d.ts
|
|
2395
|
-
interface
|
|
2417
|
+
interface MathEqArrOptions {
|
|
2396
2418
|
readonly properties?: MathEqArrPropertiesOptions;
|
|
2397
2419
|
readonly rows: readonly (readonly MathComponent[])[];
|
|
2398
2420
|
}
|
|
2399
2421
|
declare class MathEqArr extends XmlComponent {
|
|
2400
|
-
constructor(options:
|
|
2422
|
+
constructor(options: MathEqArrOptions);
|
|
2401
2423
|
}
|
|
2402
2424
|
//#endregion
|
|
2403
2425
|
//#region src/file/paragraph/math/fraction/math-fraction-properties.d.ts
|
|
@@ -2413,13 +2435,13 @@ interface MathFractionPropertiesOptions {
|
|
|
2413
2435
|
declare const createMathFractionProperties: (options: MathFractionPropertiesOptions) => XmlComponent;
|
|
2414
2436
|
//#endregion
|
|
2415
2437
|
//#region src/file/paragraph/math/fraction/math-fraction.d.ts
|
|
2416
|
-
interface
|
|
2438
|
+
interface MathFractionOptions {
|
|
2417
2439
|
readonly numerator: readonly MathComponent[];
|
|
2418
2440
|
readonly denominator: readonly MathComponent[];
|
|
2419
2441
|
readonly fractionType?: MathFractionPropertiesOptions["fractionType"];
|
|
2420
2442
|
}
|
|
2421
2443
|
declare class MathFraction extends XmlComponent {
|
|
2422
|
-
constructor(options:
|
|
2444
|
+
constructor(options: MathFractionOptions);
|
|
2423
2445
|
}
|
|
2424
2446
|
//#endregion
|
|
2425
2447
|
//#region src/file/paragraph/math/fraction/math-denominator.d.ts
|
|
@@ -2446,13 +2468,13 @@ interface MathFunctionPropertiesOptions {
|
|
|
2446
2468
|
declare const createMathFunctionProperties: (options?: MathFunctionPropertiesOptions) => XmlComponent;
|
|
2447
2469
|
//#endregion
|
|
2448
2470
|
//#region src/file/paragraph/math/function/math-function.d.ts
|
|
2449
|
-
interface
|
|
2471
|
+
interface MathFunctionOptions {
|
|
2450
2472
|
readonly properties?: MathFunctionPropertiesOptions;
|
|
2451
2473
|
readonly children: readonly MathComponent[];
|
|
2452
2474
|
readonly name: readonly MathComponent[];
|
|
2453
2475
|
}
|
|
2454
2476
|
declare class MathFunction extends XmlComponent {
|
|
2455
|
-
constructor(options:
|
|
2477
|
+
constructor(options: MathFunctionOptions);
|
|
2456
2478
|
}
|
|
2457
2479
|
//#endregion
|
|
2458
2480
|
//#region src/file/paragraph/math/function/math-function-name.d.ts
|
|
@@ -2469,12 +2491,12 @@ interface MathGroupChrPropertiesOptions {
|
|
|
2469
2491
|
declare const createMathGroupChrProperties: (options: MathGroupChrPropertiesOptions) => XmlComponent;
|
|
2470
2492
|
//#endregion
|
|
2471
2493
|
//#region src/file/paragraph/math/group-chr/math-group-chr.d.ts
|
|
2472
|
-
interface
|
|
2494
|
+
interface MathGroupChrOptions {
|
|
2473
2495
|
readonly properties?: MathGroupChrPropertiesOptions;
|
|
2474
2496
|
readonly children: readonly MathComponent[];
|
|
2475
2497
|
}
|
|
2476
2498
|
declare class MathGroupChr extends XmlComponent {
|
|
2477
|
-
constructor(options:
|
|
2499
|
+
constructor(options: MathGroupChrOptions);
|
|
2478
2500
|
}
|
|
2479
2501
|
//#endregion
|
|
2480
2502
|
//#region src/file/paragraph/math/math-run-properties.d.ts
|
|
@@ -2512,12 +2534,12 @@ interface MathMatrixPropertiesOptions {
|
|
|
2512
2534
|
declare const createMathMatrixProperties: (options: MathMatrixPropertiesOptions) => XmlComponent;
|
|
2513
2535
|
//#endregion
|
|
2514
2536
|
//#region src/file/paragraph/math/matrix/math-matrix.d.ts
|
|
2515
|
-
interface
|
|
2537
|
+
interface MathMatrixOptions {
|
|
2516
2538
|
readonly properties?: MathMatrixPropertiesOptions;
|
|
2517
2539
|
readonly rows: readonly (readonly MathComponent[])[];
|
|
2518
2540
|
}
|
|
2519
2541
|
declare class MathMatrix extends XmlComponent {
|
|
2520
|
-
constructor(options:
|
|
2542
|
+
constructor(options: MathMatrixOptions);
|
|
2521
2543
|
}
|
|
2522
2544
|
//#endregion
|
|
2523
2545
|
//#region src/file/paragraph/math/n-ary/math-accent-character.d.ts
|
|
@@ -2569,23 +2591,23 @@ declare const createMathSubScriptElement: ({
|
|
|
2569
2591
|
}: MathSubScriptElementOptions) => XmlComponent;
|
|
2570
2592
|
//#endregion
|
|
2571
2593
|
//#region src/file/paragraph/math/n-ary/math-sum.d.ts
|
|
2572
|
-
interface
|
|
2594
|
+
interface MathSumOptions {
|
|
2573
2595
|
readonly children: readonly MathComponent[];
|
|
2574
2596
|
readonly subScript?: readonly MathComponent[];
|
|
2575
2597
|
readonly superScript?: readonly MathComponent[];
|
|
2576
2598
|
}
|
|
2577
2599
|
declare class MathSum extends XmlComponent {
|
|
2578
|
-
constructor(options:
|
|
2600
|
+
constructor(options: MathSumOptions);
|
|
2579
2601
|
}
|
|
2580
2602
|
//#endregion
|
|
2581
2603
|
//#region src/file/paragraph/math/n-ary/math-integral.d.ts
|
|
2582
|
-
interface
|
|
2604
|
+
interface MathIntegralOptions {
|
|
2583
2605
|
readonly children: readonly MathComponent[];
|
|
2584
2606
|
readonly subScript?: readonly MathComponent[];
|
|
2585
2607
|
readonly superScript?: readonly MathComponent[];
|
|
2586
2608
|
}
|
|
2587
2609
|
declare class MathIntegral extends XmlComponent {
|
|
2588
|
-
constructor(options:
|
|
2610
|
+
constructor(options: MathIntegralOptions);
|
|
2589
2611
|
}
|
|
2590
2612
|
//#endregion
|
|
2591
2613
|
//#region src/file/paragraph/math/n-ary/math-super-script.d.ts
|
|
@@ -2608,13 +2630,13 @@ interface MathLimitUpperPropertiesOptions {
|
|
|
2608
2630
|
declare const createMathLimitUpperProperties: (options?: MathLimitUpperPropertiesOptions) => XmlComponent;
|
|
2609
2631
|
//#endregion
|
|
2610
2632
|
//#region src/file/paragraph/math/n-ary/math-limit-upper.d.ts
|
|
2611
|
-
interface
|
|
2633
|
+
interface MathLimitUpperOptions {
|
|
2612
2634
|
readonly properties?: MathLimitUpperPropertiesOptions;
|
|
2613
2635
|
readonly children: readonly MathComponent[];
|
|
2614
2636
|
readonly limit: readonly MathComponent[];
|
|
2615
2637
|
}
|
|
2616
2638
|
declare class MathLimitUpper extends XmlComponent {
|
|
2617
|
-
constructor(options:
|
|
2639
|
+
constructor(options: MathLimitUpperOptions);
|
|
2618
2640
|
}
|
|
2619
2641
|
//#endregion
|
|
2620
2642
|
//#region src/file/paragraph/math/n-ary/math-limit-low-properties.d.ts
|
|
@@ -2624,13 +2646,13 @@ interface MathLimitLowPropertiesOptions {
|
|
|
2624
2646
|
declare const createMathLimitLowProperties: (options?: MathLimitLowPropertiesOptions) => XmlComponent;
|
|
2625
2647
|
//#endregion
|
|
2626
2648
|
//#region src/file/paragraph/math/n-ary/math-limit-lower.d.ts
|
|
2627
|
-
interface
|
|
2649
|
+
interface MathLimitLowerOptions {
|
|
2628
2650
|
readonly properties?: MathLimitLowPropertiesOptions;
|
|
2629
2651
|
readonly children: readonly MathComponent[];
|
|
2630
2652
|
readonly limit: readonly MathComponent[];
|
|
2631
2653
|
}
|
|
2632
2654
|
declare class MathLimitLower extends XmlComponent {
|
|
2633
|
-
constructor(options:
|
|
2655
|
+
constructor(options: MathLimitLowerOptions);
|
|
2634
2656
|
}
|
|
2635
2657
|
//#endregion
|
|
2636
2658
|
//#region src/file/paragraph/math/phant/math-phant-properties.d.ts
|
|
@@ -2644,12 +2666,12 @@ interface MathPhantPropertiesOptions {
|
|
|
2644
2666
|
declare const createMathPhantProperties: (options: MathPhantPropertiesOptions) => XmlComponent;
|
|
2645
2667
|
//#endregion
|
|
2646
2668
|
//#region src/file/paragraph/math/phant/math-phant.d.ts
|
|
2647
|
-
interface
|
|
2669
|
+
interface MathPhantOptions {
|
|
2648
2670
|
readonly properties?: MathPhantPropertiesOptions;
|
|
2649
2671
|
readonly children: readonly MathComponent[];
|
|
2650
2672
|
}
|
|
2651
2673
|
declare class MathPhant extends XmlComponent {
|
|
2652
|
-
constructor(options:
|
|
2674
|
+
constructor(options: MathPhantOptions);
|
|
2653
2675
|
}
|
|
2654
2676
|
//#endregion
|
|
2655
2677
|
//#region src/file/paragraph/math/radical/math-degree.d.ts
|
|
@@ -2658,12 +2680,12 @@ declare class MathDegree extends XmlComponent {
|
|
|
2658
2680
|
}
|
|
2659
2681
|
//#endregion
|
|
2660
2682
|
//#region src/file/paragraph/math/radical/math-radical.d.ts
|
|
2661
|
-
interface
|
|
2683
|
+
interface MathRadicalOptions {
|
|
2662
2684
|
readonly children: readonly MathComponent[];
|
|
2663
2685
|
readonly degree?: readonly MathComponent[];
|
|
2664
2686
|
}
|
|
2665
2687
|
declare class MathRadical extends XmlComponent {
|
|
2666
|
-
constructor(options:
|
|
2688
|
+
constructor(options: MathRadicalOptions);
|
|
2667
2689
|
}
|
|
2668
2690
|
//#endregion
|
|
2669
2691
|
//#region src/file/paragraph/math/radical/math-radical-properties.d.ts
|
|
@@ -2672,37 +2694,37 @@ declare class MathRadicalProperties extends XmlComponent {
|
|
|
2672
2694
|
}
|
|
2673
2695
|
//#endregion
|
|
2674
2696
|
//#region src/file/paragraph/math/script/super-script/math-super-script-function.d.ts
|
|
2675
|
-
interface
|
|
2697
|
+
interface MathSuperScriptOptions {
|
|
2676
2698
|
readonly children: readonly MathComponent[];
|
|
2677
2699
|
readonly superScript: readonly MathComponent[];
|
|
2678
2700
|
}
|
|
2679
2701
|
declare class MathSuperScript extends XmlComponent {
|
|
2680
|
-
constructor(options:
|
|
2702
|
+
constructor(options: MathSuperScriptOptions);
|
|
2681
2703
|
}
|
|
2682
2704
|
//#endregion
|
|
2683
2705
|
//#region src/file/paragraph/math/script/super-script/math-super-script-function-properties.d.ts
|
|
2684
2706
|
declare const createMathSuperScriptProperties: () => XmlComponent;
|
|
2685
2707
|
//#endregion
|
|
2686
2708
|
//#region src/file/paragraph/math/script/sub-script/math-sub-script-function.d.ts
|
|
2687
|
-
interface
|
|
2709
|
+
interface MathSubScriptOptions {
|
|
2688
2710
|
readonly children: readonly MathComponent[];
|
|
2689
2711
|
readonly subScript: readonly MathComponent[];
|
|
2690
2712
|
}
|
|
2691
2713
|
declare class MathSubScript extends XmlComponent {
|
|
2692
|
-
constructor(options:
|
|
2714
|
+
constructor(options: MathSubScriptOptions);
|
|
2693
2715
|
}
|
|
2694
2716
|
//#endregion
|
|
2695
2717
|
//#region src/file/paragraph/math/script/sub-script/math-sub-script-function-properties.d.ts
|
|
2696
2718
|
declare const createMathSubScriptProperties: () => XmlComponent;
|
|
2697
2719
|
//#endregion
|
|
2698
2720
|
//#region src/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.d.ts
|
|
2699
|
-
interface
|
|
2721
|
+
interface MathSubSuperScriptOptions {
|
|
2700
2722
|
readonly children: readonly MathComponent[];
|
|
2701
2723
|
readonly subScript: readonly MathComponent[];
|
|
2702
2724
|
readonly superScript: readonly MathComponent[];
|
|
2703
2725
|
}
|
|
2704
2726
|
declare class MathSubSuperScript extends XmlComponent {
|
|
2705
|
-
constructor(options:
|
|
2727
|
+
constructor(options: MathSubSuperScriptOptions);
|
|
2706
2728
|
}
|
|
2707
2729
|
//#endregion
|
|
2708
2730
|
//#region src/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.d.ts
|
|
@@ -2712,7 +2734,7 @@ interface MathSubSuperScriptPropertiesOptions {
|
|
|
2712
2734
|
declare const createMathSubSuperScriptProperties: (options?: MathSubSuperScriptPropertiesOptions) => XmlComponent;
|
|
2713
2735
|
//#endregion
|
|
2714
2736
|
//#region src/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.d.ts
|
|
2715
|
-
interface
|
|
2737
|
+
interface MathPreSubSuperScriptOptions {
|
|
2716
2738
|
readonly children: readonly MathComponent[];
|
|
2717
2739
|
readonly subScript: readonly MathComponent[];
|
|
2718
2740
|
readonly superScript: readonly MathComponent[];
|
|
@@ -2722,7 +2744,7 @@ declare class MathPreSubSuperScript extends BuilderElement {
|
|
|
2722
2744
|
children,
|
|
2723
2745
|
subScript,
|
|
2724
2746
|
superScript
|
|
2725
|
-
}:
|
|
2747
|
+
}: MathPreSubSuperScriptOptions);
|
|
2726
2748
|
}
|
|
2727
2749
|
//#endregion
|
|
2728
2750
|
//#region src/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.d.ts
|
|
@@ -2886,11 +2908,11 @@ type MathJson = MathComponent | string | {
|
|
|
2886
2908
|
declare function coerceMathJson(value: MathJson): XmlComponent;
|
|
2887
2909
|
//#endregion
|
|
2888
2910
|
//#region src/file/paragraph/math/math.d.ts
|
|
2889
|
-
interface
|
|
2911
|
+
interface MathOptions {
|
|
2890
2912
|
readonly children: readonly MathComponent[];
|
|
2891
2913
|
}
|
|
2892
2914
|
declare class Math extends XmlComponent {
|
|
2893
|
-
constructor(options:
|
|
2915
|
+
constructor(options: MathOptions);
|
|
2894
2916
|
}
|
|
2895
2917
|
//#endregion
|
|
2896
2918
|
//#region src/file/paragraph/math/math-parse.d.ts
|
|
@@ -2898,12 +2920,12 @@ declare function parseMathChildren(el: Element): MathJson[];
|
|
|
2898
2920
|
//#endregion
|
|
2899
2921
|
//#region src/file/paragraph/math/math-para.d.ts
|
|
2900
2922
|
type MathJustification = "left" | "right" | "center" | "centerGroup";
|
|
2901
|
-
interface
|
|
2923
|
+
interface MathParagraphOptions {
|
|
2902
2924
|
readonly justification?: MathJustification;
|
|
2903
|
-
readonly children: readonly
|
|
2925
|
+
readonly children: readonly MathOptions[];
|
|
2904
2926
|
}
|
|
2905
2927
|
declare class MathParagraph extends XmlComponent {
|
|
2906
|
-
constructor(options:
|
|
2928
|
+
constructor(options: MathParagraphOptions);
|
|
2907
2929
|
}
|
|
2908
2930
|
//#endregion
|
|
2909
2931
|
//#region src/file/paragraph/math/math-pr.d.ts
|
|
@@ -2931,22 +2953,24 @@ interface MathPropertiesOptions {
|
|
|
2931
2953
|
declare const createMathProperties: (options: MathPropertiesOptions) => XmlComponent;
|
|
2932
2954
|
//#endregion
|
|
2933
2955
|
//#region src/file/paragraph/formatting/border.d.ts
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
readonly
|
|
2938
|
-
readonly
|
|
2939
|
-
readonly
|
|
2956
|
+
declare function buildParagraphBorders(options: BordersOptions): IXmlableObject | undefined;
|
|
2957
|
+
declare function buildThematicBreakObj(): IXmlableObject;
|
|
2958
|
+
interface BordersOptions {
|
|
2959
|
+
readonly top?: BorderOptions;
|
|
2960
|
+
readonly bottom?: BorderOptions;
|
|
2961
|
+
readonly left?: BorderOptions;
|
|
2962
|
+
readonly right?: BorderOptions;
|
|
2963
|
+
readonly between?: BorderOptions;
|
|
2940
2964
|
}
|
|
2941
2965
|
declare class Border extends IgnoreIfEmptyXmlComponent {
|
|
2942
|
-
constructor(options:
|
|
2966
|
+
constructor(options: BordersOptions);
|
|
2943
2967
|
}
|
|
2944
2968
|
declare class ThematicBreak extends XmlComponent {
|
|
2945
2969
|
constructor();
|
|
2946
2970
|
}
|
|
2947
2971
|
//#endregion
|
|
2948
2972
|
//#region src/file/paragraph/formatting/cnf-style.d.ts
|
|
2949
|
-
interface
|
|
2973
|
+
interface CnfConditionalOptions {
|
|
2950
2974
|
readonly firstRow?: boolean;
|
|
2951
2975
|
readonly lastRow?: boolean;
|
|
2952
2976
|
readonly firstColumn?: boolean;
|
|
@@ -2960,10 +2984,11 @@ interface ICnfStyleOptions {
|
|
|
2960
2984
|
readonly lastRowFirstColumn?: boolean;
|
|
2961
2985
|
readonly lastRowLastColumn?: boolean;
|
|
2962
2986
|
}
|
|
2963
|
-
declare const createCnfStyle: (options:
|
|
2987
|
+
declare const createCnfStyle: (options: CnfConditionalOptions) => XmlComponent;
|
|
2988
|
+
declare const buildCnfStyleObj: (options: CnfConditionalOptions) => IXmlableObject;
|
|
2964
2989
|
//#endregion
|
|
2965
2990
|
//#region src/file/paragraph/formatting/indent.d.ts
|
|
2966
|
-
interface
|
|
2991
|
+
interface IndentAttributesProperties {
|
|
2967
2992
|
readonly start?: number | values_d_exports.UniversalMeasure;
|
|
2968
2993
|
readonly startChars?: number;
|
|
2969
2994
|
readonly end?: number | values_d_exports.UniversalMeasure;
|
|
@@ -2990,7 +3015,21 @@ declare const createIndent: ({
|
|
|
2990
3015
|
hangingChars,
|
|
2991
3016
|
firstLine,
|
|
2992
3017
|
firstLineChars
|
|
2993
|
-
}:
|
|
3018
|
+
}: IndentAttributesProperties) => XmlComponent;
|
|
3019
|
+
declare const buildIndentObj: ({
|
|
3020
|
+
start,
|
|
3021
|
+
startChars,
|
|
3022
|
+
end,
|
|
3023
|
+
endChars,
|
|
3024
|
+
left,
|
|
3025
|
+
leftChars,
|
|
3026
|
+
right,
|
|
3027
|
+
rightChars,
|
|
3028
|
+
hanging,
|
|
3029
|
+
hangingChars,
|
|
3030
|
+
firstLine,
|
|
3031
|
+
firstLineChars
|
|
3032
|
+
}: IndentAttributesProperties) => IXmlableObject;
|
|
2994
3033
|
//#endregion
|
|
2995
3034
|
//#region src/file/paragraph/formatting/spacing.d.ts
|
|
2996
3035
|
declare const LineRuleType: {
|
|
@@ -2999,7 +3038,7 @@ declare const LineRuleType: {
|
|
|
2999
3038
|
readonly EXACT: "exact";
|
|
3000
3039
|
readonly AUTO: "auto";
|
|
3001
3040
|
};
|
|
3002
|
-
interface
|
|
3041
|
+
interface SpacingProperties {
|
|
3003
3042
|
readonly after?: number;
|
|
3004
3043
|
readonly before?: number;
|
|
3005
3044
|
readonly line?: number;
|
|
@@ -3018,7 +3057,17 @@ declare const createSpacing: ({
|
|
|
3018
3057
|
afterAutoSpacing,
|
|
3019
3058
|
beforeLines,
|
|
3020
3059
|
afterLines
|
|
3021
|
-
}:
|
|
3060
|
+
}: SpacingProperties) => XmlComponent;
|
|
3061
|
+
declare const buildSpacingObj: ({
|
|
3062
|
+
after,
|
|
3063
|
+
before,
|
|
3064
|
+
line,
|
|
3065
|
+
lineRule,
|
|
3066
|
+
beforeAutoSpacing,
|
|
3067
|
+
afterAutoSpacing,
|
|
3068
|
+
beforeLines,
|
|
3069
|
+
afterLines
|
|
3070
|
+
}: SpacingProperties) => IXmlableObject;
|
|
3022
3071
|
//#endregion
|
|
3023
3072
|
//#region src/file/paragraph/formatting/style.d.ts
|
|
3024
3073
|
declare const HeadingLevel: {
|
|
@@ -3066,6 +3115,7 @@ declare const createTabStopItem: ({
|
|
|
3066
3115
|
leader
|
|
3067
3116
|
}: TabStopDefinition) => XmlComponent;
|
|
3068
3117
|
declare const createTabStop: (tabDefinitions: readonly TabStopDefinition[]) => XmlComponent;
|
|
3118
|
+
declare const buildTabStopObj: (tabDefinitions: readonly TabStopDefinition[]) => IXmlableObject;
|
|
3069
3119
|
//#endregion
|
|
3070
3120
|
//#region src/file/paragraph/frame/frame-properties.d.ts
|
|
3071
3121
|
declare const DropCapType: {
|
|
@@ -3086,7 +3136,7 @@ declare const FrameWrap: {
|
|
|
3086
3136
|
readonly THROUGH: "through";
|
|
3087
3137
|
readonly TIGHT: "tight";
|
|
3088
3138
|
};
|
|
3089
|
-
interface
|
|
3139
|
+
interface BaseFrameOptions {
|
|
3090
3140
|
readonly anchorLock?: boolean;
|
|
3091
3141
|
readonly dropCap?: (typeof DropCapType)[keyof typeof DropCapType];
|
|
3092
3142
|
readonly width: number;
|
|
@@ -3109,16 +3159,17 @@ type IXYFrameOptions = {
|
|
|
3109
3159
|
readonly x: number;
|
|
3110
3160
|
readonly y: number;
|
|
3111
3161
|
};
|
|
3112
|
-
} &
|
|
3162
|
+
} & BaseFrameOptions;
|
|
3113
3163
|
type IAlignmentFrameOptions = {
|
|
3114
3164
|
readonly type: "alignment";
|
|
3115
3165
|
readonly alignment: {
|
|
3116
3166
|
readonly x: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
|
|
3117
3167
|
readonly y: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
|
|
3118
3168
|
};
|
|
3119
|
-
} &
|
|
3169
|
+
} & BaseFrameOptions;
|
|
3120
3170
|
type IFrameOptions = IXYFrameOptions | IAlignmentFrameOptions;
|
|
3121
3171
|
declare const createFrameProperties: (options: IFrameOptions) => XmlComponent;
|
|
3172
|
+
declare const buildFramePropertiesObj: (options: IFrameOptions) => IXmlableObject;
|
|
3122
3173
|
//#endregion
|
|
3123
3174
|
//#region src/file/paragraph/properties.d.ts
|
|
3124
3175
|
declare const TextAlignmentType: {
|
|
@@ -3145,8 +3196,8 @@ interface LevelParagraphStylePropertiesOptions {
|
|
|
3145
3196
|
readonly contextualSpacing?: boolean;
|
|
3146
3197
|
readonly rightTabStop?: number;
|
|
3147
3198
|
readonly leftTabStop?: number;
|
|
3148
|
-
readonly indent?:
|
|
3149
|
-
readonly spacing?:
|
|
3199
|
+
readonly indent?: IndentAttributesProperties;
|
|
3200
|
+
readonly spacing?: SpacingProperties;
|
|
3150
3201
|
readonly keepNext?: boolean;
|
|
3151
3202
|
readonly keepLines?: boolean;
|
|
3152
3203
|
readonly frame?: IFrameOptions;
|
|
@@ -3167,11 +3218,11 @@ interface LevelParagraphStylePropertiesOptions {
|
|
|
3167
3218
|
readonly textDirection?: "lr" | "rl" | "tb" | "tbV" | "rlV" | "lrV";
|
|
3168
3219
|
readonly outlineLevel?: number;
|
|
3169
3220
|
readonly divId?: number;
|
|
3170
|
-
readonly cnfStyle?:
|
|
3221
|
+
readonly cnfStyle?: CnfConditionalOptions;
|
|
3171
3222
|
}
|
|
3172
3223
|
type IParagraphStylePropertiesOptions = {
|
|
3173
|
-
readonly border?:
|
|
3174
|
-
readonly shading?:
|
|
3224
|
+
readonly border?: BordersOptions;
|
|
3225
|
+
readonly shading?: ShadingAttributesProperties;
|
|
3175
3226
|
readonly numbering?: {
|
|
3176
3227
|
readonly reference: string;
|
|
3177
3228
|
readonly level: number;
|
|
@@ -3187,16 +3238,24 @@ type IParagraphPropertiesOptionsBase = {
|
|
|
3187
3238
|
};
|
|
3188
3239
|
readonly run?: IParagraphRunOptions;
|
|
3189
3240
|
} & IParagraphStylePropertiesOptions;
|
|
3190
|
-
type IParagraphPropertiesChangeOptions =
|
|
3191
|
-
type
|
|
3241
|
+
type IParagraphPropertiesChangeOptions = ChangedAttributesProperties & IParagraphPropertiesOptionsBase;
|
|
3242
|
+
type ParagraphPropertiesOptions = {
|
|
3192
3243
|
readonly revision?: IParagraphPropertiesChangeOptions;
|
|
3193
3244
|
readonly includeIfEmpty?: boolean;
|
|
3194
3245
|
} & IParagraphPropertiesOptionsBase;
|
|
3246
|
+
interface ParagraphPropertiesResult {
|
|
3247
|
+
readonly xml: IXmlableObject | undefined;
|
|
3248
|
+
readonly numberingReferences: readonly {
|
|
3249
|
+
readonly reference: string;
|
|
3250
|
+
readonly instance: number;
|
|
3251
|
+
}[];
|
|
3252
|
+
}
|
|
3253
|
+
declare function buildParagraphProperties(options?: ParagraphPropertiesOptions): ParagraphPropertiesResult;
|
|
3195
3254
|
declare class ParagraphProperties extends IgnoreIfEmptyXmlComponent {
|
|
3196
3255
|
private readonly numberingReferences;
|
|
3197
|
-
constructor(options?:
|
|
3256
|
+
constructor(options?: ParagraphPropertiesOptions);
|
|
3198
3257
|
push(item: XmlComponent): void;
|
|
3199
|
-
prepForXml(context:
|
|
3258
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
3200
3259
|
}
|
|
3201
3260
|
declare class ParagraphPropertiesChange extends XmlComponent {
|
|
3202
3261
|
constructor(options: IParagraphPropertiesChangeOptions);
|
|
@@ -3205,21 +3264,21 @@ declare class ParagraphPropertiesChange extends XmlComponent {
|
|
|
3205
3264
|
//#region src/file/paragraph/paragraph.d.ts
|
|
3206
3265
|
type Math$1 = InstanceType<typeof Math>;
|
|
3207
3266
|
type ParagraphChild = TextRun | ImageRun | SymbolRun | Bookmark | PageBreak | ColumnBreak | SequentialIdentifier | FootnoteReferenceRun | InternalHyperlink | ExternalHyperlink | InsertedTextRun | DeletedTextRun | Math$1 | SimpleField | SimpleMailMergeField | ChartRun | SmartArtRun | Comments | Comment | CommentRangeStart | CommentRangeEnd | CommentReference | CheckBox | StructuredDocumentTagRun | MoveFromRangeStart | MoveFromRangeEnd | MoveToRangeStart | MoveToRangeEnd | MovedFromTextRun | MovedToTextRun | PermStart | PermEnd | Dir | Bdo | AltChunk | SubDoc;
|
|
3208
|
-
interface
|
|
3209
|
-
readonly chart:
|
|
3267
|
+
interface ChartChild {
|
|
3268
|
+
readonly chart: ChartOptions;
|
|
3210
3269
|
}
|
|
3211
|
-
interface
|
|
3212
|
-
readonly smartArt:
|
|
3270
|
+
interface SmartArtChild {
|
|
3271
|
+
readonly smartArt: SmartArtOptions;
|
|
3213
3272
|
}
|
|
3214
|
-
interface
|
|
3273
|
+
interface ImageChild {
|
|
3215
3274
|
readonly image: IImageOptions;
|
|
3216
3275
|
}
|
|
3217
|
-
interface
|
|
3218
|
-
readonly math: Omit<
|
|
3276
|
+
interface MathChild {
|
|
3277
|
+
readonly math: Omit<MathOptions, "children"> & {
|
|
3219
3278
|
readonly children?: readonly MathJson[];
|
|
3220
3279
|
};
|
|
3221
3280
|
}
|
|
3222
|
-
type IParagraphJsonChild =
|
|
3281
|
+
type IParagraphJsonChild = ChartChild | SmartArtChild | ImageChild | MathChild | {
|
|
3223
3282
|
readonly symbolRun: ISymbolRunOptions;
|
|
3224
3283
|
} | {
|
|
3225
3284
|
readonly footnoteReference: number;
|
|
@@ -3236,35 +3295,37 @@ type IParagraphJsonChild = IChartChild | ISmartArtChild | IImageChild | IMathChi
|
|
|
3236
3295
|
} | {
|
|
3237
3296
|
readonly commentReference: number;
|
|
3238
3297
|
} | {
|
|
3239
|
-
readonly insertion:
|
|
3298
|
+
readonly insertion: RunOptions & ChangedAttributesProperties;
|
|
3240
3299
|
} | {
|
|
3241
|
-
readonly deletion:
|
|
3300
|
+
readonly deletion: RunOptions & ChangedAttributesProperties;
|
|
3242
3301
|
};
|
|
3243
|
-
type
|
|
3302
|
+
type ParagraphOptions = {
|
|
3244
3303
|
readonly text?: string;
|
|
3245
|
-
readonly children?: readonly (ParagraphChild |
|
|
3246
|
-
} &
|
|
3304
|
+
readonly children?: readonly (ParagraphChild | RunOptions | IParagraphJsonChild | string)[];
|
|
3305
|
+
} & ParagraphPropertiesOptions;
|
|
3247
3306
|
declare class Paragraph extends BaseXmlComponent implements FileChild {
|
|
3248
3307
|
readonly fileChild: symbol;
|
|
3249
3308
|
private readonly options;
|
|
3250
3309
|
private frontRuns;
|
|
3251
3310
|
private sectionProperties?;
|
|
3252
|
-
|
|
3253
|
-
|
|
3311
|
+
private readonly _props;
|
|
3312
|
+
private readonly _textRun;
|
|
3313
|
+
constructor(options: string | ParagraphOptions);
|
|
3314
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
3254
3315
|
addRunToFront(run: Run): Paragraph;
|
|
3255
3316
|
setSectionProperties(section: SectionProperties): void;
|
|
3256
3317
|
}
|
|
3257
3318
|
//#endregion
|
|
3258
3319
|
//#region src/file/paragraph/run/comment-run.d.ts
|
|
3259
|
-
interface
|
|
3320
|
+
interface CommentOptions {
|
|
3260
3321
|
readonly id: number;
|
|
3261
|
-
readonly children: readonly (FileChild |
|
|
3322
|
+
readonly children: readonly (FileChild | ParagraphOptions | string)[];
|
|
3262
3323
|
readonly initials?: string;
|
|
3263
3324
|
readonly author?: string;
|
|
3264
3325
|
readonly date?: Date | string;
|
|
3265
3326
|
}
|
|
3266
|
-
interface
|
|
3267
|
-
readonly children: readonly
|
|
3327
|
+
interface CommentsOptions {
|
|
3328
|
+
readonly children: readonly CommentOptions[];
|
|
3268
3329
|
}
|
|
3269
3330
|
declare class CommentRangeStart extends XmlComponent {
|
|
3270
3331
|
constructor(id: number);
|
|
@@ -3282,13 +3343,13 @@ declare class Comment extends XmlComponent {
|
|
|
3282
3343
|
author,
|
|
3283
3344
|
date,
|
|
3284
3345
|
children
|
|
3285
|
-
}:
|
|
3346
|
+
}: CommentOptions);
|
|
3286
3347
|
}
|
|
3287
3348
|
declare class Comments extends XmlComponent {
|
|
3288
3349
|
private readonly relationships;
|
|
3289
3350
|
constructor({
|
|
3290
3351
|
children
|
|
3291
|
-
}:
|
|
3352
|
+
}: CommentsOptions);
|
|
3292
3353
|
get Relationships(): Relationships;
|
|
3293
3354
|
}
|
|
3294
3355
|
//#endregion
|
|
@@ -3393,13 +3454,6 @@ declare const createBreak: (options?: {
|
|
|
3393
3454
|
}) => XmlComponent;
|
|
3394
3455
|
//#endregion
|
|
3395
3456
|
//#region src/file/endnotes/endnote/run/reference-run.d.ts
|
|
3396
|
-
declare class EndnoteReferenceRunAttributes extends XmlAttributeComponent<{
|
|
3397
|
-
readonly id: number;
|
|
3398
|
-
}> {
|
|
3399
|
-
protected readonly xmlKeys: {
|
|
3400
|
-
id: string;
|
|
3401
|
-
};
|
|
3402
|
-
}
|
|
3403
3457
|
declare class EndnoteIdReference extends XmlComponent {
|
|
3404
3458
|
constructor(id: number);
|
|
3405
3459
|
}
|
|
@@ -3408,14 +3462,14 @@ declare class EndnoteReferenceRun extends Run {
|
|
|
3408
3462
|
}
|
|
3409
3463
|
//#endregion
|
|
3410
3464
|
//#region src/file/document-wrapper.d.ts
|
|
3411
|
-
interface
|
|
3465
|
+
interface ViewWrapper {
|
|
3412
3466
|
readonly View: Document | Footer$1 | Header$1 | FootNotes | Endnotes | XmlComponent;
|
|
3413
3467
|
readonly Relationships: Relationships;
|
|
3414
3468
|
}
|
|
3415
|
-
declare class DocumentWrapper implements
|
|
3469
|
+
declare class DocumentWrapper implements ViewWrapper {
|
|
3416
3470
|
private readonly document;
|
|
3417
3471
|
private readonly relationships;
|
|
3418
|
-
constructor(options:
|
|
3472
|
+
constructor(options: DocumentOptions);
|
|
3419
3473
|
get View(): Document;
|
|
3420
3474
|
get Relationships(): Relationships;
|
|
3421
3475
|
}
|
|
@@ -3439,13 +3493,13 @@ interface SourceTypeOptions {
|
|
|
3439
3493
|
readonly edition?: string;
|
|
3440
3494
|
readonly institution?: string;
|
|
3441
3495
|
}
|
|
3442
|
-
interface
|
|
3496
|
+
interface BibliographyOptions {
|
|
3443
3497
|
readonly sources: readonly SourceTypeOptions[];
|
|
3444
3498
|
readonly styleName?: string;
|
|
3445
3499
|
}
|
|
3446
3500
|
declare class Bibliography extends XmlComponent {
|
|
3447
3501
|
private readonly relationships;
|
|
3448
|
-
constructor(options:
|
|
3502
|
+
constructor(options: BibliographyOptions);
|
|
3449
3503
|
get Relationships(): Relationships;
|
|
3450
3504
|
}
|
|
3451
3505
|
//#endregion
|
|
@@ -3466,7 +3520,7 @@ declare class ContentTypes extends XmlComponent {
|
|
|
3466
3520
|
}
|
|
3467
3521
|
//#endregion
|
|
3468
3522
|
//#region src/file/settings/compatibility.d.ts
|
|
3469
|
-
interface
|
|
3523
|
+
interface CompatibilityOptions {
|
|
3470
3524
|
readonly version?: number;
|
|
3471
3525
|
readonly useSingleBorderforContiguousCells?: boolean;
|
|
3472
3526
|
readonly wordPerfectJustification?: boolean;
|
|
@@ -3539,22 +3593,22 @@ interface ICompatibilityOptions {
|
|
|
3539
3593
|
}
|
|
3540
3594
|
//#endregion
|
|
3541
3595
|
//#region src/file/settings/settings.d.ts
|
|
3542
|
-
interface
|
|
3596
|
+
interface SettingsOptions {
|
|
3543
3597
|
readonly compatibilityModeVersion?: number;
|
|
3544
3598
|
readonly evenAndOddHeaders?: boolean;
|
|
3545
3599
|
readonly trackRevisions?: boolean;
|
|
3546
3600
|
readonly updateFields?: boolean;
|
|
3547
|
-
readonly compatibility?:
|
|
3601
|
+
readonly compatibility?: CompatibilityOptions;
|
|
3548
3602
|
readonly defaultTabStop?: number;
|
|
3549
|
-
readonly hyphenation?:
|
|
3603
|
+
readonly hyphenation?: HyphenationOptions;
|
|
3550
3604
|
readonly characterSpacingControl?: "compressPunctuation" | "doNotCompress";
|
|
3551
|
-
readonly documentProtection?:
|
|
3605
|
+
readonly documentProtection?: DocumentProtectionOptions;
|
|
3552
3606
|
readonly view?: "none" | "print" | "outline" | "masterPages" | "normal" | "web";
|
|
3553
3607
|
readonly zoom?: {
|
|
3554
3608
|
readonly percent?: number;
|
|
3555
3609
|
readonly val?: "none" | "fullPage" | "bestFit" | "textFit";
|
|
3556
3610
|
};
|
|
3557
|
-
readonly writeProtection?:
|
|
3611
|
+
readonly writeProtection?: WriteProtectionOptions;
|
|
3558
3612
|
readonly displayBackgroundShape?: boolean;
|
|
3559
3613
|
readonly embedTrueTypeFonts?: boolean;
|
|
3560
3614
|
readonly embedSystemFonts?: boolean;
|
|
@@ -3578,7 +3632,7 @@ interface ISettingsOptions {
|
|
|
3578
3632
|
readonly followedHyperlink?: string;
|
|
3579
3633
|
};
|
|
3580
3634
|
}
|
|
3581
|
-
interface
|
|
3635
|
+
interface DocumentProtectionOptions {
|
|
3582
3636
|
readonly edit?: "none" | "readOnly" | "comments" | "trackedChanges" | "forms";
|
|
3583
3637
|
readonly formatting?: boolean;
|
|
3584
3638
|
readonly hashValue?: string;
|
|
@@ -3586,21 +3640,21 @@ interface IDocumentProtectionOptions {
|
|
|
3586
3640
|
readonly spinCount?: number;
|
|
3587
3641
|
readonly algorithmName?: string;
|
|
3588
3642
|
}
|
|
3589
|
-
interface
|
|
3643
|
+
interface WriteProtectionOptions {
|
|
3590
3644
|
readonly hashValue?: string;
|
|
3591
3645
|
readonly saltValue?: string;
|
|
3592
3646
|
readonly spinCount?: number;
|
|
3593
3647
|
readonly algorithmName?: string;
|
|
3594
3648
|
readonly recommended?: boolean;
|
|
3595
3649
|
}
|
|
3596
|
-
interface
|
|
3650
|
+
interface HyphenationOptions {
|
|
3597
3651
|
readonly autoHyphenation?: boolean;
|
|
3598
3652
|
readonly hyphenationZone?: number;
|
|
3599
3653
|
readonly consecutiveHyphenLimit?: number;
|
|
3600
3654
|
readonly doNotHyphenateCaps?: boolean;
|
|
3601
3655
|
}
|
|
3602
3656
|
declare class Settings extends XmlComponent {
|
|
3603
|
-
constructor(options:
|
|
3657
|
+
constructor(options: SettingsOptions);
|
|
3604
3658
|
}
|
|
3605
3659
|
//#endregion
|
|
3606
3660
|
//#region src/file/fonts/font.d.ts
|
|
@@ -3627,28 +3681,28 @@ declare const CharacterSet: {
|
|
|
3627
3681
|
};
|
|
3628
3682
|
//#endregion
|
|
3629
3683
|
//#region src/file/fonts/font-wrapper.d.ts
|
|
3630
|
-
type
|
|
3684
|
+
type EmbeddedFontOptionsWithKey = EmbeddedFontOptions & {
|
|
3631
3685
|
readonly fontKey: string;
|
|
3632
3686
|
};
|
|
3633
|
-
declare class FontWrapper implements
|
|
3634
|
-
readonly options: readonly
|
|
3687
|
+
declare class FontWrapper implements ViewWrapper {
|
|
3688
|
+
readonly options: readonly EmbeddedFontOptions[];
|
|
3635
3689
|
private readonly fontTable;
|
|
3636
3690
|
private readonly relationships;
|
|
3637
|
-
readonly fontOptionsWithKey: readonly
|
|
3638
|
-
constructor(options: readonly
|
|
3691
|
+
readonly fontOptionsWithKey: readonly EmbeddedFontOptionsWithKey[];
|
|
3692
|
+
constructor(options: readonly EmbeddedFontOptions[]);
|
|
3639
3693
|
get View(): XmlComponent;
|
|
3640
3694
|
get Relationships(): Relationships;
|
|
3641
3695
|
}
|
|
3642
3696
|
//#endregion
|
|
3643
3697
|
//#region src/file/fonts/font-table.d.ts
|
|
3644
|
-
interface
|
|
3698
|
+
interface EmbeddedFontOptions {
|
|
3645
3699
|
readonly name: string;
|
|
3646
3700
|
readonly data: Buffer;
|
|
3647
3701
|
readonly characterSet?: (typeof CharacterSet)[keyof typeof CharacterSet];
|
|
3648
3702
|
}
|
|
3649
3703
|
//#endregion
|
|
3650
3704
|
//#region src/file/custom-properties/custom-property.d.ts
|
|
3651
|
-
interface
|
|
3705
|
+
interface CustomPropertyOptions {
|
|
3652
3706
|
readonly name: string;
|
|
3653
3707
|
readonly value: string;
|
|
3654
3708
|
}
|
|
@@ -3657,9 +3711,9 @@ interface ICustomPropertyOptions {
|
|
|
3657
3711
|
declare class CustomProperties extends XmlComponent {
|
|
3658
3712
|
private nextId;
|
|
3659
3713
|
private readonly properties;
|
|
3660
|
-
constructor(properties: readonly
|
|
3661
|
-
prepForXml(context:
|
|
3662
|
-
addCustomProperty(property:
|
|
3714
|
+
constructor(properties: readonly CustomPropertyOptions[]);
|
|
3715
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
3716
|
+
addCustomProperty(property: CustomPropertyOptions): void;
|
|
3663
3717
|
}
|
|
3664
3718
|
//#endregion
|
|
3665
3719
|
//#region src/file/numbering/level.d.ts
|
|
@@ -3733,7 +3787,7 @@ declare const LevelSuffix: {
|
|
|
3733
3787
|
readonly SPACE: "space";
|
|
3734
3788
|
readonly TAB: "tab";
|
|
3735
3789
|
};
|
|
3736
|
-
interface
|
|
3790
|
+
interface LevelsOptions {
|
|
3737
3791
|
readonly level: number;
|
|
3738
3792
|
readonly format?: (typeof LevelFormat)[keyof typeof LevelFormat];
|
|
3739
3793
|
readonly text?: string;
|
|
@@ -3758,37 +3812,37 @@ declare class LevelBase extends XmlComponent {
|
|
|
3758
3812
|
style,
|
|
3759
3813
|
suffix,
|
|
3760
3814
|
isLegalNumberingStyle
|
|
3761
|
-
}:
|
|
3815
|
+
}: LevelsOptions);
|
|
3762
3816
|
}
|
|
3763
3817
|
declare class Level extends LevelBase {}
|
|
3764
3818
|
declare class LevelForOverride extends LevelBase {}
|
|
3765
3819
|
//#endregion
|
|
3766
3820
|
//#region src/file/numbering/num.d.ts
|
|
3767
|
-
interface
|
|
3821
|
+
interface OverrideLevel {
|
|
3768
3822
|
readonly num: number;
|
|
3769
3823
|
readonly start?: number;
|
|
3770
3824
|
}
|
|
3771
|
-
interface
|
|
3825
|
+
interface ConcreteNumberingOptions {
|
|
3772
3826
|
readonly numId: number;
|
|
3773
3827
|
readonly abstractNumId: number;
|
|
3774
3828
|
readonly reference: string;
|
|
3775
3829
|
readonly instance: number;
|
|
3776
|
-
readonly overrideLevels?: readonly
|
|
3830
|
+
readonly overrideLevels?: readonly OverrideLevel[];
|
|
3777
3831
|
}
|
|
3778
3832
|
declare class ConcreteNumbering extends XmlComponent {
|
|
3779
3833
|
readonly numId: number;
|
|
3780
3834
|
readonly reference: string;
|
|
3781
3835
|
readonly instance: number;
|
|
3782
|
-
constructor(options:
|
|
3836
|
+
constructor(options: ConcreteNumberingOptions);
|
|
3783
3837
|
}
|
|
3784
3838
|
declare class LevelOverride extends XmlComponent {
|
|
3785
3839
|
constructor(levelNum: number, start?: number);
|
|
3786
3840
|
}
|
|
3787
3841
|
//#endregion
|
|
3788
3842
|
//#region src/file/numbering/numbering.d.ts
|
|
3789
|
-
interface
|
|
3843
|
+
interface NumberingOptions {
|
|
3790
3844
|
readonly config: readonly {
|
|
3791
|
-
readonly levels: readonly
|
|
3845
|
+
readonly levels: readonly LevelsOptions[];
|
|
3792
3846
|
readonly reference: string;
|
|
3793
3847
|
}[];
|
|
3794
3848
|
}
|
|
@@ -3798,8 +3852,8 @@ declare class Numbering extends XmlComponent {
|
|
|
3798
3852
|
private readonly referenceConfigMap;
|
|
3799
3853
|
private readonly abstractNumUniqueNumericId;
|
|
3800
3854
|
private readonly concreteNumUniqueNumericId;
|
|
3801
|
-
constructor(options:
|
|
3802
|
-
prepForXml(context:
|
|
3855
|
+
constructor(options: NumberingOptions);
|
|
3856
|
+
prepForXml(context: Context): IXmlableObject | undefined;
|
|
3803
3857
|
createConcreteNumberingInstance(reference: string, instance: number): void;
|
|
3804
3858
|
get ConcreteNumbering(): readonly ConcreteNumbering[];
|
|
3805
3859
|
get ReferenceConfig(): readonly Record<string, any>[];
|
|
@@ -3808,7 +3862,7 @@ declare class Numbering extends XmlComponent {
|
|
|
3808
3862
|
//#region src/file/numbering/abstract-numbering.d.ts
|
|
3809
3863
|
declare class AbstractNumbering extends XmlComponent {
|
|
3810
3864
|
readonly id: number;
|
|
3811
|
-
constructor(id: number, levelOptions: readonly
|
|
3865
|
+
constructor(id: number, levelOptions: readonly LevelsOptions[]);
|
|
3812
3866
|
}
|
|
3813
3867
|
//#endregion
|
|
3814
3868
|
//#region src/file/styles/defaults/paragraph-properties.d.ts
|
|
@@ -3822,14 +3876,14 @@ declare class RunPropertiesDefaults extends XmlComponent {
|
|
|
3822
3876
|
}
|
|
3823
3877
|
//#endregion
|
|
3824
3878
|
//#region src/file/styles/defaults/document-defaults.d.ts
|
|
3825
|
-
interface
|
|
3879
|
+
interface DocumentDefaultsOptions {
|
|
3826
3880
|
readonly paragraph?: IParagraphStylePropertiesOptions;
|
|
3827
3881
|
readonly run?: RunStylePropertiesOptions;
|
|
3828
3882
|
}
|
|
3829
3883
|
declare class DocumentDefaults extends XmlComponent {
|
|
3830
3884
|
private readonly runPropertiesDefaults;
|
|
3831
3885
|
private readonly paragraphPropertiesDefaults;
|
|
3832
|
-
constructor(options:
|
|
3886
|
+
constructor(options: DocumentDefaultsOptions);
|
|
3833
3887
|
}
|
|
3834
3888
|
//#endregion
|
|
3835
3889
|
//#region src/file/styles/style/table-style-override.d.ts
|
|
@@ -3858,13 +3912,13 @@ interface TableStyleOverrideOptions {
|
|
|
3858
3912
|
}
|
|
3859
3913
|
//#endregion
|
|
3860
3914
|
//#region src/file/styles/style/style.d.ts
|
|
3861
|
-
interface
|
|
3915
|
+
interface StyleAttributes {
|
|
3862
3916
|
readonly type?: string;
|
|
3863
3917
|
readonly styleId?: string;
|
|
3864
3918
|
readonly default?: boolean;
|
|
3865
3919
|
readonly customStyle?: string;
|
|
3866
3920
|
}
|
|
3867
|
-
interface
|
|
3921
|
+
interface StyleOptions {
|
|
3868
3922
|
readonly name?: string;
|
|
3869
3923
|
readonly basedOn?: string;
|
|
3870
3924
|
readonly next?: string;
|
|
@@ -3876,14 +3930,14 @@ interface IStyleOptions {
|
|
|
3876
3930
|
readonly tableStyleOverrides?: readonly TableStyleOverrideOptions[];
|
|
3877
3931
|
}
|
|
3878
3932
|
declare class Style extends XmlComponent {
|
|
3879
|
-
constructor(attributes:
|
|
3933
|
+
constructor(attributes: StyleAttributes, options: StyleOptions);
|
|
3880
3934
|
}
|
|
3881
3935
|
//#endregion
|
|
3882
3936
|
//#region src/file/styles/style/paragraph-style.d.ts
|
|
3883
3937
|
type IBaseParagraphStyleOptions = {
|
|
3884
3938
|
readonly paragraph?: IParagraphStylePropertiesOptions;
|
|
3885
3939
|
readonly run?: RunStylePropertiesOptions;
|
|
3886
|
-
} &
|
|
3940
|
+
} & StyleOptions;
|
|
3887
3941
|
type IParagraphStyleOptions = {
|
|
3888
3942
|
readonly id: string;
|
|
3889
3943
|
} & IBaseParagraphStyleOptions;
|
|
@@ -3896,7 +3950,7 @@ declare class StyleForParagraph extends Style {
|
|
|
3896
3950
|
//#region src/file/styles/style/character-style.d.ts
|
|
3897
3951
|
type IBaseCharacterStyleOptions = {
|
|
3898
3952
|
readonly run?: RunStylePropertiesOptions;
|
|
3899
|
-
} &
|
|
3953
|
+
} & StyleOptions;
|
|
3900
3954
|
type ICharacterStyleOptions = {
|
|
3901
3955
|
readonly id: string;
|
|
3902
3956
|
} & IBaseCharacterStyleOptions;
|
|
@@ -3906,8 +3960,8 @@ declare class StyleForCharacter extends Style {
|
|
|
3906
3960
|
}
|
|
3907
3961
|
//#endregion
|
|
3908
3962
|
//#region src/file/styles/factory.d.ts
|
|
3909
|
-
interface
|
|
3910
|
-
readonly document?:
|
|
3963
|
+
interface DefaultStylesOptions {
|
|
3964
|
+
readonly document?: DocumentDefaultsOptions;
|
|
3911
3965
|
readonly title?: IBaseParagraphStyleOptions;
|
|
3912
3966
|
readonly heading1?: IBaseParagraphStyleOptions;
|
|
3913
3967
|
readonly heading2?: IBaseParagraphStyleOptions;
|
|
@@ -3927,20 +3981,20 @@ interface IDefaultStylesOptions {
|
|
|
3927
3981
|
}
|
|
3928
3982
|
//#endregion
|
|
3929
3983
|
//#region src/file/styles/styles.d.ts
|
|
3930
|
-
interface
|
|
3931
|
-
readonly default?:
|
|
3984
|
+
interface StylesOptions {
|
|
3985
|
+
readonly default?: DefaultStylesOptions;
|
|
3932
3986
|
readonly initialStyles?: BaseXmlComponent | IXmlableObject;
|
|
3933
3987
|
readonly paragraphStyles?: readonly IParagraphStyleOptions[];
|
|
3934
3988
|
readonly characterStyles?: readonly ICharacterStyleOptions[];
|
|
3935
3989
|
readonly importedStyles?: readonly (XmlComponent | StyleForParagraph | StyleForCharacter | ImportedXmlComponent)[];
|
|
3936
3990
|
}
|
|
3937
3991
|
declare class Styles extends XmlComponent {
|
|
3938
|
-
constructor(options:
|
|
3992
|
+
constructor(options: StylesOptions);
|
|
3939
3993
|
}
|
|
3940
3994
|
//#endregion
|
|
3941
3995
|
//#region src/file/core-properties/properties.d.ts
|
|
3942
|
-
interface
|
|
3943
|
-
readonly sections: readonly
|
|
3996
|
+
interface PropertiesOptions {
|
|
3997
|
+
readonly sections: readonly SectionOptions[];
|
|
3944
3998
|
readonly title?: string;
|
|
3945
3999
|
readonly subject?: string;
|
|
3946
4000
|
readonly creator?: string;
|
|
@@ -3949,36 +4003,36 @@ interface IPropertiesOptions {
|
|
|
3949
4003
|
readonly lastModifiedBy?: string;
|
|
3950
4004
|
readonly revision?: number;
|
|
3951
4005
|
readonly externalStyles?: string;
|
|
3952
|
-
readonly styles?:
|
|
3953
|
-
readonly numbering?:
|
|
3954
|
-
readonly comments?:
|
|
3955
|
-
readonly bibliography?:
|
|
4006
|
+
readonly styles?: StylesOptions;
|
|
4007
|
+
readonly numbering?: NumberingOptions;
|
|
4008
|
+
readonly comments?: CommentsOptions;
|
|
4009
|
+
readonly bibliography?: BibliographyOptions;
|
|
3956
4010
|
readonly footnotes?: Readonly<Record<string, {
|
|
3957
|
-
readonly children: readonly (Paragraph |
|
|
4011
|
+
readonly children: readonly (Paragraph | ParagraphOptions | string)[];
|
|
3958
4012
|
}>>;
|
|
3959
4013
|
readonly endnotes?: Readonly<Record<string, {
|
|
3960
|
-
readonly children: readonly (Paragraph |
|
|
4014
|
+
readonly children: readonly (Paragraph | ParagraphOptions | string)[];
|
|
3961
4015
|
}>>;
|
|
3962
|
-
readonly background?:
|
|
4016
|
+
readonly background?: DocumentBackgroundOptions;
|
|
3963
4017
|
readonly features?: {
|
|
3964
4018
|
readonly trackRevisions?: boolean;
|
|
3965
4019
|
readonly updateFields?: boolean;
|
|
3966
|
-
readonly documentProtection?:
|
|
4020
|
+
readonly documentProtection?: DocumentProtectionOptions;
|
|
3967
4021
|
};
|
|
3968
4022
|
readonly compatabilityModeVersion?: number;
|
|
3969
|
-
readonly compatibility?:
|
|
3970
|
-
readonly customProperties?: readonly
|
|
4023
|
+
readonly compatibility?: CompatibilityOptions;
|
|
4024
|
+
readonly customProperties?: readonly CustomPropertyOptions[];
|
|
3971
4025
|
readonly evenAndOddHeaderAndFooters?: boolean;
|
|
3972
4026
|
readonly defaultTabStop?: number;
|
|
3973
|
-
readonly fonts?: readonly
|
|
3974
|
-
readonly hyphenation?:
|
|
4027
|
+
readonly fonts?: readonly EmbeddedFontOptions[];
|
|
4028
|
+
readonly hyphenation?: HyphenationOptions;
|
|
3975
4029
|
readonly characterSpacingControl?: "compressPunctuation" | "doNotCompress";
|
|
3976
4030
|
readonly view?: "none" | "print" | "outline" | "masterPages" | "normal" | "web";
|
|
3977
4031
|
readonly zoom?: {
|
|
3978
4032
|
readonly percent?: number;
|
|
3979
4033
|
readonly val?: "none" | "fullPage" | "bestFit" | "textFit";
|
|
3980
4034
|
};
|
|
3981
|
-
readonly writeProtection?:
|
|
4035
|
+
readonly writeProtection?: WriteProtectionOptions;
|
|
3982
4036
|
readonly displayBackgroundShape?: boolean;
|
|
3983
4037
|
readonly embedTrueTypeFonts?: boolean;
|
|
3984
4038
|
readonly embedSystemFonts?: boolean;
|
|
@@ -3987,14 +4041,14 @@ interface IPropertiesOptions {
|
|
|
3987
4041
|
readonly name: string;
|
|
3988
4042
|
readonly val: string;
|
|
3989
4043
|
}[];
|
|
3990
|
-
readonly colorSchemeMapping?:
|
|
4044
|
+
readonly colorSchemeMapping?: SettingsOptions["colorSchemeMapping"];
|
|
3991
4045
|
}
|
|
3992
4046
|
declare class CoreProperties extends XmlComponent {
|
|
3993
|
-
constructor(options: Omit<
|
|
4047
|
+
constructor(options: Omit<PropertiesOptions, "sections">);
|
|
3994
4048
|
}
|
|
3995
4049
|
//#endregion
|
|
3996
4050
|
//#region src/file/endnotes-wrapper.d.ts
|
|
3997
|
-
declare class EndnotesWrapper implements
|
|
4051
|
+
declare class EndnotesWrapper implements ViewWrapper {
|
|
3998
4052
|
private readonly endnotes;
|
|
3999
4053
|
private readonly relationships;
|
|
4000
4054
|
constructor();
|
|
@@ -4003,7 +4057,7 @@ declare class EndnotesWrapper implements IViewWrapper {
|
|
|
4003
4057
|
}
|
|
4004
4058
|
//#endregion
|
|
4005
4059
|
//#region src/file/footnotes-wrapper.d.ts
|
|
4006
|
-
declare class FootnotesWrapper implements
|
|
4060
|
+
declare class FootnotesWrapper implements ViewWrapper {
|
|
4007
4061
|
private readonly footnotess;
|
|
4008
4062
|
private readonly relationships;
|
|
4009
4063
|
constructor();
|
|
@@ -4012,20 +4066,20 @@ declare class FootnotesWrapper implements IViewWrapper {
|
|
|
4012
4066
|
}
|
|
4013
4067
|
//#endregion
|
|
4014
4068
|
//#region src/file/header.d.ts
|
|
4015
|
-
interface
|
|
4069
|
+
interface HeaderOptions {
|
|
4016
4070
|
readonly children: readonly SectionChild[];
|
|
4017
4071
|
}
|
|
4018
4072
|
declare class Header {
|
|
4019
|
-
readonly options:
|
|
4020
|
-
constructor(options?:
|
|
4073
|
+
readonly options: HeaderOptions;
|
|
4074
|
+
constructor(options?: HeaderOptions);
|
|
4021
4075
|
}
|
|
4022
4076
|
declare class Footer {
|
|
4023
|
-
readonly options:
|
|
4024
|
-
constructor(options?:
|
|
4077
|
+
readonly options: HeaderOptions;
|
|
4078
|
+
constructor(options?: HeaderOptions);
|
|
4025
4079
|
}
|
|
4026
4080
|
//#endregion
|
|
4027
4081
|
//#region src/file/file.d.ts
|
|
4028
|
-
interface
|
|
4082
|
+
interface SectionOptions {
|
|
4029
4083
|
readonly headers?: {
|
|
4030
4084
|
readonly default?: Header | readonly SectionChild[];
|
|
4031
4085
|
readonly first?: Header | readonly SectionChild[];
|
|
@@ -4062,7 +4116,7 @@ declare class File {
|
|
|
4062
4116
|
private readonly comments;
|
|
4063
4117
|
private readonly bibliography;
|
|
4064
4118
|
private readonly fontWrapper;
|
|
4065
|
-
constructor(options:
|
|
4119
|
+
constructor(options: PropertiesOptions);
|
|
4066
4120
|
private addSection;
|
|
4067
4121
|
private createHeader;
|
|
4068
4122
|
private createFooter;
|
|
@@ -4093,9 +4147,9 @@ declare class File {
|
|
|
4093
4147
|
}
|
|
4094
4148
|
//#endregion
|
|
4095
4149
|
//#region src/file/xml-components/base.d.ts
|
|
4096
|
-
interface
|
|
4150
|
+
interface Context extends Context$1<File> {
|
|
4097
4151
|
readonly file: File;
|
|
4098
|
-
readonly viewWrapper:
|
|
4152
|
+
readonly viewWrapper: ViewWrapper;
|
|
4099
4153
|
}
|
|
4100
4154
|
//#endregion
|
|
4101
4155
|
//#region src/file/xml-components/attributes.d.ts
|
|
@@ -4154,6 +4208,9 @@ declare class Attributes extends XmlAttributeComponent$1<{
|
|
|
4154
4208
|
//#region src/file/xml-components/simple-elements.d.ts
|
|
4155
4209
|
declare const createStringElement: (name: string, value: string) => XmlComponent$1;
|
|
4156
4210
|
//#endregion
|
|
4211
|
+
//#region src/file/xml-components/index.d.ts
|
|
4212
|
+
type BuilderChild = BaseXmlComponent | IXmlableObject | string;
|
|
4213
|
+
//#endregion
|
|
4157
4214
|
//#region src/file/paragraph/formatting/alignment.d.ts
|
|
4158
4215
|
declare const AlignmentType: {
|
|
4159
4216
|
readonly START: "start";
|
|
@@ -4173,6 +4230,7 @@ declare const AlignmentType: {
|
|
|
4173
4230
|
declare const createAlignment: (type: (typeof AlignmentType)[keyof typeof AlignmentType]) => XmlComponent;
|
|
4174
4231
|
//#endregion
|
|
4175
4232
|
//#region src/file/paragraph/formatting/unordered-list.d.ts
|
|
4233
|
+
declare function buildNumberProperties(numberId: number | string, indentLevel: number): IXmlableObject;
|
|
4176
4234
|
declare class NumberProperties extends XmlComponent {
|
|
4177
4235
|
constructor(numberId: number | string, indentLevel: number);
|
|
4178
4236
|
}
|
|
@@ -4187,7 +4245,7 @@ declare const SpaceType: {
|
|
|
4187
4245
|
};
|
|
4188
4246
|
//#endregion
|
|
4189
4247
|
//#region src/file/textbox/textbox.d.ts
|
|
4190
|
-
type ITextboxOptions = Omit<
|
|
4248
|
+
type ITextboxOptions = Omit<ParagraphOptions, "style" | "children"> & {
|
|
4191
4249
|
readonly style?: VmlShapeStyle;
|
|
4192
4250
|
readonly children?: readonly FileChild[];
|
|
4193
4251
|
};
|
|
@@ -4200,23 +4258,14 @@ declare class Textbox extends XmlComponent implements FileChild {
|
|
|
4200
4258
|
}: ITextboxOptions);
|
|
4201
4259
|
}
|
|
4202
4260
|
declare namespace index_d_exports$3 {
|
|
4203
|
-
export { COLOR_CATEGORIES, DEFAULT_DRAWING_XML,
|
|
4261
|
+
export { COLOR_CATEGORIES, DEFAULT_DRAWING_XML, LAYOUT_CATEGORIES, STYLE_CATEGORIES, SmartArtCollection, SmartArtData, TreeNode, createDataModel, getColorXml, getLayoutXml, getStyleXml };
|
|
4204
4262
|
}
|
|
4205
4263
|
declare namespace index_d_exports$2 {
|
|
4206
|
-
export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, Document, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, File, FileChild, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartChild, IChartData, IChartOptions, IChartSeriesData, IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageChild, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathChild, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphJsonChild, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPermStartOptions, IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtChild, ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITextboxOptions, ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJson, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OverlapType, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionChild, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, buildDocumentAttributes, buildRunProperties, chartAttr, coerceMathJson, coerceSectionChild, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, getColorXml, getLayoutXml, getStyleXml, parseMathChildren, sectionMarginDefaults, sectionPageSizeDefaults, wrapEl };
|
|
4264
|
+
export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AltChunkData, AltChunkOptions, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BackgroundImageOptions, BaseXmlComponent, Bdo, Bibliography, BibliographyOptions, Body, BodyPropertiesOptions, Bookmark, BookmarkEnd, BookmarkOptions, BookmarkStart, Border, BorderOptions, BorderStyle, BordersOptions, BuilderChild, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CharacterSet, ChartChild, ChartCollection, ChartData, ChartMediaData, ChartOptions, ChartRun, ChartSeriesData, ChartSpace, ChartSpaceOptions, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CheckboxSymbolOptions, CheckboxSymbolProperties, CnfConditionalOptions, CnfStyleOptions, Column, ColumnAttributes, ColumnBreak, ColumnsAttributes, Comment, CommentOptions, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, CommentsOptions, ConcreteHyperlink, ConcreteNumbering, ConcreteNumberingOptions, Context, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, DirOptions, Distance, DocGridAttributesProperties, Document, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundOptions, DocumentDefaults, DocumentDefaultsOptions, DocumentFooter, DocumentGridType, DocumentHeader, DocumentOptions, Drawing, DrawingOptions, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, Endnotes, ExternalHyperlink, ExternalHyperlinkOptions, File, FileChild, FlatTextOptions, Floating, FontAttributesProperties, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterGroup, HeaderFooterReferenceOptions, HeaderFooterReferenceType, HeaderFooterType, HeaderOptions, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionOptions, HorizontalPositionRelativeFrom, HyperlinkType, IAlignmentFrameOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, ICellMergeAttributes, ICharacterStyleOptions, IExtendedMediaData, IFrameOptions, IGroupChildMediaData, IImageOptions, IMediaData, IParagraphJsonChild, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IRunPropertiesChangeOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISymbolRunOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITextboxOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageChild, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, IndentAttributesProperties, InitializableXmlComponent, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, InternalHyperlinkOptions, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LevelsOptions, LineNumberAttributes, LineNumberRestartFormat, LineRuleType, Margins, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxOptions, MathBorderBoxPropertiesOptions, MathBox, MathBoxOptions, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathChild, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrOptions, MathEqArrPropertiesOptions, MathFraction, MathFractionOptions, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionOptions, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrOptions, MathGroupChrPropertiesOptions, MathIntegral, MathIntegralOptions, MathJson, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitLowerOptions, MathLimitUpper, MathLimitUpperOptions, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixOptions, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathOptions, MathParagraph, MathParagraphOptions, MathPhant, MathPhantOptions, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPreSubSuperScriptOptions, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalOptions, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubScriptOptions, MathSubSuperScript, MathSubSuperScriptOptions, MathSubSuperScriptPropertiesOptions, MathSum, MathSumOptions, MathSuperScript, MathSuperScriptOptions, Media, MediaDataTransformation, MediaTransformation, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberedItemReference, NumberedItemReferenceFormat, NumberedItemReferenceOptions, Numbering, NumberingOptions, OverlapType, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBordersOptions, PageBreak, PageBreakBefore, PageMarginAttributes, PageNumber, PageNumberElement, PageNumberSeparator, PageNumberTypeAttributes, PageOrientation, PageReference, PageReferenceOptions, PageSizeAttributes, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphOptions, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphPropertiesOptions, ParagraphPropertiesResult, ParagraphRunProperties, PermEnd, PermStart, PermStartOptions, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, PropertiesOptions, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunOptions, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunPropertiesOptions, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtBlockOptions, SdtCellOptions, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtRowOptions, SdtRunOptions, SdtTextOptions, SectionChild, SectionOptions, SectionProperties, SectionPropertiesChange, SectionPropertiesOptionsBase, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingAttributesProperties, ShadingType, SimpleField, SimpleMailMergeField, SmartArtChild, SmartArtCollection, SmartArtData, SmartArtMediaData, SmartArtNode, SmartArtOptions, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, SpacingProperties, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, StylesOptions, SubDoc, SubDocCollection, SubDocData, SubDocOptions, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableBordersOptions, TableCell, TableCellBorders, TableCellBordersOptions, TableCellOptions, TableFloatOptions, TableLayoutType, TableLookOptions, TableOfContents, TableOfContentsOptions, TableOptions, TableProperties, TablePropertiesOptionsBase, TablePropertyExOptions, TablePropertyExceptions, TableRow, TableRowOptions, TableRowProperties, TableRowPropertiesChange, TableRowPropertiesOptionsBase, TableVerticalAlign, TableWidthProperties, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrapping, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, TreeNode, UnderlineType, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionOptions, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, attrObj, buildBorderObj, buildCellMergeObj, buildCnfStyleObj, buildDeletedTableCellObj, buildDeletedTableRowObj, buildDivIdObj, buildDocumentAttributes, buildEmphasisMarkObj, buildFramePropertiesObj, buildGridSpan, buildIndentObj, buildInsertedTableCellObj, buildInsertedTableRowObj, buildNumberProperties, buildOutlineLevelObj, buildParagraphBorders, buildParagraphProperties, buildRunFontsObj, buildRunProperties, buildShadingObj, buildSpacingObj, buildTabStopObj, buildTableBorders, buildTableCellBorders, buildTableFloatPropertiesObj, buildTableProperties, buildTableRowProperties, buildTableRowPropertiesChangeObj, buildTableWidthObj, buildTextDirection, buildThematicBreakObj, buildUnderlineObj, buildVerticalMerge, chartAttr, coerceMathJson, coerceSectionChild, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, getColorXml, getLayoutXml, getStyleXml, hpsMeasureObj, numberValObj, onOffObj, parseMathChildren, sectionMarginDefaults, sectionPageSizeDefaults, stringContainerObj, stringEnumValObj, stringValObj, wrapEl };
|
|
4207
4265
|
}
|
|
4208
4266
|
//#endregion
|
|
4209
4267
|
//#region src/export/packer/packer.d.ts
|
|
4210
|
-
declare
|
|
4211
|
-
static pack<T extends OutputType$1>(file: File, type: T, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<OutputByType$1[T]>;
|
|
4212
|
-
static toString(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<string>;
|
|
4213
|
-
static toBuffer(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<Buffer>;
|
|
4214
|
-
static toBase64String(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<string>;
|
|
4215
|
-
static toBlob(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<Blob>;
|
|
4216
|
-
static toArrayBuffer(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<ArrayBuffer>;
|
|
4217
|
-
static toStream(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Readable;
|
|
4218
|
-
private static readonly compiler;
|
|
4219
|
-
}
|
|
4268
|
+
declare const Packer: _$_office_open_core0.Packer<File>;
|
|
4220
4269
|
//#endregion
|
|
4221
4270
|
//#region src/util/convenience-functions.d.ts
|
|
4222
4271
|
declare const abstractNumUniqueNumericIdGen: () => (() => number);
|
|
@@ -4297,11 +4346,11 @@ interface DocxDocument {
|
|
|
4297
4346
|
appProps?: string;
|
|
4298
4347
|
customProps?: string;
|
|
4299
4348
|
}
|
|
4300
|
-
declare function parseDocument(data: Uint8Array):
|
|
4349
|
+
declare function parseDocument(data: Uint8Array): PropertiesOptions;
|
|
4301
4350
|
declare function parseDocx(data: Uint8Array): DocxDocument;
|
|
4302
4351
|
declare namespace index_d_exports {
|
|
4303
|
-
export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, File as Document, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, DocxDocument, DocxPartRefs, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, File, FileChild, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartChild, IChartData, IChartOptions, IChartSeriesData, IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageChild, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathChild, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphJsonChild, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, IPermStartOptions, IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtChild, ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITextboxOptions, ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJson, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OutputByType, OutputType, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PatchDocumentOptions, PatchDocumentOutputType, PatchType, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, PrettifyType, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionChild, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, UniqueNumericIdCreator, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, buildDocumentAttributes, buildRunProperties, chartAttr, coerceMathJson, coerceSectionChild, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, docPropertiesUniqueNumericIdGen, getColorXml, getLayoutXml, getStyleXml, hashedId, parseArchive, parseDocument, parseDocx, parseMathChildren, patchDetector, patchDocument, sectionMarginDefaults, sectionPageSizeDefaults, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl };
|
|
4352
|
+
export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AltChunkData, AltChunkOptions, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BackgroundImageOptions, BaseXmlComponent, Bdo, Bibliography, BibliographyOptions, Body, BodyPropertiesOptions, Bookmark, BookmarkEnd, BookmarkOptions, BookmarkStart, Border, BorderOptions, BorderStyle, BordersOptions, BuilderChild, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CharacterSet, ChartChild, ChartCollection, ChartData, ChartMediaData, ChartOptions, ChartRun, ChartSeriesData, ChartSpace, ChartSpaceOptions, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CheckboxSymbolOptions, CheckboxSymbolProperties, CnfConditionalOptions, CnfStyleOptions, Column, ColumnAttributes, ColumnBreak, ColumnsAttributes, Comment, CommentOptions, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, CommentsOptions, ConcreteHyperlink, ConcreteNumbering, ConcreteNumberingOptions, Context, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, DirOptions, Distance, DocGridAttributesProperties, File as Document, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundOptions, DocumentDefaults, DocumentDefaultsOptions, DocumentFooter, DocumentGridType, DocumentHeader, DocumentOptions, DocxDocument, DocxPartRefs, Drawing, DrawingOptions, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, Endnotes, ExternalHyperlink, ExternalHyperlinkOptions, File, FileChild, FlatTextOptions, Floating, FontAttributesProperties, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterGroup, HeaderFooterReferenceOptions, HeaderFooterReferenceType, HeaderFooterType, HeaderOptions, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionOptions, HorizontalPositionRelativeFrom, HyperlinkType, IAlignmentFrameOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, ICellMergeAttributes, ICharacterStyleOptions, IExtendedMediaData, IFrameOptions, IGroupChildMediaData, IImageOptions, IMediaData, IParagraphJsonChild, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, IRunPropertiesChangeOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISymbolRunOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITextboxOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageChild, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, IndentAttributesProperties, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, InternalHyperlinkOptions, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LevelsOptions, LineNumberAttributes, LineNumberRestartFormat, LineRuleType, Margins, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxOptions, MathBorderBoxPropertiesOptions, MathBox, MathBoxOptions, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathChild, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrOptions, MathEqArrPropertiesOptions, MathFraction, MathFractionOptions, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionOptions, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrOptions, MathGroupChrPropertiesOptions, MathIntegral, MathIntegralOptions, MathJson, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitLowerOptions, MathLimitUpper, MathLimitUpperOptions, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixOptions, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathOptions, MathParagraph, MathParagraphOptions, MathPhant, MathPhantOptions, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPreSubSuperScriptOptions, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalOptions, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubScriptOptions, MathSubSuperScript, MathSubSuperScriptOptions, MathSubSuperScriptPropertiesOptions, MathSum, MathSumOptions, MathSuperScript, MathSuperScriptOptions, Media, MediaDataTransformation, MediaTransformation, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberedItemReference, NumberedItemReferenceFormat, NumberedItemReferenceOptions, Numbering, NumberingOptions, OutputByType, OutputType, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBordersOptions, PageBreak, PageBreakBefore, PageMarginAttributes, PageNumber, PageNumberElement, PageNumberSeparator, PageNumberTypeAttributes, PageOrientation, PageReference, PageReferenceOptions, PageSizeAttributes, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphOptions, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphPropertiesOptions, ParagraphPropertiesResult, ParagraphRunProperties, PatchDocumentOptions, PatchDocumentOutputType, PatchType, PermEnd, PermStart, PermStartOptions, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, PrettifyType, PropertiesOptions, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunOptions, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunPropertiesOptions, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtBlockOptions, SdtCellOptions, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtRowOptions, SdtRunOptions, SdtTextOptions, SectionChild, SectionOptions, SectionProperties, SectionPropertiesChange, SectionPropertiesOptionsBase, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingAttributesProperties, ShadingType, SimpleField, SimpleMailMergeField, SmartArtChild, SmartArtCollection, SmartArtData, SmartArtMediaData, SmartArtNode, SmartArtOptions, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, SpacingProperties, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, StylesOptions, SubDoc, SubDocCollection, SubDocData, SubDocOptions, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableBordersOptions, TableCell, TableCellBorders, TableCellBordersOptions, TableCellOptions, TableFloatOptions, TableLayoutType, TableLookOptions, TableOfContents, TableOfContentsOptions, TableOptions, TableProperties, TablePropertiesOptionsBase, TablePropertyExOptions, TablePropertyExceptions, TableRow, TableRowOptions, TableRowProperties, TableRowPropertiesChange, TableRowPropertiesOptionsBase, TableVerticalAlign, TableWidthProperties, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrapping, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, TreeNode, UnderlineType, UniqueNumericIdCreator, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionOptions, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, attrObj, bookmarkUniqueNumericIdGen, buildBorderObj, buildCellMergeObj, buildCnfStyleObj, buildDeletedTableCellObj, buildDeletedTableRowObj, buildDivIdObj, buildDocumentAttributes, buildEmphasisMarkObj, buildFramePropertiesObj, buildGridSpan, buildIndentObj, buildInsertedTableCellObj, buildInsertedTableRowObj, buildNumberProperties, buildOutlineLevelObj, buildParagraphBorders, buildParagraphProperties, buildRunFontsObj, buildRunProperties, buildShadingObj, buildSpacingObj, buildTabStopObj, buildTableBorders, buildTableCellBorders, buildTableFloatPropertiesObj, buildTableProperties, buildTableRowProperties, buildTableRowPropertiesChangeObj, buildTableWidthObj, buildTextDirection, buildThematicBreakObj, buildUnderlineObj, buildVerticalMerge, chartAttr, coerceMathJson, coerceSectionChild, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, docPropertiesUniqueNumericIdGen, getColorXml, getLayoutXml, getStyleXml, hashedId, hpsMeasureObj, numberValObj, onOffObj, parseArchive, parseDocument, parseDocx, parseMathChildren, patchDetector, patchDocument, sectionMarginDefaults, sectionPageSizeDefaults, stringContainerObj, stringEnumValObj, stringValObj, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl };
|
|
4304
4353
|
}
|
|
4305
4354
|
//#endregion
|
|
4306
|
-
export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, type AttributeData, type AttributeMap, type AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, DocxDocument, DocxPartRefs, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, FileChild, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartChild, type IChartData, IChartOptions, type IChartSeriesData, type IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, type IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageChild, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathChild, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphJsonChild, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, IPermStartOptions, type IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtChild, type ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITextboxOptions, type ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, type IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJson, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, type OutputByType, type OutputType, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PatchDocumentOptions, PatchDocumentOutputType, PatchType, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, PrettifyType, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionChild, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, type UniqueNumericIdCreator, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, buildDocumentAttributes, buildRunProperties, chartAttr, coerceMathJson, coerceSectionChild, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, docPropertiesUniqueNumericIdGen, getColorXml, getLayoutXml, getStyleXml, hashedId, parseArchive, parseDocument, parseDocx, parseMathChildren, patchDetector, patchDocument, sectionMarginDefaults, sectionPageSizeDefaults, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl };
|
|
4355
|
+
export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AltChunkData, AltChunkOptions, AnnotationReference, type AttributeData, type AttributeMap, type AttributePayload, Attributes, BackgroundImageOptions, BaseXmlComponent, Bdo, Bibliography, BibliographyOptions, Body, BodyPropertiesOptions, Bookmark, BookmarkEnd, BookmarkOptions, BookmarkStart, Border, BorderOptions, BorderStyle, BordersOptions, BuilderChild, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CharacterSet, ChartChild, ChartCollection, type ChartData, ChartMediaData, ChartOptions, ChartRun, type ChartSeriesData, ChartSpace, type ChartSpaceOptions, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CheckboxSymbolOptions, CheckboxSymbolProperties, CnfConditionalOptions, CnfStyleOptions, Column, ColumnAttributes, ColumnBreak, ColumnsAttributes, Comment, CommentOptions, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, CommentsOptions, ConcreteHyperlink, ConcreteNumbering, ConcreteNumberingOptions, type Context, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, DirOptions, Distance, DocGridAttributesProperties, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundOptions, DocumentDefaults, DocumentDefaultsOptions, DocumentFooter, DocumentGridType, DocumentHeader, DocumentOptions, DocxDocument, DocxPartRefs, Drawing, DrawingOptions, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, Endnotes, ExternalHyperlink, ExternalHyperlinkOptions, FileChild, FlatTextOptions, Floating, FontAttributesProperties, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterGroup, HeaderFooterReferenceOptions, HeaderFooterReferenceType, HeaderFooterType, HeaderOptions, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionOptions, HorizontalPositionRelativeFrom, HyperlinkType, IAlignmentFrameOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, ICellMergeAttributes, ICharacterStyleOptions, IExtendedMediaData, IFrameOptions, IGroupChildMediaData, IImageOptions, IMediaData, IParagraphJsonChild, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, IRunPropertiesChangeOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISymbolRunOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITextboxOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, type IXmlableObject, IgnoreIfEmptyXmlComponent, ImageChild, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, IndentAttributesProperties, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, InternalHyperlinkOptions, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LevelsOptions, LineNumberAttributes, LineNumberRestartFormat, LineRuleType, Margins, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxOptions, MathBorderBoxPropertiesOptions, MathBox, MathBoxOptions, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathChild, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrOptions, MathEqArrPropertiesOptions, MathFraction, MathFractionOptions, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionOptions, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrOptions, MathGroupChrPropertiesOptions, MathIntegral, MathIntegralOptions, MathJson, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitLowerOptions, MathLimitUpper, MathLimitUpperOptions, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixOptions, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathOptions, MathParagraph, MathParagraphOptions, MathPhant, MathPhantOptions, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPreSubSuperScriptOptions, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalOptions, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubScriptOptions, MathSubSuperScript, MathSubSuperScriptOptions, MathSubSuperScriptPropertiesOptions, MathSum, MathSumOptions, MathSuperScript, MathSuperScriptOptions, Media, MediaDataTransformation, MediaTransformation, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberedItemReference, NumberedItemReferenceFormat, NumberedItemReferenceOptions, Numbering, NumberingOptions, type OutputByType, type OutputType, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBordersOptions, PageBreak, PageBreakBefore, PageMarginAttributes, PageNumber, PageNumberElement, PageNumberSeparator, PageNumberTypeAttributes, PageOrientation, PageReference, PageReferenceOptions, PageSizeAttributes, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphOptions, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphPropertiesOptions, ParagraphPropertiesResult, ParagraphRunProperties, PatchDocumentOptions, PatchDocumentOutputType, PatchType, PermEnd, PermStart, PermStartOptions, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, PrettifyType, type PropertiesOptions, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunOptions, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunPropertiesOptions, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtBlockOptions, SdtCellOptions, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtRowOptions, SdtRunOptions, SdtTextOptions, SectionChild, SectionOptions, SectionProperties, SectionPropertiesChange, SectionPropertiesOptionsBase, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingAttributesProperties, ShadingType, SimpleField, SimpleMailMergeField, SmartArtChild, SmartArtCollection, type SmartArtData, SmartArtMediaData, SmartArtNode, SmartArtOptions, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, SpacingProperties, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, StylesOptions, SubDoc, SubDocCollection, SubDocData, SubDocOptions, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableBordersOptions, TableCell, TableCellBorders, TableCellBordersOptions, TableCellOptions, TableFloatOptions, TableLayoutType, TableLookOptions, TableOfContents, TableOfContentsOptions, TableOptions, TableProperties, TablePropertiesOptionsBase, TablePropertyExOptions, TablePropertyExceptions, TableRow, TableRowOptions, TableRowProperties, TableRowPropertiesChange, TableRowPropertiesOptionsBase, TableVerticalAlign, TableWidthProperties, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrapping, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, type TreeNode, UnderlineType, type UniqueNumericIdCreator, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionOptions, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, attrObj, bookmarkUniqueNumericIdGen, buildBorderObj, buildCellMergeObj, buildCnfStyleObj, buildDeletedTableCellObj, buildDeletedTableRowObj, buildDivIdObj, buildDocumentAttributes, buildEmphasisMarkObj, buildFramePropertiesObj, buildGridSpan, buildIndentObj, buildInsertedTableCellObj, buildInsertedTableRowObj, buildNumberProperties, buildOutlineLevelObj, buildParagraphBorders, buildParagraphProperties, buildRunFontsObj, buildRunProperties, buildShadingObj, buildSpacingObj, buildTabStopObj, buildTableBorders, buildTableCellBorders, buildTableFloatPropertiesObj, buildTableProperties, buildTableRowProperties, buildTableRowPropertiesChangeObj, buildTableWidthObj, buildTextDirection, buildThematicBreakObj, buildUnderlineObj, buildVerticalMerge, chartAttr, coerceMathJson, coerceSectionChild, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, docPropertiesUniqueNumericIdGen, getColorXml, getLayoutXml, getStyleXml, hashedId, hpsMeasureObj, numberValObj, onOffObj, parseArchive, parseDocument, parseDocx, parseMathChildren, patchDetector, patchDocument, sectionMarginDefaults, sectionPageSizeDefaults, stringContainerObj, stringEnumValObj, stringValObj, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl };
|
|
4307
4356
|
//# sourceMappingURL=index.d.mts.map
|