docx-plus 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -327,6 +327,10 @@ interface ITablePropertiesOptionsBase {
327
327
  readonly visuallyRightToLeft?: boolean;
328
328
  readonly tableLook?: ITableLookOptions;
329
329
  readonly cellSpacing?: ITableCellSpacingProperties;
330
+ readonly styleRowBandSize?: number;
331
+ readonly styleColBandSize?: number;
332
+ readonly caption?: string;
333
+ readonly description?: string;
330
334
  }
331
335
  type ITablePropertiesChangeOptions = ITablePropertiesOptions & IChangedAttributesProperties;
332
336
  type ITablePropertiesOptions = {
@@ -758,6 +762,14 @@ interface RgbColorOptions {
758
762
  readonly transforms?: ColorTransformOptions;
759
763
  }
760
764
  //#endregion
765
+ //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/sc-rgb-color.d.ts
766
+ interface ScRgbColorOptions {
767
+ readonly r: string;
768
+ readonly g: string;
769
+ readonly b: string;
770
+ readonly transforms?: ColorTransformOptions;
771
+ }
772
+ //#endregion
761
773
  //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/scheme-color.d.ts
762
774
  interface SchemeColorOptions {
763
775
  readonly value: (typeof SchemeColor)[keyof typeof SchemeColor];
@@ -823,7 +835,109 @@ interface SystemColorOptions {
823
835
  }
824
836
  //#endregion
825
837
  //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.d.ts
826
- type SolidFillOptions = RgbColorOptions | SchemeColorOptions | HslColorOptions | SystemColorOptions | PresetColorOptions;
838
+ type SolidFillOptions = ScRgbColorOptions | RgbColorOptions | SchemeColorOptions | HslColorOptions | SystemColorOptions | PresetColorOptions;
839
+ //#endregion
840
+ //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/fill/gradient-fill.d.ts
841
+ interface IGradientStop {
842
+ readonly position: number;
843
+ readonly color: SolidFillOptions;
844
+ }
845
+ declare const PathShadeType: {
846
+ readonly SHAPE: "shape";
847
+ readonly CIRCLE: "circle";
848
+ readonly RECT: "rect";
849
+ };
850
+ declare const TileFlipMode$1: {
851
+ readonly NONE: "none";
852
+ readonly X: "x";
853
+ readonly Y: "y";
854
+ readonly XY: "xy";
855
+ };
856
+ interface LinearShadeOptions {
857
+ readonly angle?: number;
858
+ readonly scaled?: boolean;
859
+ }
860
+ interface RelativeRect {
861
+ readonly left?: string;
862
+ readonly top?: string;
863
+ readonly right?: string;
864
+ readonly bottom?: string;
865
+ }
866
+ interface PathShadeOptions {
867
+ readonly path?: keyof typeof PathShadeType;
868
+ readonly fillToRect?: RelativeRect;
869
+ }
870
+ type GradientShadeOptions = LinearShadeOptions | PathShadeOptions;
871
+ interface GradientFillOptions {
872
+ readonly stops: readonly IGradientStop[];
873
+ readonly shade?: GradientShadeOptions;
874
+ readonly flip?: keyof typeof TileFlipMode$1;
875
+ readonly tileRect?: RelativeRect;
876
+ readonly rotateWithShape?: boolean;
877
+ }
878
+ //#endregion
879
+ //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/fill/pattern-fill.d.ts
880
+ declare const PresetPattern: {
881
+ readonly PCT5: "pct5";
882
+ readonly PCT10: "pct10";
883
+ readonly PCT20: "pct20";
884
+ readonly PCT25: "pct25";
885
+ readonly PCT30: "pct30";
886
+ readonly PCT40: "pct40";
887
+ readonly PCT50: "pct50";
888
+ readonly PCT60: "pct60";
889
+ readonly PCT70: "pct70";
890
+ readonly PCT75: "pct75";
891
+ readonly PCT80: "pct80";
892
+ readonly PCT90: "pct90";
893
+ readonly HORZ: "horz";
894
+ readonly VERT: "vert";
895
+ readonly LT_HORZ: "ltHorz";
896
+ readonly LT_VERT: "ltVert";
897
+ readonly DK_HORZ: "dkHorz";
898
+ readonly DK_VERT: "dkVert";
899
+ readonly NAR_HORZ: "narHorz";
900
+ readonly NAR_VERT: "narVert";
901
+ readonly DASH_HORZ: "dashHorz";
902
+ readonly DASH_VERT: "dashVert";
903
+ readonly CROSS: "cross";
904
+ readonly DN_DIAG: "dnDiag";
905
+ readonly UP_DIAG: "upDiag";
906
+ readonly LT_DN_DIAG: "ltDnDiag";
907
+ readonly LT_UP_DIAG: "ltUpDiag";
908
+ readonly DK_DN_DIAG: "dkDnDiag";
909
+ readonly DK_UP_DIAG: "dkUpDiag";
910
+ readonly WD_DN_DIAG: "wdDnDiag";
911
+ readonly WD_UP_DIAG: "wdUpDiag";
912
+ readonly DASH_DN_DIAG: "dashDnDiag";
913
+ readonly DASH_UP_DIAG: "dashUpDiag";
914
+ readonly DIAG_CROSS: "diagCross";
915
+ readonly SM_CHECK: "smCheck";
916
+ readonly LG_CHECK: "lgCheck";
917
+ readonly SM_GRID: "smGrid";
918
+ readonly LG_GRID: "lgGrid";
919
+ readonly DOT_GRID: "dotGrid";
920
+ readonly SM_CONFETTI: "smConfetti";
921
+ readonly LG_CONFETTI: "lgConfetti";
922
+ readonly HORZ_BRICK: "horzBrick";
923
+ readonly DIAG_BRICK: "diagBrick";
924
+ readonly SOLID_DMND: "solidDmnd";
925
+ readonly OPEN_DMND: "openDmnd";
926
+ readonly DOT_DMND: "dotDmnd";
927
+ readonly PLAID: "plaid";
928
+ readonly SPHERE: "sphere";
929
+ readonly WEAVE: "weave";
930
+ readonly DIVOT: "divot";
931
+ readonly SHINGLE: "shingle";
932
+ readonly WAVE: "wave";
933
+ readonly TRELLIS: "trellis";
934
+ readonly ZIG_ZAG: "zigZag";
935
+ };
936
+ interface PatternFillOptions {
937
+ readonly pattern: (typeof PresetPattern)[keyof typeof PresetPattern];
938
+ readonly foregroundColor?: SolidFillOptions;
939
+ readonly backgroundColor?: SolidFillOptions;
940
+ }
827
941
  //#endregion
828
942
  //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/fill-overlay.d.ts
829
943
  declare const BlendMode: {
@@ -835,7 +949,11 @@ declare const BlendMode: {
835
949
  };
836
950
  interface FillOverlayEffectOptions {
837
951
  readonly blend: (typeof BlendMode)[keyof typeof BlendMode];
838
- readonly color: SolidFillOptions;
952
+ readonly solidFill?: SolidFillOptions;
953
+ readonly gradientFill?: GradientFillOptions;
954
+ readonly patternFill?: PatternFillOptions;
955
+ readonly groupFill?: boolean;
956
+ readonly noFill?: boolean;
839
957
  }
840
958
  //#endregion
841
959
  //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/glow.d.ts
@@ -941,6 +1059,37 @@ interface EffectListOptions {
941
1059
  readonly softEdge?: number;
942
1060
  }
943
1061
  //#endregion
1062
+ //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/custom-dash.d.ts
1063
+ interface DashStop {
1064
+ readonly d: string;
1065
+ readonly sp: string;
1066
+ }
1067
+ //#endregion
1068
+ //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/line-end.d.ts
1069
+ declare const LineEndType: {
1070
+ readonly NONE: "none";
1071
+ readonly TRIANGLE: "triangle";
1072
+ readonly STEALTH: "stealth";
1073
+ readonly DIAMOND: "diamond";
1074
+ readonly OVAL: "oval";
1075
+ readonly ARROW: "arrow";
1076
+ };
1077
+ declare const LineEndWidth: {
1078
+ readonly SMALL: "sm";
1079
+ readonly MEDIUM: "med";
1080
+ readonly LARGE: "lg";
1081
+ };
1082
+ declare const LineEndLength: {
1083
+ readonly SMALL: "sm";
1084
+ readonly MEDIUM: "med";
1085
+ readonly LARGE: "lg";
1086
+ };
1087
+ interface LineEndOptions {
1088
+ readonly type: keyof typeof LineEndType;
1089
+ readonly width?: keyof typeof LineEndWidth;
1090
+ readonly length?: keyof typeof LineEndLength;
1091
+ }
1092
+ //#endregion
944
1093
  //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.d.ts
945
1094
  declare const LineCap: {
946
1095
  readonly ROUND: "rnd";
@@ -982,12 +1131,17 @@ interface OutlineAttributes {
982
1131
  readonly compoundLine?: keyof typeof CompoundLine;
983
1132
  readonly align?: keyof typeof PenAlignment;
984
1133
  readonly dash?: keyof typeof PresetDash;
1134
+ readonly customDash?: readonly DashStop[];
985
1135
  readonly join?: keyof typeof LineJoin;
986
1136
  readonly miterLimit?: number;
1137
+ readonly headEnd?: LineEndOptions;
1138
+ readonly tailEnd?: LineEndOptions;
987
1139
  }
988
1140
  interface OutlineFillProperties {
989
- readonly type?: "noFill" | "solidFill";
1141
+ readonly type?: "noFill" | "solidFill" | "gradFill" | "pattFill";
990
1142
  readonly color?: SolidFillOptions;
1143
+ readonly gradientFill?: GradientFillOptions;
1144
+ readonly patternFill?: PatternFillOptions;
991
1145
  }
992
1146
  type OutlineOptions = OutlineAttributes & OutlineFillProperties;
993
1147
  //#endregion
@@ -1001,28 +1155,245 @@ interface IChildExtent {
1001
1155
  readonly cy: number;
1002
1156
  }
1003
1157
  //#endregion
1004
- //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/fill/gradient-fill.d.ts
1005
- interface IGradientStop {
1006
- readonly position: number;
1007
- readonly color: SolidFillOptions;
1158
+ //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/adjustment-values/adjustment-values.d.ts
1159
+ interface GeometryGuide {
1160
+ readonly name: string;
1161
+ readonly formula: string;
1008
1162
  }
1009
- declare const PathShadeType: {
1010
- readonly SHAPE: "shape";
1011
- readonly CIRCLE: "circle";
1012
- readonly RECT: "rect";
1163
+ //#endregion
1164
+ //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/custom-geometry/custom-geometry.d.ts
1165
+ declare const PathFillMode: {
1166
+ readonly NONE: "none";
1167
+ readonly NORM: "norm";
1168
+ readonly LIGHTEN: "lighten";
1169
+ readonly LIGHTEN_LESS: "lightenLess";
1170
+ readonly DARKEN: "darken";
1171
+ readonly DARKEN_LESS: "darkenLess";
1013
1172
  };
1014
- interface LinearShadeOptions {
1015
- readonly angle?: number;
1016
- readonly scaled?: boolean;
1173
+ interface AdjPoint {
1174
+ readonly x: string;
1175
+ readonly y: string;
1176
+ }
1177
+ interface PathMoveTo {
1178
+ readonly command: "moveTo";
1179
+ readonly point: AdjPoint;
1180
+ }
1181
+ interface PathLineTo {
1182
+ readonly command: "lineTo";
1183
+ readonly point: AdjPoint;
1184
+ }
1185
+ interface PathArcTo {
1186
+ readonly command: "arcTo";
1187
+ readonly wR: string;
1188
+ readonly hR: string;
1189
+ readonly stAng: string;
1190
+ readonly swAng: string;
1191
+ }
1192
+ interface PathQuadBezTo {
1193
+ readonly command: "quadBezTo";
1194
+ readonly points: readonly [AdjPoint, AdjPoint];
1195
+ }
1196
+ interface PathCubicBezTo {
1197
+ readonly command: "cubicBezTo";
1198
+ readonly points: readonly [AdjPoint, AdjPoint, AdjPoint];
1199
+ }
1200
+ interface PathClose {
1201
+ readonly command: "close";
1202
+ }
1203
+ type PathCommand = PathMoveTo | PathLineTo | PathArcTo | PathQuadBezTo | PathCubicBezTo | PathClose;
1204
+ interface PathOptions {
1205
+ readonly w?: number;
1206
+ readonly h?: number;
1207
+ readonly fill?: (typeof PathFillMode)[keyof typeof PathFillMode];
1208
+ readonly stroke?: boolean;
1209
+ readonly extrusionOk?: boolean;
1210
+ readonly commands: readonly PathCommand[];
1211
+ }
1212
+ interface AdjustHandlePosition {
1213
+ readonly x: string;
1214
+ readonly y: string;
1215
+ }
1216
+ interface XYAdjustHandle {
1217
+ readonly type: "xy";
1218
+ readonly gdRefX?: string;
1219
+ readonly minX?: string;
1220
+ readonly maxX?: string;
1221
+ readonly gdRefY?: string;
1222
+ readonly minY?: string;
1223
+ readonly maxY?: string;
1224
+ readonly position: AdjustHandlePosition;
1225
+ }
1226
+ interface PolarAdjustHandle {
1227
+ readonly type: "polar";
1228
+ readonly gdRefR?: string;
1229
+ readonly minR?: string;
1230
+ readonly maxR?: string;
1231
+ readonly gdRefAng?: string;
1232
+ readonly minAng?: string;
1233
+ readonly maxAng?: string;
1234
+ readonly position: AdjustHandlePosition;
1235
+ }
1236
+ type AdjustHandle = XYAdjustHandle | PolarAdjustHandle;
1237
+ interface ConnectionSite {
1238
+ readonly ang: string;
1239
+ readonly position: AdjustHandlePosition;
1240
+ }
1241
+ interface GeomRect {
1242
+ readonly l: string;
1243
+ readonly t: string;
1244
+ readonly r: string;
1245
+ readonly b: string;
1246
+ }
1247
+ interface CustomGeometryOptions {
1248
+ readonly adjustmentValues?: readonly GeometryGuide[];
1249
+ readonly guides?: readonly GeometryGuide[];
1250
+ readonly adjustHandles?: readonly AdjustHandle[];
1251
+ readonly connectionSites?: readonly ConnectionSite[];
1252
+ readonly textRect?: GeomRect;
1253
+ readonly pathList: readonly PathOptions[];
1254
+ }
1255
+ //#endregion
1256
+ //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/effect-dag.d.ts
1257
+ declare const EffectContainerType: {
1258
+ readonly SIB: "sib";
1259
+ readonly TREE: "tree";
1260
+ };
1261
+ interface AlphaBiLevelEffectOptions$1 {
1262
+ readonly thresh: number;
1017
1263
  }
1018
- interface PathShadeOptions {
1019
- readonly path?: keyof typeof PathShadeType;
1264
+ interface AlphaInverseEffectOptions {
1265
+ readonly color?: SolidFillOptions;
1020
1266
  }
1021
- type GradientShadeOptions = LinearShadeOptions | PathShadeOptions;
1022
- interface GradientFillOptions {
1023
- readonly stops: readonly IGradientStop[];
1024
- readonly shade?: GradientShadeOptions;
1025
- readonly rotateWithShape?: boolean;
1267
+ interface AlphaModulateFixedEffectOptions$1 {
1268
+ readonly amt?: number;
1269
+ }
1270
+ interface AlphaOutsetEffectOptions {
1271
+ readonly rad?: number;
1272
+ }
1273
+ interface AlphaReplaceEffectOptions$1 {
1274
+ readonly a: number;
1275
+ }
1276
+ interface BlendEffectOptions {
1277
+ readonly blend: (typeof BlendMode)[keyof typeof BlendMode];
1278
+ readonly container: EffectDagOptions;
1279
+ }
1280
+ interface ColorChangeEffectOptions$1 {
1281
+ readonly from: SolidFillOptions;
1282
+ readonly to: SolidFillOptions;
1283
+ readonly useA?: boolean;
1284
+ }
1285
+ interface DuotoneEffectOptions$1 {
1286
+ readonly color1: SolidFillOptions;
1287
+ readonly color2: SolidFillOptions;
1288
+ }
1289
+ interface FillEffectOptions {
1290
+ readonly solidFill?: SolidFillOptions;
1291
+ readonly gradientFill?: GradientFillOptions;
1292
+ readonly patternFill?: PatternFillOptions;
1293
+ readonly groupFill?: boolean;
1294
+ readonly noFill?: boolean;
1295
+ }
1296
+ interface HSLEffectOptions$1 {
1297
+ readonly hue?: number;
1298
+ readonly sat?: number;
1299
+ readonly lum?: number;
1300
+ }
1301
+ interface LuminanceEffectOptions$1 {
1302
+ readonly bright?: number;
1303
+ readonly contrast?: number;
1304
+ }
1305
+ interface TintEffectOptions$1 {
1306
+ readonly hue?: number;
1307
+ readonly amt?: number;
1308
+ }
1309
+ interface RelativeOffsetEffectOptions {
1310
+ readonly tx?: number;
1311
+ readonly ty?: number;
1312
+ }
1313
+ interface TransformEffectOptions {
1314
+ readonly sx?: number;
1315
+ readonly sy?: number;
1316
+ readonly kx?: number;
1317
+ readonly ky?: number;
1318
+ readonly tx?: number;
1319
+ readonly ty?: number;
1320
+ }
1321
+ interface EffectReferenceOptions {
1322
+ readonly ref: string;
1323
+ }
1324
+ interface EffectDagOptions {
1325
+ readonly type?: (typeof EffectContainerType)[keyof typeof EffectContainerType];
1326
+ readonly name?: string;
1327
+ readonly blur?: BlurEffectOptions;
1328
+ readonly fillOverlay?: FillOverlayEffectOptions;
1329
+ readonly glow?: GlowEffectOptions;
1330
+ readonly innerShadow?: InnerShadowEffectOptions;
1331
+ readonly outerShadow?: OuterShadowEffectOptions;
1332
+ readonly presetShadow?: PresetShadowEffectOptions;
1333
+ readonly reflection?: ReflectionEffectOptions | true;
1334
+ readonly softEdge?: number;
1335
+ readonly containers?: readonly EffectDagOptions[];
1336
+ readonly effectRefs?: readonly EffectReferenceOptions[];
1337
+ readonly alphaBiLevel?: AlphaBiLevelEffectOptions$1;
1338
+ readonly alphaCeiling?: boolean;
1339
+ readonly alphaFloor?: boolean;
1340
+ readonly alphaInverse?: AlphaInverseEffectOptions;
1341
+ readonly alphaModulate?: EffectDagOptions;
1342
+ readonly alphaModulateFixed?: AlphaModulateFixedEffectOptions$1;
1343
+ readonly alphaOutset?: AlphaOutsetEffectOptions;
1344
+ readonly alphaReplace?: AlphaReplaceEffectOptions$1;
1345
+ readonly biLevel?: {
1346
+ readonly thresh: number;
1347
+ };
1348
+ readonly blend?: BlendEffectOptions;
1349
+ readonly colorChange?: ColorChangeEffectOptions$1;
1350
+ readonly colorReplace?: SolidFillOptions;
1351
+ readonly duotone?: DuotoneEffectOptions$1;
1352
+ readonly fill?: FillEffectOptions;
1353
+ readonly grayscale?: boolean;
1354
+ readonly hsl?: HSLEffectOptions$1;
1355
+ readonly luminance?: LuminanceEffectOptions$1;
1356
+ readonly tint?: TintEffectOptions$1;
1357
+ readonly relativeOffset?: RelativeOffsetEffectOptions;
1358
+ readonly transform?: TransformEffectOptions;
1359
+ }
1360
+ //#endregion
1361
+ //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/three-d/scene-3d.d.ts
1362
+ interface SphereCoords {
1363
+ readonly lat: number;
1364
+ readonly lon: number;
1365
+ readonly rev: number;
1366
+ }
1367
+ interface CameraOptions {
1368
+ readonly preset: string;
1369
+ readonly fov?: number;
1370
+ readonly zoom?: string;
1371
+ readonly rotation?: SphereCoords;
1372
+ }
1373
+ interface LightRigOptions {
1374
+ readonly rig: string;
1375
+ readonly direction: string;
1376
+ readonly rotation?: SphereCoords;
1377
+ }
1378
+ interface Point3D {
1379
+ readonly x: number;
1380
+ readonly y: number;
1381
+ readonly z: number;
1382
+ }
1383
+ interface Vector3D {
1384
+ readonly dx: number;
1385
+ readonly dy: number;
1386
+ readonly dz: number;
1387
+ }
1388
+ interface BackdropOptions {
1389
+ readonly anchor: Point3D;
1390
+ readonly normal: Vector3D;
1391
+ readonly up: Vector3D;
1392
+ }
1393
+ interface Scene3DOptions {
1394
+ readonly camera: CameraOptions;
1395
+ readonly lightRig: LightRigOptions;
1396
+ readonly backdrop?: BackdropOptions;
1026
1397
  }
1027
1398
  //#endregion
1028
1399
  //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/three-d/bevel.d.ts
@@ -1075,137 +1446,70 @@ interface Shape3DOptions {
1075
1446
  readonly prstMaterial?: keyof typeof PresetMaterialType;
1076
1447
  }
1077
1448
  //#endregion
1078
- //#region src/file/drawing/text-wrap/text-wrapping.d.ts
1079
- declare const TextWrappingType: {
1080
- readonly NONE: 0;
1081
- readonly SQUARE: 1;
1082
- readonly TIGHT: 2;
1083
- readonly TOP_AND_BOTTOM: 3;
1084
- readonly THROUGH: 4;
1085
- };
1086
- declare const TextWrappingSide: {
1087
- readonly BOTH_SIDES: "bothSides";
1088
- readonly LEFT: "left";
1089
- readonly RIGHT: "right";
1090
- readonly LARGEST: "largest";
1091
- };
1092
- interface ITextWrapping {
1093
- readonly type: (typeof TextWrappingType)[keyof typeof TextWrappingType];
1094
- readonly side?: (typeof TextWrappingSide)[keyof typeof TextWrappingSide];
1095
- readonly margins?: IDistance;
1096
- }
1097
- //#endregion
1098
- //#region src/file/drawing/text-wrap/wrap-none.d.ts
1099
- declare const createWrapNone: () => XmlComponent;
1100
- //#endregion
1101
- //#region src/file/shared/alignment.d.ts
1102
- declare const HorizontalPositionAlign: {
1103
- readonly CENTER: "center";
1104
- readonly INSIDE: "inside";
1105
- readonly LEFT: "left";
1106
- readonly OUTSIDE: "outside";
1107
- readonly RIGHT: "right";
1449
+ //#region src/file/drawing/inline/graphic/graphic-data/wps/body-properties.d.ts
1450
+ declare enum VerticalAnchor {
1451
+ TOP = "t",
1452
+ CENTER = "ctr",
1453
+ BOTTOM = "b",
1454
+ JUSTIFY = "just",
1455
+ DISTRIBUTED = "dist"
1456
+ }
1457
+ declare const TextVertOverflowType: {
1458
+ readonly OVERFLOW: "overflow";
1459
+ readonly ELLIPSIS: "ellipsis";
1460
+ readonly CLIP: "clip";
1108
1461
  };
1109
- declare const VerticalPositionAlign: {
1110
- readonly BOTTOM: "bottom";
1111
- readonly CENTER: "center";
1112
- readonly INSIDE: "inside";
1113
- readonly OUTSIDE: "outside";
1114
- readonly TOP: "top";
1462
+ declare const TextHorzOverflowType: {
1463
+ readonly OVERFLOW: "overflow";
1464
+ readonly CLIP: "clip";
1115
1465
  };
1116
- //#endregion
1117
- //#region src/file/drawing/floating/floating-position.d.ts
1118
- declare const HorizontalPositionRelativeFrom: {
1119
- readonly CHARACTER: "character";
1120
- readonly COLUMN: "column";
1121
- readonly INSIDE_MARGIN: "insideMargin";
1122
- readonly LEFT_MARGIN: "leftMargin";
1123
- readonly MARGIN: "margin";
1124
- readonly OUTSIDE_MARGIN: "outsideMargin";
1125
- readonly PAGE: "page";
1126
- readonly RIGHT_MARGIN: "rightMargin";
1466
+ declare const TextVerticalType: {
1467
+ readonly HORIZONTAL: "horz";
1468
+ readonly VERTICAL: "vert";
1469
+ readonly VERTICAL_270: "vert270";
1470
+ readonly WORD_ART_VERTICAL: "wordArtVert";
1471
+ readonly EAST_ASIAN_VERTICAL: "eaVert";
1472
+ readonly MONGOLIAN_VERTICAL: "mongolianVert";
1473
+ readonly WORD_ART_VERTICAL_RTL: "wordArtVertRtl";
1127
1474
  };
1128
- declare const VerticalPositionRelativeFrom: {
1129
- readonly BOTTOM_MARGIN: "bottomMargin";
1130
- readonly INSIDE_MARGIN: "insideMargin";
1131
- readonly LINE: "line";
1132
- readonly MARGIN: "margin";
1133
- readonly OUTSIDE_MARGIN: "outsideMargin";
1134
- readonly PAGE: "page";
1135
- readonly PARAGRAPH: "paragraph";
1136
- readonly TOP_MARGIN: "topMargin";
1475
+ declare const TextBodyWrappingType: {
1476
+ readonly NONE: "none";
1477
+ readonly SQUARE: "square";
1137
1478
  };
1138
- interface IHorizontalPositionOptions {
1139
- readonly relative?: (typeof HorizontalPositionRelativeFrom)[keyof typeof HorizontalPositionRelativeFrom];
1140
- readonly align?: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
1141
- readonly offset?: number;
1479
+ interface NormalAutofitOptions {
1480
+ readonly fontScale?: number;
1481
+ readonly lnSpcReduction?: number;
1142
1482
  }
1143
- interface IVerticalPositionOptions {
1144
- readonly relative?: (typeof VerticalPositionRelativeFrom)[keyof typeof VerticalPositionRelativeFrom];
1145
- readonly align?: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
1146
- readonly offset?: number;
1147
- }
1148
- interface IMargins {
1149
- readonly left?: number;
1150
- readonly bottom?: number;
1151
- readonly top?: number;
1152
- readonly right?: number;
1153
- }
1154
- interface IFloating {
1155
- readonly horizontalPosition: IHorizontalPositionOptions;
1156
- readonly verticalPosition: IVerticalPositionOptions;
1157
- readonly allowOverlap?: boolean;
1158
- readonly lockAnchor?: boolean;
1159
- readonly behindDocument?: boolean;
1160
- readonly layoutInCell?: boolean;
1161
- readonly margins?: IMargins;
1162
- readonly wrap?: ITextWrapping;
1163
- readonly zIndex?: number;
1483
+ interface PresetTextShapeOptions {
1484
+ readonly preset: string;
1485
+ readonly adjustments?: readonly {
1486
+ readonly name: string;
1487
+ readonly formula: string;
1488
+ }[];
1164
1489
  }
1165
- //#endregion
1166
- //#region src/file/drawing/floating/simple-pos.d.ts
1167
- declare const createSimplePos: () => XmlComponent;
1168
- //#endregion
1169
- //#region src/file/drawing/floating/horizontal-position.d.ts
1170
- declare const createHorizontalPosition: ({
1171
- relative,
1172
- align,
1173
- offset
1174
- }: IHorizontalPositionOptions) => XmlComponent;
1175
- //#endregion
1176
- //#region src/file/drawing/floating/vertical-position.d.ts
1177
- declare const createVerticalPosition: ({
1178
- relative,
1179
- align,
1180
- offset
1181
- }: IVerticalPositionOptions) => XmlComponent;
1182
- //#endregion
1183
- //#region src/file/drawing/text-wrap/wrap-square.d.ts
1184
- declare const createWrapSquare: (textWrapping: ITextWrapping, margins?: IMargins) => XmlComponent;
1185
- //#endregion
1186
- //#region src/file/drawing/text-wrap/wrap-tight.d.ts
1187
- declare const createWrapTight: (textWrapping: ITextWrapping, margins: IMargins | undefined, extent: {
1188
- x: number;
1189
- y: number;
1190
- }) => XmlComponent;
1191
- //#endregion
1192
- //#region src/file/drawing/text-wrap/wrap-through.d.ts
1193
- declare const createWrapThrough: (textWrapping: ITextWrapping, margins: IMargins | undefined, extent: {
1194
- x: number;
1195
- y: number;
1196
- }) => XmlComponent;
1197
- //#endregion
1198
- //#region src/file/drawing/text-wrap/wrap-top-and-bottom.d.ts
1199
- declare const createWrapTopAndBottom: (margins?: IMargins) => XmlComponent;
1200
- //#endregion
1201
- //#region src/file/drawing/inline/graphic/graphic-data/wps/body-properties.d.ts
1202
- declare enum VerticalAnchor {
1203
- CENTER = "ctr",
1204
- TOP = "t",
1205
- BOTTOM = "b"
1490
+ interface FlatTextOptions {
1491
+ readonly z?: number;
1206
1492
  }
1207
1493
  interface IBodyPropertiesOptions {
1208
- readonly wrap?: (typeof TextWrappingType)[keyof typeof TextWrappingType];
1494
+ readonly rotation?: number;
1495
+ readonly spcFirstLastPara?: boolean;
1496
+ readonly vertOverflow?: (typeof TextVertOverflowType)[keyof typeof TextVertOverflowType];
1497
+ readonly horzOverflow?: (typeof TextHorzOverflowType)[keyof typeof TextHorzOverflowType];
1498
+ readonly vert?: (typeof TextVerticalType)[keyof typeof TextVerticalType];
1499
+ readonly wrap?: (typeof TextBodyWrappingType)[keyof typeof TextBodyWrappingType];
1500
+ readonly lIns?: number;
1501
+ readonly tIns?: number;
1502
+ readonly rIns?: number;
1503
+ readonly bIns?: number;
1504
+ readonly numCol?: number;
1505
+ readonly spcCol?: number;
1506
+ readonly rtlCol?: boolean;
1507
+ readonly fromWordArt?: boolean;
1508
+ readonly anchor?: (typeof VerticalAnchor)[keyof typeof VerticalAnchor];
1509
+ readonly anchorCtr?: boolean;
1510
+ readonly forceAA?: boolean;
1511
+ readonly upright?: boolean;
1512
+ readonly compatLnSpc?: boolean;
1209
1513
  readonly verticalAnchor?: VerticalAnchor;
1210
1514
  readonly margins?: {
1211
1515
  readonly top?: number;
@@ -1213,7 +1517,13 @@ interface IBodyPropertiesOptions {
1213
1517
  readonly left?: number;
1214
1518
  readonly right?: number;
1215
1519
  };
1520
+ readonly prstTxWarp?: PresetTextShapeOptions;
1216
1521
  readonly noAutoFit?: boolean;
1522
+ readonly normAutofit?: NormalAutofitOptions;
1523
+ readonly spAutoFit?: boolean;
1524
+ readonly scene3d?: Scene3DOptions;
1525
+ readonly sp3d?: Shape3DOptions;
1526
+ readonly flatTx?: FlatTextOptions;
1217
1527
  }
1218
1528
  declare const createBodyProperties: (options?: IBodyPropertiesOptions) => XmlComponent;
1219
1529
  //#endregion
@@ -1230,8 +1540,12 @@ interface WpsShapeCoreOptions {
1230
1540
  readonly outline?: OutlineOptions;
1231
1541
  readonly solidFill?: SolidFillOptions;
1232
1542
  readonly gradientFill?: GradientFillOptions;
1543
+ readonly patternFill?: PatternFillOptions;
1233
1544
  readonly noFill?: boolean;
1545
+ readonly customGeometry?: CustomGeometryOptions;
1546
+ readonly effectDag?: EffectDagOptions;
1234
1547
  readonly effects?: EffectListOptions;
1548
+ readonly scene3d?: Scene3DOptions;
1235
1549
  readonly shape3d?: Shape3DOptions;
1236
1550
  }
1237
1551
  //#endregion
@@ -1279,45 +1593,168 @@ interface WpsMediaData {
1279
1593
  readonly transformation: IMediaDataTransformation;
1280
1594
  readonly data: WpsShapeCoreOptions;
1281
1595
  }
1282
- interface WpgCommonMediaData {
1283
- readonly outline?: OutlineOptions;
1284
- readonly solidFill?: SolidFillOptions;
1596
+ interface WpgCommonMediaData {
1597
+ readonly outline?: OutlineOptions;
1598
+ readonly solidFill?: SolidFillOptions;
1599
+ }
1600
+ type IGroupChildMediaData = (WpsMediaData | IMediaData) & WpgCommonMediaData;
1601
+ interface WpgMediaData {
1602
+ readonly type: "wpg";
1603
+ readonly transformation: IMediaDataTransformation;
1604
+ readonly children: readonly IGroupChildMediaData[];
1605
+ readonly chOff?: IChildOffset;
1606
+ readonly chExt?: IChildExtent;
1607
+ readonly solidFill?: SolidFillOptions;
1608
+ readonly effects?: EffectListOptions;
1609
+ }
1610
+ type IExtendedMediaData = IMediaData | WpsMediaData | WpgMediaData;
1611
+ type IMediaData = (RegularMediaData | SvgMediaData) & CoreMediaData;
1612
+ declare const WORKAROUND2 = "";
1613
+ //#endregion
1614
+ //#region src/file/media/media.d.ts
1615
+ interface IMediaTransformation {
1616
+ readonly offset?: {
1617
+ readonly top?: number;
1618
+ readonly left?: number;
1619
+ };
1620
+ readonly width: number;
1621
+ readonly height: number;
1622
+ readonly flip?: {
1623
+ readonly vertical?: boolean;
1624
+ readonly horizontal?: boolean;
1625
+ };
1626
+ readonly rotation?: number;
1627
+ }
1628
+ declare const createTransformation: (options: IMediaTransformation) => IMediaDataTransformation;
1629
+ declare class Media {
1630
+ private readonly map;
1631
+ constructor();
1632
+ addImage(key: string, mediaData: IMediaData): void;
1633
+ get Array(): readonly IMediaData[];
1634
+ }
1635
+ //#endregion
1636
+ //#region src/file/shared/alignment.d.ts
1637
+ declare const HorizontalPositionAlign: {
1638
+ readonly CENTER: "center";
1639
+ readonly INSIDE: "inside";
1640
+ readonly LEFT: "left";
1641
+ readonly OUTSIDE: "outside";
1642
+ readonly RIGHT: "right";
1643
+ };
1644
+ declare const VerticalPositionAlign: {
1645
+ readonly BOTTOM: "bottom";
1646
+ readonly CENTER: "center";
1647
+ readonly INSIDE: "inside";
1648
+ readonly OUTSIDE: "outside";
1649
+ readonly TOP: "top";
1650
+ };
1651
+ //#endregion
1652
+ //#region src/file/drawing/text-wrap/text-wrapping.d.ts
1653
+ declare const TextWrappingType: {
1654
+ readonly NONE: 0;
1655
+ readonly SQUARE: 1;
1656
+ readonly TIGHT: 2;
1657
+ readonly TOP_AND_BOTTOM: 3;
1658
+ readonly THROUGH: 4;
1659
+ };
1660
+ declare const TextWrappingSide: {
1661
+ readonly BOTH_SIDES: "bothSides";
1662
+ readonly LEFT: "left";
1663
+ readonly RIGHT: "right";
1664
+ readonly LARGEST: "largest";
1665
+ };
1666
+ interface ITextWrapping {
1667
+ readonly type: (typeof TextWrappingType)[keyof typeof TextWrappingType];
1668
+ readonly side?: (typeof TextWrappingSide)[keyof typeof TextWrappingSide];
1669
+ readonly margins?: IDistance;
1670
+ }
1671
+ //#endregion
1672
+ //#region src/file/drawing/text-wrap/wrap-none.d.ts
1673
+ declare const createWrapNone: () => XmlComponent;
1674
+ //#endregion
1675
+ //#region src/file/drawing/text-wrap/wrap-square.d.ts
1676
+ declare const createWrapSquare: (textWrapping: ITextWrapping, margins?: IMargins) => XmlComponent;
1677
+ //#endregion
1678
+ //#region src/file/drawing/text-wrap/wrap-tight.d.ts
1679
+ declare const createWrapTight: (textWrapping: ITextWrapping, margins: IMargins | undefined, extent: {
1680
+ x: number;
1681
+ y: number;
1682
+ }) => XmlComponent;
1683
+ //#endregion
1684
+ //#region src/file/drawing/text-wrap/wrap-through.d.ts
1685
+ declare const createWrapThrough: (textWrapping: ITextWrapping, margins: IMargins | undefined, extent: {
1686
+ x: number;
1687
+ y: number;
1688
+ }) => XmlComponent;
1689
+ //#endregion
1690
+ //#region src/file/drawing/text-wrap/wrap-top-and-bottom.d.ts
1691
+ declare const createWrapTopAndBottom: (margins?: IMargins) => XmlComponent;
1692
+ //#endregion
1693
+ //#region src/file/drawing/floating/floating-position.d.ts
1694
+ declare const HorizontalPositionRelativeFrom: {
1695
+ readonly CHARACTER: "character";
1696
+ readonly COLUMN: "column";
1697
+ readonly INSIDE_MARGIN: "insideMargin";
1698
+ readonly LEFT_MARGIN: "leftMargin";
1699
+ readonly MARGIN: "margin";
1700
+ readonly OUTSIDE_MARGIN: "outsideMargin";
1701
+ readonly PAGE: "page";
1702
+ readonly RIGHT_MARGIN: "rightMargin";
1703
+ };
1704
+ declare const VerticalPositionRelativeFrom: {
1705
+ readonly BOTTOM_MARGIN: "bottomMargin";
1706
+ readonly INSIDE_MARGIN: "insideMargin";
1707
+ readonly LINE: "line";
1708
+ readonly MARGIN: "margin";
1709
+ readonly OUTSIDE_MARGIN: "outsideMargin";
1710
+ readonly PAGE: "page";
1711
+ readonly PARAGRAPH: "paragraph";
1712
+ readonly TOP_MARGIN: "topMargin";
1713
+ };
1714
+ interface IHorizontalPositionOptions {
1715
+ readonly relative?: (typeof HorizontalPositionRelativeFrom)[keyof typeof HorizontalPositionRelativeFrom];
1716
+ readonly align?: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
1717
+ readonly offset?: number;
1718
+ }
1719
+ interface IVerticalPositionOptions {
1720
+ readonly relative?: (typeof VerticalPositionRelativeFrom)[keyof typeof VerticalPositionRelativeFrom];
1721
+ readonly align?: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
1722
+ readonly offset?: number;
1723
+ }
1724
+ interface IMargins {
1725
+ readonly left?: number;
1726
+ readonly bottom?: number;
1727
+ readonly top?: number;
1728
+ readonly right?: number;
1285
1729
  }
1286
- type IGroupChildMediaData = (WpsMediaData | IMediaData) & WpgCommonMediaData;
1287
- interface WpgMediaData {
1288
- readonly type: "wpg";
1289
- readonly transformation: IMediaDataTransformation;
1290
- readonly children: readonly IGroupChildMediaData[];
1291
- readonly chOff?: IChildOffset;
1292
- readonly chExt?: IChildExtent;
1293
- readonly solidFill?: SolidFillOptions;
1294
- readonly effects?: EffectListOptions;
1730
+ interface IFloating {
1731
+ readonly horizontalPosition: IHorizontalPositionOptions;
1732
+ readonly verticalPosition: IVerticalPositionOptions;
1733
+ readonly allowOverlap?: boolean;
1734
+ readonly lockAnchor?: boolean;
1735
+ readonly behindDocument?: boolean;
1736
+ readonly layoutInCell?: boolean;
1737
+ readonly margins?: IMargins;
1738
+ readonly wrap?: ITextWrapping;
1739
+ readonly zIndex?: number;
1295
1740
  }
1296
- type IExtendedMediaData = IMediaData | WpsMediaData | WpgMediaData;
1297
- type IMediaData = (RegularMediaData | SvgMediaData) & CoreMediaData;
1298
- declare const WORKAROUND2 = "";
1299
1741
  //#endregion
1300
- //#region src/file/media/media.d.ts
1301
- interface IMediaTransformation {
1302
- readonly offset?: {
1303
- readonly top?: number;
1304
- readonly left?: number;
1305
- };
1306
- readonly width: number;
1307
- readonly height: number;
1308
- readonly flip?: {
1309
- readonly vertical?: boolean;
1310
- readonly horizontal?: boolean;
1311
- };
1312
- readonly rotation?: number;
1313
- }
1314
- declare const createTransformation: (options: IMediaTransformation) => IMediaDataTransformation;
1315
- declare class Media {
1316
- private readonly map;
1317
- constructor();
1318
- addImage(key: string, mediaData: IMediaData): void;
1319
- get Array(): readonly IMediaData[];
1320
- }
1742
+ //#region src/file/drawing/floating/simple-pos.d.ts
1743
+ declare const createSimplePos: () => XmlComponent;
1744
+ //#endregion
1745
+ //#region src/file/drawing/floating/horizontal-position.d.ts
1746
+ declare const createHorizontalPosition: ({
1747
+ relative,
1748
+ align,
1749
+ offset
1750
+ }: IHorizontalPositionOptions) => XmlComponent;
1751
+ //#endregion
1752
+ //#region src/file/drawing/floating/vertical-position.d.ts
1753
+ declare const createVerticalPosition: ({
1754
+ relative,
1755
+ align,
1756
+ offset
1757
+ }: IVerticalPositionOptions) => XmlComponent;
1321
1758
  //#endregion
1322
1759
  //#region src/file/drawing/inline/graphic/graphic-data/pic/blip/blip-effects.d.ts
1323
1760
  interface LuminanceEffectOptions {
@@ -1499,7 +1936,7 @@ declare class SimpleMailMergeField extends SimpleField {
1499
1936
  }
1500
1937
  //#endregion
1501
1938
  //#region src/file/relationships/relationship/relationship.d.ts
1502
- type RelationshipType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" | "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/font";
1939
+ type RelationshipType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" | "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/bibliography" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/font";
1503
1940
  declare const TargetModeType: {
1504
1941
  readonly EXTERNAL: "External";
1505
1942
  };
@@ -1627,6 +2064,75 @@ declare class PositionalTab extends XmlComponent {
1627
2064
  constructor(options: PositionalTabOptions);
1628
2065
  }
1629
2066
  //#endregion
2067
+ //#region src/file/paragraph/run/ruby.d.ts
2068
+ declare const RubyAlign: {
2069
+ readonly CENTER: "center";
2070
+ readonly DISTRIBUTE_LETTER: "distributeLetter";
2071
+ readonly DISTRIBUTE_SPACE: "distributeSpace";
2072
+ readonly LEFT: "left";
2073
+ readonly RIGHT: "right";
2074
+ readonly RIGHT_VERTICAL: "rightVertical";
2075
+ };
2076
+ interface RubyOptions {
2077
+ readonly text: string;
2078
+ readonly base: string;
2079
+ readonly alignment?: keyof typeof RubyAlign;
2080
+ readonly fontSize?: number;
2081
+ readonly raise?: number;
2082
+ readonly baseFontSize?: number;
2083
+ readonly languageId?: string;
2084
+ readonly dirty?: boolean;
2085
+ }
2086
+ declare const createRuby: (options: RubyOptions) => XmlComponent;
2087
+ //#endregion
2088
+ //#region src/file/paragraph/run/form-field.d.ts
2089
+ declare const FormFieldTextType: {
2090
+ readonly REGULAR: "regular";
2091
+ readonly NUMBER: "number";
2092
+ readonly DATE: "date";
2093
+ readonly CURRENT_TIME: "currentTime";
2094
+ readonly CURRENT_DATE: "currentDate";
2095
+ readonly CALCULATED: "calculated";
2096
+ };
2097
+ interface CheckBoxOptions {
2098
+ readonly size?: number;
2099
+ readonly sizeAuto?: boolean;
2100
+ readonly default?: boolean;
2101
+ readonly checked?: boolean;
2102
+ }
2103
+ interface DropDownListOptions {
2104
+ readonly entries: readonly string[];
2105
+ readonly result?: number;
2106
+ readonly default?: number;
2107
+ }
2108
+ interface TextInputOptions {
2109
+ readonly type?: (typeof FormFieldTextType)[keyof typeof FormFieldTextType];
2110
+ readonly default?: string;
2111
+ readonly maxLength?: number;
2112
+ readonly format?: string;
2113
+ }
2114
+ interface FormFieldTextOptions {
2115
+ readonly type: "text" | "autoText";
2116
+ readonly value: string;
2117
+ }
2118
+ interface FormFieldCommonOptions {
2119
+ readonly name?: string;
2120
+ readonly label?: number;
2121
+ readonly tabIndex?: number;
2122
+ readonly enabled?: boolean;
2123
+ readonly calcOnExit?: boolean;
2124
+ readonly entryMacro?: string;
2125
+ readonly exitMacro?: string;
2126
+ readonly helpText?: FormFieldTextOptions;
2127
+ readonly statusText?: FormFieldTextOptions;
2128
+ }
2129
+ interface FormFieldOptions extends FormFieldCommonOptions {
2130
+ readonly checkBox?: CheckBoxOptions;
2131
+ readonly dropDownList?: DropDownListOptions;
2132
+ readonly textInput?: TextInputOptions;
2133
+ }
2134
+ declare const createFormFieldData: (options: FormFieldOptions) => XmlComponent;
2135
+ //#endregion
1630
2136
  //#region src/file/footnotes/footnote/run/reference-run.d.ts
1631
2137
  declare class FootNoteReferenceRunAttributes extends XmlAttributeComponent<{
1632
2138
  readonly id: number;
@@ -1766,6 +2272,50 @@ type TableVerticalAlign = (typeof VerticalAlignTable)[keyof typeof VerticalAlign
1766
2272
  type SectionVerticalAlign = (typeof VerticalAlignSection)[keyof typeof VerticalAlignSection];
1767
2273
  declare const createVerticalAlign: (value: (typeof VerticalAlign)[keyof typeof VerticalAlign]) => XmlComponent;
1768
2274
  //#endregion
2275
+ //#region src/file/table/table-row/table-row-height.d.ts
2276
+ declare const HeightRule: {
2277
+ readonly AUTO: "auto";
2278
+ readonly ATLEAST: "atLeast";
2279
+ readonly EXACT: "exact";
2280
+ };
2281
+ declare const createTableRowHeight: (value: number | PositiveUniversalMeasure, rule: (typeof HeightRule)[keyof typeof HeightRule]) => XmlComponent;
2282
+ //#endregion
2283
+ //#region src/file/table/table-row/table-row-properties.d.ts
2284
+ interface CnfStyleOptions {
2285
+ readonly val: string;
2286
+ readonly changed?: boolean;
2287
+ }
2288
+ interface ITableRowPropertiesOptionsBase {
2289
+ readonly cnfStyle?: CnfStyleOptions;
2290
+ readonly cantSplit?: boolean;
2291
+ readonly tableHeader?: boolean;
2292
+ readonly height?: {
2293
+ readonly value: number | PositiveUniversalMeasure;
2294
+ readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
2295
+ };
2296
+ readonly cellSpacing?: ITableCellSpacingProperties;
2297
+ readonly divId?: number;
2298
+ readonly gridBefore?: number;
2299
+ readonly gridAfter?: number;
2300
+ readonly widthBefore?: ITableWidthProperties;
2301
+ readonly widthAfter?: ITableWidthProperties;
2302
+ readonly rowAlignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
2303
+ readonly hidden?: boolean;
2304
+ }
2305
+ type ITableRowPropertiesOptions = ITableRowPropertiesOptionsBase & {
2306
+ readonly insertion?: IChangedAttributesProperties;
2307
+ readonly deletion?: IChangedAttributesProperties;
2308
+ readonly revision?: ITableRowPropertiesChangeOptions;
2309
+ readonly includeIfEmpty?: boolean;
2310
+ };
2311
+ type ITableRowPropertiesChangeOptions = ITableRowPropertiesOptionsBase & IChangedAttributesProperties;
2312
+ declare class TableRowProperties extends IgnoreIfEmptyXmlComponent {
2313
+ constructor(options: ITableRowPropertiesOptions);
2314
+ }
2315
+ declare class TableRowPropertiesChange extends XmlComponent {
2316
+ constructor(options: ITableRowPropertiesChangeOptions);
2317
+ }
2318
+ //#endregion
1769
2319
  //#region src/file/table/table-cell/table-cell-components.d.ts
1770
2320
  interface ITableCellBorders {
1771
2321
  readonly top?: IBorderOptions;
@@ -1799,6 +2349,7 @@ declare class TDirection extends XmlComponent {
1799
2349
  //#endregion
1800
2350
  //#region src/file/table/table-cell/table-cell-properties.d.ts
1801
2351
  interface ITableCellPropertiesOptionsBase {
2352
+ readonly cnfStyle?: CnfStyleOptions;
1802
2353
  readonly shading?: IShadingAttributesProperties;
1803
2354
  readonly margins?: ITableCellMarginOptions;
1804
2355
  readonly verticalAlign?: TableVerticalAlign;
@@ -1808,6 +2359,11 @@ interface ITableCellPropertiesOptionsBase {
1808
2359
  readonly columnSpan?: number;
1809
2360
  readonly rowSpan?: number;
1810
2361
  readonly borders?: ITableCellBorders;
2362
+ readonly horizontalMerge?: "continue" | "restart";
2363
+ readonly noWrap?: boolean;
2364
+ readonly fitText?: boolean;
2365
+ readonly hideMark?: boolean;
2366
+ readonly headers?: string[];
1811
2367
  readonly insertion?: IChangedAttributesProperties;
1812
2368
  readonly deletion?: IChangedAttributesProperties;
1813
2369
  readonly cellMerge?: ICellMergeAttributes;
@@ -1828,38 +2384,6 @@ declare class TableCell extends XmlComponent {
1828
2384
  prepForXml(context: IContext): IXmlableObject | undefined;
1829
2385
  }
1830
2386
  //#endregion
1831
- //#region src/file/table/table-row/table-row-height.d.ts
1832
- declare const HeightRule: {
1833
- readonly AUTO: "auto";
1834
- readonly ATLEAST: "atLeast";
1835
- readonly EXACT: "exact";
1836
- };
1837
- declare const createTableRowHeight: (value: number | PositiveUniversalMeasure, rule: (typeof HeightRule)[keyof typeof HeightRule]) => XmlComponent;
1838
- //#endregion
1839
- //#region src/file/table/table-row/table-row-properties.d.ts
1840
- interface ITableRowPropertiesOptionsBase {
1841
- readonly cantSplit?: boolean;
1842
- readonly tableHeader?: boolean;
1843
- readonly height?: {
1844
- readonly value: number | PositiveUniversalMeasure;
1845
- readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
1846
- };
1847
- readonly cellSpacing?: ITableCellSpacingProperties;
1848
- }
1849
- type ITableRowPropertiesOptions = ITableRowPropertiesOptionsBase & {
1850
- readonly insertion?: IChangedAttributesProperties;
1851
- readonly deletion?: IChangedAttributesProperties;
1852
- readonly revision?: ITableRowPropertiesChangeOptions;
1853
- readonly includeIfEmpty?: boolean;
1854
- };
1855
- type ITableRowPropertiesChangeOptions = ITableRowPropertiesOptionsBase & IChangedAttributesProperties;
1856
- declare class TableRowProperties extends IgnoreIfEmptyXmlComponent {
1857
- constructor(options: ITableRowPropertiesOptions);
1858
- }
1859
- declare class TableRowPropertiesChange extends XmlComponent {
1860
- constructor(options: ITableRowPropertiesChangeOptions);
1861
- }
1862
- //#endregion
1863
2387
  //#region src/file/table/table-row/table-row.d.ts
1864
2388
  type ITableRowOptions = {
1865
2389
  readonly children: readonly TableCell[];
@@ -1891,6 +2415,10 @@ interface ITableOptions {
1891
2415
  readonly visuallyRightToLeft?: boolean;
1892
2416
  readonly tableLook?: ITableLookOptions;
1893
2417
  readonly cellSpacing?: ITableCellSpacingProperties;
2418
+ readonly styleRowBandSize?: number;
2419
+ readonly styleColBandSize?: number;
2420
+ readonly caption?: string;
2421
+ readonly description?: string;
1894
2422
  readonly revision?: ITablePropertiesChangeOptions;
1895
2423
  }
1896
2424
  declare class Table extends FileChild {
@@ -1909,6 +2437,10 @@ declare class Table extends FileChild {
1909
2437
  visuallyRightToLeft,
1910
2438
  tableLook,
1911
2439
  cellSpacing,
2440
+ styleRowBandSize,
2441
+ styleColBandSize,
2442
+ caption,
2443
+ description,
1912
2444
  revision
1913
2445
  }: ITableOptions);
1914
2446
  }
@@ -1936,6 +2468,87 @@ declare class TableOfContents extends FileChild {
1936
2468
  private buildCachedContentParagraphChild;
1937
2469
  }
1938
2470
  //#endregion
2471
+ //#region src/file/table-of-contents/sdt-properties.d.ts
2472
+ declare const SdtLock: {
2473
+ readonly SDT_LOCKED: "sdtLocked";
2474
+ readonly CONTENT_LOCKED: "contentLocked";
2475
+ readonly UNLOCKED: "unlocked";
2476
+ readonly SDT_CONTENT_LOCKED: "sdtContentLocked";
2477
+ };
2478
+ interface SdtListItem {
2479
+ readonly displayText?: string;
2480
+ readonly value?: string;
2481
+ }
2482
+ interface SdtComboBoxOptions {
2483
+ readonly items?: readonly SdtListItem[];
2484
+ readonly lastValue?: string;
2485
+ }
2486
+ interface SdtDropDownListOptions {
2487
+ readonly items?: readonly SdtListItem[];
2488
+ readonly lastValue?: string;
2489
+ }
2490
+ declare const SdtDateMappingType: {
2491
+ readonly TEXT: "text";
2492
+ readonly DATE: "date";
2493
+ readonly DATE_TIME: "dateTime";
2494
+ };
2495
+ interface SdtDateOptions {
2496
+ readonly dateFormat?: string;
2497
+ readonly languageId?: string;
2498
+ readonly storeMappedDataAs?: (typeof SdtDateMappingType)[keyof typeof SdtDateMappingType];
2499
+ readonly calendar?: string;
2500
+ readonly fullDate?: string;
2501
+ }
2502
+ interface SdtTextOptions {
2503
+ readonly multiLine?: boolean;
2504
+ }
2505
+ interface SdtDataBindingOptions {
2506
+ readonly prefixMappings?: string;
2507
+ readonly xpath: string;
2508
+ readonly storeItemID: string;
2509
+ }
2510
+ interface SdtPropertiesOptions {
2511
+ readonly alias?: string;
2512
+ readonly tag?: string;
2513
+ readonly id?: number;
2514
+ readonly lock?: (typeof SdtLock)[keyof typeof SdtLock];
2515
+ readonly temporary?: boolean;
2516
+ readonly showingPlaceholder?: boolean;
2517
+ readonly placeholder?: XmlComponent[];
2518
+ readonly dataBinding?: SdtDataBindingOptions;
2519
+ readonly label?: number;
2520
+ readonly tabIndex?: number;
2521
+ readonly runProperties?: XmlComponent;
2522
+ readonly equation?: boolean;
2523
+ readonly comboBox?: SdtComboBoxOptions;
2524
+ readonly date?: SdtDateOptions;
2525
+ readonly docPartObj?: {
2526
+ readonly gallery?: string;
2527
+ readonly category?: string;
2528
+ readonly unique?: boolean;
2529
+ };
2530
+ readonly docPartList?: {
2531
+ readonly gallery?: string;
2532
+ readonly category?: string;
2533
+ readonly unique?: boolean;
2534
+ };
2535
+ readonly dropDownList?: SdtDropDownListOptions;
2536
+ readonly picture?: boolean;
2537
+ readonly richText?: boolean;
2538
+ readonly text?: SdtTextOptions;
2539
+ readonly citation?: boolean;
2540
+ readonly group?: boolean;
2541
+ readonly bibliography?: boolean;
2542
+ }
2543
+ declare class StructuredDocumentTagProperties extends XmlComponent {
2544
+ constructor(aliasOrOptions?: string | SdtPropertiesOptions);
2545
+ }
2546
+ //#endregion
2547
+ //#region src/file/table-of-contents/sdt-content.d.ts
2548
+ declare class StructuredDocumentTagContent extends XmlComponent {
2549
+ constructor();
2550
+ }
2551
+ //#endregion
1939
2552
  //#region src/file/footer/footer.d.ts
1940
2553
  declare class Footer$1 extends InitializableXmlComponent {
1941
2554
  private readonly refId;
@@ -2191,7 +2804,7 @@ declare const PageNumberSeparator: {
2191
2804
  readonly PERIOD: "period";
2192
2805
  readonly COLON: "colon";
2193
2806
  readonly EM_DASH: "emDash";
2194
- readonly EN_DASH: "endash";
2807
+ readonly EN_DASH: "enDash";
2195
2808
  };
2196
2809
  interface IPageNumberTypeAttributes {
2197
2810
  readonly start?: number;
@@ -2266,6 +2879,7 @@ interface ISectionPropertiesOptionsBase {
2266
2879
  readonly column?: IColumnsAttributes;
2267
2880
  readonly type?: (typeof SectionType)[keyof typeof SectionType];
2268
2881
  readonly noEndnote?: boolean;
2882
+ readonly formProtection?: boolean;
2269
2883
  readonly bidi?: boolean;
2270
2884
  readonly rtlGutter?: boolean;
2271
2885
  readonly paperSrc?: {
@@ -2274,6 +2888,7 @@ interface ISectionPropertiesOptionsBase {
2274
2888
  };
2275
2889
  readonly footnotePr?: FootnotePropertiesOptions;
2276
2890
  readonly endnotePr?: EndnotePropertiesOptions;
2891
+ readonly printerSettingsId?: string;
2277
2892
  }
2278
2893
  type ISectionPropertiesChangeOptions = IChangedAttributesProperties & ISectionPropertiesOptionsBase;
2279
2894
  type ISectionPropertiesOptions = {
@@ -2328,11 +2943,13 @@ declare class SectionProperties extends XmlComponent {
2328
2943
  type,
2329
2944
  revision,
2330
2945
  noEndnote,
2946
+ formProtection,
2331
2947
  bidi,
2332
2948
  rtlGutter,
2333
2949
  paperSrc,
2334
2950
  footnotePr,
2335
- endnotePr
2951
+ endnotePr,
2952
+ printerSettingsId
2336
2953
  }?: ISectionPropertiesOptions);
2337
2954
  private addHeaderFooterGroup;
2338
2955
  }
@@ -2495,6 +3112,35 @@ declare class AppProperties extends XmlComponent {
2495
3112
  constructor();
2496
3113
  }
2497
3114
  //#endregion
3115
+ //#region src/file/bibliography/bibliography.d.ts
3116
+ interface SourceTypeOptions {
3117
+ readonly type?: string;
3118
+ readonly title?: string;
3119
+ readonly author?: string;
3120
+ readonly year?: string;
3121
+ readonly month?: string;
3122
+ readonly day?: string;
3123
+ readonly bookTitle?: string;
3124
+ readonly journal?: string;
3125
+ readonly volume?: string;
3126
+ readonly issue?: string;
3127
+ readonly pages?: string;
3128
+ readonly publisher?: string;
3129
+ readonly city?: string;
3130
+ readonly url?: string;
3131
+ readonly edition?: string;
3132
+ readonly institution?: string;
3133
+ }
3134
+ interface IBibliographyOptions {
3135
+ readonly sources: readonly SourceTypeOptions[];
3136
+ readonly styleName?: string;
3137
+ }
3138
+ declare class Bibliography extends XmlComponent {
3139
+ private readonly relationships;
3140
+ constructor(options: IBibliographyOptions);
3141
+ get Relationships(): Relationships;
3142
+ }
3143
+ //#endregion
2498
3144
  //#region src/file/content-types/content-types.d.ts
2499
3145
  declare class ContentTypes extends XmlComponent {
2500
3146
  constructor();
@@ -2670,6 +3316,23 @@ declare class ThematicBreak extends XmlComponent {
2670
3316
  constructor();
2671
3317
  }
2672
3318
  //#endregion
3319
+ //#region src/file/paragraph/formatting/cnf-style.d.ts
3320
+ interface ICnfStyleOptions {
3321
+ readonly firstRow?: boolean;
3322
+ readonly lastRow?: boolean;
3323
+ readonly firstColumn?: boolean;
3324
+ readonly lastColumn?: boolean;
3325
+ readonly oddVBand?: boolean;
3326
+ readonly evenVBand?: boolean;
3327
+ readonly oddHBand?: boolean;
3328
+ readonly evenHBand?: boolean;
3329
+ readonly firstRowFirstColumn?: boolean;
3330
+ readonly firstRowLastColumn?: boolean;
3331
+ readonly lastRowFirstColumn?: boolean;
3332
+ readonly lastRowLastColumn?: boolean;
3333
+ }
3334
+ declare const createCnfStyle: (options: ICnfStyleOptions) => XmlComponent;
3335
+ //#endregion
2673
3336
  //#region src/file/paragraph/formatting/indent.d.ts
2674
3337
  interface IIndentAttributesProperties {
2675
3338
  readonly start?: number | UniversalMeasure;
@@ -2677,7 +3340,9 @@ interface IIndentAttributesProperties {
2677
3340
  readonly end?: number | UniversalMeasure;
2678
3341
  readonly endChars?: number;
2679
3342
  readonly left?: number | UniversalMeasure;
3343
+ readonly leftChars?: number;
2680
3344
  readonly right?: number | UniversalMeasure;
3345
+ readonly rightChars?: number;
2681
3346
  readonly hanging?: number | PositiveUniversalMeasure;
2682
3347
  readonly hangingChars?: number;
2683
3348
  readonly firstLine?: number | PositiveUniversalMeasure;
@@ -2689,7 +3354,9 @@ declare const createIndent: ({
2689
3354
  end,
2690
3355
  endChars,
2691
3356
  left,
3357
+ leftChars,
2692
3358
  right,
3359
+ rightChars,
2693
3360
  hanging,
2694
3361
  hangingChars,
2695
3362
  firstLine,
@@ -2870,6 +3537,8 @@ interface LevelParagraphStylePropertiesOptions {
2870
3537
  readonly textboxTightWrap?: (typeof TextboxTightWrapType)[keyof typeof TextboxTightWrapType];
2871
3538
  readonly textDirection?: "lr" | "rl" | "tb" | "tbV" | "rlV" | "lrV";
2872
3539
  readonly outlineLevel?: number;
3540
+ readonly divId?: number;
3541
+ readonly cnfStyle?: ICnfStyleOptions;
2873
3542
  }
2874
3543
  type IParagraphStylePropertiesOptions = {
2875
3544
  readonly border?: IBordersOptions;
@@ -3074,6 +3743,31 @@ declare class DocumentDefaults extends XmlComponent {
3074
3743
  constructor(options: IDocumentDefaultsOptions);
3075
3744
  }
3076
3745
  //#endregion
3746
+ //#region src/file/styles/style/table-style-override.d.ts
3747
+ declare const TableStyleOverrideType: {
3748
+ readonly WHOLE_TABLE: "wholeTable";
3749
+ readonly FIRST_ROW: "firstRow";
3750
+ readonly LAST_ROW: "lastRow";
3751
+ readonly FIRST_COL: "firstCol";
3752
+ readonly LAST_COL: "lastCol";
3753
+ readonly BAND1_VERT: "band1Vert";
3754
+ readonly BAND2_VERT: "band2Vert";
3755
+ readonly BAND1_HORZ: "band1Horz";
3756
+ readonly BAND2_HORZ: "band2Horz";
3757
+ readonly NE_CELL: "neCell";
3758
+ readonly NW_CELL: "nwCell";
3759
+ readonly SE_CELL: "seCell";
3760
+ readonly SW_CELL: "swCell";
3761
+ };
3762
+ interface TableStyleOverrideOptions {
3763
+ readonly type: (typeof TableStyleOverrideType)[keyof typeof TableStyleOverrideType];
3764
+ readonly paragraphProperties?: XmlComponent;
3765
+ readonly runProperties?: XmlComponent;
3766
+ readonly tableProperties?: XmlComponent;
3767
+ readonly rowProperties?: XmlComponent;
3768
+ readonly cellProperties?: XmlComponent;
3769
+ }
3770
+ //#endregion
3077
3771
  //#region src/file/styles/style/style.d.ts
3078
3772
  interface IStyleAttributes {
3079
3773
  readonly type?: string;
@@ -3090,6 +3784,7 @@ interface IStyleOptions {
3090
3784
  readonly semiHidden?: boolean;
3091
3785
  readonly unhideWhenUsed?: boolean;
3092
3786
  readonly quickFormat?: boolean;
3787
+ readonly tableStyleOverrides?: readonly TableStyleOverrideOptions[];
3093
3788
  }
3094
3789
  declare class Style extends XmlComponent {
3095
3790
  constructor(attributes: IStyleAttributes, options: IStyleOptions);
@@ -3168,6 +3863,7 @@ interface IPropertiesOptions {
3168
3863
  readonly styles?: IStylesOptions;
3169
3864
  readonly numbering?: INumberingOptions;
3170
3865
  readonly comments?: ICommentsOptions;
3866
+ readonly bibliography?: IBibliographyOptions;
3171
3867
  readonly footnotes?: Readonly<Record<string, {
3172
3868
  readonly children: readonly Paragraph[];
3173
3869
  }>>;
@@ -3255,6 +3951,7 @@ declare class File {
3255
3951
  private readonly appProperties;
3256
3952
  private readonly styles;
3257
3953
  private readonly comments;
3954
+ private readonly bibliography;
3258
3955
  private readonly fontWrapper;
3259
3956
  constructor(options: IPropertiesOptions);
3260
3957
  private addSection;
@@ -3278,6 +3975,7 @@ declare class File {
3278
3975
  get Endnotes(): EndnotesWrapper;
3279
3976
  get Settings(): Settings;
3280
3977
  get Comments(): Comments;
3978
+ get Bibliography(): Bibliography | undefined;
3281
3979
  get FontTable(): FontWrapper;
3282
3980
  }
3283
3981
  //#endregion
@@ -3524,6 +4222,22 @@ declare class CheckBox extends XmlComponent {
3524
4222
  constructor(options?: ICheckboxSymbolOptions);
3525
4223
  }
3526
4224
  //#endregion
4225
+ //#region src/file/sdt/sdt.d.ts
4226
+ interface ISdtRunOptions {
4227
+ readonly properties: SdtPropertiesOptions;
4228
+ readonly children?: readonly XmlComponent[];
4229
+ }
4230
+ declare class StructuredDocumentTagRun extends XmlComponent {
4231
+ constructor(options: ISdtRunOptions);
4232
+ }
4233
+ interface ISdtBlockOptions {
4234
+ readonly properties: SdtPropertiesOptions;
4235
+ readonly children?: readonly XmlComponent[];
4236
+ }
4237
+ declare class StructuredDocumentTagBlock extends FileChild {
4238
+ constructor(options: ISdtBlockOptions);
4239
+ }
4240
+ //#endregion
3527
4241
  //#region src/file/paragraph/links/hyperlink.d.ts
3528
4242
  declare const HyperlinkType: {
3529
4243
  readonly INTERNAL: "INTERNAL";
@@ -3568,6 +4282,9 @@ declare class BookmarkEnd extends XmlComponent {
3568
4282
  constructor(linkId: number);
3569
4283
  }
3570
4284
  //#endregion
4285
+ //#region src/file/paragraph/links/div-id.d.ts
4286
+ declare const createDivId: (id: number) => XmlComponent;
4287
+ //#endregion
3571
4288
  //#region src/file/paragraph/links/numbered-item-ref.d.ts
3572
4289
  declare enum NumberedItemReferenceFormat {
3573
4290
  NONE = "none",
@@ -3595,6 +4312,46 @@ declare class PageReference extends Run {
3595
4312
  constructor(bookmarkId: string, options?: IPageReferenceOptions);
3596
4313
  }
3597
4314
  //#endregion
4315
+ //#region src/file/paragraph/math/border-box/math-border-box-properties.d.ts
4316
+ interface MathBorderBoxPropertiesOptions {
4317
+ readonly hideTop?: boolean;
4318
+ readonly hideBot?: boolean;
4319
+ readonly hideLeft?: boolean;
4320
+ readonly hideRight?: boolean;
4321
+ readonly strikeH?: boolean;
4322
+ readonly strikeV?: boolean;
4323
+ readonly strikeBLTR?: boolean;
4324
+ readonly strikeTLBR?: boolean;
4325
+ }
4326
+ declare const createMathBorderBoxProperties: (options: MathBorderBoxPropertiesOptions) => XmlComponent;
4327
+ //#endregion
4328
+ //#region src/file/paragraph/math/border-box/math-border-box.d.ts
4329
+ interface IMathBorderBoxOptions {
4330
+ readonly properties?: MathBorderBoxPropertiesOptions;
4331
+ readonly children: readonly MathComponent[];
4332
+ }
4333
+ declare class MathBorderBox extends XmlComponent {
4334
+ constructor(options: IMathBorderBoxOptions);
4335
+ }
4336
+ //#endregion
4337
+ //#region src/file/paragraph/math/box/math-box-properties.d.ts
4338
+ interface MathBoxPropertiesOptions {
4339
+ readonly opEmu?: boolean;
4340
+ readonly noBreak?: boolean;
4341
+ readonly diff?: boolean;
4342
+ readonly aln?: boolean;
4343
+ }
4344
+ declare const createMathBoxProperties: (options: MathBoxPropertiesOptions) => XmlComponent;
4345
+ //#endregion
4346
+ //#region src/file/paragraph/math/box/math-box.d.ts
4347
+ interface IMathBoxOptions {
4348
+ readonly properties?: MathBoxPropertiesOptions;
4349
+ readonly children: readonly MathComponent[];
4350
+ }
4351
+ declare class MathBox extends XmlComponent {
4352
+ constructor(options: IMathBoxOptions);
4353
+ }
4354
+ //#endregion
3598
4355
  //#region src/file/paragraph/math/brackets/math-round-brackets.d.ts
3599
4356
  declare class MathRoundBrackets extends XmlComponent {
3600
4357
  constructor(options: {
@@ -3624,10 +4381,42 @@ declare class MathAngledBrackets extends XmlComponent {
3624
4381
  constructor(options: MathAngledBracketsOptions);
3625
4382
  }
3626
4383
  //#endregion
4384
+ //#region src/file/paragraph/math/eq-arr/math-eq-arr-properties.d.ts
4385
+ interface MathEqArrPropertiesOptions {
4386
+ readonly baseJc?: "top" | "bot" | "center";
4387
+ readonly maxDist?: boolean;
4388
+ readonly objDist?: boolean;
4389
+ readonly rSpRule?: "single" | "1.5" | "double" | "exactly" | "multiple";
4390
+ readonly rSp?: number;
4391
+ }
4392
+ declare const createMathEqArrProperties: (options: MathEqArrPropertiesOptions) => XmlComponent;
4393
+ //#endregion
4394
+ //#region src/file/paragraph/math/eq-arr/math-eq-arr.d.ts
4395
+ interface IMathEqArrOptions {
4396
+ readonly properties?: MathEqArrPropertiesOptions;
4397
+ readonly rows: readonly (readonly MathComponent[])[];
4398
+ }
4399
+ declare class MathEqArr extends XmlComponent {
4400
+ constructor(options: IMathEqArrOptions);
4401
+ }
4402
+ //#endregion
4403
+ //#region src/file/paragraph/math/fraction/math-fraction-properties.d.ts
4404
+ declare const FractionType: {
4405
+ readonly BAR: "bar";
4406
+ readonly SKEWED: "skw";
4407
+ readonly LINEAR: "lin";
4408
+ readonly NO_BAR: "noBar";
4409
+ };
4410
+ interface MathFractionPropertiesOptions {
4411
+ readonly fractionType?: keyof typeof FractionType;
4412
+ }
4413
+ declare const createMathFractionProperties: (options: MathFractionPropertiesOptions) => XmlComponent;
4414
+ //#endregion
3627
4415
  //#region src/file/paragraph/math/fraction/math-fraction.d.ts
3628
4416
  interface IMathFractionOptions {
3629
4417
  readonly numerator: readonly MathComponent[];
3630
4418
  readonly denominator: readonly MathComponent[];
4419
+ readonly fractionType?: MathFractionPropertiesOptions["fractionType"];
3631
4420
  }
3632
4421
  declare class MathFraction extends XmlComponent {
3633
4422
  constructor(options: IMathFractionOptions);
@@ -3643,8 +4432,22 @@ declare class MathNumerator extends XmlComponent {
3643
4432
  constructor(children: readonly MathComponent[]);
3644
4433
  }
3645
4434
  //#endregion
4435
+ //#region src/file/paragraph/math/math-control-properties.d.ts
4436
+ interface MathControlPropertiesOptions {
4437
+ readonly insertionReference?: string;
4438
+ readonly deletionReference?: string;
4439
+ }
4440
+ declare const createMathControlProperties: (options?: MathControlPropertiesOptions) => XmlComponent;
4441
+ //#endregion
4442
+ //#region src/file/paragraph/math/function/math-function-properties.d.ts
4443
+ interface MathFunctionPropertiesOptions {
4444
+ readonly controlProperties?: MathControlPropertiesOptions;
4445
+ }
4446
+ declare const createMathFunctionProperties: (options?: MathFunctionPropertiesOptions) => XmlComponent;
4447
+ //#endregion
3646
4448
  //#region src/file/paragraph/math/function/math-function.d.ts
3647
4449
  interface IMathFunctionOptions {
4450
+ readonly properties?: MathFunctionPropertiesOptions;
3648
4451
  readonly children: readonly MathComponent[];
3649
4452
  readonly name: readonly MathComponent[];
3650
4453
  }
@@ -3657,14 +4460,64 @@ declare class MathFunctionName extends XmlComponent {
3657
4460
  constructor(children: readonly MathComponent[]);
3658
4461
  }
3659
4462
  //#endregion
3660
- //#region src/file/paragraph/math/function/math-function-properties.d.ts
3661
- declare class MathFunctionProperties extends XmlComponent {
3662
- constructor();
4463
+ //#region src/file/paragraph/math/group-chr/math-group-chr-properties.d.ts
4464
+ interface MathGroupChrPropertiesOptions {
4465
+ readonly chr?: string;
4466
+ readonly pos?: "top" | "bot";
4467
+ readonly vertJc?: "top" | "bot";
4468
+ }
4469
+ declare const createMathGroupChrProperties: (options: MathGroupChrPropertiesOptions) => XmlComponent;
4470
+ //#endregion
4471
+ //#region src/file/paragraph/math/group-chr/math-group-chr.d.ts
4472
+ interface IMathGroupChrOptions {
4473
+ readonly properties?: MathGroupChrPropertiesOptions;
4474
+ readonly children: readonly MathComponent[];
3663
4475
  }
4476
+ declare class MathGroupChr extends XmlComponent {
4477
+ constructor(options: IMathGroupChrOptions);
4478
+ }
4479
+ //#endregion
4480
+ //#region src/file/paragraph/math/math-run-properties.d.ts
4481
+ type MathScriptType = "roman" | "script" | "fraktur" | "double-struck" | "sans-serif" | "monospace";
4482
+ type MathStyleType = "p" | "b" | "i" | "bi";
4483
+ interface MathRunPropertiesOptions {
4484
+ readonly lit?: boolean;
4485
+ readonly normal?: boolean;
4486
+ readonly script?: MathScriptType;
4487
+ readonly style?: MathStyleType;
4488
+ readonly breakAlignment?: number;
4489
+ readonly align?: boolean;
4490
+ }
4491
+ declare const createMathRunProperties: (options: MathRunPropertiesOptions) => XmlComponent;
3664
4492
  //#endregion
3665
4493
  //#region src/file/paragraph/math/math-run.d.ts
4494
+ interface MathRunOptions {
4495
+ readonly text: string;
4496
+ readonly properties?: MathRunPropertiesOptions;
4497
+ }
3666
4498
  declare class MathRun extends XmlComponent {
3667
- constructor(text: string);
4499
+ constructor(textOrOptions: string | MathRunOptions);
4500
+ }
4501
+ //#endregion
4502
+ //#region src/file/paragraph/math/matrix/math-matrix-properties.d.ts
4503
+ interface MathMatrixPropertiesOptions {
4504
+ readonly baseJc?: "top" | "bot" | "center";
4505
+ readonly plcHide?: boolean;
4506
+ readonly rSpRule?: "single" | "1.5" | "double" | "exactly" | "multiple";
4507
+ readonly cGpRule?: "single" | "1.5" | "double" | "exactly" | "multiple";
4508
+ readonly rSp?: number;
4509
+ readonly cSp?: number;
4510
+ readonly cGp?: number;
4511
+ }
4512
+ declare const createMathMatrixProperties: (options: MathMatrixPropertiesOptions) => XmlComponent;
4513
+ //#endregion
4514
+ //#region src/file/paragraph/math/matrix/math-matrix.d.ts
4515
+ interface IMathMatrixOptions {
4516
+ readonly properties?: MathMatrixPropertiesOptions;
4517
+ readonly rows: readonly (readonly MathComponent[])[];
4518
+ }
4519
+ declare class MathMatrix extends XmlComponent {
4520
+ constructor(options: IMathMatrixOptions);
3668
4521
  }
3669
4522
  //#endregion
3670
4523
  //#region src/file/paragraph/math/n-ary/math-accent-character.d.ts
@@ -3697,12 +4550,14 @@ interface MathNAryPropertiesOptions {
3697
4550
  readonly hasSuperScript: boolean;
3698
4551
  readonly hasSubScript: boolean;
3699
4552
  readonly limitLocationVal?: string;
4553
+ readonly grow?: boolean;
3700
4554
  }
3701
4555
  declare const createMathNAryProperties: ({
3702
4556
  accent,
3703
4557
  hasSuperScript,
3704
4558
  hasSubScript,
3705
- limitLocationVal
4559
+ limitLocationVal,
4560
+ grow
3706
4561
  }: MathNAryPropertiesOptions) => XmlComponent;
3707
4562
  //#endregion
3708
4563
  //#region src/file/paragraph/math/n-ary/math-sub-script.d.ts
@@ -3746,8 +4601,15 @@ declare class MathLimit extends XmlComponent {
3746
4601
  constructor(children: readonly MathComponent[]);
3747
4602
  }
3748
4603
  //#endregion
4604
+ //#region src/file/paragraph/math/n-ary/math-limit-upper-properties.d.ts
4605
+ interface MathLimitUpperPropertiesOptions {
4606
+ readonly controlProperties?: MathControlPropertiesOptions;
4607
+ }
4608
+ declare const createMathLimitUpperProperties: (options?: MathLimitUpperPropertiesOptions) => XmlComponent;
4609
+ //#endregion
3749
4610
  //#region src/file/paragraph/math/n-ary/math-limit-upper.d.ts
3750
4611
  interface IMathLimitUpperOptions {
4612
+ readonly properties?: MathLimitUpperPropertiesOptions;
3751
4613
  readonly children: readonly MathComponent[];
3752
4614
  readonly limit: readonly MathComponent[];
3753
4615
  }
@@ -3755,8 +4617,15 @@ declare class MathLimitUpper extends XmlComponent {
3755
4617
  constructor(options: IMathLimitUpperOptions);
3756
4618
  }
3757
4619
  //#endregion
4620
+ //#region src/file/paragraph/math/n-ary/math-limit-low-properties.d.ts
4621
+ interface MathLimitLowPropertiesOptions {
4622
+ readonly controlProperties?: MathControlPropertiesOptions;
4623
+ }
4624
+ declare const createMathLimitLowProperties: (options?: MathLimitLowPropertiesOptions) => XmlComponent;
4625
+ //#endregion
3758
4626
  //#region src/file/paragraph/math/n-ary/math-limit-lower.d.ts
3759
4627
  interface IMathLimitLowerOptions {
4628
+ readonly properties?: MathLimitLowPropertiesOptions;
3760
4629
  readonly children: readonly MathComponent[];
3761
4630
  readonly limit: readonly MathComponent[];
3762
4631
  }
@@ -3764,6 +4633,25 @@ declare class MathLimitLower extends XmlComponent {
3764
4633
  constructor(options: IMathLimitLowerOptions);
3765
4634
  }
3766
4635
  //#endregion
4636
+ //#region src/file/paragraph/math/phant/math-phant-properties.d.ts
4637
+ interface MathPhantPropertiesOptions {
4638
+ readonly show?: boolean;
4639
+ readonly zeroWid?: boolean;
4640
+ readonly zeroAsc?: boolean;
4641
+ readonly zeroDesc?: boolean;
4642
+ readonly transp?: boolean;
4643
+ }
4644
+ declare const createMathPhantProperties: (options: MathPhantPropertiesOptions) => XmlComponent;
4645
+ //#endregion
4646
+ //#region src/file/paragraph/math/phant/math-phant.d.ts
4647
+ interface IMathPhantOptions {
4648
+ readonly properties?: MathPhantPropertiesOptions;
4649
+ readonly children: readonly MathComponent[];
4650
+ }
4651
+ declare class MathPhant extends XmlComponent {
4652
+ constructor(options: IMathPhantOptions);
4653
+ }
4654
+ //#endregion
3767
4655
  //#region src/file/paragraph/math/radical/math-degree.d.ts
3768
4656
  declare class MathDegree extends XmlComponent {
3769
4657
  constructor(children?: readonly MathComponent[]);
@@ -3818,7 +4706,10 @@ declare class MathSubSuperScript extends XmlComponent {
3818
4706
  }
3819
4707
  //#endregion
3820
4708
  //#region src/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.d.ts
3821
- declare const createMathSubSuperScriptProperties: () => XmlComponent;
4709
+ interface MathSubSuperScriptPropertiesOptions {
4710
+ readonly alignScripts?: boolean;
4711
+ }
4712
+ declare const createMathSubSuperScriptProperties: (options?: MathSubSuperScriptPropertiesOptions) => XmlComponent;
3822
4713
  //#endregion
3823
4714
  //#region src/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.d.ts
3824
4715
  interface IMathPreSubSuperScriptOptions {
@@ -3838,9 +4729,42 @@ declare class MathPreSubSuperScript extends BuilderElement {
3838
4729
  declare const createMathPreSubSuperScriptProperties: () => XmlComponent;
3839
4730
  //#endregion
3840
4731
  //#region src/file/paragraph/math/math-component.d.ts
3841
- type MathComponent = MathRun | MathFraction | MathSum | MathIntegral | MathSuperScript | MathSubScript | MathSubSuperScript | MathRadical | MathFunction | MathRoundBrackets | MathCurlyBrackets | MathAngledBrackets | MathSquareBrackets;
4732
+ type MathComponent = MathRun | MathFraction | MathSum | MathIntegral | MathSuperScript | MathSubScript | MathSubSuperScript | MathRadical | MathFunction | MathRoundBrackets | MathCurlyBrackets | MathAngledBrackets | MathSquareBrackets | MathBox | MathBorderBox | MathEqArr | MathGroupChr | MathLimitLower | MathLimitUpper | MathMatrix | MathPhant;
3842
4733
  declare const WORKAROUND4 = "";
3843
4734
  //#endregion
4735
+ //#region src/file/paragraph/math/accent/math-accent.d.ts
4736
+ interface MathAccentOptions {
4737
+ readonly accentCharacter?: string;
4738
+ readonly children: readonly MathComponent[];
4739
+ }
4740
+ declare const createMathAccent: ({
4741
+ accentCharacter,
4742
+ children
4743
+ }: MathAccentOptions) => XmlComponent;
4744
+ //#endregion
4745
+ //#region src/file/paragraph/math/accent/math-accent-properties.d.ts
4746
+ interface MathAccentPropertiesOptions {
4747
+ readonly accentCharacter: string;
4748
+ }
4749
+ declare const createMathAccentProperties: (options: MathAccentPropertiesOptions) => XmlComponent;
4750
+ //#endregion
4751
+ //#region src/file/paragraph/math/bar/math-bar.d.ts
4752
+ interface MathBarOptions {
4753
+ readonly type: "top" | "bot";
4754
+ readonly children: readonly MathComponent[];
4755
+ }
4756
+ declare const createMathBar: ({
4757
+ type,
4758
+ children
4759
+ }: MathBarOptions) => XmlComponent;
4760
+ //#endregion
4761
+ //#region src/file/paragraph/math/bar/math-bar-properties.d.ts
4762
+ declare const createMathBarProperties: ({
4763
+ type
4764
+ }: {
4765
+ readonly type: string;
4766
+ }) => XmlComponent;
4767
+ //#endregion
3844
4768
  //#region src/file/paragraph/math/math.d.ts
3845
4769
  interface IMathOptions {
3846
4770
  readonly children: readonly MathComponent[];
@@ -3849,8 +4773,42 @@ declare class Math extends XmlComponent {
3849
4773
  constructor(options: IMathOptions);
3850
4774
  }
3851
4775
  //#endregion
4776
+ //#region src/file/paragraph/math/math-para.d.ts
4777
+ type MathJustification = "left" | "right" | "center" | "centerGroup";
4778
+ interface IMathParagraphOptions {
4779
+ readonly justification?: MathJustification;
4780
+ readonly children: readonly IMathOptions[];
4781
+ }
4782
+ declare class MathParagraph extends XmlComponent {
4783
+ constructor(options: IMathParagraphOptions);
4784
+ }
4785
+ //#endregion
4786
+ //#region src/file/paragraph/math/math-pr.d.ts
4787
+ type MathBreakBin = "before" | "after" | "repeat";
4788
+ type MathBreakBinSub = "--" | "-+" | "+-";
4789
+ type MathPropertiesJustification = "left" | "right" | "center" | "centerGroup";
4790
+ interface MathPropertiesOptions {
4791
+ readonly mathFont?: string;
4792
+ readonly breakBin?: MathBreakBin;
4793
+ readonly breakBinSub?: MathBreakBinSub;
4794
+ readonly smallFrac?: boolean;
4795
+ readonly displayDefault?: boolean;
4796
+ readonly leftMargin?: number;
4797
+ readonly rightMargin?: number;
4798
+ readonly defaultJustification?: MathPropertiesJustification;
4799
+ readonly preSpacing?: number;
4800
+ readonly postSpacing?: number;
4801
+ readonly interSpacing?: number;
4802
+ readonly intraSpacing?: number;
4803
+ readonly wrapIndent?: number;
4804
+ readonly wrapRight?: boolean;
4805
+ readonly integralLimitLocation?: string;
4806
+ readonly naryLimitLocation?: string;
4807
+ }
4808
+ declare const createMathProperties: (options: MathPropertiesOptions) => XmlComponent;
4809
+ //#endregion
3852
4810
  //#region src/file/paragraph/paragraph.d.ts
3853
- type ParagraphChild = TextRun | ImageRun | SymbolRun | Bookmark | PageBreak | ColumnBreak | SequentialIdentifier | FootnoteReferenceRun | InternalHyperlink | ExternalHyperlink | InsertedTextRun | DeletedTextRun | Math | SimpleField | SimpleMailMergeField | Comments | Comment | CommentRangeStart | CommentRangeEnd | CommentReference | CheckBox;
4811
+ type ParagraphChild = TextRun | ImageRun | SymbolRun | Bookmark | PageBreak | ColumnBreak | SequentialIdentifier | FootnoteReferenceRun | InternalHyperlink | ExternalHyperlink | InsertedTextRun | DeletedTextRun | Math | SimpleField | SimpleMailMergeField | Comments | Comment | CommentRangeStart | CommentRangeEnd | CommentReference | CheckBox | StructuredDocumentTagRun;
3854
4812
  type IParagraphOptions = {
3855
4813
  readonly text?: string;
3856
4814
  readonly children?: readonly ParagraphChild[];
@@ -4006,4 +4964,4 @@ declare const patchDetector: ({
4006
4964
  data
4007
4965
  }: PatchDetectorOptions) => Promise<readonly string[]>;
4008
4966
  //#endregion
4009
- export { AbstractNumbering, AlignmentType, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, CheckBox, CheckBoxSymbolElement, CheckBoxUtil, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentAttributes, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, EMPTY_OBJECT, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, FileChild, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDistance, IDocGridAttributesProperties, IDocumentAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathFractionOptions, IMathFunctionOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBorderAttributes, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, type IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISpacingProperties, IStylesOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlAttribute, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAngledBrackets, MathComponent, MathCurlyBrackets, MathDegree, MathDenominator, MathFraction, MathFunction, MathFunctionName, MathFunctionProperties, MathIntegral, MathLimit, MathLimitLower, MathLimitUpper, MathNumerator, MathPreSubSuperScript, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathSquareBrackets, MathSubScript, MathSubSuperScript, MathSum, MathSuperScript, Media, MonthLong, MonthShort, NextAttributeComponent, NoBreakHyphen, 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, Percentage, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PositivePercentage, PositiveUniversalMeasure, PrettifyType, RelativeHorizontalPosition, RelativeMeasure, RelativeVerticalPosition, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SoftHyphen, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextDirection, TextEffect, TextRun, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, ThemeColor, ThemeFont, UnderlineType, UniqueNumericIdCreator, UniversalMeasure, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND3, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createColumns, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccentCharacter, createMathBase, createMathLimitLocation, createMathNAryProperties, createMathPreSubSuperScriptProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, dateTimeValue, decimalNumber, docPropertiesUniqueNumericIdGen, eighthPointMeasureValue, hashedId, hexColorValue, hpsMeasureValue, longHexNumber, measurementOrPercentValue, patchDetector, patchDocument, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, sectionMarginDefaults, sectionPageSizeDefaults, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber };
4967
+ export { AbstractNumbering, AlignmentType, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentAttributes, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, 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, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDistance, IDocGridAttributesProperties, IDocumentAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBorderAttributes, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, type IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISpacingProperties, IStylesOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlAttribute, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, 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, 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, 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, Percentage, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PositivePercentage, PositiveUniversalMeasure, PresetTextShapeOptions, PrettifyType, RelativeHorizontalPosition, RelativeMeasure, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, ThemeColor, ThemeFont, UnderlineType, UniqueNumericIdCreator, UniversalMeasure, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND3, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createCnfStyle, createColumns, 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, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, dateTimeValue, decimalNumber, docPropertiesUniqueNumericIdGen, eighthPointMeasureValue, hashedId, hexColorValue, hpsMeasureValue, longHexNumber, measurementOrPercentValue, patchDetector, patchDocument, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, sectionMarginDefaults, sectionPageSizeDefaults, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber };