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