docx-plus 0.0.13 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/index.cjs +533 -117
- package/dist/index.d.cts +123 -15
- package/dist/index.d.mts +123 -15
- package/dist/index.iife.js +533 -117
- package/dist/index.mjs +533 -117
- package/dist/index.umd.js +533 -117
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -537,11 +537,16 @@ declare class SymbolRun extends Run {
|
|
|
537
537
|
}
|
|
538
538
|
//#endregion
|
|
539
539
|
//#region src/file/drawing/doc-properties/doc-properties.d.ts
|
|
540
|
+
interface HyperlinkOptions {
|
|
541
|
+
readonly click?: string;
|
|
542
|
+
readonly hover?: string;
|
|
543
|
+
}
|
|
540
544
|
interface DocPropertiesOptions {
|
|
541
545
|
readonly name: string;
|
|
542
546
|
readonly description?: string;
|
|
543
547
|
readonly title?: string;
|
|
544
548
|
readonly id?: string;
|
|
549
|
+
readonly hyperlink?: HyperlinkOptions;
|
|
545
550
|
}
|
|
546
551
|
//#endregion
|
|
547
552
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/blip/source-rectangle.d.ts
|
|
@@ -820,13 +825,26 @@ interface SystemColorOptions {
|
|
|
820
825
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.d.ts
|
|
821
826
|
type SolidFillOptions = RgbColorOptions | SchemeColorOptions | HslColorOptions | SystemColorOptions | PresetColorOptions;
|
|
822
827
|
//#endregion
|
|
828
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/fill-overlay.d.ts
|
|
829
|
+
declare const BlendMode: {
|
|
830
|
+
readonly OVER: "over";
|
|
831
|
+
readonly MULTIPLY: "mult";
|
|
832
|
+
readonly SCREEN: "screen";
|
|
833
|
+
readonly DARKEN: "darken";
|
|
834
|
+
readonly LIGHTEN: "lighten";
|
|
835
|
+
};
|
|
836
|
+
interface FillOverlayEffectOptions {
|
|
837
|
+
readonly blend: (typeof BlendMode)[keyof typeof BlendMode];
|
|
838
|
+
readonly color: SolidFillOptions;
|
|
839
|
+
}
|
|
840
|
+
//#endregion
|
|
823
841
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/glow.d.ts
|
|
824
842
|
interface GlowEffectOptions {
|
|
825
843
|
readonly rad?: number;
|
|
826
844
|
readonly color: SolidFillOptions;
|
|
827
845
|
}
|
|
828
846
|
//#endregion
|
|
829
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/inner-
|
|
847
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/inner-shadow.d.ts
|
|
830
848
|
interface InnerShadowEffectOptions {
|
|
831
849
|
readonly blurRad?: number;
|
|
832
850
|
readonly dist?: number;
|
|
@@ -834,7 +852,7 @@ interface InnerShadowEffectOptions {
|
|
|
834
852
|
readonly color: SolidFillOptions;
|
|
835
853
|
}
|
|
836
854
|
//#endregion
|
|
837
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/outer-
|
|
855
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/outer-shadow.d.ts
|
|
838
856
|
declare const RectAlignment: {
|
|
839
857
|
readonly TOP_LEFT: "tl";
|
|
840
858
|
readonly TOP: "t";
|
|
@@ -859,7 +877,7 @@ interface OuterShadowEffectOptions {
|
|
|
859
877
|
readonly color: SolidFillOptions;
|
|
860
878
|
}
|
|
861
879
|
//#endregion
|
|
862
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/
|
|
880
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/preset-shadow.d.ts
|
|
863
881
|
declare const PresetShadowVal: {
|
|
864
882
|
readonly SHDW1: "shdw1";
|
|
865
883
|
readonly SHDW2: "shdw2";
|
|
@@ -914,10 +932,11 @@ interface BlurEffectOptions {
|
|
|
914
932
|
}
|
|
915
933
|
interface EffectListOptions {
|
|
916
934
|
readonly blur?: BlurEffectOptions;
|
|
935
|
+
readonly fillOverlay?: FillOverlayEffectOptions;
|
|
917
936
|
readonly glow?: GlowEffectOptions;
|
|
918
|
-
readonly
|
|
919
|
-
readonly
|
|
920
|
-
readonly
|
|
937
|
+
readonly innerShadow?: InnerShadowEffectOptions;
|
|
938
|
+
readonly outerShadow?: OuterShadowEffectOptions;
|
|
939
|
+
readonly presetShadow?: PresetShadowEffectOptions;
|
|
921
940
|
readonly reflection?: ReflectionEffectOptions | true;
|
|
922
941
|
readonly softEdge?: number;
|
|
923
942
|
}
|
|
@@ -966,14 +985,10 @@ interface OutlineAttributes {
|
|
|
966
985
|
readonly join?: keyof typeof LineJoin;
|
|
967
986
|
readonly miterLimit?: number;
|
|
968
987
|
}
|
|
969
|
-
interface
|
|
970
|
-
readonly type
|
|
988
|
+
interface OutlineFillProperties {
|
|
989
|
+
readonly type?: "noFill" | "solidFill";
|
|
990
|
+
readonly color?: SolidFillOptions;
|
|
971
991
|
}
|
|
972
|
-
interface OutlineSolidFill {
|
|
973
|
-
readonly type: "solidFill";
|
|
974
|
-
readonly color: SolidFillOptions;
|
|
975
|
-
}
|
|
976
|
-
type OutlineFillProperties = OutlineNoFill | OutlineSolidFill;
|
|
977
992
|
type OutlineOptions = OutlineAttributes & OutlineFillProperties;
|
|
978
993
|
//#endregion
|
|
979
994
|
//#region src/file/drawing/inline/graphic/graphic-data/wpg/wpg-group.d.ts
|
|
@@ -1052,8 +1067,8 @@ declare const PresetMaterialType: {
|
|
|
1052
1067
|
interface Shape3DOptions {
|
|
1053
1068
|
readonly bevelT?: BevelOptions;
|
|
1054
1069
|
readonly bevelB?: BevelOptions;
|
|
1055
|
-
readonly
|
|
1056
|
-
readonly
|
|
1070
|
+
readonly extrusionColor?: SolidFillOptions;
|
|
1071
|
+
readonly contourColor?: SolidFillOptions;
|
|
1057
1072
|
readonly z?: number;
|
|
1058
1073
|
readonly extrusionH?: number;
|
|
1059
1074
|
readonly contourW?: number;
|
|
@@ -1294,6 +1309,93 @@ declare class Media {
|
|
|
1294
1309
|
get Array(): readonly IMediaData[];
|
|
1295
1310
|
}
|
|
1296
1311
|
//#endregion
|
|
1312
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/blip/blip-effects.d.ts
|
|
1313
|
+
interface LuminanceEffectOptions {
|
|
1314
|
+
readonly bright?: number;
|
|
1315
|
+
readonly contrast?: number;
|
|
1316
|
+
}
|
|
1317
|
+
interface HSLEffectOptions {
|
|
1318
|
+
readonly hue?: number;
|
|
1319
|
+
readonly sat?: number;
|
|
1320
|
+
readonly lum?: number;
|
|
1321
|
+
}
|
|
1322
|
+
interface TintEffectOptions {
|
|
1323
|
+
readonly hue?: number;
|
|
1324
|
+
readonly amt?: number;
|
|
1325
|
+
}
|
|
1326
|
+
interface DuotoneEffectOptions {
|
|
1327
|
+
readonly color1: SolidFillOptions;
|
|
1328
|
+
readonly color2: SolidFillOptions;
|
|
1329
|
+
}
|
|
1330
|
+
interface BiLevelEffectOptions {
|
|
1331
|
+
readonly thresh: number;
|
|
1332
|
+
}
|
|
1333
|
+
interface AlphaReplaceEffectOptions {
|
|
1334
|
+
readonly amount: number;
|
|
1335
|
+
}
|
|
1336
|
+
interface AlphaBiLevelEffectOptions {
|
|
1337
|
+
readonly thresh: number;
|
|
1338
|
+
}
|
|
1339
|
+
interface AlphaModulateFixedEffectOptions {
|
|
1340
|
+
readonly amount?: number;
|
|
1341
|
+
}
|
|
1342
|
+
interface ColorChangeEffectOptions {
|
|
1343
|
+
readonly from: SolidFillOptions;
|
|
1344
|
+
readonly to: SolidFillOptions;
|
|
1345
|
+
readonly useAlpha?: boolean;
|
|
1346
|
+
}
|
|
1347
|
+
interface ColorReplaceEffectOptions {
|
|
1348
|
+
readonly color: SolidFillOptions;
|
|
1349
|
+
}
|
|
1350
|
+
interface BlipBlurEffectOptions {
|
|
1351
|
+
readonly rad?: number;
|
|
1352
|
+
readonly grow?: boolean;
|
|
1353
|
+
}
|
|
1354
|
+
interface BlipEffectsOptions {
|
|
1355
|
+
readonly grayscale?: boolean;
|
|
1356
|
+
readonly luminance?: LuminanceEffectOptions;
|
|
1357
|
+
readonly hsl?: HSLEffectOptions;
|
|
1358
|
+
readonly tint?: TintEffectOptions;
|
|
1359
|
+
readonly duotone?: DuotoneEffectOptions;
|
|
1360
|
+
readonly biLevel?: BiLevelEffectOptions;
|
|
1361
|
+
readonly alphaCeiling?: boolean;
|
|
1362
|
+
readonly alphaFloor?: boolean;
|
|
1363
|
+
readonly alphaInverse?: SolidFillOptions;
|
|
1364
|
+
readonly alphaModFix?: AlphaModulateFixedEffectOptions;
|
|
1365
|
+
readonly alphaRepl?: AlphaReplaceEffectOptions;
|
|
1366
|
+
readonly alphaBiLevel?: AlphaBiLevelEffectOptions;
|
|
1367
|
+
readonly colorChange?: ColorChangeEffectOptions;
|
|
1368
|
+
readonly colorRepl?: ColorReplaceEffectOptions;
|
|
1369
|
+
readonly blur?: BlipBlurEffectOptions;
|
|
1370
|
+
}
|
|
1371
|
+
//#endregion
|
|
1372
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/blip/tile.d.ts
|
|
1373
|
+
declare const TileFlipMode: {
|
|
1374
|
+
readonly NONE: "none";
|
|
1375
|
+
readonly X: "x";
|
|
1376
|
+
readonly Y: "y";
|
|
1377
|
+
readonly XY: "xy";
|
|
1378
|
+
};
|
|
1379
|
+
declare const TileAlignment: {
|
|
1380
|
+
readonly TOP_LEFT: "tl";
|
|
1381
|
+
readonly TOP: "t";
|
|
1382
|
+
readonly TOP_RIGHT: "tr";
|
|
1383
|
+
readonly LEFT: "l";
|
|
1384
|
+
readonly CENTER: "ctr";
|
|
1385
|
+
readonly RIGHT: "r";
|
|
1386
|
+
readonly BOTTOM_LEFT: "bl";
|
|
1387
|
+
readonly BOTTOM: "b";
|
|
1388
|
+
readonly BOTTOM_RIGHT: "br";
|
|
1389
|
+
};
|
|
1390
|
+
interface TileOptions {
|
|
1391
|
+
readonly tx?: number;
|
|
1392
|
+
readonly ty?: number;
|
|
1393
|
+
readonly sx?: number;
|
|
1394
|
+
readonly sy?: number;
|
|
1395
|
+
readonly flip?: keyof typeof TileFlipMode;
|
|
1396
|
+
readonly align?: keyof typeof TileAlignment;
|
|
1397
|
+
}
|
|
1398
|
+
//#endregion
|
|
1297
1399
|
//#region src/file/drawing/drawing.d.ts
|
|
1298
1400
|
interface IDistance {
|
|
1299
1401
|
readonly distT?: number;
|
|
@@ -1306,6 +1408,9 @@ interface IDrawingOptions {
|
|
|
1306
1408
|
readonly docProperties?: DocPropertiesOptions;
|
|
1307
1409
|
readonly outline?: OutlineOptions;
|
|
1308
1410
|
readonly solidFill?: SolidFillOptions;
|
|
1411
|
+
readonly effects?: EffectListOptions;
|
|
1412
|
+
readonly blipEffects?: BlipEffectsOptions;
|
|
1413
|
+
readonly tile?: TileOptions;
|
|
1309
1414
|
}
|
|
1310
1415
|
declare class Drawing extends XmlComponent {
|
|
1311
1416
|
constructor(imageData: IExtendedMediaData, drawingOptions?: IDrawingOptions);
|
|
@@ -1318,7 +1423,10 @@ interface CoreImageOptions {
|
|
|
1318
1423
|
readonly altText?: DocPropertiesOptions;
|
|
1319
1424
|
readonly outline?: OutlineOptions;
|
|
1320
1425
|
readonly solidFill?: SolidFillOptions;
|
|
1426
|
+
readonly effects?: EffectListOptions;
|
|
1427
|
+
readonly blipEffects?: BlipEffectsOptions;
|
|
1321
1428
|
readonly srcRect?: SourceRectangleOptions;
|
|
1429
|
+
readonly tile?: TileOptions;
|
|
1322
1430
|
}
|
|
1323
1431
|
interface RegularImageOptions {
|
|
1324
1432
|
readonly type: "jpg" | "png" | "gif" | "bmp";
|
package/dist/index.d.mts
CHANGED
|
@@ -539,11 +539,16 @@ declare class SymbolRun extends Run {
|
|
|
539
539
|
}
|
|
540
540
|
//#endregion
|
|
541
541
|
//#region src/file/drawing/doc-properties/doc-properties.d.ts
|
|
542
|
+
interface HyperlinkOptions {
|
|
543
|
+
readonly click?: string;
|
|
544
|
+
readonly hover?: string;
|
|
545
|
+
}
|
|
542
546
|
interface DocPropertiesOptions {
|
|
543
547
|
readonly name: string;
|
|
544
548
|
readonly description?: string;
|
|
545
549
|
readonly title?: string;
|
|
546
550
|
readonly id?: string;
|
|
551
|
+
readonly hyperlink?: HyperlinkOptions;
|
|
547
552
|
}
|
|
548
553
|
//#endregion
|
|
549
554
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/blip/source-rectangle.d.ts
|
|
@@ -822,13 +827,26 @@ interface SystemColorOptions {
|
|
|
822
827
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.d.ts
|
|
823
828
|
type SolidFillOptions = RgbColorOptions | SchemeColorOptions | HslColorOptions | SystemColorOptions | PresetColorOptions;
|
|
824
829
|
//#endregion
|
|
830
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/fill-overlay.d.ts
|
|
831
|
+
declare const BlendMode: {
|
|
832
|
+
readonly OVER: "over";
|
|
833
|
+
readonly MULTIPLY: "mult";
|
|
834
|
+
readonly SCREEN: "screen";
|
|
835
|
+
readonly DARKEN: "darken";
|
|
836
|
+
readonly LIGHTEN: "lighten";
|
|
837
|
+
};
|
|
838
|
+
interface FillOverlayEffectOptions {
|
|
839
|
+
readonly blend: (typeof BlendMode)[keyof typeof BlendMode];
|
|
840
|
+
readonly color: SolidFillOptions;
|
|
841
|
+
}
|
|
842
|
+
//#endregion
|
|
825
843
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/glow.d.ts
|
|
826
844
|
interface GlowEffectOptions {
|
|
827
845
|
readonly rad?: number;
|
|
828
846
|
readonly color: SolidFillOptions;
|
|
829
847
|
}
|
|
830
848
|
//#endregion
|
|
831
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/inner-
|
|
849
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/inner-shadow.d.ts
|
|
832
850
|
interface InnerShadowEffectOptions {
|
|
833
851
|
readonly blurRad?: number;
|
|
834
852
|
readonly dist?: number;
|
|
@@ -836,7 +854,7 @@ interface InnerShadowEffectOptions {
|
|
|
836
854
|
readonly color: SolidFillOptions;
|
|
837
855
|
}
|
|
838
856
|
//#endregion
|
|
839
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/outer-
|
|
857
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/outer-shadow.d.ts
|
|
840
858
|
declare const RectAlignment: {
|
|
841
859
|
readonly TOP_LEFT: "tl";
|
|
842
860
|
readonly TOP: "t";
|
|
@@ -861,7 +879,7 @@ interface OuterShadowEffectOptions {
|
|
|
861
879
|
readonly color: SolidFillOptions;
|
|
862
880
|
}
|
|
863
881
|
//#endregion
|
|
864
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/
|
|
882
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/preset-shadow.d.ts
|
|
865
883
|
declare const PresetShadowVal: {
|
|
866
884
|
readonly SHDW1: "shdw1";
|
|
867
885
|
readonly SHDW2: "shdw2";
|
|
@@ -916,10 +934,11 @@ interface BlurEffectOptions {
|
|
|
916
934
|
}
|
|
917
935
|
interface EffectListOptions {
|
|
918
936
|
readonly blur?: BlurEffectOptions;
|
|
937
|
+
readonly fillOverlay?: FillOverlayEffectOptions;
|
|
919
938
|
readonly glow?: GlowEffectOptions;
|
|
920
|
-
readonly
|
|
921
|
-
readonly
|
|
922
|
-
readonly
|
|
939
|
+
readonly innerShadow?: InnerShadowEffectOptions;
|
|
940
|
+
readonly outerShadow?: OuterShadowEffectOptions;
|
|
941
|
+
readonly presetShadow?: PresetShadowEffectOptions;
|
|
923
942
|
readonly reflection?: ReflectionEffectOptions | true;
|
|
924
943
|
readonly softEdge?: number;
|
|
925
944
|
}
|
|
@@ -968,14 +987,10 @@ interface OutlineAttributes {
|
|
|
968
987
|
readonly join?: keyof typeof LineJoin;
|
|
969
988
|
readonly miterLimit?: number;
|
|
970
989
|
}
|
|
971
|
-
interface
|
|
972
|
-
readonly type
|
|
990
|
+
interface OutlineFillProperties {
|
|
991
|
+
readonly type?: "noFill" | "solidFill";
|
|
992
|
+
readonly color?: SolidFillOptions;
|
|
973
993
|
}
|
|
974
|
-
interface OutlineSolidFill {
|
|
975
|
-
readonly type: "solidFill";
|
|
976
|
-
readonly color: SolidFillOptions;
|
|
977
|
-
}
|
|
978
|
-
type OutlineFillProperties = OutlineNoFill | OutlineSolidFill;
|
|
979
994
|
type OutlineOptions = OutlineAttributes & OutlineFillProperties;
|
|
980
995
|
//#endregion
|
|
981
996
|
//#region src/file/drawing/inline/graphic/graphic-data/wpg/wpg-group.d.ts
|
|
@@ -1054,8 +1069,8 @@ declare const PresetMaterialType: {
|
|
|
1054
1069
|
interface Shape3DOptions {
|
|
1055
1070
|
readonly bevelT?: BevelOptions;
|
|
1056
1071
|
readonly bevelB?: BevelOptions;
|
|
1057
|
-
readonly
|
|
1058
|
-
readonly
|
|
1072
|
+
readonly extrusionColor?: SolidFillOptions;
|
|
1073
|
+
readonly contourColor?: SolidFillOptions;
|
|
1059
1074
|
readonly z?: number;
|
|
1060
1075
|
readonly extrusionH?: number;
|
|
1061
1076
|
readonly contourW?: number;
|
|
@@ -1296,6 +1311,93 @@ declare class Media {
|
|
|
1296
1311
|
get Array(): readonly IMediaData[];
|
|
1297
1312
|
}
|
|
1298
1313
|
//#endregion
|
|
1314
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/blip/blip-effects.d.ts
|
|
1315
|
+
interface LuminanceEffectOptions {
|
|
1316
|
+
readonly bright?: number;
|
|
1317
|
+
readonly contrast?: number;
|
|
1318
|
+
}
|
|
1319
|
+
interface HSLEffectOptions {
|
|
1320
|
+
readonly hue?: number;
|
|
1321
|
+
readonly sat?: number;
|
|
1322
|
+
readonly lum?: number;
|
|
1323
|
+
}
|
|
1324
|
+
interface TintEffectOptions {
|
|
1325
|
+
readonly hue?: number;
|
|
1326
|
+
readonly amt?: number;
|
|
1327
|
+
}
|
|
1328
|
+
interface DuotoneEffectOptions {
|
|
1329
|
+
readonly color1: SolidFillOptions;
|
|
1330
|
+
readonly color2: SolidFillOptions;
|
|
1331
|
+
}
|
|
1332
|
+
interface BiLevelEffectOptions {
|
|
1333
|
+
readonly thresh: number;
|
|
1334
|
+
}
|
|
1335
|
+
interface AlphaReplaceEffectOptions {
|
|
1336
|
+
readonly amount: number;
|
|
1337
|
+
}
|
|
1338
|
+
interface AlphaBiLevelEffectOptions {
|
|
1339
|
+
readonly thresh: number;
|
|
1340
|
+
}
|
|
1341
|
+
interface AlphaModulateFixedEffectOptions {
|
|
1342
|
+
readonly amount?: number;
|
|
1343
|
+
}
|
|
1344
|
+
interface ColorChangeEffectOptions {
|
|
1345
|
+
readonly from: SolidFillOptions;
|
|
1346
|
+
readonly to: SolidFillOptions;
|
|
1347
|
+
readonly useAlpha?: boolean;
|
|
1348
|
+
}
|
|
1349
|
+
interface ColorReplaceEffectOptions {
|
|
1350
|
+
readonly color: SolidFillOptions;
|
|
1351
|
+
}
|
|
1352
|
+
interface BlipBlurEffectOptions {
|
|
1353
|
+
readonly rad?: number;
|
|
1354
|
+
readonly grow?: boolean;
|
|
1355
|
+
}
|
|
1356
|
+
interface BlipEffectsOptions {
|
|
1357
|
+
readonly grayscale?: boolean;
|
|
1358
|
+
readonly luminance?: LuminanceEffectOptions;
|
|
1359
|
+
readonly hsl?: HSLEffectOptions;
|
|
1360
|
+
readonly tint?: TintEffectOptions;
|
|
1361
|
+
readonly duotone?: DuotoneEffectOptions;
|
|
1362
|
+
readonly biLevel?: BiLevelEffectOptions;
|
|
1363
|
+
readonly alphaCeiling?: boolean;
|
|
1364
|
+
readonly alphaFloor?: boolean;
|
|
1365
|
+
readonly alphaInverse?: SolidFillOptions;
|
|
1366
|
+
readonly alphaModFix?: AlphaModulateFixedEffectOptions;
|
|
1367
|
+
readonly alphaRepl?: AlphaReplaceEffectOptions;
|
|
1368
|
+
readonly alphaBiLevel?: AlphaBiLevelEffectOptions;
|
|
1369
|
+
readonly colorChange?: ColorChangeEffectOptions;
|
|
1370
|
+
readonly colorRepl?: ColorReplaceEffectOptions;
|
|
1371
|
+
readonly blur?: BlipBlurEffectOptions;
|
|
1372
|
+
}
|
|
1373
|
+
//#endregion
|
|
1374
|
+
//#region src/file/drawing/inline/graphic/graphic-data/pic/blip/tile.d.ts
|
|
1375
|
+
declare const TileFlipMode: {
|
|
1376
|
+
readonly NONE: "none";
|
|
1377
|
+
readonly X: "x";
|
|
1378
|
+
readonly Y: "y";
|
|
1379
|
+
readonly XY: "xy";
|
|
1380
|
+
};
|
|
1381
|
+
declare const TileAlignment: {
|
|
1382
|
+
readonly TOP_LEFT: "tl";
|
|
1383
|
+
readonly TOP: "t";
|
|
1384
|
+
readonly TOP_RIGHT: "tr";
|
|
1385
|
+
readonly LEFT: "l";
|
|
1386
|
+
readonly CENTER: "ctr";
|
|
1387
|
+
readonly RIGHT: "r";
|
|
1388
|
+
readonly BOTTOM_LEFT: "bl";
|
|
1389
|
+
readonly BOTTOM: "b";
|
|
1390
|
+
readonly BOTTOM_RIGHT: "br";
|
|
1391
|
+
};
|
|
1392
|
+
interface TileOptions {
|
|
1393
|
+
readonly tx?: number;
|
|
1394
|
+
readonly ty?: number;
|
|
1395
|
+
readonly sx?: number;
|
|
1396
|
+
readonly sy?: number;
|
|
1397
|
+
readonly flip?: keyof typeof TileFlipMode;
|
|
1398
|
+
readonly align?: keyof typeof TileAlignment;
|
|
1399
|
+
}
|
|
1400
|
+
//#endregion
|
|
1299
1401
|
//#region src/file/drawing/drawing.d.ts
|
|
1300
1402
|
interface IDistance {
|
|
1301
1403
|
readonly distT?: number;
|
|
@@ -1308,6 +1410,9 @@ interface IDrawingOptions {
|
|
|
1308
1410
|
readonly docProperties?: DocPropertiesOptions;
|
|
1309
1411
|
readonly outline?: OutlineOptions;
|
|
1310
1412
|
readonly solidFill?: SolidFillOptions;
|
|
1413
|
+
readonly effects?: EffectListOptions;
|
|
1414
|
+
readonly blipEffects?: BlipEffectsOptions;
|
|
1415
|
+
readonly tile?: TileOptions;
|
|
1311
1416
|
}
|
|
1312
1417
|
declare class Drawing extends XmlComponent {
|
|
1313
1418
|
constructor(imageData: IExtendedMediaData, drawingOptions?: IDrawingOptions);
|
|
@@ -1320,7 +1425,10 @@ interface CoreImageOptions {
|
|
|
1320
1425
|
readonly altText?: DocPropertiesOptions;
|
|
1321
1426
|
readonly outline?: OutlineOptions;
|
|
1322
1427
|
readonly solidFill?: SolidFillOptions;
|
|
1428
|
+
readonly effects?: EffectListOptions;
|
|
1429
|
+
readonly blipEffects?: BlipEffectsOptions;
|
|
1323
1430
|
readonly srcRect?: SourceRectangleOptions;
|
|
1431
|
+
readonly tile?: TileOptions;
|
|
1324
1432
|
}
|
|
1325
1433
|
interface RegularImageOptions {
|
|
1326
1434
|
readonly type: "jpg" | "png" | "gif" | "bmp";
|