@office-open/core 0.6.2 → 0.6.4
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 +1 -1
- package/dist/chart/index.mjs +1 -1
- package/dist/drawingml/index.d.mts +116 -116
- package/dist/drawingml/index.mjs +124 -140
- package/dist/{index-DVqYs1vv.d.mts → index-DigYTiB_.d.mts} +1 -1
- package/dist/index.d.mts +118 -3
- package/dist/index.mjs +4 -4
- package/dist/smartart/index.d.mts +1 -1
- package/dist/smartart/index.mjs +1 -1
- package/dist/{smartart-CwzSHTBd.mjs → smartart-DBQ_rRfK.mjs} +1 -1
- package/dist/xsd-mappings-BiTj9yJn.mjs +279 -0
- package/package.json +2 -2
- package/dist/id-generators-CM3u923a.mjs +0 -72
package/dist/chart/index.d.mts
CHANGED
|
@@ -98,7 +98,7 @@ declare class ChartCollection {
|
|
|
98
98
|
private readonly map;
|
|
99
99
|
constructor();
|
|
100
100
|
addChart(key: string, chartData: ChartData): void;
|
|
101
|
-
get
|
|
101
|
+
get array(): readonly ChartData[];
|
|
102
102
|
}
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region src/chart/series/series-data.d.ts
|
package/dist/chart/index.mjs
CHANGED
|
@@ -816,15 +816,15 @@ declare const TileFlipMode$1: {
|
|
|
816
816
|
* Specifies the anchor position of the first tile relative to the shape.
|
|
817
817
|
*/
|
|
818
818
|
declare const TileAlignment: {
|
|
819
|
-
/** Top-left corner */readonly TOP_LEFT: "
|
|
820
|
-
readonly TOP: "
|
|
821
|
-
readonly TOP_RIGHT: "
|
|
822
|
-
readonly LEFT: "
|
|
823
|
-
readonly CENTER: "
|
|
824
|
-
readonly RIGHT: "
|
|
825
|
-
readonly BOTTOM_LEFT: "
|
|
826
|
-
readonly BOTTOM: "
|
|
827
|
-
readonly BOTTOM_RIGHT: "
|
|
819
|
+
/** Top-left corner */readonly TOP_LEFT: "topLeft"; /** Top center */
|
|
820
|
+
readonly TOP: "top"; /** Top-right corner */
|
|
821
|
+
readonly TOP_RIGHT: "topRight"; /** Middle-left */
|
|
822
|
+
readonly LEFT: "left"; /** Center */
|
|
823
|
+
readonly CENTER: "center"; /** Middle-right */
|
|
824
|
+
readonly RIGHT: "right"; /** Bottom-left corner */
|
|
825
|
+
readonly BOTTOM_LEFT: "bottomLeft"; /** Bottom center */
|
|
826
|
+
readonly BOTTOM: "bottom"; /** Bottom-right corner */
|
|
827
|
+
readonly BOTTOM_RIGHT: "bottomRight";
|
|
828
828
|
};
|
|
829
829
|
/**
|
|
830
830
|
* Options for tile fill mode.
|
|
@@ -841,9 +841,9 @@ interface TileOptions {
|
|
|
841
841
|
/** Vertical scale factor as percentage (e.g., 50 = 50%) */
|
|
842
842
|
readonly sy?: number;
|
|
843
843
|
/** Flip mode for alternating tiles */
|
|
844
|
-
readonly flip?: keyof typeof TileFlipMode$1;
|
|
844
|
+
readonly flip?: (typeof TileFlipMode$1)[keyof typeof TileFlipMode$1];
|
|
845
845
|
/** Alignment of the first tile within the shape */
|
|
846
|
-
readonly align?: keyof typeof TileAlignment;
|
|
846
|
+
readonly align?: (typeof TileAlignment)[keyof typeof TileAlignment];
|
|
847
847
|
}
|
|
848
848
|
/**
|
|
849
849
|
* Creates a tile fill mode element for blip fills.
|
|
@@ -952,7 +952,7 @@ interface RelativeRect {
|
|
|
952
952
|
*/
|
|
953
953
|
interface PathShadeOptions {
|
|
954
954
|
/** Path type */
|
|
955
|
-
readonly path?: keyof typeof PathShadeType;
|
|
955
|
+
readonly path?: (typeof PathShadeType)[keyof typeof PathShadeType];
|
|
956
956
|
/**
|
|
957
957
|
* Fill-to rectangle for path gradient.
|
|
958
958
|
*
|
|
@@ -990,7 +990,7 @@ interface GradientFillOptions {
|
|
|
990
990
|
*
|
|
991
991
|
* Controls how the gradient is flipped when tiled.
|
|
992
992
|
*/
|
|
993
|
-
readonly flip?: keyof typeof TileFlipMode;
|
|
993
|
+
readonly flip?: (typeof TileFlipMode)[keyof typeof TileFlipMode];
|
|
994
994
|
/**
|
|
995
995
|
* Tile rectangle for gradient tiling.
|
|
996
996
|
*
|
|
@@ -1172,52 +1172,52 @@ declare const createNoFill: () => XmlComponent;
|
|
|
1172
1172
|
* @publicApi
|
|
1173
1173
|
*/
|
|
1174
1174
|
declare const PresetPattern: {
|
|
1175
|
-
/** 5% pattern */readonly PCT5: "
|
|
1176
|
-
readonly PCT10: "
|
|
1177
|
-
readonly PCT20: "
|
|
1178
|
-
readonly PCT25: "
|
|
1179
|
-
readonly PCT30: "
|
|
1180
|
-
readonly PCT40: "
|
|
1181
|
-
readonly PCT50: "
|
|
1182
|
-
readonly PCT60: "
|
|
1183
|
-
readonly PCT70: "
|
|
1184
|
-
readonly PCT75: "
|
|
1185
|
-
readonly PCT80: "
|
|
1186
|
-
readonly PCT90: "
|
|
1187
|
-
readonly HORZ: "
|
|
1188
|
-
readonly VERT: "
|
|
1189
|
-
readonly LT_HORZ: "
|
|
1190
|
-
readonly LT_VERT: "
|
|
1191
|
-
readonly DK_HORZ: "
|
|
1192
|
-
readonly DK_VERT: "
|
|
1193
|
-
readonly NAR_HORZ: "
|
|
1194
|
-
readonly NAR_VERT: "
|
|
1195
|
-
readonly DASH_HORZ: "
|
|
1196
|
-
readonly DASH_VERT: "
|
|
1175
|
+
/** 5% pattern */readonly PCT5: "percent5"; /** 10% pattern */
|
|
1176
|
+
readonly PCT10: "percent10"; /** 20% pattern */
|
|
1177
|
+
readonly PCT20: "percent20"; /** 25% pattern */
|
|
1178
|
+
readonly PCT25: "percent25"; /** 30% pattern */
|
|
1179
|
+
readonly PCT30: "percent30"; /** 40% pattern */
|
|
1180
|
+
readonly PCT40: "percent40"; /** 50% pattern */
|
|
1181
|
+
readonly PCT50: "percent50"; /** 60% pattern */
|
|
1182
|
+
readonly PCT60: "percent60"; /** 70% pattern */
|
|
1183
|
+
readonly PCT70: "percent70"; /** 75% pattern */
|
|
1184
|
+
readonly PCT75: "percent75"; /** 80% pattern */
|
|
1185
|
+
readonly PCT80: "percent80"; /** 90% pattern */
|
|
1186
|
+
readonly PCT90: "percent90"; /** Horizontal lines */
|
|
1187
|
+
readonly HORZ: "horizontal"; /** Vertical lines */
|
|
1188
|
+
readonly VERT: "vertical"; /** Light horizontal lines */
|
|
1189
|
+
readonly LT_HORZ: "lightHorizontal"; /** Light vertical lines */
|
|
1190
|
+
readonly LT_VERT: "lightVertical"; /** Dark horizontal lines */
|
|
1191
|
+
readonly DK_HORZ: "darkHorizontal"; /** Dark vertical lines */
|
|
1192
|
+
readonly DK_VERT: "darkVertical"; /** Narrow horizontal lines */
|
|
1193
|
+
readonly NAR_HORZ: "narrowHorizontal"; /** Narrow vertical lines */
|
|
1194
|
+
readonly NAR_VERT: "narrowVertical"; /** Dashed horizontal lines */
|
|
1195
|
+
readonly DASH_HORZ: "dashedHorizontal"; /** Dashed vertical lines */
|
|
1196
|
+
readonly DASH_VERT: "dashedVertical"; /** Cross pattern (+) */
|
|
1197
1197
|
readonly CROSS: "cross"; /** Downward diagonal lines (\) */
|
|
1198
|
-
readonly DN_DIAG: "
|
|
1199
|
-
readonly UP_DIAG: "
|
|
1200
|
-
readonly LT_DN_DIAG: "
|
|
1201
|
-
readonly LT_UP_DIAG: "
|
|
1202
|
-
readonly DK_DN_DIAG: "
|
|
1203
|
-
readonly DK_UP_DIAG: "
|
|
1204
|
-
readonly WD_DN_DIAG: "
|
|
1205
|
-
readonly WD_UP_DIAG: "
|
|
1206
|
-
readonly DASH_DN_DIAG: "
|
|
1207
|
-
readonly DASH_UP_DIAG: "
|
|
1208
|
-
readonly DIAG_CROSS: "
|
|
1209
|
-
readonly SM_CHECK: "
|
|
1210
|
-
readonly LG_CHECK: "
|
|
1211
|
-
readonly SM_GRID: "
|
|
1212
|
-
readonly LG_GRID: "
|
|
1198
|
+
readonly DN_DIAG: "downDiagonal"; /** Upward diagonal lines (/) */
|
|
1199
|
+
readonly UP_DIAG: "upDiagonal"; /** Light downward diagonal lines */
|
|
1200
|
+
readonly LT_DN_DIAG: "lightDownDiagonal"; /** Light upward diagonal lines */
|
|
1201
|
+
readonly LT_UP_DIAG: "lightUpDiagonal"; /** Dark downward diagonal lines */
|
|
1202
|
+
readonly DK_DN_DIAG: "darkDownDiagonal"; /** Dark upward diagonal lines */
|
|
1203
|
+
readonly DK_UP_DIAG: "darkUpDiagonal"; /** Wide downward diagonal lines */
|
|
1204
|
+
readonly WD_DN_DIAG: "wideDownDiagonal"; /** Wide upward diagonal lines */
|
|
1205
|
+
readonly WD_UP_DIAG: "wideUpDiagonal"; /** Dashed downward diagonal lines */
|
|
1206
|
+
readonly DASH_DN_DIAG: "dashedDownDiagonal"; /** Dashed upward diagonal lines */
|
|
1207
|
+
readonly DASH_UP_DIAG: "dashedUpDiagonal"; /** Diagonal cross pattern (X) */
|
|
1208
|
+
readonly DIAG_CROSS: "diagonalCross"; /** Small checkerboard */
|
|
1209
|
+
readonly SM_CHECK: "smallChecker"; /** Large checkerboard */
|
|
1210
|
+
readonly LG_CHECK: "largeChecker"; /** Small grid */
|
|
1211
|
+
readonly SM_GRID: "smallGrid"; /** Large grid */
|
|
1212
|
+
readonly LG_GRID: "largeGrid"; /** Dot grid */
|
|
1213
1213
|
readonly DOT_GRID: "dotGrid"; /** Small confetti */
|
|
1214
|
-
readonly SM_CONFETTI: "
|
|
1215
|
-
readonly LG_CONFETTI: "
|
|
1216
|
-
readonly HORZ_BRICK: "
|
|
1217
|
-
readonly DIAG_BRICK: "
|
|
1218
|
-
readonly SOLID_DMND: "
|
|
1219
|
-
readonly OPEN_DMND: "
|
|
1220
|
-
readonly DOT_DMND: "
|
|
1214
|
+
readonly SM_CONFETTI: "smallConfetti"; /** Large confetti */
|
|
1215
|
+
readonly LG_CONFETTI: "largeConfetti"; /** Horizontal brick pattern */
|
|
1216
|
+
readonly HORZ_BRICK: "horizontalBrick"; /** Diagonal brick pattern */
|
|
1217
|
+
readonly DIAG_BRICK: "diagonalBrick"; /** Solid diamond */
|
|
1218
|
+
readonly SOLID_DMND: "solidDiamond"; /** Open diamond */
|
|
1219
|
+
readonly OPEN_DMND: "openDiamond"; /** Dotted diamond */
|
|
1220
|
+
readonly DOT_DMND: "dottedDiamond"; /** Plaid pattern */
|
|
1221
1221
|
readonly PLAID: "plaid"; /** Sphere pattern */
|
|
1222
1222
|
readonly SPHERE: "sphere"; /** Weave pattern */
|
|
1223
1223
|
readonly WEAVE: "weave"; /** Divot pattern */
|
|
@@ -1410,9 +1410,9 @@ declare const LineEndType: {
|
|
|
1410
1410
|
* @publicApi
|
|
1411
1411
|
*/
|
|
1412
1412
|
declare const LineEndWidth: {
|
|
1413
|
-
/** Small width */readonly SMALL: "
|
|
1414
|
-
readonly MEDIUM: "
|
|
1415
|
-
readonly LARGE: "
|
|
1413
|
+
/** Small width */readonly SMALL: "small"; /** Medium width */
|
|
1414
|
+
readonly MEDIUM: "medium"; /** Large width */
|
|
1415
|
+
readonly LARGE: "large";
|
|
1416
1416
|
};
|
|
1417
1417
|
/**
|
|
1418
1418
|
* Line end length options.
|
|
@@ -1431,9 +1431,9 @@ declare const LineEndWidth: {
|
|
|
1431
1431
|
* @publicApi
|
|
1432
1432
|
*/
|
|
1433
1433
|
declare const LineEndLength: {
|
|
1434
|
-
/** Small length */readonly SMALL: "
|
|
1435
|
-
readonly MEDIUM: "
|
|
1436
|
-
readonly LARGE: "
|
|
1434
|
+
/** Small length */readonly SMALL: "small"; /** Medium length */
|
|
1435
|
+
readonly MEDIUM: "medium"; /** Large length */
|
|
1436
|
+
readonly LARGE: "large";
|
|
1437
1437
|
};
|
|
1438
1438
|
/**
|
|
1439
1439
|
* Options for line end (arrow) properties.
|
|
@@ -1449,11 +1449,11 @@ declare const LineEndLength: {
|
|
|
1449
1449
|
*/
|
|
1450
1450
|
interface LineEndOptions {
|
|
1451
1451
|
/** Arrow/head type */
|
|
1452
|
-
readonly type: keyof typeof LineEndType;
|
|
1452
|
+
readonly type: (typeof LineEndType)[keyof typeof LineEndType];
|
|
1453
1453
|
/** Arrow width */
|
|
1454
|
-
readonly width?: keyof typeof LineEndWidth;
|
|
1454
|
+
readonly width?: (typeof LineEndWidth)[keyof typeof LineEndWidth];
|
|
1455
1455
|
/** Arrow length */
|
|
1456
|
-
readonly length?: keyof typeof LineEndLength;
|
|
1456
|
+
readonly length?: (typeof LineEndLength)[keyof typeof LineEndLength];
|
|
1457
1457
|
}
|
|
1458
1458
|
/**
|
|
1459
1459
|
* Creates a line end element (a:headEnd or a:tailEnd).
|
|
@@ -1475,8 +1475,8 @@ declare const createLineEnd: (name: string, options: LineEndOptions) => XmlCompo
|
|
|
1475
1475
|
* Defines how the ends of a line are rendered.
|
|
1476
1476
|
*/
|
|
1477
1477
|
declare const LineCap: {
|
|
1478
|
-
/** Round cap style */readonly ROUND: "
|
|
1479
|
-
readonly SQUARE: "
|
|
1478
|
+
/** Round cap style */readonly ROUND: "round"; /** Square cap style */
|
|
1479
|
+
readonly SQUARE: "square"; /** Flat cap style */
|
|
1480
1480
|
readonly FLAT: "flat";
|
|
1481
1481
|
};
|
|
1482
1482
|
/**
|
|
@@ -1485,11 +1485,11 @@ declare const LineCap: {
|
|
|
1485
1485
|
* Defines the structure of compound lines (single, double, etc.).
|
|
1486
1486
|
*/
|
|
1487
1487
|
declare const CompoundLine: {
|
|
1488
|
-
/** Single line */readonly SINGLE: "
|
|
1489
|
-
readonly DOUBLE: "
|
|
1488
|
+
/** Single line */readonly SINGLE: "single"; /** Double line */
|
|
1489
|
+
readonly DOUBLE: "double"; /** Thick-thin double line */
|
|
1490
1490
|
readonly THICK_THIN: "thickThin"; /** Thin-thick double line */
|
|
1491
1491
|
readonly THIN_THICK: "thinThick"; /** Triple line */
|
|
1492
|
-
readonly TRI: "
|
|
1492
|
+
readonly TRI: "triple";
|
|
1493
1493
|
};
|
|
1494
1494
|
/**
|
|
1495
1495
|
* Pen alignment options for outline positioning.
|
|
@@ -1497,8 +1497,8 @@ declare const CompoundLine: {
|
|
|
1497
1497
|
* Defines how the outline is aligned relative to the shape edge.
|
|
1498
1498
|
*/
|
|
1499
1499
|
declare const PenAlignment: {
|
|
1500
|
-
/** Center alignment */readonly CENTER: "
|
|
1501
|
-
readonly INSET: "
|
|
1500
|
+
/** Center alignment */readonly CENTER: "center"; /** Inset alignment */
|
|
1501
|
+
readonly INSET: "inside";
|
|
1502
1502
|
};
|
|
1503
1503
|
/**
|
|
1504
1504
|
* Preset dash styles for outlines.
|
|
@@ -1550,17 +1550,17 @@ interface OutlineAttributes {
|
|
|
1550
1550
|
/** Line width in EMUs (English Metric Units) */
|
|
1551
1551
|
readonly width?: number;
|
|
1552
1552
|
/** Line cap style */
|
|
1553
|
-
readonly cap?: keyof typeof LineCap;
|
|
1553
|
+
readonly cap?: (typeof LineCap)[keyof typeof LineCap];
|
|
1554
1554
|
/** Compound line type */
|
|
1555
|
-
readonly compoundLine?: keyof typeof CompoundLine;
|
|
1555
|
+
readonly compoundLine?: (typeof CompoundLine)[keyof typeof CompoundLine];
|
|
1556
1556
|
/** Pen alignment */
|
|
1557
|
-
readonly align?: keyof typeof PenAlignment;
|
|
1557
|
+
readonly align?: (typeof PenAlignment)[keyof typeof PenAlignment];
|
|
1558
1558
|
/**
|
|
1559
1559
|
* Preset dash style.
|
|
1560
1560
|
*
|
|
1561
1561
|
* Mutually exclusive with `customDash` — only one can be specified.
|
|
1562
1562
|
*/
|
|
1563
|
-
readonly dash?: keyof typeof PresetDash;
|
|
1563
|
+
readonly dash?: (typeof PresetDash)[keyof typeof PresetDash];
|
|
1564
1564
|
/**
|
|
1565
1565
|
* Custom dash pattern (list of dash/space stops).
|
|
1566
1566
|
*
|
|
@@ -1568,7 +1568,7 @@ interface OutlineAttributes {
|
|
|
1568
1568
|
*/
|
|
1569
1569
|
readonly customDash?: readonly DashStop[];
|
|
1570
1570
|
/** Line join style */
|
|
1571
|
-
readonly join?: keyof typeof LineJoin;
|
|
1571
|
+
readonly join?: (typeof LineJoin)[keyof typeof LineJoin];
|
|
1572
1572
|
/** Miter limit (only when join is MITER) */
|
|
1573
1573
|
readonly miterLimit?: number;
|
|
1574
1574
|
/** Line start arrow/head */
|
|
@@ -1651,7 +1651,7 @@ declare const createOutline: (options: OutlineOptions) => XmlComponent;
|
|
|
1651
1651
|
*/
|
|
1652
1652
|
declare const BlendMode: {
|
|
1653
1653
|
/** Over blend mode */readonly OVER: "over"; /** Multiply blend mode */
|
|
1654
|
-
readonly MULTIPLY: "
|
|
1654
|
+
readonly MULTIPLY: "multiply"; /** Screen blend mode */
|
|
1655
1655
|
readonly SCREEN: "screen"; /** Darken blend mode */
|
|
1656
1656
|
readonly DARKEN: "darken"; /** Lighten blend mode */
|
|
1657
1657
|
readonly LIGHTEN: "lighten";
|
|
@@ -1764,15 +1764,15 @@ declare const createInnerShadowEffect: (options: InnerShadowEffectOptions) => Xm
|
|
|
1764
1764
|
* Rectangle alignment for shadow positioning.
|
|
1765
1765
|
*/
|
|
1766
1766
|
declare const RectAlignment: {
|
|
1767
|
-
readonly TOP_LEFT: "
|
|
1768
|
-
readonly TOP: "
|
|
1769
|
-
readonly TOP_RIGHT: "
|
|
1770
|
-
readonly LEFT: "
|
|
1771
|
-
readonly CENTER: "
|
|
1772
|
-
readonly RIGHT: "
|
|
1773
|
-
readonly BOTTOM_LEFT: "
|
|
1774
|
-
readonly BOTTOM: "
|
|
1775
|
-
readonly BOTTOM_RIGHT: "
|
|
1767
|
+
readonly TOP_LEFT: "topLeft";
|
|
1768
|
+
readonly TOP: "top";
|
|
1769
|
+
readonly TOP_RIGHT: "topRight";
|
|
1770
|
+
readonly LEFT: "left";
|
|
1771
|
+
readonly CENTER: "center";
|
|
1772
|
+
readonly RIGHT: "right";
|
|
1773
|
+
readonly BOTTOM_LEFT: "bottomLeft";
|
|
1774
|
+
readonly BOTTOM: "bottom";
|
|
1775
|
+
readonly BOTTOM_RIGHT: "bottomRight";
|
|
1776
1776
|
};
|
|
1777
1777
|
/**
|
|
1778
1778
|
* Options for outer shadow effect.
|
|
@@ -1793,7 +1793,7 @@ interface OuterShadowEffectOptions {
|
|
|
1793
1793
|
/** Vertical skew angle */
|
|
1794
1794
|
readonly skewY?: number;
|
|
1795
1795
|
/** Shadow alignment */
|
|
1796
|
-
readonly alignment?: keyof typeof RectAlignment;
|
|
1796
|
+
readonly alignment?: (typeof RectAlignment)[keyof typeof RectAlignment];
|
|
1797
1797
|
/** Whether shadow rotates with shape */
|
|
1798
1798
|
readonly rotWithShape?: boolean;
|
|
1799
1799
|
/** Shadow color */
|
|
@@ -1829,33 +1829,33 @@ declare const createOuterShadowEffect: (options: OuterShadowEffectOptions) => Xm
|
|
|
1829
1829
|
* Reference: ISO/IEC 29500-4, dml-main.xsd, ST_PresetShadowVal
|
|
1830
1830
|
*/
|
|
1831
1831
|
declare const PresetShadowVal: {
|
|
1832
|
-
readonly SHDW1: "
|
|
1833
|
-
readonly SHDW2: "
|
|
1834
|
-
readonly SHDW3: "
|
|
1835
|
-
readonly SHDW4: "
|
|
1836
|
-
readonly SHDW5: "
|
|
1837
|
-
readonly SHDW6: "
|
|
1838
|
-
readonly SHDW7: "
|
|
1839
|
-
readonly SHDW8: "
|
|
1840
|
-
readonly SHDW9: "
|
|
1841
|
-
readonly SHDW10: "
|
|
1842
|
-
readonly SHDW11: "
|
|
1843
|
-
readonly SHDW12: "
|
|
1844
|
-
readonly SHDW13: "
|
|
1845
|
-
readonly SHDW14: "
|
|
1846
|
-
readonly SHDW15: "
|
|
1847
|
-
readonly SHDW16: "
|
|
1848
|
-
readonly SHDW17: "
|
|
1849
|
-
readonly SHDW18: "
|
|
1850
|
-
readonly SHDW19: "
|
|
1851
|
-
readonly SHDW20: "
|
|
1832
|
+
readonly SHDW1: "shadow1";
|
|
1833
|
+
readonly SHDW2: "shadow2";
|
|
1834
|
+
readonly SHDW3: "shadow3";
|
|
1835
|
+
readonly SHDW4: "shadow4";
|
|
1836
|
+
readonly SHDW5: "shadow5";
|
|
1837
|
+
readonly SHDW6: "shadow6";
|
|
1838
|
+
readonly SHDW7: "shadow7";
|
|
1839
|
+
readonly SHDW8: "shadow8";
|
|
1840
|
+
readonly SHDW9: "shadow9";
|
|
1841
|
+
readonly SHDW10: "shadow10";
|
|
1842
|
+
readonly SHDW11: "shadow11";
|
|
1843
|
+
readonly SHDW12: "shadow12";
|
|
1844
|
+
readonly SHDW13: "shadow13";
|
|
1845
|
+
readonly SHDW14: "shadow14";
|
|
1846
|
+
readonly SHDW15: "shadow15";
|
|
1847
|
+
readonly SHDW16: "shadow16";
|
|
1848
|
+
readonly SHDW17: "shadow17";
|
|
1849
|
+
readonly SHDW18: "shadow18";
|
|
1850
|
+
readonly SHDW19: "shadow19";
|
|
1851
|
+
readonly SHDW20: "shadow20";
|
|
1852
1852
|
};
|
|
1853
1853
|
/**
|
|
1854
1854
|
* Options for preset shadow effect.
|
|
1855
1855
|
*/
|
|
1856
1856
|
interface PresetShadowEffectOptions {
|
|
1857
1857
|
/** Preset shadow type (required) */
|
|
1858
|
-
readonly preset: keyof typeof PresetShadowVal;
|
|
1858
|
+
readonly preset: (typeof PresetShadowVal)[keyof typeof PresetShadowVal];
|
|
1859
1859
|
/** Distance from shape in EMUs */
|
|
1860
1860
|
readonly distance?: number;
|
|
1861
1861
|
/** Direction angle in 60,000ths of a degree */
|
|
@@ -2018,7 +2018,7 @@ declare const createEffectList: (options: EffectListOptions) => XmlComponent;
|
|
|
2018
2018
|
* ```
|
|
2019
2019
|
*/
|
|
2020
2020
|
declare const EffectContainerType: {
|
|
2021
|
-
readonly SIB: "
|
|
2021
|
+
readonly SIB: "sibling";
|
|
2022
2022
|
readonly TREE: "tree";
|
|
2023
2023
|
};
|
|
2024
2024
|
/** Alpha bi-level effect — clips alpha to threshold (CT_AlphaBiLevelEffect). */
|
|
@@ -2452,7 +2452,7 @@ interface BevelOptions {
|
|
|
2452
2452
|
/** Bevel height in EMUs (default 76200) */
|
|
2453
2453
|
readonly h?: number;
|
|
2454
2454
|
/** Bevel preset type */
|
|
2455
|
-
readonly prst?: keyof typeof BevelPresetType;
|
|
2455
|
+
readonly prst?: (typeof BevelPresetType)[keyof typeof BevelPresetType];
|
|
2456
2456
|
}
|
|
2457
2457
|
/**
|
|
2458
2458
|
* Creates a bevel element.
|
|
@@ -2489,11 +2489,11 @@ declare const PresetMaterialType: {
|
|
|
2489
2489
|
readonly WARM_MATTE: "warmMatte";
|
|
2490
2490
|
readonly TRANSLUCENT_POWDER: "translucentPowder";
|
|
2491
2491
|
readonly POWDER: "powder";
|
|
2492
|
-
readonly DK_EDGE: "
|
|
2492
|
+
readonly DK_EDGE: "darkEdge";
|
|
2493
2493
|
readonly SOFT_EDGE: "softEdge";
|
|
2494
2494
|
readonly CLEAR: "clear";
|
|
2495
2495
|
readonly FLAT: "flat";
|
|
2496
|
-
readonly SOFT_METAL: "
|
|
2496
|
+
readonly SOFT_METAL: "softMetal";
|
|
2497
2497
|
};
|
|
2498
2498
|
/**
|
|
2499
2499
|
* Options for 3D shape properties.
|
|
@@ -2514,7 +2514,7 @@ interface Shape3DOptions {
|
|
|
2514
2514
|
/** Contour width in EMUs (default 0) */
|
|
2515
2515
|
readonly contourW?: number;
|
|
2516
2516
|
/** Material preset type */
|
|
2517
|
-
readonly prstMaterial?: keyof typeof PresetMaterialType;
|
|
2517
|
+
readonly prstMaterial?: (typeof PresetMaterialType)[keyof typeof PresetMaterialType];
|
|
2518
2518
|
}
|
|
2519
2519
|
/**
|
|
2520
2520
|
* Creates a 3D shape properties element (a:sp3d).
|
|
@@ -2666,7 +2666,7 @@ declare class PresetGeometry extends XmlComponent {
|
|
|
2666
2666
|
*/
|
|
2667
2667
|
declare const PathFillMode: {
|
|
2668
2668
|
readonly NONE: "none";
|
|
2669
|
-
readonly NORM: "
|
|
2669
|
+
readonly NORM: "normal";
|
|
2670
2670
|
readonly LIGHTEN: "lighten";
|
|
2671
2671
|
readonly LIGHTEN_LESS: "lightenLess";
|
|
2672
2672
|
readonly DARKEN: "darken";
|