@office-open/core 0.3.6 → 0.4.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/_chunks/index-B3rs5exK.d.mts +87 -0
- package/dist/_chunks/{index-eOE0yRGG.d.mts → index-hmJg8TDw.d.mts} +1 -1
- package/dist/_chunks/smartart-D_qXltR5.mjs +336 -0
- package/dist/chart/index.d.mts +41 -11
- package/dist/chart/index.mjs +263 -12
- package/dist/drawingml/index.d.mts +105 -76
- package/dist/drawingml/index.mjs +225 -123
- package/dist/index.d.mts +75 -17
- package/dist/index.mjs +167 -7
- package/dist/smartart/index.d.mts +2 -69
- package/dist/smartart/index.mjs +2 -304
- package/dist/values.d.mts +1 -1
- package/package.json +3 -3
- /package/dist/_chunks/{values--NnXAmqa.d.mts → values-COMdgNmb.d.mts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as XmlComponent, T as XmlAttributeComponent, a as BuilderElement } from "../_chunks/index-
|
|
1
|
+
import { O as XmlComponent, T as XmlAttributeComponent, a as BuilderElement } from "../_chunks/index-hmJg8TDw.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/drawingml/color/color-transform.d.ts
|
|
4
4
|
/**
|
|
@@ -91,9 +91,9 @@ interface HslColorOptions {
|
|
|
91
91
|
/** Hue angle in 60,000ths of a degree (0-21600000) */
|
|
92
92
|
readonly hue: number;
|
|
93
93
|
/** Saturation in 1/1000th of a percent (0-100000) */
|
|
94
|
-
readonly
|
|
94
|
+
readonly saturation: number;
|
|
95
95
|
/** Luminance in 1/1000th of a percent (0-100000) */
|
|
96
|
-
readonly
|
|
96
|
+
readonly luminance: number;
|
|
97
97
|
/** Optional color transforms */
|
|
98
98
|
readonly transforms?: ColorTransformOptions;
|
|
99
99
|
}
|
|
@@ -551,7 +551,7 @@ declare const createColorElement: (color: SolidFillOptions) => XmlComponent;
|
|
|
551
551
|
* value: SchemeColor.ACCENT1, transforms: { tint: 40000 },
|
|
552
552
|
* });
|
|
553
553
|
* // HSL solid fill
|
|
554
|
-
* const hslFill = createSolidFill({ hue: 120000,
|
|
554
|
+
* const hslFill = createSolidFill({ hue: 120000, saturation: 100000, luminance: 50000 });
|
|
555
555
|
* ```
|
|
556
556
|
*/
|
|
557
557
|
declare const createSolidFill: (options: SolidFillOptions) => XmlComponent;
|
|
@@ -586,9 +586,9 @@ interface HSLEffectOptions$1 {
|
|
|
586
586
|
/** Hue rotation in 60000ths of a degree. Default 0. */
|
|
587
587
|
readonly hue?: number;
|
|
588
588
|
/** Saturation adjustment in percentage points (-100 to 100). Default 0. */
|
|
589
|
-
readonly
|
|
589
|
+
readonly saturation?: number;
|
|
590
590
|
/** Luminance adjustment in percentage points (-100 to 100). Default 0. */
|
|
591
|
-
readonly
|
|
591
|
+
readonly luminance?: number;
|
|
592
592
|
}
|
|
593
593
|
/**
|
|
594
594
|
* Options for tint effect.
|
|
@@ -603,7 +603,7 @@ interface TintEffectOptions$1 {
|
|
|
603
603
|
/** Hue in 60000ths of a degree. Default 0. */
|
|
604
604
|
readonly hue?: number;
|
|
605
605
|
/** Amount in percentage points (0 to 100). Default 0. */
|
|
606
|
-
readonly
|
|
606
|
+
readonly amount?: number;
|
|
607
607
|
}
|
|
608
608
|
/**
|
|
609
609
|
* Options for duotone effect.
|
|
@@ -629,7 +629,7 @@ interface DuotoneEffectOptions$1 {
|
|
|
629
629
|
*/
|
|
630
630
|
interface BiLevelEffectOptions {
|
|
631
631
|
/** Threshold percentage (0 to 100). Pixels above are white, below are black. */
|
|
632
|
-
readonly
|
|
632
|
+
readonly threshold: number;
|
|
633
633
|
}
|
|
634
634
|
/**
|
|
635
635
|
* Options for alpha replace effect.
|
|
@@ -653,7 +653,7 @@ interface AlphaReplaceEffectOptions$1 {
|
|
|
653
653
|
*/
|
|
654
654
|
interface AlphaBiLevelEffectOptions$1 {
|
|
655
655
|
/** Threshold percentage (0 to 100). Alpha above is fully opaque, below is fully transparent. */
|
|
656
|
-
readonly
|
|
656
|
+
readonly threshold: number;
|
|
657
657
|
}
|
|
658
658
|
/**
|
|
659
659
|
* Options for alpha modulate fixed effect.
|
|
@@ -708,7 +708,7 @@ interface ColorReplaceEffectOptions {
|
|
|
708
708
|
*/
|
|
709
709
|
interface BlipBlurEffectOptions {
|
|
710
710
|
/** Blur radius in EMUs. Default 0. */
|
|
711
|
-
readonly
|
|
711
|
+
readonly radius?: number;
|
|
712
712
|
/** Whether to grow the blur boundary. Default true. */
|
|
713
713
|
readonly grow?: boolean;
|
|
714
714
|
}
|
|
@@ -1709,7 +1709,7 @@ declare const createFillOverlayEffect: (options: FillOverlayEffectOptions) => Xm
|
|
|
1709
1709
|
*/
|
|
1710
1710
|
interface GlowEffectOptions {
|
|
1711
1711
|
/** Glow radius in EMUs */
|
|
1712
|
-
readonly
|
|
1712
|
+
readonly radius?: number;
|
|
1713
1713
|
/** Glow color */
|
|
1714
1714
|
readonly color: SolidFillOptions;
|
|
1715
1715
|
}
|
|
@@ -1734,11 +1734,11 @@ declare const createGlowEffect: (options: GlowEffectOptions) => XmlComponent;
|
|
|
1734
1734
|
*/
|
|
1735
1735
|
interface InnerShadowEffectOptions {
|
|
1736
1736
|
/** Blur radius in EMUs */
|
|
1737
|
-
readonly
|
|
1737
|
+
readonly blurRadius?: number;
|
|
1738
1738
|
/** Distance from shape edge in EMUs */
|
|
1739
|
-
readonly
|
|
1739
|
+
readonly distance?: number;
|
|
1740
1740
|
/** Direction angle in 60,000ths of a degree */
|
|
1741
|
-
readonly
|
|
1741
|
+
readonly direction?: number;
|
|
1742
1742
|
/** Shadow color */
|
|
1743
1743
|
readonly color: SolidFillOptions;
|
|
1744
1744
|
}
|
|
@@ -1779,21 +1779,21 @@ declare const RectAlignment: {
|
|
|
1779
1779
|
*/
|
|
1780
1780
|
interface OuterShadowEffectOptions {
|
|
1781
1781
|
/** Blur radius in EMUs */
|
|
1782
|
-
readonly
|
|
1782
|
+
readonly blurRadius?: number;
|
|
1783
1783
|
/** Distance from shape in EMUs */
|
|
1784
|
-
readonly
|
|
1784
|
+
readonly distance?: number;
|
|
1785
1785
|
/** Direction angle in 60,000ths of a degree */
|
|
1786
|
-
readonly
|
|
1786
|
+
readonly direction?: number;
|
|
1787
1787
|
/** Horizontal scale percentage (e.g., 100000 = 100%) */
|
|
1788
|
-
readonly
|
|
1788
|
+
readonly scaleX?: number;
|
|
1789
1789
|
/** Vertical scale percentage */
|
|
1790
|
-
readonly
|
|
1790
|
+
readonly scaleY?: number;
|
|
1791
1791
|
/** Horizontal skew angle in 60,000ths of a degree */
|
|
1792
|
-
readonly
|
|
1792
|
+
readonly skewX?: number;
|
|
1793
1793
|
/** Vertical skew angle */
|
|
1794
|
-
readonly
|
|
1794
|
+
readonly skewY?: number;
|
|
1795
1795
|
/** Shadow alignment */
|
|
1796
|
-
readonly
|
|
1796
|
+
readonly alignment?: keyof typeof RectAlignment;
|
|
1797
1797
|
/** Whether shadow rotates with shape */
|
|
1798
1798
|
readonly rotWithShape?: boolean;
|
|
1799
1799
|
/** Shadow color */
|
|
@@ -1855,11 +1855,11 @@ declare const PresetShadowVal: {
|
|
|
1855
1855
|
*/
|
|
1856
1856
|
interface PresetShadowEffectOptions {
|
|
1857
1857
|
/** Preset shadow type (required) */
|
|
1858
|
-
readonly
|
|
1858
|
+
readonly preset: keyof typeof PresetShadowVal;
|
|
1859
1859
|
/** Distance from shape in EMUs */
|
|
1860
|
-
readonly
|
|
1860
|
+
readonly distance?: number;
|
|
1861
1861
|
/** Direction angle in 60,000ths of a degree */
|
|
1862
|
-
readonly
|
|
1862
|
+
readonly direction?: number;
|
|
1863
1863
|
/** Shadow color */
|
|
1864
1864
|
readonly color: SolidFillOptions;
|
|
1865
1865
|
}
|
|
@@ -1888,31 +1888,31 @@ declare const createPresetShadowEffect: (options: PresetShadowEffectOptions) =>
|
|
|
1888
1888
|
*/
|
|
1889
1889
|
interface ReflectionEffectOptions {
|
|
1890
1890
|
/** Blur radius in EMUs */
|
|
1891
|
-
readonly
|
|
1891
|
+
readonly blurRadius?: number;
|
|
1892
1892
|
/** Start opacity (fixed percentage, e.g., 100000 = 100%) */
|
|
1893
|
-
readonly
|
|
1893
|
+
readonly startAlpha?: number;
|
|
1894
1894
|
/** Start position (fixed percentage) */
|
|
1895
|
-
readonly
|
|
1895
|
+
readonly startPosition?: number;
|
|
1896
1896
|
/** End opacity (fixed percentage) */
|
|
1897
|
-
readonly
|
|
1897
|
+
readonly endAlpha?: number;
|
|
1898
1898
|
/** End position (fixed percentage) */
|
|
1899
|
-
readonly
|
|
1899
|
+
readonly endPosition?: number;
|
|
1900
1900
|
/** Distance from shape in EMUs */
|
|
1901
|
-
readonly
|
|
1901
|
+
readonly distance?: number;
|
|
1902
1902
|
/** Direction angle in 60,000ths of a degree */
|
|
1903
|
-
readonly
|
|
1903
|
+
readonly direction?: number;
|
|
1904
1904
|
/** Fade direction angle in 60,000ths of a degree */
|
|
1905
|
-
readonly
|
|
1905
|
+
readonly fadeDirection?: number;
|
|
1906
1906
|
/** Horizontal scale percentage */
|
|
1907
|
-
readonly
|
|
1907
|
+
readonly scaleX?: number;
|
|
1908
1908
|
/** Vertical scale percentage */
|
|
1909
|
-
readonly
|
|
1909
|
+
readonly scaleY?: number;
|
|
1910
1910
|
/** Horizontal skew angle */
|
|
1911
|
-
readonly
|
|
1911
|
+
readonly skewX?: number;
|
|
1912
1912
|
/** Vertical skew angle */
|
|
1913
|
-
readonly
|
|
1913
|
+
readonly skewY?: number;
|
|
1914
1914
|
/** Alignment */
|
|
1915
|
-
readonly
|
|
1915
|
+
readonly alignment?: string;
|
|
1916
1916
|
/** Whether reflection rotates with shape */
|
|
1917
1917
|
readonly rotWithShape?: boolean;
|
|
1918
1918
|
}
|
|
@@ -1947,7 +1947,7 @@ declare const createReflectionEffect: (options?: ReflectionEffectOptions) => Bui
|
|
|
1947
1947
|
*/
|
|
1948
1948
|
interface BlurEffectOptions {
|
|
1949
1949
|
/** Blur radius in EMUs */
|
|
1950
|
-
readonly
|
|
1950
|
+
readonly radius?: number;
|
|
1951
1951
|
/** Whether to grow the shape boundary */
|
|
1952
1952
|
readonly grow?: boolean;
|
|
1953
1953
|
}
|
|
@@ -2024,7 +2024,7 @@ declare const EffectContainerType: {
|
|
|
2024
2024
|
/** Alpha bi-level effect — clips alpha to threshold (CT_AlphaBiLevelEffect). */
|
|
2025
2025
|
interface AlphaBiLevelEffectOptions {
|
|
2026
2026
|
/** Alpha threshold (fixed percentage, required) */
|
|
2027
|
-
readonly
|
|
2027
|
+
readonly threshold: number;
|
|
2028
2028
|
}
|
|
2029
2029
|
/** Alpha inverse effect — inverts alpha, optionally with color (CT_AlphaInverseEffect). */
|
|
2030
2030
|
interface AlphaInverseEffectOptions {
|
|
@@ -2034,17 +2034,17 @@ interface AlphaInverseEffectOptions {
|
|
|
2034
2034
|
/** Alpha modulate fixed effect (CT_AlphaModulateFixedEffect). */
|
|
2035
2035
|
interface AlphaModulateFixedEffectOptions {
|
|
2036
2036
|
/** Amount percentage (default 100%) */
|
|
2037
|
-
readonly
|
|
2037
|
+
readonly amount?: number;
|
|
2038
2038
|
}
|
|
2039
2039
|
/** Alpha outset effect (CT_AlphaOutsetEffect). */
|
|
2040
2040
|
interface AlphaOutsetEffectOptions {
|
|
2041
2041
|
/** Outset radius */
|
|
2042
|
-
readonly
|
|
2042
|
+
readonly radius?: number;
|
|
2043
2043
|
}
|
|
2044
2044
|
/** Alpha replace effect — replaces alpha value (CT_AlphaReplaceEffect). */
|
|
2045
2045
|
interface AlphaReplaceEffectOptions {
|
|
2046
2046
|
/** New alpha value (fixed percentage, required) */
|
|
2047
|
-
readonly
|
|
2047
|
+
readonly alpha: number;
|
|
2048
2048
|
}
|
|
2049
2049
|
/** Blend effect — blends with nested container (CT_BlendEffect). */
|
|
2050
2050
|
interface BlendEffectOptions {
|
|
@@ -2087,9 +2087,9 @@ interface HSLEffectOptions {
|
|
|
2087
2087
|
/** Hue angle in 60,000ths of a degree (default 0) */
|
|
2088
2088
|
readonly hue?: number;
|
|
2089
2089
|
/** Saturation percentage (default 0%) */
|
|
2090
|
-
readonly
|
|
2090
|
+
readonly saturation?: number;
|
|
2091
2091
|
/** Luminance percentage (default 0%) */
|
|
2092
|
-
readonly
|
|
2092
|
+
readonly luminance?: number;
|
|
2093
2093
|
}
|
|
2094
2094
|
/** Luminance effect — adjusts brightness and contrast (CT_LuminanceEffect). */
|
|
2095
2095
|
interface LuminanceEffectOptions {
|
|
@@ -2103,29 +2103,29 @@ interface TintEffectOptions {
|
|
|
2103
2103
|
/** Hue angle in 60,000ths of a degree (default 0) */
|
|
2104
2104
|
readonly hue?: number;
|
|
2105
2105
|
/** Tint amount percentage (default 0%) */
|
|
2106
|
-
readonly
|
|
2106
|
+
readonly amount?: number;
|
|
2107
2107
|
}
|
|
2108
2108
|
/** Relative offset effect (CT_RelativeOffsetEffect). */
|
|
2109
2109
|
interface RelativeOffsetEffectOptions {
|
|
2110
2110
|
/** Horizontal offset percentage (default 0%) */
|
|
2111
|
-
readonly
|
|
2111
|
+
readonly translateX?: number;
|
|
2112
2112
|
/** Vertical offset percentage (default 0%) */
|
|
2113
|
-
readonly
|
|
2113
|
+
readonly translateY?: number;
|
|
2114
2114
|
}
|
|
2115
2115
|
/** Transform effect — scale, skew, translate (CT_TransformEffect). */
|
|
2116
2116
|
interface TransformEffectOptions {
|
|
2117
2117
|
/** Horizontal scale percentage (default 100%) */
|
|
2118
|
-
readonly
|
|
2118
|
+
readonly scaleX?: number;
|
|
2119
2119
|
/** Vertical scale percentage (default 100%) */
|
|
2120
|
-
readonly
|
|
2120
|
+
readonly scaleY?: number;
|
|
2121
2121
|
/** Horizontal skew angle (default 0) */
|
|
2122
|
-
readonly
|
|
2122
|
+
readonly skewX?: number;
|
|
2123
2123
|
/** Vertical skew angle (default 0) */
|
|
2124
|
-
readonly
|
|
2124
|
+
readonly skewY?: number;
|
|
2125
2125
|
/** Horizontal translation */
|
|
2126
|
-
readonly
|
|
2126
|
+
readonly translateX?: number;
|
|
2127
2127
|
/** Vertical translation */
|
|
2128
|
-
readonly
|
|
2128
|
+
readonly translateY?: number;
|
|
2129
2129
|
}
|
|
2130
2130
|
/** Effect reference — references an effect by ID (CT_EffectReference). */
|
|
2131
2131
|
interface EffectReferenceOptions {
|
|
@@ -2181,7 +2181,7 @@ interface EffectDagOptions {
|
|
|
2181
2181
|
readonly alphaReplace?: AlphaReplaceEffectOptions;
|
|
2182
2182
|
/** Bi-level effect (threshold) */
|
|
2183
2183
|
readonly biLevel?: {
|
|
2184
|
-
readonly
|
|
2184
|
+
readonly threshold: number;
|
|
2185
2185
|
};
|
|
2186
2186
|
/** Blend effect (requires nested container) */
|
|
2187
2187
|
readonly blend?: BlendEffectOptions;
|
|
@@ -2216,14 +2216,14 @@ interface EffectDagOptions {
|
|
|
2216
2216
|
* ```typescript
|
|
2217
2217
|
* // Simple effect DAG with glow and outer shadow
|
|
2218
2218
|
* createEffectDag({
|
|
2219
|
-
* glow: {
|
|
2220
|
-
* outerShadow: { color: { value: "000000" },
|
|
2219
|
+
* glow: { radius: 50800, color: { value: "FF0000" } },
|
|
2220
|
+
* outerShadow: { color: { value: "000000" }, blurRadius: 76200 },
|
|
2221
2221
|
* });
|
|
2222
2222
|
*
|
|
2223
2223
|
* // DAG with alpha effects and nested container
|
|
2224
2224
|
* createEffectDag({
|
|
2225
2225
|
* type: "tree",
|
|
2226
|
-
* alphaBiLevel: {
|
|
2226
|
+
* alphaBiLevel: { threshold: 50000 },
|
|
2227
2227
|
* containers: [{
|
|
2228
2228
|
* glow: { color: { value: "FF0000" } },
|
|
2229
2229
|
* }],
|
|
@@ -2717,10 +2717,10 @@ interface PathLineTo {
|
|
|
2717
2717
|
/** Arc-to path command (CT_Path2DArcTo). */
|
|
2718
2718
|
interface PathArcTo {
|
|
2719
2719
|
readonly command: "arcTo";
|
|
2720
|
-
readonly
|
|
2721
|
-
readonly
|
|
2722
|
-
readonly
|
|
2723
|
-
readonly
|
|
2720
|
+
readonly widthRadius: string;
|
|
2721
|
+
readonly heightRadius: string;
|
|
2722
|
+
readonly startAngle: string;
|
|
2723
|
+
readonly sweepAngle: string;
|
|
2724
2724
|
}
|
|
2725
2725
|
/** Quadratic Bezier-to path command (CT_Path2DQuadBezierTo). */
|
|
2726
2726
|
interface PathQuadBezTo {
|
|
@@ -2788,10 +2788,10 @@ interface AdjustHandlePosition {
|
|
|
2788
2788
|
*/
|
|
2789
2789
|
interface XYAdjustHandle {
|
|
2790
2790
|
readonly type: "xy";
|
|
2791
|
-
readonly
|
|
2791
|
+
readonly guideRefX?: string;
|
|
2792
2792
|
readonly minX?: string;
|
|
2793
2793
|
readonly maxX?: string;
|
|
2794
|
-
readonly
|
|
2794
|
+
readonly guideRefY?: string;
|
|
2795
2795
|
readonly minY?: string;
|
|
2796
2796
|
readonly maxY?: string;
|
|
2797
2797
|
readonly position: AdjustHandlePosition;
|
|
@@ -2803,12 +2803,12 @@ interface XYAdjustHandle {
|
|
|
2803
2803
|
*/
|
|
2804
2804
|
interface PolarAdjustHandle {
|
|
2805
2805
|
readonly type: "polar";
|
|
2806
|
-
readonly
|
|
2807
|
-
readonly
|
|
2808
|
-
readonly
|
|
2809
|
-
readonly
|
|
2810
|
-
readonly
|
|
2811
|
-
readonly
|
|
2806
|
+
readonly guideRefRadius?: string;
|
|
2807
|
+
readonly minRadius?: string;
|
|
2808
|
+
readonly maxRadius?: string;
|
|
2809
|
+
readonly guideRefAngle?: string;
|
|
2810
|
+
readonly minAngle?: string;
|
|
2811
|
+
readonly maxAngle?: string;
|
|
2812
2812
|
readonly position: AdjustHandlePosition;
|
|
2813
2813
|
}
|
|
2814
2814
|
/** An adjust handle (XY or Polar). */
|
|
@@ -2820,7 +2820,7 @@ type AdjustHandle = XYAdjustHandle | PolarAdjustHandle;
|
|
|
2820
2820
|
*/
|
|
2821
2821
|
interface ConnectionSite {
|
|
2822
2822
|
/** Angle (absolute value or guide name) */
|
|
2823
|
-
readonly
|
|
2823
|
+
readonly angle: string;
|
|
2824
2824
|
/** Position */
|
|
2825
2825
|
readonly position: AdjustHandlePosition;
|
|
2826
2826
|
}
|
|
@@ -2831,10 +2831,10 @@ interface ConnectionSite {
|
|
|
2831
2831
|
* Coordinates can be absolute values or references to geometry guide names.
|
|
2832
2832
|
*/
|
|
2833
2833
|
interface GeomRect {
|
|
2834
|
-
readonly
|
|
2835
|
-
readonly
|
|
2836
|
-
readonly
|
|
2837
|
-
readonly
|
|
2834
|
+
readonly left: string;
|
|
2835
|
+
readonly top: string;
|
|
2836
|
+
readonly right: string;
|
|
2837
|
+
readonly bottom: string;
|
|
2838
2838
|
}
|
|
2839
2839
|
/**
|
|
2840
2840
|
* Options for a custom 2D geometry (CT_CustomGeometry2D).
|
|
@@ -2900,6 +2900,7 @@ interface CustomGeometryOptions {
|
|
|
2900
2900
|
* { command: "close" },
|
|
2901
2901
|
* ],
|
|
2902
2902
|
* }],
|
|
2903
|
+
* textRect: { left: "2000000", top: "2000000", right: "8000000", bottom: "8000000" },
|
|
2903
2904
|
* });
|
|
2904
2905
|
* ```
|
|
2905
2906
|
*/
|
|
@@ -3054,6 +3055,34 @@ declare class Stretch extends XmlComponent {
|
|
|
3054
3055
|
constructor();
|
|
3055
3056
|
}
|
|
3056
3057
|
//#endregion
|
|
3058
|
+
//#region src/drawingml/transform.d.ts
|
|
3059
|
+
interface Transform2DOptions {
|
|
3060
|
+
readonly x?: number;
|
|
3061
|
+
readonly y?: number;
|
|
3062
|
+
readonly width?: number;
|
|
3063
|
+
readonly height?: number;
|
|
3064
|
+
readonly flipHorizontal?: boolean;
|
|
3065
|
+
readonly flipVertical?: boolean;
|
|
3066
|
+
readonly rotation?: number;
|
|
3067
|
+
}
|
|
3068
|
+
interface GroupTransform2DOptions extends Transform2DOptions {
|
|
3069
|
+
readonly childOffsetX?: number;
|
|
3070
|
+
readonly childOffsetY?: number;
|
|
3071
|
+
readonly childExtentWidth?: number;
|
|
3072
|
+
readonly childExtentHeight?: number;
|
|
3073
|
+
}
|
|
3074
|
+
/**
|
|
3075
|
+
* Creates a 2D transform element (a:xfrm).
|
|
3076
|
+
*
|
|
3077
|
+
* @param options - Transform options including position, size, rotation, and flip.
|
|
3078
|
+
* @param elementName - Element name, defaults to "a:xfrm".
|
|
3079
|
+
*/
|
|
3080
|
+
declare const createTransform2D: (options: Transform2DOptions, elementName?: string) => XmlComponent;
|
|
3081
|
+
/**
|
|
3082
|
+
* Creates a group transform element (a:xfrm with chOff/chExt children).
|
|
3083
|
+
*/
|
|
3084
|
+
declare const createGroupTransform2D: (options: GroupTransform2DOptions, elementName?: string) => XmlComponent;
|
|
3085
|
+
//#endregion
|
|
3057
3086
|
//#region src/drawingml/media/transformation.d.ts
|
|
3058
3087
|
/**
|
|
3059
3088
|
* Internal media data transformation with both pixel and EMU values.
|
|
@@ -3116,4 +3145,4 @@ interface IMediaTransformation {
|
|
|
3116
3145
|
*/
|
|
3117
3146
|
declare const createTransformation: (options: IMediaTransformation) => IMediaDataTransformation;
|
|
3118
3147
|
//#endregion
|
|
3119
|
-
export { type BackdropOptions, type BevelOptions, BevelPresetType, BlendMode, type BlipEffectsOptions, type BlipFillConfigOptions, type BlipFillMediaData, type BlipFillOptions, type BlipOptions, type BlurEffectOptions, type CameraOptions, type ColorTransformOptions, CompoundLine, type ConnectionSite, type CustomGeometryOptions, type DashStop, type EffectContainerType, type EffectDagOptions, type EffectListOptions, type FillOptions, type FillOverlayEffectOptions, type GeomRect, type GeometryGuide, type GlowEffectOptions, type GradientFillOptions, type GradientShadeOptions, type GradientStopOptions, type HslColorOptions, type IGradientStop, type IMediaDataTransformation, type IMediaTransformation, type InnerShadowEffectOptions, type LightRigOptions, LineCap, LineEndLength, type LineEndOptions, LineEndType, LineEndWidth, LineJoin, type LinearShadeOptions, type OuterShadowEffectOptions, type OutlineFillProperties, type OutlineOptions, type PathCommand, type PathFillMode, type PathOptions, type PathShadeOptions, PathShadeType, type PatternFillOptions, PenAlignment, type Point3D, PresetColor, type PresetColorOptions, PresetDash, PresetGeometry, PresetGeometryAttributes, type PresetGeometryOptions, PresetMaterialType, PresetPattern, type PresetShadowEffectOptions, PresetShadowVal, RectAlignment, type ReflectionEffectOptions, type RelativeRect, type RgbColorOptions, type ScRgbColorOptions, type Scene3DOptions, SchemeColor, type SchemeColorOptions, type Shape3DOptions, type SolidFillOptions, type SourceRectangleOptions, type SphereCoords, Stretch, SystemColor, type SystemColorOptions, TileAlignment, TileFlipMode, type TileOptions, type Vector3D, buildFill, createAdjustmentValues, createBevel, createBlip, createBlipEffects, createBlipFill, createBottomBevel, createColorElement, createColorTransforms, createCustomDash, createCustomGeometry, createEffectDag, createEffectList, createExtentionList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGroupFill, createHslColor, createInnerShadowEffect, createLineEnd, createNoFill, createOuterShadowEffect, createOutline, createPatternFill, createPresetColor, createPresetShadowEffect, createReflectionEffect, createRgbColor, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSystemColor, createTileInfo, createTransformation, extractBlipFillMedia };
|
|
3148
|
+
export { type BackdropOptions, type BevelOptions, BevelPresetType, BlendMode, type BlipEffectsOptions, type BlipFillConfigOptions, type BlipFillMediaData, type BlipFillOptions, type BlipOptions, type BlurEffectOptions, type CameraOptions, type ColorTransformOptions, CompoundLine, type ConnectionSite, type CustomGeometryOptions, type DashStop, type EffectContainerType, type EffectDagOptions, type EffectListOptions, type FillOptions, type FillOverlayEffectOptions, type GeomRect, type GeometryGuide, type GlowEffectOptions, type GradientFillOptions, type GradientShadeOptions, type GradientStopOptions, type GroupTransform2DOptions, type HslColorOptions, type IGradientStop, type IMediaDataTransformation, type IMediaTransformation, type InnerShadowEffectOptions, type LightRigOptions, LineCap, LineEndLength, type LineEndOptions, LineEndType, LineEndWidth, LineJoin, type LinearShadeOptions, type OuterShadowEffectOptions, type OutlineFillProperties, type OutlineOptions, type PathCommand, type PathFillMode, type PathOptions, type PathShadeOptions, PathShadeType, type PatternFillOptions, PenAlignment, type Point3D, PresetColor, type PresetColorOptions, PresetDash, PresetGeometry, PresetGeometryAttributes, type PresetGeometryOptions, PresetMaterialType, PresetPattern, type PresetShadowEffectOptions, PresetShadowVal, RectAlignment, type ReflectionEffectOptions, type RelativeRect, type RgbColorOptions, type ScRgbColorOptions, type Scene3DOptions, SchemeColor, type SchemeColorOptions, type Shape3DOptions, type SolidFillOptions, type SourceRectangleOptions, type SphereCoords, Stretch, SystemColor, type SystemColorOptions, TileAlignment, TileFlipMode, type TileOptions, type Transform2DOptions, type Vector3D, buildFill, createAdjustmentValues, createBevel, createBlip, createBlipEffects, createBlipFill, createBottomBevel, createColorElement, createColorTransforms, createCustomDash, createCustomGeometry, createEffectDag, createEffectList, createExtentionList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGroupFill, createGroupTransform2D, createHslColor, createInnerShadowEffect, createLineEnd, createNoFill, createOuterShadowEffect, createOutline, createPatternFill, createPresetColor, createPresetShadowEffect, createReflectionEffect, createRgbColor, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSystemColor, createTileInfo, createTransform2D, createTransformation, extractBlipFillMedia };
|