@office-open/core 0.10.15 → 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/README.md +2 -1
- package/dist/chart/index.d.mts +2 -2
- package/dist/chart/index.mjs +2 -2
- package/dist/chart-DED4tXC9.mjs +2325 -0
- package/dist/chart-DED4tXC9.mjs.map +1 -0
- package/dist/color-mapping-CFF0vRSe.mjs +117 -0
- package/dist/color-mapping-CFF0vRSe.mjs.map +1 -0
- package/dist/data-type-CZMKVaaT.d.mts.map +1 -1
- package/dist/descriptor/index.d.mts +2 -2
- package/dist/descriptor/index.mjs +1 -1
- package/dist/{descriptor-BjNkn5jo.mjs → descriptor-BqaNZrrZ.mjs} +43 -11
- package/dist/{descriptor-BjNkn5jo.mjs.map → descriptor-BqaNZrrZ.mjs.map} +1 -1
- package/dist/drawing/index.d.mts +2 -0
- package/dist/drawing/index.mjs +2 -0
- package/dist/{drawingml-sj1J3lb0.mjs → drawing-BCAyrCCw.mjs} +4456 -3452
- package/dist/drawing-BCAyrCCw.mjs.map +1 -0
- package/dist/{converters-C_Y2QX1w.mjs → ext-uri-BHBcIrW7.mjs} +742 -45
- 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-BP541uS-.d.mts +489 -0
- package/dist/index-BP541uS-.d.mts.map +1 -0
- package/dist/{index-BVK2dv6C.d.mts → index-BQLIofaF.d.mts} +10 -4
- 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-DPkf_CtG.d.mts +1578 -0
- package/dist/index-DPkf_CtG.d.mts.map +1 -0
- package/dist/index-DcukVskh.d.mts +31 -0
- package/dist/index-DcukVskh.d.mts.map +1 -0
- package/dist/index-Di6XPdGl.d.mts +322 -0
- package/dist/index-Di6XPdGl.d.mts.map +1 -0
- package/dist/index-L6AXewfV.d.mts +872 -0
- package/dist/index-L6AXewfV.d.mts.map +1 -0
- package/dist/index.d.mts +294 -30
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1327 -112
- 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-BmRfghOo.mjs → patch-AkQY17CD.mjs} +73 -28
- package/dist/patch-AkQY17CD.mjs.map +1 -0
- package/dist/smartart/index.d.mts +2 -2
- package/dist/smartart/index.mjs +2 -2
- package/dist/smartart-n1kYJ6Jg.mjs +1650 -0
- package/dist/smartart-n1kYJ6Jg.mjs.map +1 -0
- package/dist/style-matrix-B6jhPAT3.mjs +123 -0
- package/dist/style-matrix-B6jhPAT3.mjs.map +1 -0
- package/dist/theme/index.d.mts +4 -2
- package/dist/theme/index.mjs +4 -2
- package/dist/theme-BKnXRmvn.mjs +426 -0
- package/dist/theme-BKnXRmvn.mjs.map +1 -0
- package/dist/theme-options-kO89NUEX.d.mts +109 -0
- 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-Tq9PSjK0.mjs → util-ptE16MEk.mjs} +237 -459
- package/dist/util-ptE16MEk.mjs.map +1 -0
- package/dist/{values-8di32lIe.d.mts → values-BECDm4zr.d.mts} +17 -31
- package/dist/values-BECDm4zr.d.mts.map +1 -0
- package/dist/vector/index.d.mts +2 -0
- package/dist/vector/index.mjs +2 -0
- package/dist/vector-DhLGZjP5.mjs +3049 -0
- package/dist/vector-DhLGZjP5.mjs.map +1 -0
- package/package.json +16 -8
- package/dist/chart-DIGJna_6.mjs +0 -582
- package/dist/chart-DIGJna_6.mjs.map +0 -1
- package/dist/converters-C_Y2QX1w.mjs.map +0 -1
- package/dist/drawingml/index.d.mts +0 -2
- package/dist/drawingml/index.mjs +0 -2
- package/dist/drawingml-sj1J3lb0.mjs.map +0 -1
- package/dist/index-BVK2dv6C.d.mts.map +0 -1
- package/dist/index-BfHfKuKy.d.mts +0 -275
- package/dist/index-BfHfKuKy.d.mts.map +0 -1
- package/dist/index-CE53SwpZ.d.mts +0 -1463
- package/dist/index-CE53SwpZ.d.mts.map +0 -1
- package/dist/index-D6VE-MnJ.d.mts +0 -43
- package/dist/index-D6VE-MnJ.d.mts.map +0 -1
- package/dist/index-DE4CLElr.d.mts +0 -145
- package/dist/index-DE4CLElr.d.mts.map +0 -1
- package/dist/index-DlPA26cw.d.mts +0 -91
- package/dist/index-DlPA26cw.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-BmRfghOo.mjs.map +0 -1
- package/dist/smartart-B7ukZ-Tw.mjs +0 -305
- package/dist/smartart-B7ukZ-Tw.mjs.map +0 -1
- package/dist/theme-CiNzdl-9.mjs +0 -177
- package/dist/theme-CiNzdl-9.mjs.map +0 -1
- package/dist/util-Tq9PSjK0.mjs.map +0 -1
- package/dist/values-8di32lIe.d.mts.map +0 -1
|
@@ -0,0 +1,872 @@
|
|
|
1
|
+
import { _ as UniversalMeasure, f as RelativeMeasure, i as Guid, l as Percentage } from "./values-BECDm4zr.mjs";
|
|
2
|
+
import { Element } from "@office-open/xml";
|
|
3
|
+
//#region src/vector/style.d.ts
|
|
4
|
+
type LengthUnit = "auto" | number | Percentage | UniversalMeasure | RelativeMeasure;
|
|
5
|
+
declare const styleToKeyMap: Record<keyof VmlShapeStyle, string>;
|
|
6
|
+
declare function stringifyVmlStyle(style: VmlShapeStyle): string;
|
|
7
|
+
declare function parseVmlStyle(styleStr: string): Record<string, string>;
|
|
8
|
+
declare function parseVmlShapeStyle(record: Record<string, string>): VmlShapeStyle;
|
|
9
|
+
interface VmlShapeStyle {
|
|
10
|
+
flip?: "x" | "y" | "xy" | "yx";
|
|
11
|
+
height?: LengthUnit;
|
|
12
|
+
left?: LengthUnit;
|
|
13
|
+
marginBottom?: LengthUnit;
|
|
14
|
+
marginLeft?: LengthUnit;
|
|
15
|
+
marginRight?: LengthUnit;
|
|
16
|
+
marginTop?: LengthUnit;
|
|
17
|
+
positionHorizontal?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
|
|
18
|
+
positionHorizontalRelative?: "margin" | "page" | "text" | "char";
|
|
19
|
+
positionVertical?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
|
|
20
|
+
positionVerticalRelative?: "margin" | "page" | "text" | "char";
|
|
21
|
+
wrapDistanceBottom?: number;
|
|
22
|
+
wrapDistanceLeft?: number;
|
|
23
|
+
wrapDistanceRight?: number;
|
|
24
|
+
wrapDistanceTop?: number;
|
|
25
|
+
wrapEdited?: boolean;
|
|
26
|
+
fitShapeToText?: boolean;
|
|
27
|
+
directionAlt?: "auto";
|
|
28
|
+
wrapStyle?: "square" | "none";
|
|
29
|
+
position?: "static" | "absolute" | "relative";
|
|
30
|
+
rotation?: number;
|
|
31
|
+
top?: LengthUnit;
|
|
32
|
+
visibility?: "hidden" | "inherit";
|
|
33
|
+
width?: LengthUnit;
|
|
34
|
+
zIndex?: "auto" | number;
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/vector/attributes.d.ts
|
|
38
|
+
type VmlTrueFalse = boolean;
|
|
39
|
+
type VmlColor = string;
|
|
40
|
+
type VmlTrueFalseBlank = boolean | "";
|
|
41
|
+
type VmlBlackWhiteMode = "color" | "auto" | "grayScale" | "lightGrayscale" | "inverseGray" | "grayOutline" | "highContrast" | "black" | "white" | "hide" | "undrawn" | "blackTextAndLines";
|
|
42
|
+
type VmlConnectorType = "none" | "straight" | "elbow" | "curved";
|
|
43
|
+
type VmlHorizontalRuleAlign = "left" | "right" | "center";
|
|
44
|
+
type VmlInsetMode = "auto" | "custom";
|
|
45
|
+
type VmlConnectType = "none" | "rect" | "segments" | "custom";
|
|
46
|
+
type VmlScreenSize = "544,376" | "640,480" | "720,512" | "800,600" | "1024,768" | "1152,862";
|
|
47
|
+
type VmlDiagramLayout = "0" | "1" | "2" | "3";
|
|
48
|
+
interface VmlCoreAttributes {
|
|
49
|
+
id?: string;
|
|
50
|
+
style?: VmlShapeStyle;
|
|
51
|
+
href?: string;
|
|
52
|
+
target?: string;
|
|
53
|
+
class?: string;
|
|
54
|
+
title?: string;
|
|
55
|
+
alt?: string;
|
|
56
|
+
coordsize?: string;
|
|
57
|
+
coordorigin?: string;
|
|
58
|
+
wrapcoords?: string;
|
|
59
|
+
print?: VmlTrueFalse;
|
|
60
|
+
}
|
|
61
|
+
interface VmlShapeAttributes {
|
|
62
|
+
chromakey?: VmlColor;
|
|
63
|
+
filled?: VmlTrueFalse;
|
|
64
|
+
fillcolor?: VmlColor;
|
|
65
|
+
opacity?: string;
|
|
66
|
+
stroked?: VmlTrueFalse;
|
|
67
|
+
strokecolor?: VmlColor;
|
|
68
|
+
strokeweight?: string;
|
|
69
|
+
insetpen?: VmlTrueFalse;
|
|
70
|
+
}
|
|
71
|
+
type VmlAttrKind = "string" | "trueFalse" | "trueFalseBlank" | "number";
|
|
72
|
+
interface VmlAttrSpec {
|
|
73
|
+
field: string;
|
|
74
|
+
attr: string;
|
|
75
|
+
kind: VmlAttrKind;
|
|
76
|
+
}
|
|
77
|
+
declare const VML_CORE_ATTRS: readonly VmlAttrSpec[];
|
|
78
|
+
declare const VML_SHAPE_ATTRS: readonly VmlAttrSpec[];
|
|
79
|
+
interface VmlOfficeCoreAttributes {
|
|
80
|
+
spid?: string;
|
|
81
|
+
oned?: VmlTrueFalse;
|
|
82
|
+
regroupid?: number;
|
|
83
|
+
doubleclicknotify?: VmlTrueFalse;
|
|
84
|
+
button?: VmlTrueFalse;
|
|
85
|
+
userhidden?: VmlTrueFalse;
|
|
86
|
+
bullet?: VmlTrueFalse;
|
|
87
|
+
hr?: VmlTrueFalse;
|
|
88
|
+
hrstd?: VmlTrueFalse;
|
|
89
|
+
hrnoshade?: VmlTrueFalse;
|
|
90
|
+
hrpct?: number;
|
|
91
|
+
hralign?: VmlHorizontalRuleAlign;
|
|
92
|
+
allowincell?: VmlTrueFalse;
|
|
93
|
+
allowoverlap?: VmlTrueFalse;
|
|
94
|
+
userdrawn?: VmlTrueFalse;
|
|
95
|
+
bordertopcolor?: VmlColor;
|
|
96
|
+
borderleftcolor?: VmlColor;
|
|
97
|
+
borderbottomcolor?: VmlColor;
|
|
98
|
+
borderrightcolor?: VmlColor;
|
|
99
|
+
dgmlayout?: VmlDiagramLayout;
|
|
100
|
+
dgmnodekind?: number;
|
|
101
|
+
dgmlayoutmru?: VmlDiagramLayout;
|
|
102
|
+
insetmode?: VmlInsetMode;
|
|
103
|
+
}
|
|
104
|
+
interface VmlOfficeShapeAttributes {
|
|
105
|
+
spt?: number;
|
|
106
|
+
connectortype?: VmlConnectorType;
|
|
107
|
+
bwmode?: VmlBlackWhiteMode;
|
|
108
|
+
bwpure?: VmlBlackWhiteMode;
|
|
109
|
+
bwnormal?: VmlBlackWhiteMode;
|
|
110
|
+
forcedash?: VmlTrueFalse;
|
|
111
|
+
oleicon?: VmlTrueFalse;
|
|
112
|
+
ole?: VmlTrueFalseBlank;
|
|
113
|
+
preferrelative?: VmlTrueFalse;
|
|
114
|
+
cliptowrap?: VmlTrueFalse;
|
|
115
|
+
clip?: VmlTrueFalse;
|
|
116
|
+
}
|
|
117
|
+
declare const VML_OFFICE_CORE_ATTRS: readonly VmlAttrSpec[];
|
|
118
|
+
declare const VML_OFFICE_SHAPE_ATTRS: readonly VmlAttrSpec[];
|
|
119
|
+
declare function stringifyVmlTrueFalse(value: boolean): "t" | "f";
|
|
120
|
+
declare function parseVmlTrueFalse(value: string): boolean;
|
|
121
|
+
declare function stringifyVmlAttributes(opts: Record<string, unknown>, specs: readonly VmlAttrSpec[]): string;
|
|
122
|
+
declare function stringifyVmlTrueFalseBlank(value: VmlTrueFalseBlank): string;
|
|
123
|
+
declare function parseVmlTrueFalseBlank(value: string): VmlTrueFalseBlank;
|
|
124
|
+
declare function parseVmlAttributes(el: Element, specs: readonly VmlAttrSpec[], out: Record<string, unknown>): void;
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region src/vector/shape-elements/client-data.d.ts
|
|
127
|
+
type VmlClientObjectType = "Button" | "Checkbox" | "Dialog" | "Drop" | "Edit" | "GBox" | "Label" | "LineA" | "List" | "Movie" | "Note" | "Pict" | "Radio" | "RectA" | "Scroll" | "Spin" | "Shape" | "Group" | "Rect";
|
|
128
|
+
interface VmlClientDataOptions {
|
|
129
|
+
objectType: VmlClientObjectType;
|
|
130
|
+
MoveWithCells?: VmlTrueFalseBlank;
|
|
131
|
+
SizeWithCells?: VmlTrueFalseBlank;
|
|
132
|
+
Locked?: VmlTrueFalseBlank;
|
|
133
|
+
DefaultSize?: VmlTrueFalseBlank;
|
|
134
|
+
PrintObject?: VmlTrueFalseBlank;
|
|
135
|
+
Disabled?: VmlTrueFalseBlank;
|
|
136
|
+
AutoFill?: VmlTrueFalseBlank;
|
|
137
|
+
AutoLine?: VmlTrueFalseBlank;
|
|
138
|
+
AutoPict?: VmlTrueFalseBlank;
|
|
139
|
+
LockText?: VmlTrueFalseBlank;
|
|
140
|
+
JustLastX?: VmlTrueFalseBlank;
|
|
141
|
+
SecretEdit?: VmlTrueFalseBlank;
|
|
142
|
+
Default?: VmlTrueFalseBlank;
|
|
143
|
+
Help?: VmlTrueFalseBlank;
|
|
144
|
+
Cancel?: VmlTrueFalseBlank;
|
|
145
|
+
Dismiss?: VmlTrueFalseBlank;
|
|
146
|
+
Visible?: VmlTrueFalseBlank;
|
|
147
|
+
RowHidden?: VmlTrueFalseBlank;
|
|
148
|
+
ColHidden?: VmlTrueFalseBlank;
|
|
149
|
+
MultiLine?: VmlTrueFalseBlank;
|
|
150
|
+
VScroll?: VmlTrueFalseBlank;
|
|
151
|
+
ValidIds?: VmlTrueFalseBlank;
|
|
152
|
+
NoThreeD2?: VmlTrueFalseBlank;
|
|
153
|
+
Colored?: VmlTrueFalseBlank;
|
|
154
|
+
NoThreeD?: VmlTrueFalseBlank;
|
|
155
|
+
FirstButton?: VmlTrueFalseBlank;
|
|
156
|
+
Horiz?: VmlTrueFalseBlank;
|
|
157
|
+
MapOCX?: VmlTrueFalseBlank;
|
|
158
|
+
Camera?: VmlTrueFalseBlank;
|
|
159
|
+
RecalcAlways?: VmlTrueFalseBlank;
|
|
160
|
+
AutoScale?: VmlTrueFalseBlank;
|
|
161
|
+
DDE?: VmlTrueFalseBlank;
|
|
162
|
+
UIObj?: VmlTrueFalseBlank;
|
|
163
|
+
Accel?: number;
|
|
164
|
+
Accel2?: number;
|
|
165
|
+
Row?: number;
|
|
166
|
+
Column?: number;
|
|
167
|
+
VTEdit?: number;
|
|
168
|
+
WidthMin?: number;
|
|
169
|
+
Sel?: number;
|
|
170
|
+
DropLines?: number;
|
|
171
|
+
Checked?: number;
|
|
172
|
+
Val?: number;
|
|
173
|
+
Min?: number;
|
|
174
|
+
Max?: number;
|
|
175
|
+
Inc?: number;
|
|
176
|
+
Page?: number;
|
|
177
|
+
Dx?: number;
|
|
178
|
+
ScriptLanguage?: number;
|
|
179
|
+
ScriptLocation?: number;
|
|
180
|
+
Anchor?: string;
|
|
181
|
+
FmlaMacro?: string;
|
|
182
|
+
TextHAlign?: string;
|
|
183
|
+
TextVAlign?: string;
|
|
184
|
+
FmlaRange?: string;
|
|
185
|
+
SelType?: string;
|
|
186
|
+
MultiSel?: string;
|
|
187
|
+
LCT?: string;
|
|
188
|
+
ListItem?: string;
|
|
189
|
+
DropStyle?: string;
|
|
190
|
+
FmlaLink?: string;
|
|
191
|
+
FmlaPict?: string;
|
|
192
|
+
FmlaGroup?: string;
|
|
193
|
+
ScriptText?: string;
|
|
194
|
+
ScriptExtended?: string;
|
|
195
|
+
FmlaTxbx?: string;
|
|
196
|
+
CF?: string;
|
|
197
|
+
}
|
|
198
|
+
declare function stringifyVmlClientData(opts: VmlClientDataOptions): string;
|
|
199
|
+
declare function parseVmlClientData(el: Element): VmlClientDataOptions;
|
|
200
|
+
//#endregion
|
|
201
|
+
//#region src/vector/shape-elements/office-elements.d.ts
|
|
202
|
+
type VmlExtensionMode = "view" | "edit" | "backwardCompatible";
|
|
203
|
+
interface VmlExtAttribute {
|
|
204
|
+
ext?: VmlExtensionMode;
|
|
205
|
+
}
|
|
206
|
+
declare const EXT_ATTR: readonly VmlAttrSpec[];
|
|
207
|
+
interface VmlSkewOptions extends VmlExtAttribute {
|
|
208
|
+
id?: string;
|
|
209
|
+
on?: VmlTrueFalse;
|
|
210
|
+
offset?: string;
|
|
211
|
+
origin?: string;
|
|
212
|
+
matrix?: string;
|
|
213
|
+
}
|
|
214
|
+
declare function stringifyVmlSkew(opts: VmlSkewOptions): string;
|
|
215
|
+
declare function parseVmlSkew(el: Element): VmlSkewOptions;
|
|
216
|
+
type VmlExtrusionType = "perspective" | "parallel";
|
|
217
|
+
type VmlExtrusionRender = "solid" | "wireFrame" | "boundingCube";
|
|
218
|
+
type VmlExtrusionPlane = "XY" | "ZX" | "YZ";
|
|
219
|
+
type VmlColorMode = "auto" | "custom";
|
|
220
|
+
interface VmlExtrusionOptions extends VmlExtAttribute {
|
|
221
|
+
on?: VmlTrueFalse;
|
|
222
|
+
type?: VmlExtrusionType;
|
|
223
|
+
render?: VmlExtrusionRender;
|
|
224
|
+
viewpointorigin?: string;
|
|
225
|
+
viewpoint?: string;
|
|
226
|
+
plane?: VmlExtrusionPlane;
|
|
227
|
+
skewangle?: number;
|
|
228
|
+
skewamt?: string;
|
|
229
|
+
foredepth?: string;
|
|
230
|
+
backdepth?: string;
|
|
231
|
+
orientation?: string;
|
|
232
|
+
orientationangle?: number;
|
|
233
|
+
lockrotationcenter?: VmlTrueFalse;
|
|
234
|
+
autorotationcenter?: VmlTrueFalse;
|
|
235
|
+
rotationcenter?: string;
|
|
236
|
+
rotationangle?: string;
|
|
237
|
+
colormode?: VmlColorMode;
|
|
238
|
+
color?: VmlColor;
|
|
239
|
+
shininess?: number;
|
|
240
|
+
specularity?: string;
|
|
241
|
+
diffusity?: string;
|
|
242
|
+
metal?: VmlTrueFalse;
|
|
243
|
+
edge?: string;
|
|
244
|
+
facet?: string;
|
|
245
|
+
lightface?: VmlTrueFalse;
|
|
246
|
+
brightness?: string;
|
|
247
|
+
lightposition?: string;
|
|
248
|
+
lightlevel?: string;
|
|
249
|
+
lightharsh?: VmlTrueFalse;
|
|
250
|
+
lightposition2?: string;
|
|
251
|
+
lightlevel2?: string;
|
|
252
|
+
lightharsh2?: VmlTrueFalse;
|
|
253
|
+
}
|
|
254
|
+
declare function stringifyVmlExtrusion(opts: VmlExtrusionOptions): string;
|
|
255
|
+
declare function parseVmlExtrusion(el: Element): VmlExtrusionOptions;
|
|
256
|
+
type VmlCalloutAngle = "any" | "30" | "45" | "60" | "90" | "auto";
|
|
257
|
+
interface VmlCalloutOptions extends VmlExtAttribute {
|
|
258
|
+
on?: VmlTrueFalse;
|
|
259
|
+
type?: string;
|
|
260
|
+
gap?: string;
|
|
261
|
+
angle?: VmlCalloutAngle;
|
|
262
|
+
dropauto?: VmlTrueFalse;
|
|
263
|
+
drop?: string;
|
|
264
|
+
distance?: string;
|
|
265
|
+
lengthspecified?: VmlTrueFalse;
|
|
266
|
+
length?: string;
|
|
267
|
+
accentbar?: VmlTrueFalse;
|
|
268
|
+
textborder?: VmlTrueFalse;
|
|
269
|
+
minusx?: VmlTrueFalse;
|
|
270
|
+
minusy?: VmlTrueFalse;
|
|
271
|
+
}
|
|
272
|
+
declare function stringifyVmlCallout(opts: VmlCalloutOptions): string;
|
|
273
|
+
declare function parseVmlCallout(el: Element): VmlCalloutOptions;
|
|
274
|
+
interface VmlLockOptions extends VmlExtAttribute {
|
|
275
|
+
position?: VmlTrueFalse;
|
|
276
|
+
selection?: VmlTrueFalse;
|
|
277
|
+
grouping?: VmlTrueFalse;
|
|
278
|
+
ungrouping?: VmlTrueFalse;
|
|
279
|
+
rotation?: VmlTrueFalse;
|
|
280
|
+
cropping?: VmlTrueFalse;
|
|
281
|
+
verticies?: VmlTrueFalse;
|
|
282
|
+
adjusthandles?: VmlTrueFalse;
|
|
283
|
+
text?: VmlTrueFalse;
|
|
284
|
+
aspectratio?: VmlTrueFalse;
|
|
285
|
+
shapetype?: VmlTrueFalse;
|
|
286
|
+
}
|
|
287
|
+
declare function stringifyVmlLock(opts: VmlLockOptions): string;
|
|
288
|
+
declare function parseVmlLock(el: Element): VmlLockOptions;
|
|
289
|
+
interface VmlClipPathOptions {
|
|
290
|
+
v: string;
|
|
291
|
+
}
|
|
292
|
+
declare function stringifyVmlClipPath(opts: VmlClipPathOptions): string;
|
|
293
|
+
declare function parseVmlClipPath(el: Element): VmlClipPathOptions;
|
|
294
|
+
interface VmlSignatureLineOptions extends VmlExtAttribute {
|
|
295
|
+
issignatureline?: VmlTrueFalse;
|
|
296
|
+
id?: Guid;
|
|
297
|
+
provid?: Guid;
|
|
298
|
+
signinginstructionsset?: VmlTrueFalse;
|
|
299
|
+
allowcomments?: VmlTrueFalse;
|
|
300
|
+
showsigndate?: VmlTrueFalse;
|
|
301
|
+
suggestedsigner?: string;
|
|
302
|
+
suggestedsigner2?: string;
|
|
303
|
+
suggestedsigneremail?: string;
|
|
304
|
+
signinginstructions?: string;
|
|
305
|
+
addlxml?: string;
|
|
306
|
+
sigprovurl?: string;
|
|
307
|
+
}
|
|
308
|
+
declare function stringifyVmlSignatureLine(opts: VmlSignatureLineOptions): string;
|
|
309
|
+
declare function parseVmlSignatureLine(el: Element): VmlSignatureLineOptions;
|
|
310
|
+
interface VmlInkOptions {
|
|
311
|
+
i: string;
|
|
312
|
+
annotation?: VmlTrueFalse;
|
|
313
|
+
contentType?: string;
|
|
314
|
+
}
|
|
315
|
+
declare function stringifyVmlInk(opts: VmlInkOptions): string;
|
|
316
|
+
declare function parseVmlInk(el: Element): VmlInkOptions;
|
|
317
|
+
interface VmlEquationXmlOptions {
|
|
318
|
+
contentType?: string;
|
|
319
|
+
content?: string;
|
|
320
|
+
}
|
|
321
|
+
declare function stringifyVmlEquationXml(opts: VmlEquationXmlOptions): string;
|
|
322
|
+
declare function parseVmlEquationXml(el: Element): VmlEquationXmlOptions;
|
|
323
|
+
interface VmlDiagramRelationOptions extends VmlExtAttribute {
|
|
324
|
+
idsrc?: string;
|
|
325
|
+
iddest?: string;
|
|
326
|
+
idcntr?: string;
|
|
327
|
+
}
|
|
328
|
+
interface VmlDiagramOptions extends VmlExtAttribute {
|
|
329
|
+
dgmstyle?: number;
|
|
330
|
+
autoformat?: VmlTrueFalse;
|
|
331
|
+
reverse?: VmlTrueFalse;
|
|
332
|
+
autolayout?: VmlTrueFalse;
|
|
333
|
+
dgmscalex?: number;
|
|
334
|
+
dgmscaley?: number;
|
|
335
|
+
dgmfontsize?: number;
|
|
336
|
+
constrainbounds?: string;
|
|
337
|
+
dgmbasetextscale?: number;
|
|
338
|
+
relations?: VmlDiagramRelationOptions[];
|
|
339
|
+
}
|
|
340
|
+
declare function stringifyVmlDiagram(opts: VmlDiagramOptions): string;
|
|
341
|
+
declare function parseVmlDiagram(el: Element): VmlDiagramOptions;
|
|
342
|
+
interface VmlComplexOptions extends VmlExtAttribute {}
|
|
343
|
+
declare function stringifyVmlComplex(opts: VmlComplexOptions): string;
|
|
344
|
+
declare function parseVmlComplex(el: Element): VmlComplexOptions;
|
|
345
|
+
type VmlOfficeFillType = "gradientCenter" | "solid" | "pattern" | "tile" | "frame" | "gradientUnscaled" | "gradientRadial" | "gradient" | "background";
|
|
346
|
+
interface VmlOfficeFillOptions extends VmlExtAttribute {
|
|
347
|
+
type?: VmlOfficeFillType;
|
|
348
|
+
}
|
|
349
|
+
declare function stringifyVmlOfficeFill(opts: VmlOfficeFillOptions): string;
|
|
350
|
+
declare function parseVmlOfficeFill(el: Element): VmlOfficeFillOptions;
|
|
351
|
+
type VmlOleObjectType = "Embed" | "Link";
|
|
352
|
+
type VmlOleDrawAspect = "Content" | "Icon";
|
|
353
|
+
type VmlOleUpdateMode = "Always" | "OnCall";
|
|
354
|
+
interface VmlOleObjectOptions {
|
|
355
|
+
Type?: VmlOleObjectType;
|
|
356
|
+
ProgID?: string;
|
|
357
|
+
ShapeID?: string;
|
|
358
|
+
DrawAspect?: VmlOleDrawAspect;
|
|
359
|
+
ObjectID?: string;
|
|
360
|
+
relationshipId?: string;
|
|
361
|
+
UpdateMode?: VmlOleUpdateMode;
|
|
362
|
+
linkType?: string;
|
|
363
|
+
lockedField?: VmlTrueFalseBlank;
|
|
364
|
+
fieldCodes?: string;
|
|
365
|
+
}
|
|
366
|
+
declare function stringifyVmlOleObject(opts: VmlOleObjectOptions): string;
|
|
367
|
+
declare function parseVmlOleObject(el: Element): VmlOleObjectOptions;
|
|
368
|
+
//#endregion
|
|
369
|
+
//#region src/vector/shape-elements/fill.d.ts
|
|
370
|
+
type VmlFillType = "solid" | "gradient" | "gradientRadial" | "tile" | "pattern" | "frame";
|
|
371
|
+
type VmlFillMethod = "none" | "linear" | "sigma" | "any" | "linear sigma";
|
|
372
|
+
type VmlImageAspect = "ignore" | "atMost" | "atLeast";
|
|
373
|
+
interface VmlFillOptions {
|
|
374
|
+
id?: string;
|
|
375
|
+
type?: VmlFillType;
|
|
376
|
+
on?: VmlTrueFalse;
|
|
377
|
+
color?: VmlColor;
|
|
378
|
+
opacity?: string;
|
|
379
|
+
color2?: VmlColor;
|
|
380
|
+
src?: string;
|
|
381
|
+
size?: string;
|
|
382
|
+
origin?: string;
|
|
383
|
+
position?: string;
|
|
384
|
+
aspect?: VmlImageAspect;
|
|
385
|
+
colors?: string;
|
|
386
|
+
angle?: number;
|
|
387
|
+
alignshape?: VmlTrueFalse;
|
|
388
|
+
focus?: string;
|
|
389
|
+
focussize?: string;
|
|
390
|
+
focusposition?: string;
|
|
391
|
+
method?: VmlFillMethod;
|
|
392
|
+
recolor?: VmlTrueFalse;
|
|
393
|
+
rotate?: VmlTrueFalse;
|
|
394
|
+
relationshipId?: string;
|
|
395
|
+
officeHref?: string;
|
|
396
|
+
officeAltHref?: string;
|
|
397
|
+
detectmouseclick?: VmlTrueFalse;
|
|
398
|
+
officeTitle?: string;
|
|
399
|
+
opacity2?: string;
|
|
400
|
+
officeRelationshipId?: string;
|
|
401
|
+
officeFill?: VmlOfficeFillOptions;
|
|
402
|
+
}
|
|
403
|
+
declare function stringifyVmlFill(opts: VmlFillOptions): string;
|
|
404
|
+
declare function parseVmlFill(el: Element): VmlFillOptions;
|
|
405
|
+
//#endregion
|
|
406
|
+
//#region src/vector/shape-elements/formulas.d.ts
|
|
407
|
+
interface VmlFormulasOptions {
|
|
408
|
+
equations?: string[];
|
|
409
|
+
}
|
|
410
|
+
declare function stringifyVmlFormulas(opts: VmlFormulasOptions): string;
|
|
411
|
+
declare function parseVmlFormulas(el: Element): VmlFormulasOptions;
|
|
412
|
+
//#endregion
|
|
413
|
+
//#region src/vector/shape-elements/handles.d.ts
|
|
414
|
+
interface VmlHandleOptions {
|
|
415
|
+
position?: string;
|
|
416
|
+
polar?: string;
|
|
417
|
+
map?: string;
|
|
418
|
+
invx?: VmlTrueFalse;
|
|
419
|
+
invy?: VmlTrueFalse;
|
|
420
|
+
switch?: VmlTrueFalse;
|
|
421
|
+
xrange?: string;
|
|
422
|
+
yrange?: string;
|
|
423
|
+
radiusrange?: string;
|
|
424
|
+
}
|
|
425
|
+
interface VmlHandlesOptions {
|
|
426
|
+
handles?: VmlHandleOptions[];
|
|
427
|
+
}
|
|
428
|
+
declare function stringifyVmlHandles(opts: VmlHandlesOptions): string;
|
|
429
|
+
declare function parseVmlHandles(el: Element): VmlHandlesOptions;
|
|
430
|
+
//#endregion
|
|
431
|
+
//#region src/vector/shape-elements/imagedata.d.ts
|
|
432
|
+
interface VmlImageDataOptions {
|
|
433
|
+
id?: string;
|
|
434
|
+
src?: string;
|
|
435
|
+
cropleft?: string;
|
|
436
|
+
croptop?: string;
|
|
437
|
+
cropright?: string;
|
|
438
|
+
cropbottom?: string;
|
|
439
|
+
gain?: string;
|
|
440
|
+
blacklevel?: string;
|
|
441
|
+
gamma?: string;
|
|
442
|
+
grayscale?: VmlTrueFalse;
|
|
443
|
+
bilevel?: VmlTrueFalse;
|
|
444
|
+
chromakey?: VmlColor;
|
|
445
|
+
embosscolor?: VmlColor;
|
|
446
|
+
recolortarget?: VmlColor;
|
|
447
|
+
relationshipId?: string;
|
|
448
|
+
pictRelationshipId?: string;
|
|
449
|
+
hrefRelationshipId?: string;
|
|
450
|
+
officeHref?: string;
|
|
451
|
+
officeAltHref?: string;
|
|
452
|
+
officeTitle?: string;
|
|
453
|
+
oleid?: number;
|
|
454
|
+
detectmouseclick?: VmlTrueFalse;
|
|
455
|
+
movie?: number;
|
|
456
|
+
officeRelationshipId?: string;
|
|
457
|
+
}
|
|
458
|
+
declare function stringifyVmlImageData(opts: VmlImageDataOptions): string;
|
|
459
|
+
declare function parseVmlImageData(el: Element): VmlImageDataOptions;
|
|
460
|
+
//#endregion
|
|
461
|
+
//#region src/vector/shape-elements/path.d.ts
|
|
462
|
+
interface VmlPathOptions {
|
|
463
|
+
id?: string;
|
|
464
|
+
v?: string;
|
|
465
|
+
limo?: string;
|
|
466
|
+
textboxrect?: string;
|
|
467
|
+
fillok?: VmlTrueFalse;
|
|
468
|
+
strokeok?: VmlTrueFalse;
|
|
469
|
+
shadowok?: VmlTrueFalse;
|
|
470
|
+
arrowok?: VmlTrueFalse;
|
|
471
|
+
gradientshapeok?: VmlTrueFalse;
|
|
472
|
+
textpathok?: VmlTrueFalse;
|
|
473
|
+
insetpenok?: VmlTrueFalse;
|
|
474
|
+
connecttype?: VmlConnectType;
|
|
475
|
+
connectlocs?: string;
|
|
476
|
+
connectangles?: string;
|
|
477
|
+
extrusionok?: VmlTrueFalse;
|
|
478
|
+
}
|
|
479
|
+
declare function stringifyVmlPath(opts: VmlPathOptions): string;
|
|
480
|
+
declare function parseVmlPath(el: Element): VmlPathOptions;
|
|
481
|
+
//#endregion
|
|
482
|
+
//#region src/vector/shape-elements/presentation-elements.d.ts
|
|
483
|
+
interface VmlIsCommentOptions {}
|
|
484
|
+
declare function stringifyVmlIsComment(_opts: VmlIsCommentOptions): string;
|
|
485
|
+
declare function parseVmlIsComment(_el: Element): VmlIsCommentOptions;
|
|
486
|
+
interface VmlTextDataOptions {
|
|
487
|
+
id?: string;
|
|
488
|
+
}
|
|
489
|
+
declare function stringifyVmlTextData(opts: VmlTextDataOptions): string;
|
|
490
|
+
declare function parseVmlTextData(el: Element): VmlTextDataOptions;
|
|
491
|
+
//#endregion
|
|
492
|
+
//#region src/vector/shape-elements/shadow.d.ts
|
|
493
|
+
type VmlShadowType = "single" | "double" | "emboss" | "perspective";
|
|
494
|
+
interface VmlShadowOptions {
|
|
495
|
+
id?: string;
|
|
496
|
+
on?: VmlTrueFalse;
|
|
497
|
+
type?: VmlShadowType;
|
|
498
|
+
obscured?: VmlTrueFalse;
|
|
499
|
+
color?: VmlColor;
|
|
500
|
+
opacity?: string;
|
|
501
|
+
offset?: string;
|
|
502
|
+
color2?: VmlColor;
|
|
503
|
+
offset2?: string;
|
|
504
|
+
origin?: string;
|
|
505
|
+
matrix?: string;
|
|
506
|
+
}
|
|
507
|
+
declare function stringifyVmlShadow(opts: VmlShadowOptions): string;
|
|
508
|
+
declare function parseVmlShadow(el: Element): VmlShadowOptions;
|
|
509
|
+
//#endregion
|
|
510
|
+
//#region src/vector/shape-elements/stroke.d.ts
|
|
511
|
+
type VmlStrokeLineStyle = "single" | "thinThin" | "thinThick" | "thickThin" | "thickBetweenThin";
|
|
512
|
+
type VmlStrokeJoinStyle = "round" | "bevel" | "miter";
|
|
513
|
+
type VmlStrokeEndCap = "flat" | "square" | "round";
|
|
514
|
+
type VmlStrokeArrowType = "none" | "block" | "classic" | "oval" | "diamond" | "open";
|
|
515
|
+
type VmlStrokeArrowWidth = "narrow" | "medium" | "wide";
|
|
516
|
+
type VmlStrokeArrowLength = "short" | "medium" | "long";
|
|
517
|
+
interface VmlStrokeOptions {
|
|
518
|
+
id?: string;
|
|
519
|
+
on?: VmlTrueFalse;
|
|
520
|
+
weight?: string;
|
|
521
|
+
color?: VmlColor;
|
|
522
|
+
opacity?: string;
|
|
523
|
+
linestyle?: VmlStrokeLineStyle;
|
|
524
|
+
miterlimit?: number;
|
|
525
|
+
joinstyle?: VmlStrokeJoinStyle;
|
|
526
|
+
endcap?: VmlStrokeEndCap;
|
|
527
|
+
dashstyle?: string;
|
|
528
|
+
filltype?: VmlFillType;
|
|
529
|
+
src?: string;
|
|
530
|
+
imageaspect?: VmlImageAspect;
|
|
531
|
+
imagesize?: string;
|
|
532
|
+
imagealignshape?: VmlTrueFalse;
|
|
533
|
+
color2?: VmlColor;
|
|
534
|
+
startarrow?: VmlStrokeArrowType;
|
|
535
|
+
startarrowwidth?: VmlStrokeArrowWidth;
|
|
536
|
+
startarrowlength?: VmlStrokeArrowLength;
|
|
537
|
+
endarrow?: VmlStrokeArrowType;
|
|
538
|
+
endarrowwidth?: VmlStrokeArrowWidth;
|
|
539
|
+
endarrowlength?: VmlStrokeArrowLength;
|
|
540
|
+
relationshipId?: string;
|
|
541
|
+
insetpen?: VmlTrueFalse;
|
|
542
|
+
officeHref?: string;
|
|
543
|
+
officeAltHref?: string;
|
|
544
|
+
officeTitle?: string;
|
|
545
|
+
forcedash?: VmlTrueFalse;
|
|
546
|
+
officeRelationshipId?: string;
|
|
547
|
+
leftStroke?: VmlStrokeChildOptions;
|
|
548
|
+
topStroke?: VmlStrokeChildOptions;
|
|
549
|
+
rightStroke?: VmlStrokeChildOptions;
|
|
550
|
+
bottomStroke?: VmlStrokeChildOptions;
|
|
551
|
+
columnStroke?: VmlStrokeChildOptions;
|
|
552
|
+
}
|
|
553
|
+
interface VmlStrokeChildOptions {
|
|
554
|
+
ext?: string;
|
|
555
|
+
on?: VmlTrueFalse;
|
|
556
|
+
weight?: string;
|
|
557
|
+
color?: VmlColor;
|
|
558
|
+
color2?: VmlColor;
|
|
559
|
+
opacity?: string;
|
|
560
|
+
linestyle?: VmlStrokeLineStyle;
|
|
561
|
+
miterlimit?: number;
|
|
562
|
+
joinstyle?: VmlStrokeJoinStyle;
|
|
563
|
+
endcap?: VmlStrokeEndCap;
|
|
564
|
+
dashstyle?: string;
|
|
565
|
+
insetpen?: VmlTrueFalse;
|
|
566
|
+
filltype?: VmlFillType;
|
|
567
|
+
src?: string;
|
|
568
|
+
imageaspect?: VmlImageAspect;
|
|
569
|
+
imagesize?: string;
|
|
570
|
+
imagealignshape?: VmlTrueFalse;
|
|
571
|
+
startarrow?: VmlStrokeArrowType;
|
|
572
|
+
startarrowwidth?: VmlStrokeArrowWidth;
|
|
573
|
+
startarrowlength?: VmlStrokeArrowLength;
|
|
574
|
+
endarrow?: VmlStrokeArrowType;
|
|
575
|
+
endarrowwidth?: VmlStrokeArrowWidth;
|
|
576
|
+
endarrowlength?: VmlStrokeArrowLength;
|
|
577
|
+
officeHref?: string;
|
|
578
|
+
officeAltHref?: string;
|
|
579
|
+
officeTitle?: string;
|
|
580
|
+
forcedash?: VmlTrueFalse;
|
|
581
|
+
}
|
|
582
|
+
declare function stringifyVmlStroke(opts: VmlStrokeOptions): string;
|
|
583
|
+
declare function parseVmlStroke(el: Element): VmlStrokeOptions;
|
|
584
|
+
//#endregion
|
|
585
|
+
//#region src/vector/shape-elements/textbox.d.ts
|
|
586
|
+
interface VmlTextboxOptions {
|
|
587
|
+
id?: string;
|
|
588
|
+
style?: VmlShapeStyle;
|
|
589
|
+
inset?: string;
|
|
590
|
+
singleclick?: boolean;
|
|
591
|
+
insetmode?: VmlInsetMode;
|
|
592
|
+
txbxContent?: string;
|
|
593
|
+
content?: string;
|
|
594
|
+
}
|
|
595
|
+
declare function stringifyVmlTextbox(opts: VmlTextboxOptions): string;
|
|
596
|
+
declare function parseVmlTextbox(el: Element): VmlTextboxOptions;
|
|
597
|
+
//#endregion
|
|
598
|
+
//#region src/vector/shape-elements/textpath.d.ts
|
|
599
|
+
interface VmlTextPathStyle {
|
|
600
|
+
fontFamily?: string;
|
|
601
|
+
fontSize?: string;
|
|
602
|
+
fontWeight?: string;
|
|
603
|
+
fontStyle?: string;
|
|
604
|
+
fontVariant?: string;
|
|
605
|
+
textTransform?: string;
|
|
606
|
+
textDecoration?: string;
|
|
607
|
+
letterSpacing?: string;
|
|
608
|
+
vTextAlign?: string;
|
|
609
|
+
vTextKern?: string;
|
|
610
|
+
vTextSpacing?: string;
|
|
611
|
+
vTextSpacingMode?: string;
|
|
612
|
+
}
|
|
613
|
+
interface VmlTextPathOptions {
|
|
614
|
+
id?: string;
|
|
615
|
+
style?: VmlTextPathStyle;
|
|
616
|
+
on?: VmlTrueFalse;
|
|
617
|
+
fitshape?: VmlTrueFalse;
|
|
618
|
+
fitpath?: VmlTrueFalse;
|
|
619
|
+
trim?: VmlTrueFalse;
|
|
620
|
+
xscale?: VmlTrueFalse;
|
|
621
|
+
string?: string;
|
|
622
|
+
}
|
|
623
|
+
declare function stringifyVmlTextPath(opts: VmlTextPathOptions): string;
|
|
624
|
+
declare function parseVmlTextPath(el: Element): VmlTextPathOptions;
|
|
625
|
+
//#endregion
|
|
626
|
+
//#region src/vector/shape-elements/word-elements.d.ts
|
|
627
|
+
type VmlWrapType = "topAndBottom" | "square" | "none" | "tight" | "through";
|
|
628
|
+
type VmlWrapSide = "both" | "left" | "right" | "largest";
|
|
629
|
+
type VmlHorizontalAnchor = "margin" | "page" | "text" | "char";
|
|
630
|
+
type VmlVerticalAnchor = "margin" | "page" | "text" | "line";
|
|
631
|
+
type VmlBorderType = "none" | "single" | "thick" | "double" | "hairline" | "dot" | "dash" | "dotDash" | "dashDotDot" | "triple" | "thinThickSmall" | "thickThinSmall" | "thickBetweenThinSmall" | "thinThick" | "thickThin" | "thickBetweenThin" | "thinThickLarge" | "thickThinLarge" | "thickBetweenThinLarge" | "wave" | "doubleWave" | "dashedSmall" | "dashDotStroked" | "threeDEmboss" | "threeDEngrave" | "HTMLOutset" | "HTMLInset";
|
|
632
|
+
interface VmlWrapOptions {
|
|
633
|
+
type?: VmlWrapType;
|
|
634
|
+
side?: VmlWrapSide;
|
|
635
|
+
anchorx?: VmlHorizontalAnchor;
|
|
636
|
+
anchory?: VmlVerticalAnchor;
|
|
637
|
+
}
|
|
638
|
+
declare function stringifyVmlWrap(opts: VmlWrapOptions): string;
|
|
639
|
+
declare function parseVmlWrap(el: Element): VmlWrapOptions;
|
|
640
|
+
interface VmlAnchorLockOptions {}
|
|
641
|
+
declare function stringifyVmlAnchorLock(_opts: VmlAnchorLockOptions): string;
|
|
642
|
+
declare function parseVmlAnchorLock(_el: Element): VmlAnchorLockOptions;
|
|
643
|
+
interface VmlBorderOptions {
|
|
644
|
+
type?: VmlBorderType;
|
|
645
|
+
width?: number;
|
|
646
|
+
shadow?: VmlTrueFalseBlank;
|
|
647
|
+
}
|
|
648
|
+
declare const VML_BORDER_TAGS: readonly ["w10:bordertop", "w10:borderleft", "w10:borderright", "w10:borderbottom"];
|
|
649
|
+
declare function stringifyVmlBorder(tag: (typeof VML_BORDER_TAGS)[number], opts: VmlBorderOptions): string;
|
|
650
|
+
declare function parseVmlBorder(el: Element): VmlBorderOptions;
|
|
651
|
+
//#endregion
|
|
652
|
+
//#region src/vector/shapes.d.ts
|
|
653
|
+
declare function nextVmlShapeId(): string;
|
|
654
|
+
interface VmlBaseShapeFields extends VmlCoreAttributes, VmlOfficeCoreAttributes, VmlShapeAttributes, VmlOfficeShapeAttributes {
|
|
655
|
+
path?: string;
|
|
656
|
+
pathElement?: VmlPathOptions;
|
|
657
|
+
formulas?: VmlFormulasOptions;
|
|
658
|
+
handles?: VmlHandlesOptions;
|
|
659
|
+
fill?: VmlFillOptions;
|
|
660
|
+
stroke?: VmlStrokeOptions;
|
|
661
|
+
shadow?: VmlShadowOptions;
|
|
662
|
+
textbox?: VmlTextboxOptions;
|
|
663
|
+
textpath?: VmlTextPathOptions;
|
|
664
|
+
imagedata?: VmlImageDataOptions;
|
|
665
|
+
skew?: VmlSkewOptions;
|
|
666
|
+
extrusion?: VmlExtrusionOptions;
|
|
667
|
+
callout?: VmlCalloutOptions;
|
|
668
|
+
lock?: VmlLockOptions;
|
|
669
|
+
clippath?: VmlClipPathOptions;
|
|
670
|
+
signatureline?: VmlSignatureLineOptions;
|
|
671
|
+
wrap?: VmlWrapOptions;
|
|
672
|
+
anchorlock?: VmlAnchorLockOptions;
|
|
673
|
+
bordertop?: VmlBorderOptions;
|
|
674
|
+
borderbottom?: VmlBorderOptions;
|
|
675
|
+
borderleft?: VmlBorderOptions;
|
|
676
|
+
borderright?: VmlBorderOptions;
|
|
677
|
+
clientData?: VmlClientDataOptions;
|
|
678
|
+
textdata?: VmlTextDataOptions;
|
|
679
|
+
rawChildrenXml?: string;
|
|
680
|
+
}
|
|
681
|
+
type VmlEditAs = "canvas" | "orgchart" | "radial" | "cycle" | "stacked" | "venn" | "bullseye";
|
|
682
|
+
interface VmlShapeOptions extends VmlBaseShapeFields {
|
|
683
|
+
type?: string;
|
|
684
|
+
adj?: string;
|
|
685
|
+
gfxdata?: string;
|
|
686
|
+
equationxml?: string;
|
|
687
|
+
ink?: VmlInkOptions;
|
|
688
|
+
equationxmlElement?: VmlEquationXmlOptions;
|
|
689
|
+
iscomment?: VmlIsCommentOptions;
|
|
690
|
+
}
|
|
691
|
+
interface VmlShapetypeOptions extends VmlBaseShapeFields {
|
|
692
|
+
adj?: string;
|
|
693
|
+
master?: string;
|
|
694
|
+
complex?: VmlComplexOptions;
|
|
695
|
+
}
|
|
696
|
+
type VmlShapeChild = {
|
|
697
|
+
shape: VmlShapeOptions;
|
|
698
|
+
} | {
|
|
699
|
+
shapetype: VmlShapetypeOptions;
|
|
700
|
+
} | {
|
|
701
|
+
group: VmlGroupOptions;
|
|
702
|
+
} | {
|
|
703
|
+
arc: VmlArcOptions;
|
|
704
|
+
} | {
|
|
705
|
+
curve: VmlCurveOptions;
|
|
706
|
+
} | {
|
|
707
|
+
image: VmlImageOptions;
|
|
708
|
+
} | {
|
|
709
|
+
line: VmlLineOptions;
|
|
710
|
+
} | {
|
|
711
|
+
oval: VmlOvalOptions;
|
|
712
|
+
} | {
|
|
713
|
+
polyline: VmlPolylineOptions;
|
|
714
|
+
} | {
|
|
715
|
+
rect: VmlRectOptions;
|
|
716
|
+
} | {
|
|
717
|
+
roundrect: VmlRoundRectOptions;
|
|
718
|
+
};
|
|
719
|
+
interface VmlGroupOptions extends VmlBaseShapeFields {
|
|
720
|
+
filled?: VmlTrueFalse;
|
|
721
|
+
fillcolor?: VmlColor;
|
|
722
|
+
editas?: VmlEditAs;
|
|
723
|
+
tableproperties?: string;
|
|
724
|
+
tablelimits?: string;
|
|
725
|
+
diagram?: VmlDiagramOptions;
|
|
726
|
+
children?: VmlShapeChild[];
|
|
727
|
+
}
|
|
728
|
+
interface VmlBackgroundOptions {
|
|
729
|
+
id?: string;
|
|
730
|
+
filled?: VmlTrueFalse;
|
|
731
|
+
fillcolor?: VmlColor;
|
|
732
|
+
bwmode?: VmlBlackWhiteMode;
|
|
733
|
+
bwpure?: VmlBlackWhiteMode;
|
|
734
|
+
bwnormal?: VmlBlackWhiteMode;
|
|
735
|
+
targetscreensize?: VmlScreenSize;
|
|
736
|
+
fill?: VmlFillOptions;
|
|
737
|
+
}
|
|
738
|
+
interface VmlArcOptions extends VmlBaseShapeFields {
|
|
739
|
+
startAngle?: number;
|
|
740
|
+
endAngle?: number;
|
|
741
|
+
}
|
|
742
|
+
interface VmlCurveOptions extends VmlBaseShapeFields {
|
|
743
|
+
from?: string;
|
|
744
|
+
control1?: string;
|
|
745
|
+
control2?: string;
|
|
746
|
+
to?: string;
|
|
747
|
+
}
|
|
748
|
+
interface VmlImageOptions extends VmlBaseShapeFields {
|
|
749
|
+
src?: string;
|
|
750
|
+
cropleft?: string;
|
|
751
|
+
croptop?: string;
|
|
752
|
+
cropright?: string;
|
|
753
|
+
cropbottom?: string;
|
|
754
|
+
gain?: string;
|
|
755
|
+
blacklevel?: string;
|
|
756
|
+
gamma?: string;
|
|
757
|
+
grayscale?: VmlTrueFalse;
|
|
758
|
+
bilevel?: VmlTrueFalse;
|
|
759
|
+
}
|
|
760
|
+
interface VmlLineOptions extends VmlBaseShapeFields {
|
|
761
|
+
from?: string;
|
|
762
|
+
to?: string;
|
|
763
|
+
}
|
|
764
|
+
interface VmlOvalOptions extends VmlBaseShapeFields {}
|
|
765
|
+
interface VmlPolylineOptions extends VmlBaseShapeFields {
|
|
766
|
+
points?: string;
|
|
767
|
+
ink?: VmlInkOptions;
|
|
768
|
+
}
|
|
769
|
+
interface VmlRectOptions extends VmlBaseShapeFields {}
|
|
770
|
+
interface VmlRoundRectOptions extends VmlBaseShapeFields {
|
|
771
|
+
arcsize?: string;
|
|
772
|
+
}
|
|
773
|
+
declare function stringifyVmlShape(opts: VmlShapeOptions): string;
|
|
774
|
+
declare function parseVmlShape(el: Element): VmlShapeOptions;
|
|
775
|
+
declare function stringifyVmlShapetype(opts: VmlShapetypeOptions): string;
|
|
776
|
+
declare function parseVmlShapetype(el: Element): VmlShapetypeOptions;
|
|
777
|
+
declare function stringifyVmlShapeChild(child: VmlShapeChild): string;
|
|
778
|
+
declare function parseVmlShapeChild(el: Element): VmlShapeChild | undefined;
|
|
779
|
+
declare function stringifyVmlGroup(opts: VmlGroupOptions): string;
|
|
780
|
+
declare function parseVmlGroup(el: Element): VmlGroupOptions;
|
|
781
|
+
declare function stringifyVmlBackground(opts: VmlBackgroundOptions): string;
|
|
782
|
+
declare function parseVmlBackground(el: Element): VmlBackgroundOptions;
|
|
783
|
+
declare function stringifyVmlArc(opts: VmlArcOptions): string;
|
|
784
|
+
declare function parseVmlArc(el: Element): VmlArcOptions;
|
|
785
|
+
declare function stringifyVmlCurve(opts: VmlCurveOptions): string;
|
|
786
|
+
declare function parseVmlCurve(el: Element): VmlCurveOptions;
|
|
787
|
+
declare function stringifyVmlImage(opts: VmlImageOptions): string;
|
|
788
|
+
declare function parseVmlImage(el: Element): VmlImageOptions;
|
|
789
|
+
declare function stringifyVmlLine(opts: VmlLineOptions): string;
|
|
790
|
+
declare function parseVmlLine(el: Element): VmlLineOptions;
|
|
791
|
+
declare function stringifyVmlOval(opts: VmlOvalOptions): string;
|
|
792
|
+
declare function parseVmlOval(el: Element): VmlOvalOptions;
|
|
793
|
+
declare function stringifyVmlPolyline(opts: VmlPolylineOptions): string;
|
|
794
|
+
declare function parseVmlPolyline(el: Element): VmlPolylineOptions;
|
|
795
|
+
declare function stringifyVmlRect(opts: VmlRectOptions): string;
|
|
796
|
+
declare function parseVmlRect(el: Element): VmlRectOptions;
|
|
797
|
+
declare function stringifyVmlRoundRect(opts: VmlRoundRectOptions): string;
|
|
798
|
+
declare function parseVmlRoundRect(el: Element): VmlRoundRectOptions;
|
|
799
|
+
//#endregion
|
|
800
|
+
//#region src/vector/office-shape-defaults.d.ts
|
|
801
|
+
interface VmlShapeDefaultsOptions extends VmlExtAttribute {
|
|
802
|
+
spidmax?: number;
|
|
803
|
+
style?: string;
|
|
804
|
+
fill?: VmlTrueFalse;
|
|
805
|
+
fillcolor?: VmlColor;
|
|
806
|
+
stroke?: VmlTrueFalse;
|
|
807
|
+
strokecolor?: VmlColor;
|
|
808
|
+
allowincell?: VmlTrueFalse;
|
|
809
|
+
fillElement?: VmlFillOptions;
|
|
810
|
+
strokeElement?: VmlStrokeOptions;
|
|
811
|
+
textbox?: VmlTextboxOptions;
|
|
812
|
+
shadow?: VmlShadowOptions;
|
|
813
|
+
skew?: VmlSkewOptions;
|
|
814
|
+
extrusion?: VmlExtrusionOptions;
|
|
815
|
+
callout?: VmlCalloutOptions;
|
|
816
|
+
lock?: VmlLockOptions;
|
|
817
|
+
colormru?: VmlColorMruOptions;
|
|
818
|
+
colormenu?: VmlColorMenuOptions;
|
|
819
|
+
}
|
|
820
|
+
declare function stringifyVmlShapeDefaults(opts: VmlShapeDefaultsOptions): string;
|
|
821
|
+
declare function parseVmlShapeDefaults(el: Element): VmlShapeDefaultsOptions;
|
|
822
|
+
interface VmlColorMruOptions extends VmlExtAttribute {
|
|
823
|
+
colors?: string;
|
|
824
|
+
}
|
|
825
|
+
declare function stringifyVmlColorMru(opts: VmlColorMruOptions): string;
|
|
826
|
+
declare function parseVmlColorMru(el: Element): VmlColorMruOptions;
|
|
827
|
+
interface VmlColorMenuOptions extends VmlExtAttribute {
|
|
828
|
+
strokecolor?: VmlColor;
|
|
829
|
+
fillcolor?: VmlColor;
|
|
830
|
+
shadowcolor?: VmlColor;
|
|
831
|
+
extrusioncolor?: VmlColor;
|
|
832
|
+
}
|
|
833
|
+
declare function stringifyVmlColorMenu(opts: VmlColorMenuOptions): string;
|
|
834
|
+
declare function parseVmlColorMenu(el: Element): VmlColorMenuOptions;
|
|
835
|
+
interface VmlRegroupEntryOptions {
|
|
836
|
+
new?: number;
|
|
837
|
+
old?: number;
|
|
838
|
+
}
|
|
839
|
+
interface VmlRegroupTableOptions extends VmlExtAttribute {
|
|
840
|
+
entries?: VmlRegroupEntryOptions[];
|
|
841
|
+
}
|
|
842
|
+
type VmlRuleType = "arc" | "callout" | "connector" | "align";
|
|
843
|
+
type VmlRuleHow = "top" | "middle" | "bottom" | "left" | "center" | "right";
|
|
844
|
+
interface VmlRuleProxyOptions {
|
|
845
|
+
start?: boolean | "";
|
|
846
|
+
end?: boolean | "";
|
|
847
|
+
idref?: string;
|
|
848
|
+
connectloc?: number;
|
|
849
|
+
}
|
|
850
|
+
interface VmlRuleOptions {
|
|
851
|
+
id: string;
|
|
852
|
+
type?: VmlRuleType;
|
|
853
|
+
how?: VmlRuleHow;
|
|
854
|
+
idref?: string;
|
|
855
|
+
proxies?: VmlRuleProxyOptions[];
|
|
856
|
+
}
|
|
857
|
+
interface VmlRulesOptions extends VmlExtAttribute {
|
|
858
|
+
rules?: VmlRuleOptions[];
|
|
859
|
+
}
|
|
860
|
+
interface VmlIdMapOptions extends VmlExtAttribute {
|
|
861
|
+
data?: string;
|
|
862
|
+
}
|
|
863
|
+
interface VmlShapeLayoutOptions extends VmlExtAttribute {
|
|
864
|
+
idmap?: VmlIdMapOptions;
|
|
865
|
+
regrouptable?: VmlRegroupTableOptions;
|
|
866
|
+
rules?: VmlRulesOptions;
|
|
867
|
+
}
|
|
868
|
+
declare function stringifyVmlShapeLayout(opts: VmlShapeLayoutOptions): string;
|
|
869
|
+
declare function parseVmlShapeLayout(el: Element): VmlShapeLayoutOptions;
|
|
870
|
+
//#endregion
|
|
871
|
+
export { stringifyVmlGroup as $, stringifyVmlCallout as $n, stringifyVmlPath as $t, VmlPolylineOptions as A, VmlExtrusionType as An, VmlOfficeShapeAttributes as Ar, stringifyVmlTextbox as At, parseVmlGroup as B, VmlSkewOptions as Bn, stringifyVmlTrueFalseBlank as Br, stringifyVmlStroke as Bt, VmlBaseShapeFields as C, VmlDiagramRelationOptions as Cn, VmlConnectType as Cr, stringifyVmlWrap as Ct, VmlImageOptions as D, VmlExtrusionOptions as Dn, VmlHorizontalRuleAlign as Dr, stringifyVmlTextPath as Dt, VmlGroupOptions as E, VmlExtensionMode as En, VmlDiagramLayout as Er, parseVmlTextPath as Et, VmlShapetypeOptions as F, VmlOleDrawAspect as Fn, parseVmlAttributes as Fr, VmlStrokeEndCap as Ft, parseVmlRect as G, parseVmlEquationXml as Gn, stringifyVmlStyle as Gr, VmlIsCommentOptions as Gt, parseVmlLine as H, parseVmlClipPath as Hn, VmlShapeStyle as Hr, VmlShadowType as Ht, nextVmlShapeId as I, VmlOleObjectOptions as In, parseVmlTrueFalse as Ir, VmlStrokeJoinStyle as It, parseVmlShapeChild as J, parseVmlLock as Jn, parseVmlTextData as Jt, parseVmlRoundRect as K, parseVmlExtrusion as Kn, styleToKeyMap as Kr, VmlTextDataOptions as Kt, parseVmlArc as L, VmlOleObjectType as Ln, parseVmlTrueFalseBlank as Lr, VmlStrokeLineStyle as Lt, VmlRoundRectOptions as M, VmlLockOptions as Mn, VmlShapeAttributes as Mr, VmlStrokeArrowType as Mt, VmlShapeChild as N, VmlOfficeFillOptions as Nn, VmlTrueFalse as Nr, VmlStrokeArrowWidth as Nt, VmlLineOptions as O, VmlExtrusionPlane as On, VmlInsetMode as Or, VmlTextboxOptions as Ot, VmlShapeOptions as P, VmlOfficeFillType as Pn, VmlTrueFalseBlank as Pr, VmlStrokeChildOptions as Pt, stringifyVmlCurve as Q, parseVmlSkew as Qn, parseVmlPath as Qt, parseVmlBackground as R, VmlOleUpdateMode as Rn, stringifyVmlAttributes as Rr, VmlStrokeOptions as Rt, VmlBackgroundOptions as S, VmlDiagramOptions as Sn, VmlColor as Sr, stringifyVmlBorder as St, VmlEditAs as T, VmlExtAttribute as Tn, VmlCoreAttributes as Tr, VmlTextPathStyle as Tt, parseVmlOval as U, parseVmlComplex as Un, parseVmlShapeStyle as Ur, parseVmlShadow as Ut, parseVmlImage as V, parseVmlCallout as Vn, LengthUnit as Vr, VmlShadowOptions as Vt, parseVmlPolyline as W, parseVmlDiagram as Wn, parseVmlStyle as Wr, stringifyVmlShadow as Wt, stringifyVmlArc as X, parseVmlOleObject as Xn, stringifyVmlTextData as Xt, parseVmlShapetype as Y, parseVmlOfficeFill as Yn, stringifyVmlIsComment as Yt, stringifyVmlBackground as Z, parseVmlSignatureLine as Zn, VmlPathOptions as Zt, stringifyVmlColorMenu as _, VmlCalloutAngle as _n, VML_OFFICE_SHAPE_ATTRS as _r, VmlWrapType as _t, VmlRegroupTableOptions as a, parseVmlHandles as an, stringifyVmlInk as ar, stringifyVmlRoundRect as at, stringifyVmlShapeLayout as b, VmlColorMode as bn, VmlAttrSpec as br, parseVmlWrap as bt, VmlRuleProxyOptions as c, parseVmlFormulas as cn, stringifyVmlOleObject as cr, stringifyVmlShapetype as ct, VmlShapeDefaultsOptions as d, VmlFillOptions as dn, VmlClientDataOptions as dr, VmlBorderOptions as dt, VmlImageDataOptions as en, stringifyVmlClipPath as er, stringifyVmlImage as et, VmlShapeLayoutOptions as f, VmlFillType as fn, VmlClientObjectType as fr, VmlBorderType as ft, parseVmlShapeLayout as g, EXT_ATTR as gn, VML_OFFICE_CORE_ATTRS as gr, VmlWrapSide as gt, parseVmlShapeDefaults as h, stringifyVmlFill as hn, VML_CORE_ATTRS as hr, VmlWrapOptions as ht, VmlRegroupEntryOptions as i, VmlHandlesOptions as in, stringifyVmlExtrusion as ir, stringifyVmlRect as it, VmlRectOptions as j, VmlInkOptions as jn, VmlScreenSize as jr, VmlStrokeArrowLength as jt, VmlOvalOptions as k, VmlExtrusionRender as kn, VmlOfficeCoreAttributes as kr, parseVmlTextbox as kt, VmlRuleType as l, stringifyVmlFormulas as ln, stringifyVmlSignatureLine as lr, VML_BORDER_TAGS as lt, parseVmlColorMru as m, parseVmlFill as mn, stringifyVmlClientData as mr, VmlVerticalAnchor as mt, VmlColorMruOptions as n, stringifyVmlImageData as nn, stringifyVmlDiagram as nr, stringifyVmlOval as nt, VmlRuleHow as o, stringifyVmlHandles as on, stringifyVmlLock as or, stringifyVmlShape as ot, parseVmlColorMenu as p, VmlImageAspect as pn, parseVmlClientData as pr, VmlHorizontalAnchor as pt, parseVmlShape as q, parseVmlInk as qn, parseVmlIsComment as qt, VmlIdMapOptions as r, VmlHandleOptions as rn, stringifyVmlEquationXml as rr, stringifyVmlPolyline as rt, VmlRuleOptions as s, VmlFormulasOptions as sn, stringifyVmlOfficeFill as sr, stringifyVmlShapeChild as st, VmlColorMenuOptions as t, parseVmlImageData as tn, stringifyVmlComplex as tr, stringifyVmlLine as tt, VmlRulesOptions as u, VmlFillMethod as un, stringifyVmlSkew as ur, VmlAnchorLockOptions as ut, stringifyVmlColorMru as v, VmlCalloutOptions as vn, VML_SHAPE_ATTRS as vr, parseVmlAnchorLock as vt, VmlCurveOptions as w, VmlEquationXmlOptions as wn, VmlConnectorType as wr, VmlTextPathOptions as wt, VmlArcOptions as x, VmlComplexOptions as xn, VmlBlackWhiteMode as xr, stringifyVmlAnchorLock as xt, stringifyVmlShapeDefaults as y, VmlClipPathOptions as yn, VmlAttrKind as yr, parseVmlBorder as yt, parseVmlCurve as z, VmlSignatureLineOptions as zn, stringifyVmlTrueFalse as zr, parseVmlStroke as zt };
|
|
872
|
+
//# sourceMappingURL=index-L6AXewfV.d.mts.map
|