@office-open/core 0.11.0 → 0.12.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/dist/chart/index.d.mts +2 -2
- package/dist/chart/index.mjs +1 -1
- package/dist/{chart-Kf_utasF.mjs → chart-DED4tXC9.mjs} +828 -283
- package/dist/chart-DED4tXC9.mjs.map +1 -0
- package/dist/data-type-CZMKVaaT.d.mts.map +1 -1
- package/dist/descriptor/index.d.mts +1 -1
- package/dist/descriptor/index.mjs +1 -1
- package/dist/{descriptor-BX8xW8na.mjs → descriptor-BqaNZrrZ.mjs} +38 -10
- package/dist/{descriptor-BX8xW8na.mjs.map → descriptor-BqaNZrrZ.mjs.map} +1 -1
- package/dist/drawing/index.d.mts +2 -2
- package/dist/drawing/index.mjs +2 -2
- package/dist/{drawing-FBzd2I0m.mjs → drawing-BCAyrCCw.mjs} +3056 -3130
- package/dist/drawing-BCAyrCCw.mjs.map +1 -0
- package/dist/{generators-CElPsAhd.mjs → ext-uri-BHBcIrW7.mjs} +599 -343
- package/dist/ext-uri-BHBcIrW7.mjs.map +1 -0
- package/dist/index-BAxlDUQ1.d.mts +590 -0
- package/dist/index-BAxlDUQ1.d.mts.map +1 -0
- package/dist/{index-DxwLMnBF.d.mts → index-BP541uS-.d.mts} +136 -31
- package/dist/index-BP541uS-.d.mts.map +1 -0
- package/dist/{index-CLX7gU9J.d.mts → index-BQLIofaF.d.mts} +3 -2
- package/dist/index-BQLIofaF.d.mts.map +1 -0
- package/dist/{index-k8WKLXnA.d.mts → index-CaNwM5_e.d.mts} +19 -20
- package/dist/index-CaNwM5_e.d.mts.map +1 -0
- package/dist/{index-CnjCK-lF.d.mts → index-DPkf_CtG.d.mts} +566 -597
- package/dist/index-DPkf_CtG.d.mts.map +1 -0
- package/dist/{index-BsTUn4K1.d.mts → index-DcukVskh.d.mts} +9 -6
- package/dist/index-DcukVskh.d.mts.map +1 -0
- package/dist/{index-Cgz88FU0.d.mts → index-Di6XPdGl.d.mts} +26 -12
- package/dist/index-Di6XPdGl.d.mts.map +1 -0
- package/dist/{index-C0ClOhmZ.d.mts → index-L6AXewfV.d.mts} +11 -8
- package/dist/index-L6AXewfV.d.mts.map +1 -0
- package/dist/index.d.mts +140 -29
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +849 -87
- package/dist/index.mjs.map +1 -1
- package/dist/{output-D_G_JR_8.d.mts → output-yyxdkG0C.d.mts} +2 -3
- package/dist/output-yyxdkG0C.d.mts.map +1 -0
- package/dist/patch/index.d.mts +2 -2
- package/dist/patch/index.mjs +2 -2
- package/dist/{patch-3KLx2yEP.mjs → patch-AkQY17CD.mjs} +71 -26
- package/dist/patch-AkQY17CD.mjs.map +1 -0
- package/dist/smartart/index.d.mts +2 -2
- package/dist/smartart/index.mjs +1 -1
- package/dist/{smartart-BxnkROOp.mjs → smartart-n1kYJ6Jg.mjs} +27 -26
- package/dist/smartart-n1kYJ6Jg.mjs.map +1 -0
- package/dist/{style-matrix-DAP6XrLv.mjs → style-matrix-B6jhPAT3.mjs} +4 -4
- package/dist/style-matrix-B6jhPAT3.mjs.map +1 -0
- package/dist/theme/index.d.mts +4 -4
- package/dist/theme/index.mjs +3 -2
- package/dist/{theme-OAuRcA9_.mjs → theme-BKnXRmvn.mjs} +37 -71
- package/dist/theme-BKnXRmvn.mjs.map +1 -0
- package/dist/{theme-options-BbWccl85.d.mts → theme-options-kO89NUEX.d.mts} +17 -17
- package/dist/theme-options-kO89NUEX.d.mts.map +1 -0
- package/dist/util/index.d.mts +3 -3
- package/dist/util/index.mjs +3 -3
- package/dist/{util-C94-JKtp.mjs → util-ptE16MEk.mjs} +69 -37
- package/dist/util-ptE16MEk.mjs.map +1 -0
- package/dist/{values-aVoirbWB.d.mts → values-BECDm4zr.d.mts} +15 -31
- package/dist/values-BECDm4zr.d.mts.map +1 -0
- package/dist/vector/index.d.mts +2 -2
- package/dist/vector/index.mjs +2 -2
- package/dist/{vector-TpjW6ZSc.mjs → vector-DhLGZjP5.mjs} +104 -147
- package/dist/vector-DhLGZjP5.mjs.map +1 -0
- package/package.json +3 -3
- package/dist/chart-Kf_utasF.mjs.map +0 -1
- package/dist/drawing-FBzd2I0m.mjs.map +0 -1
- package/dist/generators-CElPsAhd.mjs.map +0 -1
- package/dist/index-BsTUn4K1.d.mts.map +0 -1
- package/dist/index-C0ClOhmZ.d.mts.map +0 -1
- package/dist/index-CLX7gU9J.d.mts.map +0 -1
- package/dist/index-Cgz88FU0.d.mts.map +0 -1
- package/dist/index-CnjCK-lF.d.mts.map +0 -1
- package/dist/index-DpPeyf5f.d.mts +0 -316
- package/dist/index-DpPeyf5f.d.mts.map +0 -1
- package/dist/index-DxwLMnBF.d.mts.map +0 -1
- package/dist/index-k8WKLXnA.d.mts.map +0 -1
- package/dist/output-D_G_JR_8.d.mts.map +0 -1
- package/dist/patch-3KLx2yEP.mjs.map +0 -1
- package/dist/smartart-BxnkROOp.mjs.map +0 -1
- package/dist/style-matrix-DAP6XrLv.mjs.map +0 -1
- package/dist/theme-OAuRcA9_.mjs.map +0 -1
- package/dist/theme-options-BbWccl85.d.mts.map +0 -1
- package/dist/util-C94-JKtp.mjs.map +0 -1
- package/dist/values-aVoirbWB.d.mts.map +0 -1
- package/dist/vector-TpjW6ZSc.mjs.map +0 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { f as CustomDescriptor, h as WriteContext, m as ReadContext } from "./index-CLX7gU9J.mjs";
|
|
2
1
|
import { t as DataType } from "./data-type-CZMKVaaT.mjs";
|
|
3
|
-
import {
|
|
2
|
+
import { f as CustomDescriptor, h as WriteContext, m as ReadContext } from "./index-BQLIofaF.mjs";
|
|
3
|
+
import { _ as UniversalMeasure, a as HexColor, c as Panose, i as Guid, u as PositivePercentage } from "./values-BECDm4zr.mjs";
|
|
4
4
|
import { Element } from "@office-open/xml";
|
|
5
|
-
|
|
6
5
|
//#region src/drawing/color/color-transform.d.ts
|
|
7
6
|
interface ColorTransformOptions {
|
|
8
7
|
tint?: number;
|
|
@@ -203,7 +202,7 @@ declare const createPresetColor: (options: PresetColorOptions) => string;
|
|
|
203
202
|
//#endregion
|
|
204
203
|
//#region src/drawing/color/rgb-color.d.ts
|
|
205
204
|
interface RgbColorOptions {
|
|
206
|
-
value:
|
|
205
|
+
value: HexColor;
|
|
207
206
|
transforms?: ColorTransformOptions;
|
|
208
207
|
}
|
|
209
208
|
declare const createRgbColor: (options: RgbColorOptions) => string;
|
|
@@ -278,7 +277,7 @@ declare const SystemColor: {
|
|
|
278
277
|
};
|
|
279
278
|
interface SystemColorOptions {
|
|
280
279
|
value: (typeof SystemColor)[keyof typeof SystemColor];
|
|
281
|
-
lastClr?:
|
|
280
|
+
lastClr?: HexColor;
|
|
282
281
|
transforms?: ColorTransformOptions;
|
|
283
282
|
}
|
|
284
283
|
declare const createSystemColor: (options: SystemColorOptions) => string;
|
|
@@ -288,76 +287,6 @@ type SolidFillOptions = ScRgbColorOptions | RgbColorOptions | SchemeColorOptions
|
|
|
288
287
|
declare const createColorElement: (color: SolidFillOptions) => string;
|
|
289
288
|
declare const createSolidFill: (options: SolidFillOptions) => string;
|
|
290
289
|
//#endregion
|
|
291
|
-
//#region src/drawing/blip/blip-effects.d.ts
|
|
292
|
-
interface LuminanceEffectOptions {
|
|
293
|
-
bright?: number;
|
|
294
|
-
contrast?: number;
|
|
295
|
-
}
|
|
296
|
-
interface HSLEffectOptions {
|
|
297
|
-
hue?: number;
|
|
298
|
-
saturation?: number;
|
|
299
|
-
luminance?: number;
|
|
300
|
-
}
|
|
301
|
-
interface TintEffectOptions {
|
|
302
|
-
hue?: number;
|
|
303
|
-
amount?: number;
|
|
304
|
-
}
|
|
305
|
-
interface DuotoneEffectOptions {
|
|
306
|
-
color1: SolidFillOptions;
|
|
307
|
-
color2: SolidFillOptions;
|
|
308
|
-
}
|
|
309
|
-
interface BiLevelEffectOptions {
|
|
310
|
-
threshold: number;
|
|
311
|
-
}
|
|
312
|
-
interface AlphaReplaceEffectOptions {
|
|
313
|
-
alpha: number;
|
|
314
|
-
}
|
|
315
|
-
interface AlphaBiLevelEffectOptions {
|
|
316
|
-
threshold: number;
|
|
317
|
-
}
|
|
318
|
-
interface AlphaModulateFixedEffectOptions {
|
|
319
|
-
amount?: number;
|
|
320
|
-
}
|
|
321
|
-
interface ColorChangeEffectOptions {
|
|
322
|
-
from: SolidFillOptions;
|
|
323
|
-
to: SolidFillOptions;
|
|
324
|
-
useAlpha?: boolean;
|
|
325
|
-
}
|
|
326
|
-
interface ColorReplaceEffectOptions {
|
|
327
|
-
color: SolidFillOptions;
|
|
328
|
-
}
|
|
329
|
-
interface BlipBlurEffectOptions {
|
|
330
|
-
radius?: number;
|
|
331
|
-
grow?: boolean;
|
|
332
|
-
}
|
|
333
|
-
interface BlipEffectsOptions {
|
|
334
|
-
grayscale?: boolean;
|
|
335
|
-
luminance?: LuminanceEffectOptions;
|
|
336
|
-
hsl?: HSLEffectOptions;
|
|
337
|
-
tint?: TintEffectOptions;
|
|
338
|
-
duotone?: DuotoneEffectOptions;
|
|
339
|
-
biLevel?: BiLevelEffectOptions;
|
|
340
|
-
alphaCeiling?: boolean;
|
|
341
|
-
alphaFloor?: boolean;
|
|
342
|
-
alphaInverse?: SolidFillOptions;
|
|
343
|
-
alphaModulateFixed?: AlphaModulateFixedEffectOptions;
|
|
344
|
-
alphaReplace?: AlphaReplaceEffectOptions;
|
|
345
|
-
alphaBiLevel?: AlphaBiLevelEffectOptions;
|
|
346
|
-
colorChange?: ColorChangeEffectOptions;
|
|
347
|
-
colorReplace?: ColorReplaceEffectOptions;
|
|
348
|
-
blur?: BlipBlurEffectOptions;
|
|
349
|
-
}
|
|
350
|
-
declare const createBlipEffects: (options: BlipEffectsOptions) => string[];
|
|
351
|
-
//#endregion
|
|
352
|
-
//#region src/drawing/blip/source-rectangle.d.ts
|
|
353
|
-
interface SourceRectangleOptions {
|
|
354
|
-
left?: number;
|
|
355
|
-
top?: number;
|
|
356
|
-
right?: number;
|
|
357
|
-
bottom?: number;
|
|
358
|
-
}
|
|
359
|
-
declare const createSourceRectangle: (options?: SourceRectangleOptions) => string;
|
|
360
|
-
//#endregion
|
|
361
290
|
//#region src/drawing/blip/tile.d.ts
|
|
362
291
|
type TileFlipMode = "none" | "x" | "y" | "xy";
|
|
363
292
|
type TileAlignment = "topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight";
|
|
@@ -402,167 +331,15 @@ interface GradientFillOptions {
|
|
|
402
331
|
declare const createGradientStop: (stop: GradientStop) => string;
|
|
403
332
|
declare const createGradientFill: (options: GradientFillOptions) => string;
|
|
404
333
|
//#endregion
|
|
405
|
-
//#region src/drawing/fill/fill-options.d.ts
|
|
406
|
-
interface GradientStopOptions {
|
|
407
|
-
position: number;
|
|
408
|
-
color: string | SolidFillOptions;
|
|
409
|
-
}
|
|
410
|
-
interface BlipFillConfigOptions {
|
|
411
|
-
data: DataType;
|
|
412
|
-
imageType: "png" | "jpg" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
413
|
-
dpi?: number;
|
|
414
|
-
rotWithShape?: boolean;
|
|
415
|
-
blipEffects?: BlipEffectsOptions;
|
|
416
|
-
sourceRectangle?: SourceRectangleOptions;
|
|
417
|
-
tile?: TileOptions;
|
|
418
|
-
}
|
|
419
|
-
interface BlipFillMediaData {
|
|
420
|
-
fileName: string;
|
|
421
|
-
data: Uint8Array;
|
|
422
|
-
type: string;
|
|
423
|
-
}
|
|
424
|
-
type FillOptions = string | {
|
|
425
|
-
type: "solid";
|
|
426
|
-
color: string | SolidFillOptions;
|
|
427
|
-
} | {
|
|
428
|
-
type: "none";
|
|
429
|
-
} | {
|
|
430
|
-
type: "gradient";
|
|
431
|
-
angle?: number;
|
|
432
|
-
scaled?: boolean;
|
|
433
|
-
path?: "shape" | "circle" | "rect";
|
|
434
|
-
stops: readonly GradientStopOptions[];
|
|
435
|
-
} | {
|
|
436
|
-
type: "gradient";
|
|
437
|
-
options: GradientFillOptions;
|
|
438
|
-
} | ({
|
|
439
|
-
type: "blip";
|
|
440
|
-
} & BlipFillConfigOptions) | {
|
|
441
|
-
type: "pattern";
|
|
442
|
-
pattern: string;
|
|
443
|
-
foregroundColor?: string | SolidFillOptions;
|
|
444
|
-
backgroundColor?: string | SolidFillOptions;
|
|
445
|
-
} | {
|
|
446
|
-
type: "group";
|
|
447
|
-
};
|
|
448
|
-
declare const extractBlipFillMedia: (fill: FillOptions, nameAllocator?: (type: string) => string) => BlipFillMediaData | undefined;
|
|
449
|
-
declare const buildFill: (options: FillOptions, embedPlaceholder?: string) => string;
|
|
450
|
-
//#endregion
|
|
451
|
-
//#region src/drawing/fill/no-fill.d.ts
|
|
452
|
-
declare const createNoFill: () => string;
|
|
453
|
-
//#endregion
|
|
454
334
|
//#region src/drawing/fill/pattern-fill.d.ts
|
|
455
|
-
|
|
456
|
-
readonly PCT5: "percent5";
|
|
457
|
-
readonly PCT10: "percent10";
|
|
458
|
-
readonly PCT20: "percent20";
|
|
459
|
-
readonly PCT25: "percent25";
|
|
460
|
-
readonly PCT30: "percent30";
|
|
461
|
-
readonly PCT40: "percent40";
|
|
462
|
-
readonly PCT50: "percent50";
|
|
463
|
-
readonly PCT60: "percent60";
|
|
464
|
-
readonly PCT70: "percent70";
|
|
465
|
-
readonly PCT75: "percent75";
|
|
466
|
-
readonly PCT80: "percent80";
|
|
467
|
-
readonly PCT90: "percent90";
|
|
468
|
-
readonly HORZ: "horizontal";
|
|
469
|
-
readonly VERT: "vertical";
|
|
470
|
-
readonly LT_HORZ: "lightHorizontal";
|
|
471
|
-
readonly LT_VERT: "lightVertical";
|
|
472
|
-
readonly DK_HORZ: "darkHorizontal";
|
|
473
|
-
readonly DK_VERT: "darkVertical";
|
|
474
|
-
readonly NAR_HORZ: "narrowHorizontal";
|
|
475
|
-
readonly NAR_VERT: "narrowVertical";
|
|
476
|
-
readonly DASH_HORZ: "dashedHorizontal";
|
|
477
|
-
readonly DASH_VERT: "dashedVertical";
|
|
478
|
-
readonly CROSS: "cross";
|
|
479
|
-
readonly DN_DIAG: "downDiagonal";
|
|
480
|
-
readonly UP_DIAG: "upDiagonal";
|
|
481
|
-
readonly LT_DN_DIAG: "lightDownDiagonal";
|
|
482
|
-
readonly LT_UP_DIAG: "lightUpDiagonal";
|
|
483
|
-
readonly DK_DN_DIAG: "darkDownDiagonal";
|
|
484
|
-
readonly DK_UP_DIAG: "darkUpDiagonal";
|
|
485
|
-
readonly WD_DN_DIAG: "wideDownDiagonal";
|
|
486
|
-
readonly WD_UP_DIAG: "wideUpDiagonal";
|
|
487
|
-
readonly DASH_DN_DIAG: "dashedDownDiagonal";
|
|
488
|
-
readonly DASH_UP_DIAG: "dashedUpDiagonal";
|
|
489
|
-
readonly DIAG_CROSS: "diagonalCross";
|
|
490
|
-
readonly SM_CHECK: "smallChecker";
|
|
491
|
-
readonly LG_CHECK: "largeChecker";
|
|
492
|
-
readonly SM_GRID: "smallGrid";
|
|
493
|
-
readonly LG_GRID: "largeGrid";
|
|
494
|
-
readonly DOT_GRID: "dotGrid";
|
|
495
|
-
readonly SM_CONFETTI: "smallConfetti";
|
|
496
|
-
readonly LG_CONFETTI: "largeConfetti";
|
|
497
|
-
readonly HORZ_BRICK: "horizontalBrick";
|
|
498
|
-
readonly DIAG_BRICK: "diagonalBrick";
|
|
499
|
-
readonly SOLID_DMND: "solidDiamond";
|
|
500
|
-
readonly OPEN_DMND: "openDiamond";
|
|
501
|
-
readonly DOT_DMND: "dottedDiamond";
|
|
502
|
-
readonly PLAID: "plaid";
|
|
503
|
-
readonly SPHERE: "sphere";
|
|
504
|
-
readonly WEAVE: "weave";
|
|
505
|
-
readonly DIVOT: "divot";
|
|
506
|
-
readonly SHINGLE: "shingle";
|
|
507
|
-
readonly WAVE: "wave";
|
|
508
|
-
readonly TRELLIS: "trellis";
|
|
509
|
-
readonly ZIG_ZAG: "zigZag";
|
|
510
|
-
};
|
|
335
|
+
type PresetPattern = "percent5" | "percent10" | "percent20" | "percent25" | "percent30" | "percent40" | "percent50" | "percent60" | "percent70" | "percent75" | "percent80" | "percent90" | "horizontal" | "vertical" | "lightHorizontal" | "lightVertical" | "darkHorizontal" | "darkVertical" | "narrowHorizontal" | "narrowVertical" | "dashedHorizontal" | "dashedVertical" | "cross" | "downDiagonal" | "upDiagonal" | "lightDownDiagonal" | "lightUpDiagonal" | "darkDownDiagonal" | "darkUpDiagonal" | "wideDownDiagonal" | "wideUpDiagonal" | "dashedDownDiagonal" | "dashedUpDiagonal" | "diagonalCross" | "smallChecker" | "largeChecker" | "smallGrid" | "largeGrid" | "dotGrid" | "smallConfetti" | "largeConfetti" | "horizontalBrick" | "diagonalBrick" | "solidDiamond" | "openDiamond" | "dottedDiamond" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag";
|
|
511
336
|
interface PatternFillOptions {
|
|
512
|
-
pattern:
|
|
337
|
+
pattern: PresetPattern;
|
|
513
338
|
foregroundColor?: SolidFillOptions;
|
|
514
339
|
backgroundColor?: SolidFillOptions;
|
|
515
340
|
}
|
|
516
341
|
declare const createPatternFill: (options: PatternFillOptions) => string;
|
|
517
342
|
//#endregion
|
|
518
|
-
//#region src/drawing/fill/group-fill.d.ts
|
|
519
|
-
declare const createGroupFill: () => string;
|
|
520
|
-
//#endregion
|
|
521
|
-
//#region src/drawing/outline/custom-dash.d.ts
|
|
522
|
-
interface DashStop {
|
|
523
|
-
d: string;
|
|
524
|
-
sp: string;
|
|
525
|
-
}
|
|
526
|
-
declare const createCustomDash: (stops: readonly DashStop[]) => string;
|
|
527
|
-
//#endregion
|
|
528
|
-
//#region src/drawing/outline/line-end.d.ts
|
|
529
|
-
type LineEndType = "none" | "triangle" | "stealth" | "diamond" | "oval" | "arrow";
|
|
530
|
-
type LineEndWidth = "small" | "medium" | "large";
|
|
531
|
-
type LineEndLength = "small" | "medium" | "large";
|
|
532
|
-
interface LineEndOptions {
|
|
533
|
-
type: LineEndType;
|
|
534
|
-
width?: LineEndWidth;
|
|
535
|
-
length?: LineEndLength;
|
|
536
|
-
}
|
|
537
|
-
declare const createLineEnd: (name: string, options: LineEndOptions) => string;
|
|
538
|
-
//#endregion
|
|
539
|
-
//#region src/drawing/outline/outline.d.ts
|
|
540
|
-
type LineCap = "round" | "square" | "flat";
|
|
541
|
-
type CompoundLine = "single" | "double" | "thickThin" | "thinThick" | "triple";
|
|
542
|
-
type PenAlignment = "center" | "inside";
|
|
543
|
-
type PresetDash = "solid" | "dot" | "dash" | "lgDash" | "dashDot" | "lgDashDot" | "lgDashDotDot" | "sysDash" | "sysDot" | "sysDashDot" | "sysDashDotDot";
|
|
544
|
-
type LineJoin = "round" | "bevel" | "miter";
|
|
545
|
-
interface OutlineProperties {
|
|
546
|
-
width?: number | UniversalMeasure;
|
|
547
|
-
cap?: LineCap;
|
|
548
|
-
compoundLine?: CompoundLine;
|
|
549
|
-
alignment?: PenAlignment;
|
|
550
|
-
dash?: PresetDash;
|
|
551
|
-
customDash?: readonly DashStop[];
|
|
552
|
-
join?: LineJoin;
|
|
553
|
-
miterLimit?: number;
|
|
554
|
-
headEnd?: LineEndOptions;
|
|
555
|
-
tailEnd?: LineEndOptions;
|
|
556
|
-
}
|
|
557
|
-
interface OutlineFillProperties {
|
|
558
|
-
type?: "noFill" | "solidFill" | "gradFill" | "pattFill";
|
|
559
|
-
color?: SolidFillOptions | string;
|
|
560
|
-
gradientFill?: GradientFillOptions;
|
|
561
|
-
patternFill?: PatternFillOptions;
|
|
562
|
-
}
|
|
563
|
-
type OutlineOptions = OutlineProperties & OutlineFillProperties;
|
|
564
|
-
declare const createOutline: (options: OutlineOptions) => string;
|
|
565
|
-
//#endregion
|
|
566
343
|
//#region src/drawing/effects/fill-overlay.d.ts
|
|
567
344
|
declare const BlendMode: {
|
|
568
345
|
readonly OVER: "over";
|
|
@@ -637,7 +414,7 @@ interface ReflectionEffectOptions {
|
|
|
637
414
|
scaleY?: number;
|
|
638
415
|
skewX?: number;
|
|
639
416
|
skewY?: number;
|
|
640
|
-
alignment?:
|
|
417
|
+
alignment?: "topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight";
|
|
641
418
|
rotWithShape?: boolean;
|
|
642
419
|
}
|
|
643
420
|
declare const createReflectionEffect: (options?: ReflectionEffectOptions) => string;
|
|
@@ -666,6 +443,67 @@ interface EffectListOptions {
|
|
|
666
443
|
}
|
|
667
444
|
declare const createEffectList: (options: EffectListOptions) => string;
|
|
668
445
|
//#endregion
|
|
446
|
+
//#region src/drawing/blip/blip-effects.d.ts
|
|
447
|
+
interface LuminanceEffectOptions {
|
|
448
|
+
bright?: number;
|
|
449
|
+
contrast?: number;
|
|
450
|
+
}
|
|
451
|
+
interface HSLEffectOptions {
|
|
452
|
+
hue?: number;
|
|
453
|
+
saturation?: number;
|
|
454
|
+
luminance?: number;
|
|
455
|
+
}
|
|
456
|
+
interface TintEffectOptions {
|
|
457
|
+
hue?: number;
|
|
458
|
+
amount?: number;
|
|
459
|
+
}
|
|
460
|
+
interface DuotoneEffectOptions {
|
|
461
|
+
color1: SolidFillOptions;
|
|
462
|
+
color2: SolidFillOptions;
|
|
463
|
+
}
|
|
464
|
+
interface BiLevelEffectOptions {
|
|
465
|
+
threshold: number;
|
|
466
|
+
}
|
|
467
|
+
interface AlphaReplaceEffectOptions {
|
|
468
|
+
alpha: number;
|
|
469
|
+
}
|
|
470
|
+
interface AlphaBiLevelEffectOptions {
|
|
471
|
+
threshold: number;
|
|
472
|
+
}
|
|
473
|
+
interface AlphaModulateFixedEffectOptions {
|
|
474
|
+
amount?: number;
|
|
475
|
+
}
|
|
476
|
+
interface ColorChangeEffectOptions {
|
|
477
|
+
from: SolidFillOptions;
|
|
478
|
+
to: SolidFillOptions;
|
|
479
|
+
useAlpha?: boolean;
|
|
480
|
+
}
|
|
481
|
+
interface ColorReplaceEffectOptions {
|
|
482
|
+
color: SolidFillOptions;
|
|
483
|
+
}
|
|
484
|
+
interface BlipBlurEffectOptions {
|
|
485
|
+
radius?: number;
|
|
486
|
+
grow?: boolean;
|
|
487
|
+
}
|
|
488
|
+
interface BlipEffectsOptions {
|
|
489
|
+
grayscale?: boolean;
|
|
490
|
+
luminance?: LuminanceEffectOptions;
|
|
491
|
+
hsl?: HSLEffectOptions;
|
|
492
|
+
tint?: TintEffectOptions;
|
|
493
|
+
duotone?: DuotoneEffectOptions;
|
|
494
|
+
biLevel?: BiLevelEffectOptions;
|
|
495
|
+
alphaCeiling?: boolean;
|
|
496
|
+
alphaFloor?: boolean;
|
|
497
|
+
alphaInverse?: SolidFillOptions;
|
|
498
|
+
alphaModulateFixed?: AlphaModulateFixedEffectOptions;
|
|
499
|
+
alphaReplace?: AlphaReplaceEffectOptions;
|
|
500
|
+
alphaBiLevel?: AlphaBiLevelEffectOptions;
|
|
501
|
+
colorChange?: ColorChangeEffectOptions;
|
|
502
|
+
colorReplace?: ColorReplaceEffectOptions;
|
|
503
|
+
blur?: BlipBlurEffectOptions;
|
|
504
|
+
}
|
|
505
|
+
declare const createBlipEffects: (options: BlipEffectsOptions) => string[];
|
|
506
|
+
//#endregion
|
|
669
507
|
//#region src/drawing/effects/effect-dag.d.ts
|
|
670
508
|
type EffectContainer = "sibling" | "tree";
|
|
671
509
|
interface AlphaInverseEffectOptions {
|
|
@@ -738,71 +576,62 @@ interface EffectDagOptions {
|
|
|
738
576
|
}
|
|
739
577
|
declare const createEffectDag: (options: EffectDagOptions) => string;
|
|
740
578
|
//#endregion
|
|
741
|
-
//#region src/drawing/
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
lon: number;
|
|
748
|
-
rev: number;
|
|
579
|
+
//#region src/drawing/blip/source-rectangle.d.ts
|
|
580
|
+
interface SourceRectangleOptions {
|
|
581
|
+
left?: number;
|
|
582
|
+
top?: number;
|
|
583
|
+
right?: number;
|
|
584
|
+
bottom?: number;
|
|
749
585
|
}
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
586
|
+
declare const createSourceRectangle: (options?: SourceRectangleOptions, tag?: string) => string;
|
|
587
|
+
//#endregion
|
|
588
|
+
//#region src/drawing/fill/fill-options.d.ts
|
|
589
|
+
interface GradientStopOptions {
|
|
590
|
+
position: number;
|
|
591
|
+
color: HexColor | SolidFillOptions;
|
|
755
592
|
}
|
|
756
|
-
interface
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
593
|
+
interface BlipFillConfigOptions {
|
|
594
|
+
noEmbed?: true;
|
|
595
|
+
data?: DataType;
|
|
596
|
+
imageType?: "png" | "jpg" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
597
|
+
fileName?: string;
|
|
598
|
+
dpi?: number;
|
|
599
|
+
rotWithShape?: boolean;
|
|
600
|
+
blipEffects?: BlipEffectsOptions;
|
|
601
|
+
sourceRectangle?: SourceRectangleOptions;
|
|
602
|
+
tile?: TileOptions;
|
|
760
603
|
}
|
|
761
|
-
interface
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
604
|
+
interface BlipFillMediaData {
|
|
605
|
+
fileName: string;
|
|
606
|
+
data: Uint8Array;
|
|
607
|
+
type: string;
|
|
765
608
|
}
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
}
|
|
790
|
-
declare const
|
|
791
|
-
declare const
|
|
792
|
-
//#endregion
|
|
793
|
-
//#region src/drawing/three-d/shape-3d.d.ts
|
|
794
|
-
type PresetMaterial = "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "flat" | "softMetal";
|
|
795
|
-
interface Shape3DOptions {
|
|
796
|
-
bevelT?: BevelOptions;
|
|
797
|
-
bevelB?: BevelOptions;
|
|
798
|
-
extrusionColor?: SolidFillOptions;
|
|
799
|
-
contourColor?: SolidFillOptions;
|
|
800
|
-
z?: number;
|
|
801
|
-
extrusionH?: number;
|
|
802
|
-
contourW?: number;
|
|
803
|
-
prstMaterial?: PresetMaterial;
|
|
804
|
-
}
|
|
805
|
-
declare const createShape3D: (options: Shape3DOptions) => string;
|
|
609
|
+
type FillOptions = string | {
|
|
610
|
+
type: "solid";
|
|
611
|
+
color: string | SolidFillOptions;
|
|
612
|
+
} | {
|
|
613
|
+
type: "none";
|
|
614
|
+
} | {
|
|
615
|
+
type: "gradient";
|
|
616
|
+
angle?: number;
|
|
617
|
+
scaled?: boolean;
|
|
618
|
+
path?: "shape" | "circle" | "rect";
|
|
619
|
+
stops: readonly GradientStopOptions[];
|
|
620
|
+
} | {
|
|
621
|
+
type: "gradient";
|
|
622
|
+
options: GradientFillOptions;
|
|
623
|
+
} | ({
|
|
624
|
+
type: "blip";
|
|
625
|
+
} & BlipFillConfigOptions) | {
|
|
626
|
+
type: "pattern";
|
|
627
|
+
pattern: PresetPattern;
|
|
628
|
+
foregroundColor?: HexColor | SolidFillOptions;
|
|
629
|
+
backgroundColor?: HexColor | SolidFillOptions;
|
|
630
|
+
} | {
|
|
631
|
+
type: "group";
|
|
632
|
+
};
|
|
633
|
+
declare const extractBlipFillMedia: (fill: FillOptions, nameAllocator?: (type: string) => string) => BlipFillMediaData | undefined;
|
|
634
|
+
declare const buildFill: (options: FillOptions, embedPlaceholder?: string) => string | undefined;
|
|
806
635
|
//#endregion
|
|
807
636
|
//#region src/drawing/geometry/adjustment-values.d.ts
|
|
808
637
|
interface GeometryGuide {
|
|
@@ -811,13 +640,6 @@ interface GeometryGuide {
|
|
|
811
640
|
}
|
|
812
641
|
declare function stringifyAdjustmentValues(guides?: readonly GeometryGuide[]): string;
|
|
813
642
|
//#endregion
|
|
814
|
-
//#region src/drawing/geometry/preset-geometry.d.ts
|
|
815
|
-
interface PresetGeometryOptions {
|
|
816
|
-
preset?: string;
|
|
817
|
-
adjustmentValues?: readonly GeometryGuide[];
|
|
818
|
-
}
|
|
819
|
-
declare function stringifyPresetGeometry(options?: PresetGeometryOptions): string;
|
|
820
|
-
//#endregion
|
|
821
643
|
//#region src/drawing/geometry/custom-geometry.d.ts
|
|
822
644
|
type PathFillMode = "none" | "normal" | "lighten" | "lightenLess" | "darken" | "darkenLess";
|
|
823
645
|
interface AdjustPoint {
|
|
@@ -900,13 +722,423 @@ interface CustomGeometryOptions {
|
|
|
900
722
|
adjustHandles?: readonly AdjustHandle[];
|
|
901
723
|
connectionSites?: readonly ConnectionSite[];
|
|
902
724
|
textRectangle?: GeomRect;
|
|
903
|
-
pathList
|
|
725
|
+
pathList?: readonly PathOptions[];
|
|
904
726
|
}
|
|
905
727
|
declare const createCustomGeometry: (options: CustomGeometryOptions) => string;
|
|
906
728
|
//#endregion
|
|
729
|
+
//#region src/drawing/geometry/preset-geometry.d.ts
|
|
730
|
+
type ShapeType = "line" | "lineInv" | "triangle" | "rtTriangle" | "rect" | "diamond" | "parallelogram" | "trapezoid" | "nonIsoscelesTrapezoid" | "pentagon" | "hexagon" | "heptagon" | "octagon" | "decagon" | "dodecagon" | "star4" | "star5" | "star6" | "star7" | "star8" | "star10" | "star12" | "star16" | "star24" | "star32" | "roundRect" | "round1Rect" | "round2SameRect" | "round2DiagRect" | "snipRoundRect" | "snip1Rect" | "snip2SameRect" | "snip2DiagRect" | "plaque" | "ellipse" | "teardrop" | "homePlate" | "chevron" | "pieWedge" | "pie" | "blockArc" | "donut" | "noSmoking" | "rightArrow" | "leftArrow" | "upArrow" | "downArrow" | "stripedRightArrow" | "notchedRightArrow" | "bentUpArrow" | "leftRightArrow" | "upDownArrow" | "leftUpArrow" | "leftRightUpArrow" | "quadArrow" | "leftArrowCallout" | "rightArrowCallout" | "upArrowCallout" | "downArrowCallout" | "leftRightArrowCallout" | "upDownArrowCallout" | "quadArrowCallout" | "bentArrow" | "uturnArrow" | "circularArrow" | "leftCircularArrow" | "leftRightCircularArrow" | "curvedRightArrow" | "curvedLeftArrow" | "curvedUpArrow" | "curvedDownArrow" | "swooshArrow" | "cube" | "can" | "lightningBolt" | "heart" | "sun" | "moon" | "smileyFace" | "irregularSeal1" | "irregularSeal2" | "foldedCorner" | "bevel" | "frame" | "halfFrame" | "corner" | "diagStripe" | "chord" | "arc" | "leftBracket" | "rightBracket" | "leftBrace" | "rightBrace" | "bracketPair" | "bracePair" | "straightConnector1" | "bentConnector2" | "bentConnector3" | "bentConnector4" | "bentConnector5" | "curvedConnector2" | "curvedConnector3" | "curvedConnector4" | "curvedConnector5" | "callout1" | "callout2" | "callout3" | "accentCallout1" | "accentCallout2" | "accentCallout3" | "borderCallout1" | "borderCallout2" | "borderCallout3" | "accentBorderCallout1" | "accentBorderCallout2" | "accentBorderCallout3" | "wedgeRectCallout" | "wedgeRoundRectCallout" | "wedgeEllipseCallout" | "cloudCallout" | "cloud" | "ribbon" | "ribbon2" | "ellipseRibbon" | "ellipseRibbon2" | "leftRightRibbon" | "verticalScroll" | "horizontalScroll" | "wave" | "doubleWave" | "plus" | "flowChartProcess" | "flowChartDecision" | "flowChartInputOutput" | "flowChartPredefinedProcess" | "flowChartInternalStorage" | "flowChartDocument" | "flowChartMultidocument" | "flowChartTerminator" | "flowChartPreparation" | "flowChartManualInput" | "flowChartManualOperation" | "flowChartConnector" | "flowChartPunchedCard" | "flowChartPunchedTape" | "flowChartSummingJunction" | "flowChartOr" | "flowChartCollate" | "flowChartSort" | "flowChartExtract" | "flowChartMerge" | "flowChartOfflineStorage" | "flowChartOnlineStorage" | "flowChartMagneticTape" | "flowChartMagneticDisk" | "flowChartMagneticDrum" | "flowChartDisplay" | "flowChartDelay" | "flowChartAlternateProcess" | "flowChartOffpageConnector" | "actionButtonBlank" | "actionButtonHome" | "actionButtonHelp" | "actionButtonInformation" | "actionButtonForwardNext" | "actionButtonBackPrevious" | "actionButtonEnd" | "actionButtonBeginning" | "actionButtonReturn" | "actionButtonDocument" | "actionButtonSound" | "actionButtonMovie" | "gear6" | "gear9" | "funnel" | "mathPlus" | "mathMinus" | "mathMultiply" | "mathDivide" | "mathEqual" | "mathNotEqual" | "cornerTabs" | "squareTabs" | "plaqueTabs" | "chartX" | "chartStar" | "chartPlus" | "textNoShape";
|
|
731
|
+
interface PresetGeometryOptions {
|
|
732
|
+
preset?: ShapeType;
|
|
733
|
+
adjustmentValues?: readonly GeometryGuide[];
|
|
734
|
+
}
|
|
735
|
+
declare function stringifyPresetGeometry(options?: PresetGeometryOptions): string;
|
|
736
|
+
//#endregion
|
|
737
|
+
//#region src/drawing/outline/custom-dash.d.ts
|
|
738
|
+
interface DashStop {
|
|
739
|
+
d: PositivePercentage;
|
|
740
|
+
sp: PositivePercentage;
|
|
741
|
+
}
|
|
742
|
+
declare const createCustomDash: (stops: readonly DashStop[]) => string;
|
|
743
|
+
//#endregion
|
|
744
|
+
//#region src/drawing/outline/line-end.d.ts
|
|
745
|
+
type LineEndType = "none" | "triangle" | "stealth" | "diamond" | "oval" | "arrow";
|
|
746
|
+
type LineEndWidth = "small" | "medium" | "large";
|
|
747
|
+
type LineEndLength = "small" | "medium" | "large";
|
|
748
|
+
interface LineEndOptions {
|
|
749
|
+
type?: LineEndType;
|
|
750
|
+
width?: LineEndWidth;
|
|
751
|
+
length?: LineEndLength;
|
|
752
|
+
}
|
|
753
|
+
declare const createLineEnd: (name: string, options: LineEndOptions) => string;
|
|
754
|
+
//#endregion
|
|
755
|
+
//#region src/drawing/outline/outline.d.ts
|
|
756
|
+
type LineCap = "round" | "square" | "flat";
|
|
757
|
+
type CompoundLine = "single" | "double" | "thickThin" | "thinThick" | "triple";
|
|
758
|
+
type PenAlignment = "center" | "inside";
|
|
759
|
+
type PresetDash = "solid" | "dot" | "dash" | "lgDash" | "dashDot" | "lgDashDot" | "lgDashDotDot" | "sysDash" | "sysDot" | "sysDashDot" | "sysDashDotDot";
|
|
760
|
+
type LineJoin = "round" | "bevel" | "miter";
|
|
761
|
+
interface OutlineProperties {
|
|
762
|
+
width?: number | UniversalMeasure;
|
|
763
|
+
cap?: LineCap;
|
|
764
|
+
compoundLine?: CompoundLine;
|
|
765
|
+
alignment?: PenAlignment;
|
|
766
|
+
dash?: PresetDash;
|
|
767
|
+
customDash?: readonly DashStop[];
|
|
768
|
+
join?: LineJoin;
|
|
769
|
+
miterLimit?: number;
|
|
770
|
+
headEnd?: LineEndOptions;
|
|
771
|
+
tailEnd?: LineEndOptions;
|
|
772
|
+
ext?: string;
|
|
773
|
+
}
|
|
774
|
+
interface OutlineFillProperties {
|
|
775
|
+
type?: "noFill" | "solidFill" | "gradFill" | "pattFill";
|
|
776
|
+
color?: SolidFillOptions | string;
|
|
777
|
+
gradientFill?: GradientFillOptions;
|
|
778
|
+
patternFill?: PatternFillOptions;
|
|
779
|
+
}
|
|
780
|
+
type OutlineOptions = OutlineProperties & OutlineFillProperties;
|
|
781
|
+
declare const createOutline: (options: OutlineOptions) => string;
|
|
782
|
+
//#endregion
|
|
783
|
+
//#region src/drawing/three-d/scene-3d.d.ts
|
|
784
|
+
type CameraPreset = "legacyObliqueTopLeft" | "legacyObliqueTop" | "legacyObliqueTopRight" | "legacyObliqueLeft" | "legacyObliqueFront" | "legacyObliqueRight" | "legacyObliqueBottomLeft" | "legacyObliqueBottom" | "legacyObliqueBottomRight" | "legacyPerspectiveTopLeft" | "legacyPerspectiveTop" | "legacyPerspectiveTopRight" | "legacyPerspectiveLeft" | "legacyPerspectiveFront" | "legacyPerspectiveRight" | "legacyPerspectiveBottomLeft" | "legacyPerspectiveBottom" | "legacyPerspectiveBottomRight" | "orthographicFront" | "isometricTopUp" | "isometricTopDown" | "isometricBottomUp" | "isometricBottomDown" | "isometricLeftUp" | "isometricLeftDown" | "isometricRightUp" | "isometricRightDown" | "isometricOffAxis1Left" | "isometricOffAxis1Right" | "isometricOffAxis1Top" | "isometricOffAxis2Left" | "isometricOffAxis2Right" | "isometricOffAxis2Top" | "isometricOffAxis3Left" | "isometricOffAxis3Right" | "isometricOffAxis3Bottom" | "isometricOffAxis4Left" | "isometricOffAxis4Right" | "isometricOffAxis4Bottom" | "obliqueTopLeft" | "obliqueTop" | "obliqueTopRight" | "obliqueLeft" | "obliqueRight" | "obliqueBottomLeft" | "obliqueBottom" | "obliqueBottomRight" | "perspectiveFront" | "perspectiveLeft" | "perspectiveRight" | "perspectiveAbove" | "perspectiveBelow" | "perspectiveAboveLeftFacing" | "perspectiveAboveRightFacing" | "perspectiveContrastingLeftFacing" | "perspectiveContrastingRightFacing" | "perspectiveHeroicLeftFacing" | "perspectiveHeroicRightFacing" | "perspectiveHeroicExtremeLeftFacing" | "perspectiveHeroicExtremeRightFacing" | "perspectiveRelaxed" | "perspectiveRelaxedModerately";
|
|
785
|
+
type LightRigType = "legacyFlat1" | "legacyFlat2" | "legacyFlat3" | "legacyFlat4" | "legacyNormal1" | "legacyNormal2" | "legacyNormal3" | "legacyNormal4" | "legacyHarsh1" | "legacyHarsh2" | "legacyHarsh3" | "legacyHarsh4" | "threePt" | "balanced" | "soft" | "harsh" | "flood" | "contrasting" | "morning" | "sunrise" | "sunset" | "chilly" | "freezing" | "flat" | "twoPt" | "glow" | "brightRoom";
|
|
786
|
+
type LightRigDirection = "topLeft" | "top" | "topRight" | "left" | "right" | "bottomLeft" | "bottom" | "bottomRight";
|
|
787
|
+
interface SphereCoords {
|
|
788
|
+
lat: number;
|
|
789
|
+
lon: number;
|
|
790
|
+
rev: number;
|
|
791
|
+
}
|
|
792
|
+
interface CameraOptions {
|
|
793
|
+
preset: CameraPreset;
|
|
794
|
+
fov?: number;
|
|
795
|
+
zoom?: PositivePercentage;
|
|
796
|
+
rotation?: SphereCoords;
|
|
797
|
+
}
|
|
798
|
+
interface LightRigOptions {
|
|
799
|
+
rig: LightRigType;
|
|
800
|
+
direction: LightRigDirection;
|
|
801
|
+
rotation?: SphereCoords;
|
|
802
|
+
}
|
|
803
|
+
interface Point3D {
|
|
804
|
+
x: number;
|
|
805
|
+
y: number;
|
|
806
|
+
z: number;
|
|
807
|
+
}
|
|
808
|
+
interface Vector3D {
|
|
809
|
+
dx: number;
|
|
810
|
+
dy: number;
|
|
811
|
+
dz: number;
|
|
812
|
+
}
|
|
813
|
+
interface BackdropOptions {
|
|
814
|
+
anchor: Point3D;
|
|
815
|
+
normal: Vector3D;
|
|
816
|
+
up: Vector3D;
|
|
817
|
+
ext?: string;
|
|
818
|
+
}
|
|
819
|
+
interface Scene3DOptions {
|
|
820
|
+
camera: CameraOptions;
|
|
821
|
+
lightRig: LightRigOptions;
|
|
822
|
+
backdrop?: BackdropOptions;
|
|
823
|
+
}
|
|
824
|
+
declare const createScene3D: (options: Scene3DOptions) => string;
|
|
825
|
+
//#endregion
|
|
826
|
+
//#region src/drawing/three-d/bevel.d.ts
|
|
827
|
+
type BevelPreset = "relaxedInset" | "circle" | "slope" | "cross" | "angle" | "softRound" | "convex" | "coolSlant" | "divot" | "riblet" | "hardEdge" | "artDeco";
|
|
828
|
+
interface BevelOptions {
|
|
829
|
+
w?: number;
|
|
830
|
+
h?: number;
|
|
831
|
+
prst?: BevelPreset;
|
|
832
|
+
}
|
|
833
|
+
declare const createBevel: (options?: BevelOptions) => string;
|
|
834
|
+
declare const createBottomBevel: (options?: BevelOptions) => string;
|
|
835
|
+
//#endregion
|
|
836
|
+
//#region src/drawing/three-d/shape-3d.d.ts
|
|
837
|
+
type PresetMaterial = "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "flat" | "softMetal";
|
|
838
|
+
interface Shape3DOptions {
|
|
839
|
+
bevelT?: BevelOptions;
|
|
840
|
+
bevelB?: BevelOptions;
|
|
841
|
+
extrusionColor?: SolidFillOptions;
|
|
842
|
+
contourColor?: SolidFillOptions;
|
|
843
|
+
z?: number;
|
|
844
|
+
extrusionH?: number;
|
|
845
|
+
contourW?: number;
|
|
846
|
+
prstMaterial?: PresetMaterial;
|
|
847
|
+
}
|
|
848
|
+
declare const createShape3D: (options: Shape3DOptions) => string;
|
|
849
|
+
//#endregion
|
|
850
|
+
//#region src/drawing/shape-properties-desc.d.ts
|
|
851
|
+
interface ShapePropertiesExtensionOptions {
|
|
852
|
+
uri: string;
|
|
853
|
+
hiddenLine?: OutlineOptions;
|
|
854
|
+
content?: string;
|
|
855
|
+
}
|
|
856
|
+
interface ShapePropertiesOptions {
|
|
857
|
+
x?: number | UniversalMeasure;
|
|
858
|
+
y?: number | UniversalMeasure;
|
|
859
|
+
width?: number | UniversalMeasure;
|
|
860
|
+
height?: number | UniversalMeasure;
|
|
861
|
+
flipHorizontal?: boolean;
|
|
862
|
+
flipVertical?: boolean;
|
|
863
|
+
rotation?: number;
|
|
864
|
+
geometry?: ShapeType | PresetGeometryOptions;
|
|
865
|
+
customGeometry?: CustomGeometryOptions;
|
|
866
|
+
fill?: FillOptions;
|
|
867
|
+
outline?: OutlineOptions;
|
|
868
|
+
effects?: EffectListOptions;
|
|
869
|
+
effectDag?: EffectDagOptions;
|
|
870
|
+
scene3d?: Scene3DOptions;
|
|
871
|
+
shape3d?: Shape3DOptions;
|
|
872
|
+
extensions?: ShapePropertiesExtensionOptions[];
|
|
873
|
+
ext?: string;
|
|
874
|
+
}
|
|
875
|
+
declare const shapePropertiesDesc: CustomDescriptor<ShapePropertiesOptions>;
|
|
876
|
+
//#endregion
|
|
877
|
+
//#region src/drawing/text/body-properties.d.ts
|
|
878
|
+
type VerticalAnchor = "top" | "center" | "bottom" | "justify" | "distribute";
|
|
879
|
+
type TextVertOverflow = "overflow" | "ellipsis" | "clip";
|
|
880
|
+
type TextHorzOverflow = "overflow" | "clip";
|
|
881
|
+
type TextVertical = "horizontal" | "vertical" | "vertical270" | "wordArtVertical" | "eastAsianVertical" | "mongolianVertical" | "wordArtVerticalRightToLeft";
|
|
882
|
+
type TextBodyWrapping = "none" | "square";
|
|
883
|
+
interface NormalAutofitOptions {
|
|
884
|
+
fontScale?: number;
|
|
885
|
+
lnSpcReduction?: number;
|
|
886
|
+
}
|
|
887
|
+
type TextShapePreset = "textNoShape" | "textPlain" | "textStop" | "textTriangle" | "textTriangleInverted" | "textChevron" | "textChevronInverted" | "textRingInside" | "textRingOutside" | "textArchUp" | "textArchDown" | "textCircle" | "textButton" | "textArchUpPour" | "textArchDownPour" | "textCirclePour" | "textButtonPour" | "textCurveUp" | "textCurveDown" | "textCanUp" | "textCanDown" | "textWave1" | "textWave2" | "textDoubleWave1" | "textWave4" | "textInflate" | "textDeflate" | "textInflateBottom" | "textDeflateBottom" | "textInflateTop" | "textDeflateTop" | "textDeflateInflate" | "textDeflateInflateDeflate" | "textFadeRight" | "textFadeLeft" | "textFadeUp" | "textFadeDown" | "textSlantUp" | "textSlantDown" | "textCascadeUp" | "textCascadeDown";
|
|
888
|
+
interface PresetTextShapeOptions {
|
|
889
|
+
preset: TextShapePreset;
|
|
890
|
+
adjustments?: {
|
|
891
|
+
name: string;
|
|
892
|
+
formula: string;
|
|
893
|
+
}[];
|
|
894
|
+
}
|
|
895
|
+
interface FlatTextOptions {
|
|
896
|
+
z?: number;
|
|
897
|
+
}
|
|
898
|
+
interface BodyPropertiesOptions {
|
|
899
|
+
rotation?: number;
|
|
900
|
+
spcFirstLastPara?: boolean;
|
|
901
|
+
vertOverflow?: TextVertOverflow;
|
|
902
|
+
horzOverflow?: TextHorzOverflow;
|
|
903
|
+
vertical?: TextVertical;
|
|
904
|
+
wrap?: TextBodyWrapping;
|
|
905
|
+
lIns?: number | UniversalMeasure;
|
|
906
|
+
tIns?: number | UniversalMeasure;
|
|
907
|
+
rIns?: number | UniversalMeasure;
|
|
908
|
+
bIns?: number | UniversalMeasure;
|
|
909
|
+
numCol?: number;
|
|
910
|
+
spcCol?: number | UniversalMeasure;
|
|
911
|
+
rtlCol?: boolean;
|
|
912
|
+
fromWordArt?: boolean;
|
|
913
|
+
anchor?: VerticalAnchor;
|
|
914
|
+
anchorCtr?: boolean;
|
|
915
|
+
forceAA?: boolean;
|
|
916
|
+
upright?: boolean;
|
|
917
|
+
compatLnSpc?: boolean;
|
|
918
|
+
margins?: {
|
|
919
|
+
top?: number | UniversalMeasure;
|
|
920
|
+
bottom?: number | UniversalMeasure;
|
|
921
|
+
left?: number | UniversalMeasure;
|
|
922
|
+
right?: number | UniversalMeasure;
|
|
923
|
+
};
|
|
924
|
+
prstTxWarp?: PresetTextShapeOptions;
|
|
925
|
+
noAutoFit?: boolean;
|
|
926
|
+
normAutofit?: NormalAutofitOptions;
|
|
927
|
+
spAutoFit?: boolean;
|
|
928
|
+
scene3d?: Scene3DOptions;
|
|
929
|
+
sp3d?: Shape3DOptions;
|
|
930
|
+
flatTx?: FlatTextOptions;
|
|
931
|
+
}
|
|
932
|
+
declare const createBodyProperties: (options?: BodyPropertiesOptions, tagName?: string) => string;
|
|
933
|
+
declare const parseBodyProperties: (el: Element, ctx: ReadContext) => BodyPropertiesOptions;
|
|
934
|
+
declare const bodyPropertiesDesc: CustomDescriptor<BodyPropertiesOptions, WriteContext, BodyPropertiesOptions>;
|
|
935
|
+
//#endregion
|
|
936
|
+
//#region src/drawing/text/types.d.ts
|
|
937
|
+
type UnderlineStyle = "single" | "double" | "none";
|
|
938
|
+
type StrikeStyle = "singleStrike" | "doubleStrike" | "noStrike";
|
|
939
|
+
type TextCapitalization = "none" | "all" | "small";
|
|
940
|
+
type TextAlignment = "left" | "center" | "right" | "justify";
|
|
941
|
+
interface TextHyperlinkOptions {
|
|
942
|
+
url?: string;
|
|
943
|
+
slide?: number;
|
|
944
|
+
referenceId?: string;
|
|
945
|
+
tooltip?: string;
|
|
946
|
+
action?: string;
|
|
947
|
+
highlightClick?: boolean;
|
|
948
|
+
endSound?: boolean;
|
|
949
|
+
invalidUrl?: boolean;
|
|
950
|
+
}
|
|
951
|
+
type TextFont = string | {
|
|
952
|
+
typeface: string;
|
|
953
|
+
panose?: Panose;
|
|
954
|
+
pitchFamily?: number;
|
|
955
|
+
charset?: number;
|
|
956
|
+
};
|
|
957
|
+
type RunFont = string | {
|
|
958
|
+
latin?: TextFont;
|
|
959
|
+
eastAsia?: TextFont;
|
|
960
|
+
complexScript?: TextFont;
|
|
961
|
+
symbol?: TextFont;
|
|
962
|
+
};
|
|
963
|
+
interface TextCharacterPropertiesOptions {
|
|
964
|
+
size?: number;
|
|
965
|
+
bold?: boolean;
|
|
966
|
+
italic?: boolean;
|
|
967
|
+
underline?: UnderlineStyle;
|
|
968
|
+
font?: RunFont;
|
|
969
|
+
lang?: string;
|
|
970
|
+
fill?: FillOptions;
|
|
971
|
+
hyperlink?: TextHyperlinkOptions;
|
|
972
|
+
mouseoverHyperlink?: TextHyperlinkOptions;
|
|
973
|
+
strike?: StrikeStyle;
|
|
974
|
+
baseline?: number;
|
|
975
|
+
spacing?: number;
|
|
976
|
+
capitalization?: TextCapitalization;
|
|
977
|
+
highlight?: SolidFillOptions;
|
|
978
|
+
underlineLine?: true | OutlineOptions;
|
|
979
|
+
underlineFill?: true | FillOptions;
|
|
980
|
+
kern?: number;
|
|
981
|
+
outline?: true | OutlineOptions;
|
|
982
|
+
shadow?: true | EffectListOptions;
|
|
983
|
+
rightToLeft?: boolean;
|
|
984
|
+
noProof?: boolean;
|
|
985
|
+
dirty?: boolean;
|
|
986
|
+
kumimoji?: boolean;
|
|
987
|
+
alternateLanguage?: string;
|
|
988
|
+
normalizeHeight?: boolean;
|
|
989
|
+
bookmarkMark?: string;
|
|
990
|
+
smartTagId?: number;
|
|
991
|
+
err?: boolean;
|
|
992
|
+
smtClean?: boolean;
|
|
993
|
+
}
|
|
994
|
+
interface TextRunOptions extends TextCharacterPropertiesOptions {
|
|
995
|
+
text?: string;
|
|
996
|
+
emptyProperties?: boolean;
|
|
997
|
+
}
|
|
998
|
+
type BulletStyleOptions = {
|
|
999
|
+
color?: string | SolidFillOptions;
|
|
1000
|
+
colorFollowsText?: boolean;
|
|
1001
|
+
size?: number;
|
|
1002
|
+
sizeFollowsText?: boolean;
|
|
1003
|
+
sizePoints?: number;
|
|
1004
|
+
font?: string;
|
|
1005
|
+
fontFollowsText?: boolean;
|
|
1006
|
+
};
|
|
1007
|
+
type BulletCharOptions = BulletStyleOptions & {
|
|
1008
|
+
type: "char";
|
|
1009
|
+
char?: string;
|
|
1010
|
+
};
|
|
1011
|
+
type AutoNumberFormat = "alphaLcParenBoth" | "alphaUcParenBoth" | "alphaLcParenR" | "alphaUcParenR" | "alphaLcPeriod" | "alphaUcPeriod" | "arabicParenBoth" | "arabicParenR" | "arabicPeriod" | "arabicPlain" | "romanLcParenBoth" | "romanUcParenBoth" | "romanLcParenR" | "romanUcParenR" | "romanLcPeriod" | "romanUcPeriod" | "circleNumDbPlain" | "circleNumWdBlackPlain" | "circleNumWdWhitePlain" | "arabicDbPeriod" | "arabicDbPlain" | "ea1ChsPeriod" | "ea1ChsPlain" | "ea1ChtPeriod" | "ea1ChtPlain" | "ea1JpnChsDbPeriod" | "ea1JpnKorPlain" | "ea1JpnKorPeriod" | "arabic1Minus" | "arabic2Minus" | "hebrew2Minus" | "thaiAlphaPeriod" | "thaiAlphaParenR" | "thaiAlphaParenBoth" | "thaiNumPeriod" | "thaiNumParenR" | "thaiNumParenBoth" | "hindiAlphaPeriod" | "hindiNumPeriod" | "hindiNumParenR" | "hindiAlpha1Period";
|
|
1012
|
+
type BulletAutoNumOptions = BulletStyleOptions & {
|
|
1013
|
+
type: "autoNum";
|
|
1014
|
+
format?: AutoNumberFormat;
|
|
1015
|
+
startAt?: number;
|
|
1016
|
+
};
|
|
1017
|
+
type BulletPictureOptions = BulletStyleOptions & {
|
|
1018
|
+
type: "picture";
|
|
1019
|
+
embed: string;
|
|
1020
|
+
};
|
|
1021
|
+
type BulletNoneOption = BulletStyleOptions & {
|
|
1022
|
+
type: "none";
|
|
1023
|
+
};
|
|
1024
|
+
type BulletOptions = BulletCharOptions | BulletAutoNumOptions | BulletPictureOptions | BulletNoneOption;
|
|
1025
|
+
type TextTabAlignment = "left" | "center" | "right" | "decimal";
|
|
1026
|
+
interface TabStopOptions {
|
|
1027
|
+
position?: number;
|
|
1028
|
+
alignment?: TextTabAlignment;
|
|
1029
|
+
}
|
|
1030
|
+
interface TextParagraphPropertiesOptions {
|
|
1031
|
+
alignment?: TextAlignment;
|
|
1032
|
+
indentLevel?: number;
|
|
1033
|
+
spaceAfter?: number;
|
|
1034
|
+
spaceAfterPercent?: number;
|
|
1035
|
+
spaceBefore?: number;
|
|
1036
|
+
spaceBeforePercent?: number;
|
|
1037
|
+
bullet?: BulletOptions;
|
|
1038
|
+
lineSpacingPercent?: number;
|
|
1039
|
+
lineSpacingPoints?: number;
|
|
1040
|
+
marginIndent?: number;
|
|
1041
|
+
marginRight?: number;
|
|
1042
|
+
defTabSize?: number;
|
|
1043
|
+
indent?: number;
|
|
1044
|
+
tabStops?: TabStopOptions[];
|
|
1045
|
+
defaultRunProperties?: TextCharacterPropertiesOptions;
|
|
1046
|
+
fontAlignment?: "auto" | "top" | "center" | "bottom" | "base";
|
|
1047
|
+
rightToLeft?: boolean;
|
|
1048
|
+
eastAsianLineBreak?: boolean;
|
|
1049
|
+
latinLineBreak?: boolean;
|
|
1050
|
+
hangingPunctuation?: boolean;
|
|
1051
|
+
ext?: string;
|
|
1052
|
+
}
|
|
1053
|
+
interface TextFieldOptions {
|
|
1054
|
+
type: string;
|
|
1055
|
+
id?: string;
|
|
1056
|
+
text?: string;
|
|
1057
|
+
properties?: TextCharacterPropertiesOptions;
|
|
1058
|
+
paragraphProperties?: TextParagraphPropertiesOptions;
|
|
1059
|
+
}
|
|
1060
|
+
interface TextBreakOptions {
|
|
1061
|
+
break: true;
|
|
1062
|
+
properties?: TextCharacterPropertiesOptions;
|
|
1063
|
+
}
|
|
1064
|
+
declare const DEFAULT_OUTLINE_WIDTH = 12700;
|
|
1065
|
+
declare const DEFAULT_SHADOW_BLUR_RADIUS = 50800;
|
|
1066
|
+
declare const DEFAULT_SHADOW_DISTANCE = 38100;
|
|
1067
|
+
declare const DEFAULT_SHADOW_DIRECTION = 270;
|
|
1068
|
+
declare const DEFAULT_SHADOW_ALPHA = 40;
|
|
1069
|
+
//#endregion
|
|
1070
|
+
//#region src/drawing/text/list-style.d.ts
|
|
1071
|
+
interface TextListStyleOptions {
|
|
1072
|
+
defaultParagraph?: TextParagraphPropertiesOptions;
|
|
1073
|
+
levels?: (TextParagraphPropertiesOptions | null)[];
|
|
1074
|
+
ext?: string;
|
|
1075
|
+
}
|
|
1076
|
+
interface TextStylesOptions {
|
|
1077
|
+
title?: TextListStyleOptions;
|
|
1078
|
+
body?: TextListStyleOptions;
|
|
1079
|
+
other?: TextListStyleOptions;
|
|
1080
|
+
}
|
|
1081
|
+
declare function stringifyTextStyles(opts: TextStylesOptions, ctx: WriteContext): string;
|
|
1082
|
+
declare function stringifyTextListStyleTag(tag: string, group: TextListStyleOptions | undefined, ctx: WriteContext): string;
|
|
1083
|
+
declare function parseTextStyles(el: Element, ctx: ReadContext): TextStylesOptions;
|
|
1084
|
+
declare const textListStyleDesc: CustomDescriptor<TextListStyleOptions>;
|
|
1085
|
+
declare const textStylesDesc: CustomDescriptor<TextStylesOptions>;
|
|
1086
|
+
declare const DEFAULT_TEXT_STYLES: TextStylesOptions;
|
|
1087
|
+
//#endregion
|
|
1088
|
+
//#region src/drawing/text/run-properties.d.ts
|
|
1089
|
+
type Mutable<T> = { -readonly [K in keyof T]?: T[K]; };
|
|
1090
|
+
declare function registerHyperlink(hl: TextHyperlinkOptions, ctx: WriteContext): string | undefined;
|
|
1091
|
+
declare function buildHyperlinkElement(tag: string, hl: TextHyperlinkOptions, key: string | undefined): string;
|
|
1092
|
+
declare function readHyperlink(el: Element, ctx: ReadContext): TextHyperlinkOptions;
|
|
1093
|
+
declare function stringifyRunProperties(tag: string, opts: TextCharacterPropertiesOptions, ctx: WriteContext): string;
|
|
1094
|
+
declare const runPropertiesDesc: CustomDescriptor<TextCharacterPropertiesOptions>;
|
|
1095
|
+
//#endregion
|
|
1096
|
+
//#region src/drawing/text/paragraph.d.ts
|
|
1097
|
+
interface ParagraphDescriptorOptions {
|
|
1098
|
+
text?: string;
|
|
1099
|
+
properties?: TextParagraphPropertiesOptions;
|
|
1100
|
+
children?: (TextRunOptions | TextFieldOptions | TextBreakOptions | string)[];
|
|
1101
|
+
endParagraphProperties?: TextCharacterPropertiesOptions | false;
|
|
1102
|
+
}
|
|
1103
|
+
declare function stringifyParagraphPropertiesElement(tag: string, options: TextParagraphPropertiesOptions, ctx: WriteContext): string;
|
|
1104
|
+
declare function readParagraphProperties(el: Element, ctx: ReadContext): Mutable<TextParagraphPropertiesOptions>;
|
|
1105
|
+
declare const paragraphDesc: CustomDescriptor<ParagraphDescriptorOptions>;
|
|
1106
|
+
//#endregion
|
|
1107
|
+
//#region src/drawing/text/text-body.d.ts
|
|
1108
|
+
interface TextBodyOptions {
|
|
1109
|
+
bodyProperties?: BodyPropertiesOptions;
|
|
1110
|
+
listStyle?: TextListStyleOptions;
|
|
1111
|
+
text?: string;
|
|
1112
|
+
paragraphs?: (ParagraphDescriptorOptions | string)[];
|
|
1113
|
+
anchor?: BodyPropertiesOptions["anchor"];
|
|
1114
|
+
autoFit?: "normal" | "shape";
|
|
1115
|
+
columns?: BodyPropertiesOptions["numCol"];
|
|
1116
|
+
columnSpacing?: BodyPropertiesOptions["spcCol"];
|
|
1117
|
+
margins?: BodyPropertiesOptions["margins"];
|
|
1118
|
+
wrap?: BodyPropertiesOptions["wrap"];
|
|
1119
|
+
vertical?: BodyPropertiesOptions["vertical"];
|
|
1120
|
+
}
|
|
1121
|
+
declare const textBodyDesc: CustomDescriptor<TextBodyOptions>;
|
|
1122
|
+
//#endregion
|
|
1123
|
+
//#region src/drawing/fill/no-fill.d.ts
|
|
1124
|
+
declare const createNoFill: () => string;
|
|
1125
|
+
//#endregion
|
|
1126
|
+
//#region src/drawing/fill/group-fill.d.ts
|
|
1127
|
+
declare const createGroupFill: () => string;
|
|
1128
|
+
//#endregion
|
|
1129
|
+
//#region src/drawing/outline/outline-descriptors.d.ts
|
|
1130
|
+
declare function stringifyLineProperties(tag: string, opts: OutlineOptions, ctx: Parameters<CustomDescriptor<OutlineOptions>["stringify"]>[1]): string | undefined;
|
|
1131
|
+
declare const outlineDesc: CustomDescriptor<OutlineOptions>;
|
|
1132
|
+
//#endregion
|
|
1133
|
+
//#region src/drawing/effects/soft-edge.d.ts
|
|
1134
|
+
declare const createSoftEdgeEffect: (rad: number | UniversalMeasure) => string;
|
|
1135
|
+
//#endregion
|
|
907
1136
|
//#region src/drawing/blip/blip.d.ts
|
|
1137
|
+
type BlipCompression = "email" | "screen" | "print" | "hqprint" | "none";
|
|
908
1138
|
interface BlipOptions {
|
|
909
|
-
referenceId
|
|
1139
|
+
referenceId?: string;
|
|
1140
|
+
linkReferenceId?: string;
|
|
1141
|
+
compression?: BlipCompression;
|
|
910
1142
|
type?: "svg" | string;
|
|
911
1143
|
fallbackFileName?: string;
|
|
912
1144
|
}
|
|
@@ -969,15 +1201,26 @@ declare const scene3DDesc: CustomDescriptor<Scene3DOptions>;
|
|
|
969
1201
|
//#endregion
|
|
970
1202
|
//#region src/drawing/table-style.d.ts
|
|
971
1203
|
type TableStyleRegion = "tblBg" | "wholeTbl" | "band1H" | "band2H" | "band1V" | "band2V" | "lastCol" | "firstCol" | "lastRow" | "seCell" | "swCell" | "firstRow" | "neCell" | "nwCell";
|
|
972
|
-
type OnOffStyleType = "on" | "off" | "
|
|
1204
|
+
type OnOffStyleType = "on" | "off" | "default";
|
|
1205
|
+
type CompoundLineType = "single" | "double" | "thickThin" | "thinThick" | "triple";
|
|
1206
|
+
interface TableFontReferenceOptions {
|
|
1207
|
+
collection: "major" | "minor" | "none";
|
|
1208
|
+
color?: SolidFillOptions;
|
|
1209
|
+
}
|
|
973
1210
|
interface TablePartStyleOptions {
|
|
974
1211
|
text?: TableTextStyleOptions;
|
|
975
1212
|
cell?: TableCellStyleOptions;
|
|
1213
|
+
background?: TableBackgroundStyleOptions;
|
|
1214
|
+
}
|
|
1215
|
+
interface TableBackgroundStyleOptions {
|
|
1216
|
+
fillReference?: StyleMatrixReferenceOptions;
|
|
1217
|
+
fill?: string;
|
|
1218
|
+
effectReference?: StyleMatrixReferenceOptions;
|
|
976
1219
|
}
|
|
977
1220
|
interface TableTextStyleOptions {
|
|
978
1221
|
bold?: OnOffStyleType;
|
|
979
1222
|
italic?: OnOffStyleType;
|
|
980
|
-
fontReference?:
|
|
1223
|
+
fontReference?: TableFontReferenceOptions;
|
|
981
1224
|
color?: string;
|
|
982
1225
|
}
|
|
983
1226
|
interface TableCellStyleOptions {
|
|
@@ -996,6 +1239,7 @@ interface TableCellBorderOptions {
|
|
|
996
1239
|
}
|
|
997
1240
|
interface ThemeableLineStyleOptions {
|
|
998
1241
|
width?: number;
|
|
1242
|
+
compound?: CompoundLineType;
|
|
999
1243
|
color?: string;
|
|
1000
1244
|
lineReference?: StyleMatrixReferenceOptions;
|
|
1001
1245
|
}
|
|
@@ -1007,6 +1251,7 @@ interface TableStyleOptions {
|
|
|
1007
1251
|
interface TableStyleListOptions {
|
|
1008
1252
|
defaultStyleId: string;
|
|
1009
1253
|
styles?: readonly TableStyleOptions[];
|
|
1254
|
+
ext?: string;
|
|
1010
1255
|
}
|
|
1011
1256
|
declare function createTableStyle(opts: TableStyleOptions, elementName?: string): string;
|
|
1012
1257
|
declare function createTableStyleList(opts: TableStyleListOptions): string;
|
|
@@ -1072,6 +1317,8 @@ interface NonVisualDrawingPropertiesOptions {
|
|
|
1072
1317
|
description?: string;
|
|
1073
1318
|
title?: string;
|
|
1074
1319
|
hidden?: boolean;
|
|
1320
|
+
creationId?: Guid;
|
|
1321
|
+
ext?: string;
|
|
1075
1322
|
}
|
|
1076
1323
|
declare function stringifyNonVisualDrawingProperties(tag: string, id: number | string, opts: NonVisualDrawingPropertiesOptions | undefined, fallbackName: string, innerXml?: string): string;
|
|
1077
1324
|
declare function parseNonVisualDrawingProperties(el: Element | undefined): Partial<NonVisualDrawingPropertiesOptions>;
|
|
@@ -1091,7 +1338,7 @@ interface AdjustOptions {
|
|
|
1091
1338
|
val: number;
|
|
1092
1339
|
}
|
|
1093
1340
|
declare const createAdjust: (options: AdjustOptions) => string;
|
|
1094
|
-
type AnimationLevel = "none" | "
|
|
1341
|
+
type AnimationLevel = "none" | "level" | "center";
|
|
1095
1342
|
interface AnimationLevelOptions {
|
|
1096
1343
|
val?: AnimationLevel;
|
|
1097
1344
|
}
|
|
@@ -1113,7 +1360,7 @@ interface OrgChartOptions {
|
|
|
1113
1360
|
val?: boolean;
|
|
1114
1361
|
}
|
|
1115
1362
|
declare const createOrgChart: (options?: OrgChartOptions) => string;
|
|
1116
|
-
type HierBranch = "
|
|
1363
|
+
type HierBranch = "left" | "right" | "hanging" | "standard" | "initial";
|
|
1117
1364
|
interface HierBranchOptions {
|
|
1118
1365
|
val?: HierBranch;
|
|
1119
1366
|
}
|
|
@@ -1207,7 +1454,7 @@ interface DiagramStyleOptions {
|
|
|
1207
1454
|
}
|
|
1208
1455
|
declare const createDiagramStyle: (options?: DiagramStyleOptions) => string;
|
|
1209
1456
|
type ColorMethod = "span" | "cycle" | "repeat";
|
|
1210
|
-
type HueDirection = "
|
|
1457
|
+
type HueDirection = "clockwise" | "counterClockwise";
|
|
1211
1458
|
interface ColorListOptions {
|
|
1212
1459
|
meth?: ColorMethod;
|
|
1213
1460
|
hueDir?: HueDirection;
|
|
@@ -1260,7 +1507,9 @@ declare const hslColorDesc: CustomDescriptor<HslColorOptions>;
|
|
|
1260
1507
|
declare const systemColorDesc: CustomDescriptor<SystemColorOptions>;
|
|
1261
1508
|
declare const presetColorDesc: CustomDescriptor<PresetColorOptions>;
|
|
1262
1509
|
declare const scRgbColorDesc: CustomDescriptor<ScRgbColorOptions>;
|
|
1263
|
-
declare function
|
|
1510
|
+
declare function emitColorChoice(color: SolidFillOptions): string;
|
|
1511
|
+
declare function stringifyColorChoice(color: SolidFillOptions, _ctx: WriteContext): string;
|
|
1512
|
+
declare function isPlainRgbColor(color: SolidFillOptions): boolean;
|
|
1264
1513
|
declare function parseColorChoiceElement(el: Element, ctx: ReadContext): SolidFillOptions | undefined;
|
|
1265
1514
|
declare function parseColorChoice(el: Element, ctx: ReadContext): SolidFillOptions;
|
|
1266
1515
|
declare const solidFillDesc: CustomDescriptor<SolidFillOptions>;
|
|
@@ -1268,11 +1517,9 @@ declare const solidFillDesc: CustomDescriptor<SolidFillOptions>;
|
|
|
1268
1517
|
//#region src/drawing/fill/fill-descriptors.d.ts
|
|
1269
1518
|
declare const gradientFillDesc: CustomDescriptor<GradientFillOptions>;
|
|
1270
1519
|
declare const patternFillDesc: CustomDescriptor<PatternFillOptions>;
|
|
1520
|
+
declare function emitFillXml(options: FillOptions, embedPlaceholder?: string): string | undefined;
|
|
1271
1521
|
declare const fillDesc: CustomDescriptor<FillOptions>;
|
|
1272
|
-
|
|
1273
|
-
//#region src/drawing/outline/outline-descriptors.d.ts
|
|
1274
|
-
declare function stringifyLineProperties(tag: string, opts: OutlineOptions, ctx: Parameters<CustomDescriptor<OutlineOptions>["stringify"]>[1]): string | undefined;
|
|
1275
|
-
declare const outlineDesc: CustomDescriptor<OutlineOptions>;
|
|
1522
|
+
declare function findFillChild(el: Element): Element | undefined;
|
|
1276
1523
|
//#endregion
|
|
1277
1524
|
//#region src/drawing/effects/effect-descriptors.d.ts
|
|
1278
1525
|
declare const effectListDesc: CustomDescriptor<EffectListOptions>;
|
|
@@ -1292,31 +1539,6 @@ declare const customGeometryDesc: CustomDescriptor<CustomGeometryOptions>;
|
|
|
1292
1539
|
declare const transform2DDesc: CustomDescriptor<Transform2DOptions>;
|
|
1293
1540
|
declare const groupTransform2DDesc: CustomDescriptor<GroupTransform2DOptions>;
|
|
1294
1541
|
//#endregion
|
|
1295
|
-
//#region src/drawing/shape-properties-desc.d.ts
|
|
1296
|
-
interface ShapePropertiesOptions {
|
|
1297
|
-
x?: number | UniversalMeasure;
|
|
1298
|
-
y?: number | UniversalMeasure;
|
|
1299
|
-
width?: number | UniversalMeasure;
|
|
1300
|
-
height?: number | UniversalMeasure;
|
|
1301
|
-
flipHorizontal?: boolean;
|
|
1302
|
-
flipVertical?: boolean;
|
|
1303
|
-
rotation?: number;
|
|
1304
|
-
childOffsetX?: number | UniversalMeasure;
|
|
1305
|
-
childOffsetY?: number | UniversalMeasure;
|
|
1306
|
-
childExtentWidth?: number | UniversalMeasure;
|
|
1307
|
-
childExtentHeight?: number | UniversalMeasure;
|
|
1308
|
-
geometry?: string | PresetGeometryOptions;
|
|
1309
|
-
customGeometry?: CustomGeometryOptions;
|
|
1310
|
-
fill?: FillOptions;
|
|
1311
|
-
outline?: OutlineOptions;
|
|
1312
|
-
effects?: EffectListOptions;
|
|
1313
|
-
effectDag?: EffectDagOptions;
|
|
1314
|
-
scene3d?: Scene3DOptions;
|
|
1315
|
-
shape3d?: Shape3DOptions;
|
|
1316
|
-
ext?: string;
|
|
1317
|
-
}
|
|
1318
|
-
declare const shapePropertiesDesc: CustomDescriptor<ShapePropertiesOptions>;
|
|
1319
|
-
//#endregion
|
|
1320
1542
|
//#region src/drawing/group-shape-properties-desc.d.ts
|
|
1321
1543
|
interface GroupShapePropertiesOptions extends GroupTransform2DOptions {
|
|
1322
1544
|
fill?: FillOptions;
|
|
@@ -1326,274 +1548,21 @@ interface GroupShapePropertiesOptions extends GroupTransform2DOptions {
|
|
|
1326
1548
|
}
|
|
1327
1549
|
declare const groupShapePropertiesDesc: CustomDescriptor<GroupShapePropertiesOptions>;
|
|
1328
1550
|
//#endregion
|
|
1329
|
-
//#region src/drawing/text/types.d.ts
|
|
1330
|
-
type UnderlineStyle = "single" | "double" | "none";
|
|
1331
|
-
type StrikeStyle = "singleStrike" | "doubleStrike" | "noStrike";
|
|
1332
|
-
type TextCapitalization = "none" | "all" | "small";
|
|
1333
|
-
type TextAlignment = "left" | "center" | "right" | "justify";
|
|
1334
|
-
interface TextHyperlinkOptions {
|
|
1335
|
-
url?: string;
|
|
1336
|
-
slide?: number;
|
|
1337
|
-
referenceId?: string;
|
|
1338
|
-
tooltip?: string;
|
|
1339
|
-
action?: string;
|
|
1340
|
-
highlightClick?: boolean;
|
|
1341
|
-
endSound?: boolean;
|
|
1342
|
-
invalidUrl?: boolean;
|
|
1343
|
-
}
|
|
1344
|
-
type TextFont = string | {
|
|
1345
|
-
typeface: string;
|
|
1346
|
-
panose?: string;
|
|
1347
|
-
pitchFamily?: number;
|
|
1348
|
-
charset?: number;
|
|
1349
|
-
};
|
|
1350
|
-
type RunFont = string | {
|
|
1351
|
-
latin?: TextFont;
|
|
1352
|
-
eastAsia?: TextFont;
|
|
1353
|
-
complexScript?: TextFont;
|
|
1354
|
-
symbol?: TextFont;
|
|
1355
|
-
};
|
|
1356
|
-
interface RunPropertiesOptions {
|
|
1357
|
-
size?: number;
|
|
1358
|
-
bold?: boolean;
|
|
1359
|
-
italic?: boolean;
|
|
1360
|
-
underline?: UnderlineStyle;
|
|
1361
|
-
font?: RunFont;
|
|
1362
|
-
lang?: string;
|
|
1363
|
-
fill?: FillOptions;
|
|
1364
|
-
hyperlink?: TextHyperlinkOptions;
|
|
1365
|
-
mouseoverHyperlink?: TextHyperlinkOptions;
|
|
1366
|
-
strike?: StrikeStyle;
|
|
1367
|
-
baseline?: number;
|
|
1368
|
-
spacing?: number;
|
|
1369
|
-
capitalization?: TextCapitalization;
|
|
1370
|
-
highlight?: SolidFillOptions;
|
|
1371
|
-
underlineLine?: true | OutlineOptions;
|
|
1372
|
-
underlineFill?: true | FillOptions;
|
|
1373
|
-
kern?: number;
|
|
1374
|
-
outline?: true | OutlineOptions;
|
|
1375
|
-
shadow?: true | EffectListOptions;
|
|
1376
|
-
rightToLeft?: boolean;
|
|
1377
|
-
noProof?: boolean;
|
|
1378
|
-
dirty?: boolean;
|
|
1379
|
-
kumimoji?: boolean;
|
|
1380
|
-
alternateLanguage?: string;
|
|
1381
|
-
normalizeHeight?: boolean;
|
|
1382
|
-
bookmarkMark?: string;
|
|
1383
|
-
smartTagId?: string;
|
|
1384
|
-
err?: boolean;
|
|
1385
|
-
smtClean?: boolean;
|
|
1386
|
-
}
|
|
1387
|
-
interface RunOptions extends RunPropertiesOptions {
|
|
1388
|
-
text?: string;
|
|
1389
|
-
}
|
|
1390
|
-
type BulletStyleOptions = {
|
|
1391
|
-
color?: string;
|
|
1392
|
-
colorFollowsText?: boolean;
|
|
1393
|
-
size?: number;
|
|
1394
|
-
sizeFollowsText?: boolean;
|
|
1395
|
-
sizePoints?: number;
|
|
1396
|
-
font?: string;
|
|
1397
|
-
fontFollowsText?: boolean;
|
|
1398
|
-
};
|
|
1399
|
-
type BulletCharOptions = BulletStyleOptions & {
|
|
1400
|
-
type: "char";
|
|
1401
|
-
char?: string;
|
|
1402
|
-
};
|
|
1403
|
-
type BulletAutoNumOptions = BulletStyleOptions & {
|
|
1404
|
-
type: "autoNum";
|
|
1405
|
-
format?: string;
|
|
1406
|
-
startAt?: number;
|
|
1407
|
-
};
|
|
1408
|
-
type BulletPictureOptions = BulletStyleOptions & {
|
|
1409
|
-
type: "picture";
|
|
1410
|
-
embed: string;
|
|
1411
|
-
};
|
|
1412
|
-
type BulletNoneOption = {
|
|
1413
|
-
type: "none";
|
|
1414
|
-
};
|
|
1415
|
-
type BulletOptions = BulletCharOptions | BulletAutoNumOptions | BulletPictureOptions | BulletNoneOption;
|
|
1416
|
-
type TextTabAlignment = "l" | "ctr" | "r" | "dec";
|
|
1417
|
-
interface TabStopOptions {
|
|
1418
|
-
position?: number;
|
|
1419
|
-
alignment?: TextTabAlignment;
|
|
1420
|
-
}
|
|
1421
|
-
interface ParagraphPropertiesOptions {
|
|
1422
|
-
alignment?: TextAlignment;
|
|
1423
|
-
indentLevel?: number;
|
|
1424
|
-
spaceAfter?: number;
|
|
1425
|
-
spaceBefore?: number;
|
|
1426
|
-
bullet?: BulletOptions;
|
|
1427
|
-
lineSpacingPercent?: number;
|
|
1428
|
-
lineSpacingPoints?: number;
|
|
1429
|
-
marginIndent?: number;
|
|
1430
|
-
marginRight?: number;
|
|
1431
|
-
defTabSize?: number;
|
|
1432
|
-
indent?: number;
|
|
1433
|
-
tabStops?: TabStopOptions[];
|
|
1434
|
-
defaultRunProperties?: RunPropertiesOptions;
|
|
1435
|
-
fontAlignment?: "auto" | "t" | "ctr" | "b" | "base";
|
|
1436
|
-
rightToLeft?: boolean;
|
|
1437
|
-
eastAsianLineBreak?: boolean;
|
|
1438
|
-
latinLineBreak?: boolean;
|
|
1439
|
-
}
|
|
1440
|
-
interface TextFieldOptions {
|
|
1441
|
-
type: string;
|
|
1442
|
-
id?: string;
|
|
1443
|
-
text?: string;
|
|
1444
|
-
properties?: RunPropertiesOptions;
|
|
1445
|
-
}
|
|
1446
|
-
interface BreakOptions {
|
|
1447
|
-
break: true;
|
|
1448
|
-
properties?: RunPropertiesOptions;
|
|
1449
|
-
}
|
|
1450
|
-
declare const DEFAULT_OUTLINE_WIDTH = 12700;
|
|
1451
|
-
declare const DEFAULT_SHADOW_BLUR_RADIUS = 50800;
|
|
1452
|
-
declare const DEFAULT_SHADOW_DISTANCE = 38100;
|
|
1453
|
-
declare const DEFAULT_SHADOW_DIRECTION = 270;
|
|
1454
|
-
declare const DEFAULT_SHADOW_ALPHA = 40;
|
|
1455
|
-
//#endregion
|
|
1456
|
-
//#region src/drawing/text/body-properties.d.ts
|
|
1457
|
-
type VerticalAnchor = "t" | "ctr" | "b" | "just" | "dist";
|
|
1458
|
-
type TextVertOverflow = "overflow" | "ellipsis" | "clip";
|
|
1459
|
-
type TextHorzOverflow = "overflow" | "clip";
|
|
1460
|
-
type TextVertical = "horz" | "vert" | "vert270" | "wordArtVert" | "eaVert" | "mongolianVert" | "wordArtVertRtl";
|
|
1461
|
-
type TextBodyWrapping = "none" | "square";
|
|
1462
|
-
interface NormalAutofitOptions {
|
|
1463
|
-
fontScale?: number;
|
|
1464
|
-
lnSpcReduction?: number;
|
|
1465
|
-
}
|
|
1466
|
-
interface PresetTextShapeOptions {
|
|
1467
|
-
preset: string;
|
|
1468
|
-
adjustments?: {
|
|
1469
|
-
name: string;
|
|
1470
|
-
formula: string;
|
|
1471
|
-
}[];
|
|
1472
|
-
}
|
|
1473
|
-
interface FlatTextOptions {
|
|
1474
|
-
z?: number;
|
|
1475
|
-
}
|
|
1476
|
-
interface BodyPropertiesOptions {
|
|
1477
|
-
rotation?: number;
|
|
1478
|
-
spcFirstLastPara?: boolean;
|
|
1479
|
-
vertOverflow?: TextVertOverflow;
|
|
1480
|
-
horzOverflow?: TextHorzOverflow;
|
|
1481
|
-
vertical?: TextVertical;
|
|
1482
|
-
wrap?: TextBodyWrapping;
|
|
1483
|
-
lIns?: number | UniversalMeasure;
|
|
1484
|
-
tIns?: number | UniversalMeasure;
|
|
1485
|
-
rIns?: number | UniversalMeasure;
|
|
1486
|
-
bIns?: number | UniversalMeasure;
|
|
1487
|
-
numCol?: number;
|
|
1488
|
-
spcCol?: number | UniversalMeasure;
|
|
1489
|
-
rtlCol?: boolean;
|
|
1490
|
-
fromWordArt?: boolean;
|
|
1491
|
-
anchor?: VerticalAnchor;
|
|
1492
|
-
anchorCtr?: boolean;
|
|
1493
|
-
forceAA?: boolean;
|
|
1494
|
-
upright?: boolean;
|
|
1495
|
-
compatLnSpc?: boolean;
|
|
1496
|
-
margins?: {
|
|
1497
|
-
top?: number | UniversalMeasure;
|
|
1498
|
-
bottom?: number | UniversalMeasure;
|
|
1499
|
-
left?: number | UniversalMeasure;
|
|
1500
|
-
right?: number | UniversalMeasure;
|
|
1501
|
-
};
|
|
1502
|
-
prstTxWarp?: PresetTextShapeOptions;
|
|
1503
|
-
noAutoFit?: boolean;
|
|
1504
|
-
normAutofit?: NormalAutofitOptions;
|
|
1505
|
-
spAutoFit?: boolean;
|
|
1506
|
-
scene3d?: Scene3DOptions;
|
|
1507
|
-
sp3d?: Shape3DOptions;
|
|
1508
|
-
flatTx?: FlatTextOptions;
|
|
1509
|
-
}
|
|
1510
|
-
declare const createBodyProperties: (options?: BodyPropertiesOptions, tagName?: string) => string;
|
|
1511
|
-
declare const parseBodyProperties: (el: Element, ctx: ReadContext) => BodyPropertiesOptions;
|
|
1512
|
-
declare const bodyPropertiesDesc: CustomDescriptor<BodyPropertiesOptions, WriteContext, BodyPropertiesOptions>;
|
|
1513
|
-
//#endregion
|
|
1514
|
-
//#region src/drawing/text/run-properties.d.ts
|
|
1515
|
-
type Mutable<T> = { -readonly [K in keyof T]?: T[K] };
|
|
1516
|
-
declare const runPropertiesDesc: CustomDescriptor<RunPropertiesOptions>;
|
|
1517
|
-
//#endregion
|
|
1518
1551
|
//#region src/drawing/text/run.d.ts
|
|
1519
1552
|
declare function stringifyTextRun(text: string): string;
|
|
1520
|
-
declare const textRunDesc: CustomDescriptor<
|
|
1521
|
-
//#endregion
|
|
1522
|
-
//#region src/drawing/text/paragraph.d.ts
|
|
1523
|
-
interface ParagraphDescriptorOptions {
|
|
1524
|
-
text?: string;
|
|
1525
|
-
properties?: ParagraphPropertiesOptions;
|
|
1526
|
-
children?: (RunOptions | TextFieldOptions | BreakOptions | string)[];
|
|
1527
|
-
endParagraphProperties?: RunPropertiesOptions | false;
|
|
1528
|
-
}
|
|
1529
|
-
declare const paragraphDesc: CustomDescriptor<ParagraphDescriptorOptions>;
|
|
1530
|
-
//#endregion
|
|
1531
|
-
//#region src/drawing/text/list-style.d.ts
|
|
1532
|
-
interface TextListStyleRunOptions {
|
|
1533
|
-
size?: number;
|
|
1534
|
-
kern?: number;
|
|
1535
|
-
schemeColor?: string;
|
|
1536
|
-
latin?: string;
|
|
1537
|
-
eastAsia?: string;
|
|
1538
|
-
complexScript?: string;
|
|
1539
|
-
}
|
|
1540
|
-
interface TextListStyleBulletOptions {
|
|
1541
|
-
type: "none" | "char";
|
|
1542
|
-
char?: string;
|
|
1543
|
-
font?: string;
|
|
1544
|
-
}
|
|
1545
|
-
interface TextListStyleLevelOptions {
|
|
1546
|
-
alignment?: string;
|
|
1547
|
-
marginIndent?: number;
|
|
1548
|
-
indent?: number;
|
|
1549
|
-
defaultTabSize?: number;
|
|
1550
|
-
rtl?: boolean;
|
|
1551
|
-
eastAsianLineBreak?: boolean;
|
|
1552
|
-
latinLineBreak?: boolean;
|
|
1553
|
-
hangingPunctuation?: boolean;
|
|
1554
|
-
lineSpacingPercent?: number;
|
|
1555
|
-
spaceBeforePercent?: number;
|
|
1556
|
-
spaceBeforePoints?: number;
|
|
1557
|
-
bullet?: TextListStyleBulletOptions;
|
|
1558
|
-
defaultRun?: TextListStyleRunOptions;
|
|
1559
|
-
}
|
|
1560
|
-
interface TextListStyleGroupOptions {
|
|
1561
|
-
emptyDefaultParagraph?: boolean;
|
|
1562
|
-
levels?: (TextListStyleLevelOptions | null)[];
|
|
1563
|
-
}
|
|
1564
|
-
interface TextListStyleOptions {
|
|
1565
|
-
title?: TextListStyleGroupOptions;
|
|
1566
|
-
body?: TextListStyleGroupOptions;
|
|
1567
|
-
other?: TextListStyleGroupOptions;
|
|
1568
|
-
}
|
|
1569
|
-
declare function stringifyTextListStyle(opts: TextListStyleOptions): string;
|
|
1570
|
-
declare function parseTextListStyle(el: Element): TextListStyleOptions;
|
|
1571
|
-
declare const textListStyleDesc: CustomDescriptor<TextListStyleOptions>;
|
|
1572
|
-
declare const DEFAULT_TEXT_LIST_STYLE: TextListStyleOptions;
|
|
1573
|
-
//#endregion
|
|
1574
|
-
//#region src/drawing/text/text-body.d.ts
|
|
1575
|
-
interface TextBodyOptions {
|
|
1576
|
-
bodyProperties?: BodyPropertiesOptions;
|
|
1577
|
-
listStyle?: TextListStyleOptions;
|
|
1578
|
-
text?: string;
|
|
1579
|
-
paragraphs?: (ParagraphDescriptorOptions | string)[];
|
|
1580
|
-
anchor?: BodyPropertiesOptions["anchor"];
|
|
1581
|
-
autoFit?: "normal" | "shape";
|
|
1582
|
-
columns?: BodyPropertiesOptions["numCol"];
|
|
1583
|
-
columnSpacing?: BodyPropertiesOptions["spcCol"];
|
|
1584
|
-
margins?: BodyPropertiesOptions["margins"];
|
|
1585
|
-
wrap?: BodyPropertiesOptions["wrap"];
|
|
1586
|
-
vertical?: BodyPropertiesOptions["vertical"];
|
|
1587
|
-
}
|
|
1588
|
-
declare const textBodyDesc: CustomDescriptor<TextBodyOptions>;
|
|
1553
|
+
declare const textRunDesc: CustomDescriptor<TextRunOptions>;
|
|
1589
1554
|
//#endregion
|
|
1590
1555
|
//#region src/drawing/blip/blip-descriptors.d.ts
|
|
1591
1556
|
declare const tileDesc: CustomDescriptor<TileOptions>;
|
|
1592
1557
|
declare const sourceRectangleDesc: CustomDescriptor<SourceRectangleOptions>;
|
|
1593
1558
|
declare const stretchDesc: CustomDescriptor<SourceRectangleOptions>;
|
|
1594
|
-
declare
|
|
1559
|
+
declare function stringifyBlipEffects(opts: BlipEffectsOptions, ctx: WriteContext): string;
|
|
1560
|
+
type BlipDescriptorOptions = BlipOptions & {
|
|
1595
1561
|
blipEffects?: BlipEffectsOptions;
|
|
1596
|
-
|
|
1562
|
+
useLocalDpi?: boolean;
|
|
1563
|
+
ext?: string;
|
|
1564
|
+
};
|
|
1565
|
+
declare const blipDesc: CustomDescriptor<BlipDescriptorOptions>;
|
|
1597
1566
|
declare const blipFillDesc: CustomDescriptor<BlipFillOptions & {
|
|
1598
1567
|
referenceId?: string;
|
|
1599
1568
|
blipEffects?: BlipEffectsOptions;
|
|
@@ -1605,5 +1574,5 @@ declare const diagramStyleDesc: CustomDescriptor<DiagramStyleOptions>;
|
|
|
1605
1574
|
declare const presentationLayoutVariablesDesc: CustomDescriptor<PresentationLayoutVariablesOptions>;
|
|
1606
1575
|
declare const diagramExtensionListDesc: CustomDescriptor<DiagramExtensionListOptions>;
|
|
1607
1576
|
//#endregion
|
|
1608
|
-
export {
|
|
1609
|
-
//# sourceMappingURL=index-
|
|
1577
|
+
export { ColorStyleLabelOptions as $, SchemeColorOptions as $a, FillOptions as $i, createGroupFill as $n, TextShapePreset as $r, pickNonVisualDrawingProperties as $t, patternFillDesc as A, PatternFillOptions as Aa, PresetDash as Ai, parseTableStyle as An, DEFAULT_SHADOW_BLUR_RADIUS as Ar, AnimateOneByOneOptions as At, solidFillDesc as B, createGradientFill as Ba, ShapeType as Bi, Transform2DOptions as Bn, TextFieldOptions as Br, createAdjustList as Bt, pictureLockingDesc as C, InnerShadowEffectOptions as Ca, createScene3D as Ci, TableStyleListOptions as Cn, BulletCharOptions as Cr, createLayoutDefinitionHeader as Ct, fillDesc as D, BlendMode as Da, OutlineFillProperties as Di, ThemeableLineStyleOptions as Dn, BulletStyleOptions as Dr, AdjustListOptions as Dt, emitFillXml as E, createGlowEffect as Ea, LineJoin as Ei, TableTextStyleOptions as En, BulletPictureOptions as Er, createStyleDefinitionHeaderList as Et, parseColorChoiceElement as F, GradientStop as Fa, LineEndWidth as Fi, scene3DDesc as Fn, TabStopOptions as Fr, MaxChildrenOptions as Ft, DiagramTextPropertiesOptions as G, createTileInfo as Ga, PathCommand as Gi, BlipFillOptions as Gn, TextTabAlignment as Gr, createOrgChart as Gt, systemColorDesc as H, TileAlignment as Ha, ConnectionSite as Hi, createTransform2D as Hn, TextHyperlinkOptions as Hr, createAnimationLevel as Ht, presetColorDesc as I, LinearShadeOptions as Ia, createLineEnd as Ii, shape3DDesc as In, TextAlignment as Ir, OrgChartOptions as It, createDiagramTextProperties as J, createSolidFill as Ja, createCustomGeometry as Ji, BlipOptions as Jn, FlatTextOptions as Jr, NonVisualContentPartPropertiesOptions as Jt, createDiagramExtensionList as K, SolidFillOptions as Ka, PathFillMode as Ki, createBlipFill as Kn, UnderlineStyle as Kr, createPreferredChildren as Kt, rgbColorDesc as L, PathShade as La, DashStop as Li, StyleMatrixReferenceOptions as Ln, TextBreakOptions as Lr, PreferredChildrenOptions as Lt, hslColorDesc as M, createPatternFill as Ma, LineEndLength as Mi, Cell3DOptions as Mn, DEFAULT_SHADOW_DISTANCE as Mr, AnimationLevelOptions as Mt, isPlainRgbColor as N, GradientFillOptions as Na, LineEndOptions as Ni, bevelDesc as Nn, RunFont as Nr, HierBranch as Nt, findFillChild as O, FillOverlayEffectOptions as Oa, OutlineOptions as Oi, createTableStyle as On, DEFAULT_OUTLINE_WIDTH as Or, AdjustOptions as Ot, parseColorChoice as P, GradientShadeOptions as Pa, LineEndType as Pi, cell3DDesc as Pn, StrikeStyle as Pr, HierBranchOptions as Pt, ColorMethod as Q, SchemeColor as Qa, BlipFillMediaData as Qi, stringifyLineProperties as Qn, TextHorzOverflow as Qr, parseNonVisualDrawingProperties as Qt, scRgbColorDesc as R, PathShadeOptions as Ra, createCustomDash as Ri, BlackWhiteMode as Rn, TextCapitalization as Rr, PresentationLayoutVariablesOptions as Rt, groupLockingDesc as S, createOuterShadowEffect as Sa, Vector3D as Si, TablePartStyleOptions as Sn, BulletAutoNumOptions as Sr, createColorsDefinitionHeaderList as St, effectListDesc as T, GlowEffectOptions as Ta, LineCap as Ti, TableStyleRegion as Tn, BulletOptions as Tr, createStyleDefinitionHeader as Tt, DiagramExtensionListOptions as U, TileFlipMode as Ua, CustomGeometryOptions as Ui, stringifyStretch as Un, TextParagraphPropertiesOptions as Ur, createHierBranch as Ut, stringifyColorChoice as V, createGradientStop as Va, stringifyPresetGeometry as Vi, createGroupTransform2D as Vn, TextFont as Vr, createAnimateOneByOne as Vt, DiagramExtensionOptions as W, TileOptions as Wa, GeomRect as Wi, createExtensionList as Wn, TextRunOptions as Wr, createMaxChildren as Wt, createDiagramRelationshipIds as X, SystemColorOptions as Xa, stringifyAdjustmentValues as Xi, createSoftEdgeEffect as Xn, PresetTextShapeOptions as Xr, stringifyNonVisualContentPartProperties as Xt, DiagramRelationshipIdsOptions as Y, SystemColor as Ya, GeometryGuide as Yi, createBlip as Yn, NormalAutofitOptions as Yr, parseNonVisualContentPartProperties as Yt, ColorListOptions as Z, createSystemColor as Za, BlipFillConfigOptions as Zi, outlineDesc as Zn, TextBodyWrapping as Zr, NonVisualDrawingPropertiesOptions as Zt, transform2DDesc as _, PresetShadow as _a, CameraOptions as _i, OnOffStyleType as _n, stringifyTextListStyleTag as _r, LayoutDefinitionHeaderListOptions as _t, BlipDescriptorOptions as a, EffectContainer as aa, parseBodyProperties as ai, ContentPartLockingOptions as an, PresetColor as ao, readParagraphProperties as ar, createEffectColorList as at, connectorLockingDesc as b, OuterShadowEffectOptions as ba, Scene3DOptions as bi, TableCellStyleOptions as bn, textStylesDesc as br, StyleDefinitionHeaderOptions as bt, sourceRectangleDesc as c, BlipEffectsOptions as ca, shapePropertiesDesc as ci, PictureLockingOptions as cn, HslColorOptions as co, buildHyperlinkElement as cr, createStyleLabel as ct, tileDesc as d, EffectExtent as da, createShape3D as di, createContentPartLocking as dn, createColorTransforms as do, runPropertiesDesc as dr, createTextLineColorList as dt, GradientStopOptions as ea, TextVertOverflow as ei, stringifyNonVisualDrawingProperties as en, createSchemeColor as eo, createNoFill as er, DiagramStyleOptions as et, stringifyTextRun as f, EffectListOptions as fa, BevelOptions as fi, createGraphicFrameLocking as fn, stringifyRunProperties as fr, ColorsDefinitionHeaderListOptions as ft, groupTransform2DDesc as g, createReflectionEffect as ga, BackdropOptions as gi, CompoundLineType as gn, parseTextStyles as gr, DiagramNameOptions as gt, groupShapePropertiesDesc as h, ReflectionEffectOptions as ha, createBottomBevel as hi, createShapeLocking as hn, TextStylesOptions as hr, DiagramDescriptionOptions as ht, presentationLayoutVariablesDesc as i, createSourceRectangle as ia, createBodyProperties as ii, ConnectorLockingOptions as in, createRgbColor as io, paragraphDesc as ir, createDiagramStyle as it, emitColorChoice as j, PresetPattern as ja, createOutline as ji, parseTableStyleList as jn, DEFAULT_SHADOW_DIRECTION as jr, AnimationLevel as jt, gradientFillDesc as k, createFillOverlayEffect as ka, PenAlignment as ki, createTableStyleList as kn, DEFAULT_SHADOW_ALPHA as kr, AnimateOneByOne as kt, stretchDesc as l, createBlipEffects as la, PresetMaterial as li, ShapeLockingOptions as ln, createHslColor as lo, readHyperlink as lr, createTextEffectColorList as lt, GroupShapePropertiesOptions as m, createEffectList as ma, createBevel as mi, createPictureLocking as mn, TextListStyleOptions as mr, DiagramCategoryOptions as mt, diagramRelationshipIdsDesc as n, extractBlipFillMedia as na, VerticalAnchor as ni, parseEndpointConnection as nn, createScRgbColor as no, textBodyDesc as nr, HueDirection as nt, blipDesc as o, EffectDagOptions as oa, ShapePropertiesExtensionOptions as oi, GraphicFrameLockingOptions as on, PresetColorOptions as oo, stringifyParagraphPropertiesElement as or, createFillColorList as ot, textRunDesc as p, calculateEffectExtent as pa, BevelPreset as pi, createGroupLocking as pn, DEFAULT_TEXT_STYLES as pr, ColorsDefinitionHeaderOptions as pt, createDiagramShape3D as q, createColorElement as qa, PathOptions as qi, BlipCompression as qn, BodyPropertiesOptions as qr, createPresentationLayoutVariables as qt, diagramStyleDesc as r, SourceRectangleOptions as ra, bodyPropertiesDesc as ri, stringifyEndpointConnection as rn, RgbColorOptions as ro, ParagraphDescriptorOptions as rr, StyleMatrixIndex as rt, blipFillDesc as s, createEffectDag as sa, ShapePropertiesOptions as si, GroupLockingOptions as sn, createPresetColor as so, Mutable as sr, createLineColorList as st, diagramExtensionListDesc as t, buildFill as ta, TextVertical as ti, EndpointConnectionOptions as tn, ScRgbColorOptions as to, TextBodyOptions as tr, FontCollectionIndex as tt, stringifyBlipEffects as u, BlurEffectOptions as ua, Shape3DOptions as ui, createConnectorLocking as un, ColorTransformOptions as uo, registerHyperlink as ur, createTextFillColorList as ut, customGeometryDesc as v, PresetShadowEffectOptions as va, LightRigOptions as vi, TableBackgroundStyleOptions as vn, stringifyTextStyles as vr, LayoutDefinitionHeaderOptions as vt, shapeLockingDesc as w, createInnerShadowEffect as wa, CompoundLine as wi, TableStyleOptions as wn, BulletNoneOption as wr, createLayoutDefinitionHeaderList as wt, graphicFrameLockingDesc as x, RectAlignment as xa, SphereCoords as xi, TableFontReferenceOptions as xn, AutoNumberFormat as xr, createColorsDefinitionHeader as xt, presetGeometryDesc as y, createPresetShadowEffect as ya, Point3D as yi, TableCellBorderOptions as yn, textListStyleDesc as yr, StyleDefinitionHeaderListOptions as yt, schemeColorDesc as z, RelativeRect as za, PresetGeometryOptions as zi, GroupTransform2DOptions as zn, TextCharacterPropertiesOptions as zr, createAdjust as zt };
|
|
1578
|
+
//# sourceMappingURL=index-DPkf_CtG.d.mts.map
|