pptx-viewer-mcp 2.7.2 → 2.8.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.
@@ -1,929 +1 @@
1
- import { z } from 'zod';
2
-
3
- // src/schemas/slide-schemas.ts
4
- var GetSlideSchema = z.object({
5
- filePath: z.string().describe("Path to the PPTX file"),
6
- slideIndex: z.number().int().min(0).describe("Zero-based slide index")
7
- });
8
- var AddSlideSchema = z.object({
9
- filePath: z.string().describe("Path to the PPTX file"),
10
- insertAfterIndex: z.number().int().min(0).optional().describe("Insert after this slide index"),
11
- backgroundColor: z.string().optional().describe("Background color (hex)")
12
- });
13
- var DeleteSlidesSchema = z.object({
14
- filePath: z.string().describe("Path to the PPTX file"),
15
- slideIndexes: z.array(z.number().int().min(0)).min(1).describe("Slide indexes to delete")
16
- });
17
- var ReorderSlidesSchema = z.object({
18
- filePath: z.string().describe("Path to the PPTX file"),
19
- newOrder: z.array(z.number().int().min(0)).min(1).describe("New slide order as array of indexes")
20
- });
21
- var DuplicateSlideSchema = z.object({
22
- filePath: z.string().describe("Path to the PPTX file"),
23
- slideIndex: z.number().int().min(0).describe("Slide to duplicate"),
24
- targetIndex: z.number().int().min(0).optional().describe("Where to insert the duplicate")
25
- });
26
- var UpdateSlidePropertiesSchema = z.object({
27
- filePath: z.string().describe("Path to the PPTX file"),
28
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
29
- backgroundColor: z.string().optional().describe("Background color (hex)"),
30
- backgroundGradient: z.string().optional().describe("Background gradient CSS"),
31
- backgroundImage: z.string().optional().describe("Background image data URL"),
32
- notes: z.string().optional().describe("Speaker notes text"),
33
- hidden: z.boolean().optional().describe("Whether slide is hidden")
34
- });
35
- var SetSlideTransitionSchema = z.object({
36
- filePath: z.string().describe("Path to the PPTX file"),
37
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
38
- type: z.string().describe('Transition type (e.g. "fade", "wipe", "none")'),
39
- durationMs: z.number().int().min(0).optional().describe("Duration in ms"),
40
- direction: z.string().optional().describe('Direction (e.g. "left", "right")'),
41
- advanceOnClick: z.boolean().optional().describe("Advance on mouse click"),
42
- advanceAfterMs: z.number().int().min(0).optional().describe("Auto-advance after ms")
43
- });
44
- var SetCanvasSizeSchema = z.object({
45
- filePath: z.string().describe("Path to the PPTX file"),
46
- width: z.number().positive().describe("Canvas width in points"),
47
- height: z.number().positive().describe("Canvas height in points")
48
- });
49
- var ConvertToMarkdownSchema = z.object({
50
- filePath: z.string().describe("Path to the PPTX file"),
51
- outputDir: z.string().optional().describe("Output directory for markdown and media"),
52
- mediaFolderName: z.string().optional().describe("Name for extracted media folder"),
53
- includeMetadata: z.boolean().optional().describe("Include presentation metadata"),
54
- slideRange: z.object({
55
- start: z.number().int().min(0).optional(),
56
- end: z.number().int().min(0).optional()
57
- }).optional().describe("Slide range to convert"),
58
- includeSpeakerNotes: z.boolean().optional().describe("Include speaker notes"),
59
- semanticMode: z.boolean().optional().describe("Use semantic (clean) markdown mode")
60
- });
61
- var AccessibilityCheckSchema = z.object({
62
- filePath: z.string().describe("Path to the PPTX file")
63
- });
64
- var ThemeColorRefSchema = z.object({
65
- scheme: z.enum([
66
- "dk1",
67
- "lt1",
68
- "dk2",
69
- "lt2",
70
- "accent1",
71
- "accent2",
72
- "accent3",
73
- "accent4",
74
- "accent5",
75
- "accent6",
76
- "hlink",
77
- "folHlink",
78
- "bg1",
79
- "tx1",
80
- "bg2",
81
- "tx2",
82
- "phClr"
83
- ]),
84
- lumMod: z.number().optional().describe("Multiply HSL luminance (0..1)"),
85
- lumOff: z.number().optional().describe("Add to HSL luminance after lumMod (0..1)"),
86
- tint: z.number().optional().describe("Blend towards white (0..1)"),
87
- shade: z.number().optional().describe("Blend towards black (0..1)"),
88
- alpha: z.number().optional().describe("Opacity fraction, 1 = opaque")
89
- });
90
- var AddElementSchema = z.object({
91
- filePath: z.string().describe("Path to the PPTX file"),
92
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
93
- type: z.enum(["text", "shape", "image", "table", "connector"]).describe("Element type to add"),
94
- x: z.number().optional().describe("X position in points"),
95
- y: z.number().optional().describe("Y position in points"),
96
- width: z.number().optional().describe("Width in points"),
97
- height: z.number().optional().describe("Height in points"),
98
- text: z.string().optional().describe("Text content"),
99
- fontSize: z.number().optional().describe("Font size in points"),
100
- fontFamily: z.string().optional().describe("Font family name"),
101
- fontColor: z.string().optional().describe("Font color (hex)"),
102
- bold: z.boolean().optional().describe("Bold text"),
103
- italic: z.boolean().optional().describe("Italic text"),
104
- underline: z.boolean().optional().describe("Underline text"),
105
- alignment: z.enum(["left", "center", "right", "justify"]).optional().describe("Text alignment"),
106
- shapeType: z.string().optional().describe('Shape type (e.g. "rect", "ellipse")'),
107
- fillColor: z.string().optional().describe("Fill color (hex)"),
108
- strokeColor: z.string().optional().describe("Stroke color (hex)"),
109
- strokeWidth: z.number().optional().describe("Stroke width in points"),
110
- imageData: z.string().optional().describe("Image as base64 data URL"),
111
- altText: z.string().optional().describe("Alt text for accessibility"),
112
- rows: z.number().int().min(1).optional().describe("Number of table rows"),
113
- columns: z.number().int().min(1).optional().describe("Number of table columns"),
114
- cellData: z.array(z.array(z.string())).optional().describe("Table cell data as 2D array"),
115
- headerRow: z.boolean().optional().describe("Style first row as header"),
116
- startArrow: z.string().optional().describe("Start arrow type"),
117
- endArrow: z.string().optional().describe("End arrow type"),
118
- startShapeId: z.string().optional().describe("Connect start to shape ID"),
119
- endShapeId: z.string().optional().describe("Connect end to shape ID")
120
- });
121
- var UpdateElementSchema = z.object({
122
- filePath: z.string().describe("Path to the PPTX file"),
123
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
124
- elementId: z.string().describe("Element ID to update"),
125
- x: z.number().optional(),
126
- y: z.number().optional(),
127
- width: z.number().optional(),
128
- height: z.number().optional(),
129
- rotation: z.number().optional(),
130
- text: z.string().optional(),
131
- textSegments: z.array(
132
- z.object({
133
- text: z.string(),
134
- style: z.record(z.string(), z.any())
135
- }).passthrough()
136
- ).optional().describe(
137
- "Rich text segments, including paragraph and bullet metadata. Takes precedence over text."
138
- ),
139
- fontSize: z.number().optional(),
140
- fontFamily: z.string().optional(),
141
- fontColor: z.string().optional(),
142
- /**
143
- * A theme colour for the run text. Wins on save; resolves `fontColor`
144
- * immediately when `fontColor` was not also given. Passing `fontColor`
145
- * alone clears a previously-set text theme colour.
146
- */
147
- fontThemeColor: ThemeColorRefSchema.optional(),
148
- bold: z.boolean().optional(),
149
- italic: z.boolean().optional(),
150
- underline: z.boolean().optional(),
151
- alignment: z.enum(["left", "center", "right", "justify"]).optional(),
152
- fillColor: z.string().optional(),
153
- strokeColor: z.string().optional(),
154
- strokeWidth: z.number().optional(),
155
- opacity: z.number().min(0).max(1).optional(),
156
- hidden: z.boolean().optional(),
157
- flipH: z.boolean().optional(),
158
- flipV: z.boolean().optional(),
159
- altText: z.string().optional().describe(
160
- "Accessibility description (p:cNvPr/@descr) for image, picture, table, chart, smartArt, ole, media, text, shape and connector elements"
161
- ),
162
- title: z.string().optional().describe(
163
- "Accessibility title (p:cNvPr/@title) for table, chart, smartArt, ole, media, text, shape and connector elements (not pictures)"
164
- )
165
- });
166
- var RenameElementSchema = z.object({
167
- filePath: z.string().describe("Path to the PPTX file"),
168
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
169
- elementId: z.string().describe("Element ID to rename"),
170
- name: z.string().describe("New element name (empty string clears the name)")
171
- });
172
- var DeleteElementsSchema = z.object({
173
- filePath: z.string().describe("Path to the PPTX file"),
174
- slideIndex: z.number().int().min(0),
175
- elementIds: z.array(z.string()).min(1).describe("Element IDs to delete")
176
- });
177
- var ArrangeElementsSchema = z.object({
178
- filePath: z.string().describe("Path to the PPTX file"),
179
- slideIndex: z.number().int().min(0),
180
- action: z.enum(["align", "reorderLayer"]),
181
- elementIds: z.array(z.string()).optional().describe("Element IDs (for align)"),
182
- alignment: z.enum(["left", "right", "top", "bottom", "centerH", "centerV"]).optional(),
183
- elementId: z.string().optional().describe("Element ID (for reorderLayer)"),
184
- layerAction: z.enum(["bringForward", "sendBackward", "bringToFront", "sendToBack"]).optional()
185
- });
186
- var CloneElementSchema = z.object({
187
- filePath: z.string().describe("Path to the PPTX file"),
188
- slideIndex: z.number().int().min(0),
189
- elementId: z.string(),
190
- targetSlideIndexes: z.array(z.number().int().min(0)).optional(),
191
- offsetX: z.number().optional(),
192
- offsetY: z.number().optional()
193
- });
194
- var SetElementAnimationSchema = z.object({
195
- filePath: z.string().describe("Path to the PPTX file"),
196
- slideIndex: z.number().int().min(0),
197
- elementId: z.string(),
198
- entrance: z.string().optional(),
199
- exit: z.string().optional(),
200
- durationMs: z.number().optional(),
201
- delayMs: z.number().optional(),
202
- order: z.number().optional()
203
- });
204
- var GroupElementsSchema = z.object({
205
- filePath: z.string().describe("Path to the PPTX file"),
206
- slideIndex: z.number().int().min(0),
207
- elementIds: z.array(z.string()).min(2).describe("At least 2 element IDs to group")
208
- });
209
- var UngroupElementsSchema = z.object({
210
- filePath: z.string().describe("Path to the PPTX file"),
211
- slideIndex: z.number().int().min(0),
212
- groupElementId: z.string().describe("Group element ID to ungroup")
213
- });
214
- var BatchUpdateElementsSchema = z.object({
215
- filePath: z.string().describe("Path to the PPTX file"),
216
- slideIndex: z.number().int().min(0),
217
- elementIds: z.array(z.string()).min(1),
218
- x: z.number().optional(),
219
- y: z.number().optional(),
220
- width: z.number().optional(),
221
- height: z.number().optional(),
222
- rotation: z.number().optional(),
223
- opacity: z.number().min(0).max(1).optional(),
224
- hidden: z.boolean().optional()
225
- });
226
- var ThemeColorRefSchema2 = z.object({
227
- scheme: z.enum([
228
- "dk1",
229
- "lt1",
230
- "dk2",
231
- "lt2",
232
- "accent1",
233
- "accent2",
234
- "accent3",
235
- "accent4",
236
- "accent5",
237
- "accent6",
238
- "hlink",
239
- "folHlink",
240
- "bg1",
241
- "tx1",
242
- "bg2",
243
- "tx2",
244
- "phClr"
245
- ]),
246
- lumMod: z.number().optional().describe("Multiply HSL luminance (0..1)"),
247
- lumOff: z.number().optional().describe("Add to HSL luminance after lumMod (0..1)"),
248
- tint: z.number().optional().describe("Blend towards white (0..1)"),
249
- shade: z.number().optional().describe("Blend towards black (0..1)"),
250
- alpha: z.number().optional().describe("Opacity fraction, 1 = opaque")
251
- });
252
- var UpdateTableCellsSchema = z.object({
253
- filePath: z.string().describe("Path to the PPTX file"),
254
- slideIndex: z.number().int().min(0),
255
- elementId: z.string().describe("Table element ID"),
256
- cells: z.array(
257
- z.object({
258
- row: z.number().int().min(0),
259
- col: z.number().int().min(0),
260
- text: z.string()
261
- })
262
- ).min(1).describe("Cells to update")
263
- });
264
- var ManageTableStructureSchema = z.object({
265
- filePath: z.string().describe("Path to the PPTX file"),
266
- slideIndex: z.number().int().min(0),
267
- elementId: z.string().describe("Table element ID"),
268
- action: z.enum(["insertRow", "deleteRow", "insertColumn", "deleteColumn"]),
269
- position: z.number().int().min(0).optional().describe("Insertion position index"),
270
- referenceIndex: z.number().int().min(0).optional(),
271
- cellTexts: z.array(z.string()).optional()
272
- });
273
- var UpdateElementStyleSchema = z.object({
274
- filePath: z.string().describe("Path to the PPTX file"),
275
- slideIndex: z.number().int().min(0),
276
- elementId: z.string(),
277
- fillColor: z.string().optional(),
278
- /**
279
- * A theme colour for the fill (e.g. `{ scheme: 'accent1', lumMod: 0.8 }`
280
- * for "Accent 1, Lighter 80%"). When set, the shape saves as
281
- * `<a:schemeClr>` and keeps following the theme after a later theme
282
- * change, instead of freezing today's resolved hex. Setting `fillColor`
283
- * without this clears any previously-set fill theme colour.
284
- */
285
- fillThemeColor: ThemeColorRefSchema2.optional(),
286
- fillMode: z.string().optional(),
287
- fillGradientStops: z.array(
288
- z.object({
289
- color: z.string(),
290
- position: z.number(),
291
- opacity: z.number().optional()
292
- })
293
- ).optional(),
294
- fillGradientAngle: z.number().optional(),
295
- fillGradientType: z.string().optional(),
296
- fillOpacity: z.number().optional(),
297
- strokeColor: z.string().optional(),
298
- /** A theme colour for the outline; see `fillThemeColor` above. */
299
- strokeThemeColor: ThemeColorRefSchema2.optional(),
300
- strokeWidth: z.number().optional(),
301
- strokeDash: z.string().optional(),
302
- strokeOpacity: z.number().optional(),
303
- shadowColor: z.string().optional(),
304
- shadowBlur: z.number().optional(),
305
- shadowOffsetX: z.number().optional(),
306
- shadowOffsetY: z.number().optional(),
307
- shadowOpacity: z.number().optional(),
308
- glowColor: z.string().optional(),
309
- glowRadius: z.number().optional(),
310
- glowOpacity: z.number().optional(),
311
- softEdgeRadius: z.number().optional(),
312
- cropLeft: z.number().optional(),
313
- cropTop: z.number().optional(),
314
- cropRight: z.number().optional(),
315
- cropBottom: z.number().optional(),
316
- brightness: z.number().optional(),
317
- contrast: z.number().optional(),
318
- grayscale: z.boolean().optional(),
319
- altText: z.string().optional().describe(
320
- "Accessibility description (p:cNvPr/@descr) for image, picture, table, chart, smartArt, ole, media, text, shape and connector elements"
321
- ),
322
- title: z.string().optional().describe(
323
- "Accessibility title (p:cNvPr/@title) for table, chart, smartArt, ole, media, text, shape and connector elements (not pictures)"
324
- )
325
- });
326
- var FindTextSchema = z.object({
327
- filePath: z.string().describe("Path to the PPTX file"),
328
- query: z.string().describe("Text to search for"),
329
- useRegex: z.boolean().optional().describe("Treat query as regex"),
330
- caseSensitive: z.boolean().optional().describe("Case-sensitive search"),
331
- slideIndexes: z.array(z.number().int().min(0)).optional().describe("Limit search to specific slides")
332
- });
333
- var ReplaceTextSchema = z.object({
334
- filePath: z.string().describe("Path to the PPTX file"),
335
- query: z.string().describe("Text to find"),
336
- replacement: z.string().describe("Replacement text"),
337
- useRegex: z.boolean().optional(),
338
- caseSensitive: z.boolean().optional(),
339
- slideIndexes: z.array(z.number().int().min(0)).optional()
340
- });
341
- var ManageCommentsSchema = z.object({
342
- filePath: z.string().describe("Path to the PPTX file"),
343
- action: z.enum(["list", "add", "delete", "resolve"]),
344
- slideIndex: z.number().int().min(0).optional(),
345
- text: z.string().optional(),
346
- author: z.string().optional(),
347
- commentId: z.string().optional(),
348
- resolved: z.boolean().optional(),
349
- includeResolved: z.boolean().optional()
350
- });
351
- var TABLE_STYLE_SECTIONS = [
352
- "wholeTbl",
353
- "band1H",
354
- "band2H",
355
- "band1V",
356
- "band2V",
357
- "lastCol",
358
- "firstCol",
359
- "lastRow",
360
- "seCell",
361
- "swCell",
362
- "firstRow",
363
- "neCell",
364
- "nwCell"
365
- ];
366
- var TableStyleSimpleColorSchema = z.object({
367
- schemeColor: z.string().describe('Theme colour key (e.g. "accent1"), or "" for a non-scheme fill'),
368
- tint: z.number().optional().describe("0-100000"),
369
- shade: z.number().optional().describe("0-100000"),
370
- color: z.string().optional().describe('Explicit hex colour, e.g. "#FF8800"')
371
- });
372
- var TableStyleFillSchema = z.object({
373
- schemeColor: z.string(),
374
- tint: z.number().optional(),
375
- shade: z.number().optional(),
376
- color: z.string().optional(),
377
- noFill: z.boolean().optional(),
378
- gradient: z.object({
379
- type: z.enum(["linear", "radial"]),
380
- angle: z.number().optional(),
381
- stops: z.array(z.object({ position: z.number(), fill: TableStyleSimpleColorSchema }))
382
- }).optional(),
383
- pattern: z.object({
384
- preset: z.string(),
385
- foreground: TableStyleSimpleColorSchema.optional(),
386
- background: TableStyleSimpleColorSchema.optional()
387
- }).optional(),
388
- image: z.object({ path: z.string().optional(), data: z.string().optional() }).optional()
389
- });
390
- var TableStyleTextSchema = z.object({
391
- bold: z.boolean().optional(),
392
- italic: z.boolean().optional(),
393
- underline: z.boolean().optional(),
394
- fontSchemeColor: z.string().optional(),
395
- fontTint: z.number().optional(),
396
- fontShade: z.number().optional(),
397
- fontColor: z.string().optional(),
398
- fontFace: z.string().optional(),
399
- fontRefIdx: z.string().optional()
400
- });
401
- var TableStyleBorderSideSchema = z.object({
402
- width: z.number().optional(),
403
- dash: z.string().optional(),
404
- fill: TableStyleSimpleColorSchema.optional(),
405
- color: z.string().optional(),
406
- noFill: z.boolean().optional()
407
- });
408
- var TableStyleBordersSchema = z.object({
409
- left: TableStyleBorderSideSchema.optional(),
410
- right: TableStyleBorderSideSchema.optional(),
411
- top: TableStyleBorderSideSchema.optional(),
412
- bottom: TableStyleBorderSideSchema.optional(),
413
- insideH: TableStyleBorderSideSchema.optional(),
414
- insideV: TableStyleBorderSideSchema.optional(),
415
- tl2br: TableStyleBorderSideSchema.optional(),
416
- tr2bl: TableStyleBorderSideSchema.optional()
417
- });
418
- var TableStyleCell3DSchema = z.object({
419
- bevelWidth: z.number().optional(),
420
- bevelHeight: z.number().optional(),
421
- bevelPreset: z.string().optional(),
422
- material: z.string().optional(),
423
- lightRig: z.string().optional(),
424
- lightRigDirection: z.string().optional()
425
- });
426
- var SetTableStyleSectionSchema = z.object({
427
- filePath: z.string().describe("Path to the PPTX file"),
428
- styleId: z.string().describe('Table style GUID, e.g. "{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"'),
429
- section: z.enum(TABLE_STYLE_SECTIONS).describe("Which of the 13 CT_TableStyle parts to patch"),
430
- styleName: z.string().optional().describe("Rename the style"),
431
- fill: TableStyleFillSchema.optional(),
432
- text: TableStyleTextSchema.optional(),
433
- borders: TableStyleBordersSchema.optional(),
434
- cell3D: TableStyleCell3DSchema.optional()
435
- });
436
- var CreateTableStyleSchema = z.object({
437
- filePath: z.string().describe("Path to the PPTX file"),
438
- styleName: z.string().describe("Display name for the new style"),
439
- basedOnStyleId: z.string().optional().describe("Deep-clone every section from this existing style GUID as the starting point"),
440
- setAsDefault: z.boolean().optional().describe("Repoint ppt/tableStyles.xml's default style at the new one")
441
- });
442
- var DeleteTableStyleSchema = z.object({
443
- filePath: z.string().describe("Path to the PPTX file"),
444
- styleId: z.string().describe("Table style GUID to remove"),
445
- force: z.boolean().optional().describe("Delete even though a table on this deck still references the style")
446
- });
447
- var AssignTableStyleSchema = z.object({
448
- filePath: z.string().describe("Path to the PPTX file"),
449
- slideIndex: z.number().int().min(0),
450
- elementId: z.string().describe("Table element ID"),
451
- styleId: z.string().optional().describe(
452
- "Table style GUID to assign. Defaults to the presentation's current default table style when omitted."
453
- ),
454
- bandedRows: z.boolean().optional(),
455
- bandedColumns: z.boolean().optional(),
456
- firstRowHeader: z.boolean().optional(),
457
- lastRow: z.boolean().optional(),
458
- firstCol: z.boolean().optional(),
459
- lastCol: z.boolean().optional()
460
- });
461
- var GetThemeInfoSchema = z.object({
462
- filePath: z.string().describe("Path to the PPTX file")
463
- });
464
- var ApplyThemePresetSchema = z.object({
465
- filePath: z.string().describe("Path to the PPTX file"),
466
- presetName: z.string().describe(
467
- 'Theme preset name (e.g. "OFFICE", "MODERN_BLUE", "EARTH", "MONOCHROME", "VIBRANT", "CORPORATE", "MINIMAL", "DARK")'
468
- )
469
- });
470
- var UpdateThemeColorsSchema = z.object({
471
- filePath: z.string().describe("Path to the PPTX file"),
472
- dk1: z.string().optional().describe("Dark 1 color (hex)"),
473
- lt1: z.string().optional().describe("Light 1 color (hex)"),
474
- dk2: z.string().optional().describe("Dark 2 color (hex)"),
475
- lt2: z.string().optional().describe("Light 2 color (hex)"),
476
- accent1: z.string().optional().describe("Accent 1 color (hex)"),
477
- accent2: z.string().optional().describe("Accent 2 color (hex)"),
478
- accent3: z.string().optional().describe("Accent 3 color (hex)"),
479
- accent4: z.string().optional().describe("Accent 4 color (hex)"),
480
- accent5: z.string().optional().describe("Accent 5 color (hex)"),
481
- accent6: z.string().optional().describe("Accent 6 color (hex)"),
482
- hlink: z.string().optional().describe("Hyperlink color (hex)"),
483
- folHlink: z.string().optional().describe("Followed hyperlink color (hex)")
484
- });
485
- var UpdateThemeFontsSchema = z.object({
486
- filePath: z.string().describe("Path to the PPTX file"),
487
- majorFont: z.string().optional().describe("Heading (major) font family"),
488
- minorFont: z.string().optional().describe("Body (minor) font family")
489
- });
490
- var MarkerSymbolSchema = z.enum([
491
- "circle",
492
- "dash",
493
- "diamond",
494
- "dot",
495
- "none",
496
- "picture",
497
- "plus",
498
- "square",
499
- "star",
500
- "triangle",
501
- "x",
502
- "auto"
503
- ]);
504
- var DataLabelPositionSchema = z.enum([
505
- "bestFit",
506
- "b",
507
- "ctr",
508
- "inBase",
509
- "inEnd",
510
- "l",
511
- "outEnd",
512
- "r",
513
- "t"
514
- ]);
515
- var FormatChartDataPointSchema = z.object({
516
- filePath: z.string().describe("Path to the PPTX file"),
517
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
518
- elementId: z.string().describe("Chart element ID"),
519
- seriesIndex: z.number().int().min(0).describe("Zero-based series index"),
520
- pointIndex: z.number().int().min(0).describe("Zero-based data point (category) index"),
521
- fillColor: z.string().optional().describe("Fill colour (hex) for this point only"),
522
- strokeColor: z.string().optional().describe("Outline colour (hex) for this point only"),
523
- strokeWidth: z.number().optional().describe("Outline width in points"),
524
- strokeDashStyle: z.string().optional().describe("Outline dash style, e.g. solid, dash, dashDot, sysDot"),
525
- clearStyle: z.boolean().optional().describe("Remove all per-point shape formatting"),
526
- explosion: z.number().nullable().optional().describe("Pie/doughnut slice pull-out distance 0-100; null clears it"),
527
- marker: z.object({
528
- symbol: MarkerSymbolSchema.optional(),
529
- size: z.number().optional(),
530
- fillColor: z.string().optional()
531
- }).nullable().optional().describe("Per-point marker override (line/scatter/bubble); null clears it")
532
- });
533
- var FormatChartDataLabelSchema = z.object({
534
- filePath: z.string().describe("Path to the PPTX file"),
535
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
536
- elementId: z.string().describe("Chart element ID"),
537
- seriesIndex: z.number().int().min(0).describe("Zero-based series index"),
538
- pointIndex: z.number().int().min(0).describe("Zero-based data point (category) index"),
539
- remove: z.boolean().optional().describe("Remove the per-point label override entirely"),
540
- showValue: z.boolean().optional(),
541
- showCategory: z.boolean().optional(),
542
- showSeriesName: z.boolean().optional(),
543
- showPercent: z.boolean().optional(),
544
- showLegendKey: z.boolean().optional(),
545
- position: DataLabelPositionSchema.optional(),
546
- text: z.string().optional().describe("Custom label text override; '' clears it"),
547
- spPr: z.object({
548
- fillColor: z.string().optional(),
549
- strokeColor: z.string().optional(),
550
- strokeWidth: z.number().optional(),
551
- strokeDashStyle: z.string().optional()
552
- }).nullable().optional().describe("This label's own fill/line formatting; null removes it"),
553
- txPr: z.object({
554
- fontFamily: z.string().optional(),
555
- fontSize: z.number().optional(),
556
- bold: z.boolean().optional(),
557
- italic: z.boolean().optional(),
558
- color: z.string().optional()
559
- }).nullable().optional().describe("This label's own font; null removes it")
560
- });
561
- var FormatChartSeriesSchema = z.object({
562
- filePath: z.string().describe("Path to the PPTX file"),
563
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
564
- elementId: z.string().describe("Chart element ID"),
565
- seriesIndex: z.number().int().min(0).describe("Zero-based series index"),
566
- marker: z.object({
567
- symbol: MarkerSymbolSchema.optional(),
568
- size: z.number().optional(),
569
- fillColor: z.string().optional(),
570
- strokeColor: z.string().optional(),
571
- strokeWidth: z.number().optional(),
572
- strokeDashStyle: z.string().optional()
573
- }).nullable().optional().describe("Series marker (line/scatter/bubble/radar); null removes it"),
574
- trendline: z.object({
575
- trendlineType: z.enum([
576
- "linear",
577
- "exponential",
578
- "logarithmic",
579
- "polynomial",
580
- "power",
581
- "movingAvg"
582
- ]),
583
- color: z.string().optional(),
584
- lineWidth: z.number().optional().describe("Trendline width in points"),
585
- lineDashStyle: z.string().optional(),
586
- order: z.number().optional().describe("Polynomial order, 2-6"),
587
- period: z.number().optional().describe("Moving-average period"),
588
- displayEq: z.boolean().optional(),
589
- displayRSq: z.boolean().optional()
590
- }).nullable().optional().describe("Series trendline; null removes it"),
591
- errorBars: z.object({
592
- direction: z.enum(["x", "y"]),
593
- barType: z.enum(["both", "minus", "plus"]),
594
- valType: z.enum(["cust", "fixedVal", "percentage", "stdDev", "stdErr"]),
595
- val: z.number().optional(),
596
- customPlus: z.array(z.number()).optional(),
597
- customMinus: z.array(z.number()).optional(),
598
- noEndCap: z.boolean().optional(),
599
- color: z.string().optional(),
600
- width: z.number().optional().describe("Error-bar line width in points"),
601
- dashStyle: z.string().optional()
602
- }).nullable().optional().describe("Series error bars; null removes them")
603
- });
604
- var SetChartHelperLineSchema = z.object({
605
- filePath: z.string().describe("Path to the PPTX file"),
606
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
607
- elementId: z.string().describe("Chart element ID"),
608
- line: z.enum(["dropLines", "hiLowLines"]).describe("Which helper line to set"),
609
- style: z.object({
610
- color: z.string().optional(),
611
- width: z.number().optional(),
612
- dashStyle: z.string().optional()
613
- }).nullable().describe("Line colour/width/dash; {} shows the line with defaults, null removes it")
614
- });
615
- var SetChartColorMapOverrideSchema = z.object({
616
- filePath: z.string().describe("Path to the PPTX file"),
617
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
618
- elementId: z.string().describe("Chart element ID"),
619
- overrides: z.record(z.string(), z.string()).nullable().describe(
620
- 'Theme colour role remap (bg1/tx1/bg2/tx2/accent1-6/hlink/folHlink -> role), e.g. { "accent1": "accent2" }; null removes the override'
621
- )
622
- });
623
- var UpdateChartSchema = z.object({
624
- filePath: z.string().describe("Path to the PPTX file"),
625
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
626
- elementId: z.string().describe("Chart element ID"),
627
- chartType: z.string().optional().describe(
628
- 'New chart type (bar, line, pie, scatter, area, doughnut, radar, histogram, waterfall, funnel, treemap, sunburst, boxWhisker, regionMap). "pareto" is also accepted: it is authored as a histogram chart with an added cumulative-percentage line series.'
629
- ),
630
- title: z.string().optional().describe("Chart title"),
631
- grouping: z.enum(["clustered", "stacked", "percentStacked"]).optional().describe("Bar/column grouping"),
632
- legend: z.object({
633
- show: z.boolean().optional(),
634
- position: z.string().optional().describe("Legend position: b, t, l, r, tr")
635
- }).optional().describe("Legend configuration"),
636
- dataLabels: z.object({
637
- show: z.boolean().optional(),
638
- showValue: z.boolean().optional(),
639
- showCategory: z.boolean().optional(),
640
- showSeriesName: z.boolean().optional(),
641
- showPercent: z.boolean().optional()
642
- }).optional().describe("Data label configuration"),
643
- axis: z.object({
644
- type: z.string().describe("Axis type: valAx, catAx, dateAx, serAx"),
645
- edit: z.object({
646
- min: z.number().nullable().optional(),
647
- max: z.number().nullable().optional(),
648
- majorUnit: z.number().nullable().optional(),
649
- title: z.string().nullable().optional(),
650
- numberFormat: z.string().optional(),
651
- majorGridlines: z.boolean().optional(),
652
- minorGridlines: z.boolean().optional()
653
- })
654
- }).optional().describe("Axis configuration"),
655
- categories: z.array(z.string()).optional().describe("Category axis labels")
656
- });
657
- var AddChartSeriesSchema = z.object({
658
- filePath: z.string().describe("Path to the PPTX file"),
659
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
660
- elementId: z.string().describe("Chart element ID"),
661
- name: z.string().describe("Series name"),
662
- values: z.array(z.number()).describe("Data values"),
663
- color: z.string().optional().describe("Series color (hex)")
664
- });
665
- var RemoveChartSeriesSchema = z.object({
666
- filePath: z.string().describe("Path to the PPTX file"),
667
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
668
- elementId: z.string().describe("Chart element ID"),
669
- seriesIndex: z.number().int().min(0).describe("Zero-based series index to remove")
670
- });
671
- var UpdateChartSeriesDataSchema = z.object({
672
- filePath: z.string().describe("Path to the PPTX file"),
673
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
674
- elementId: z.string().describe("Chart element ID"),
675
- seriesIndex: z.number().int().min(0).describe("Zero-based series index"),
676
- values: z.array(z.number()).describe("New data values")
677
- });
678
- var CreateChartSchema = z.object({
679
- filePath: z.string().describe("Path to the PPTX file"),
680
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
681
- chartType: z.string().describe(
682
- 'Chart type (bar, line, pie, scatter, area, doughnut, radar, histogram, waterfall, funnel, treemap, sunburst, boxWhisker, regionMap). "pareto" is also accepted: it is authored as a histogram chart with an added cumulative-percentage line series.'
683
- ),
684
- x: z.number().optional().describe("X position in points"),
685
- y: z.number().optional().describe("Y position in points"),
686
- width: z.number().optional().describe("Width in points"),
687
- height: z.number().optional().describe("Height in points"),
688
- title: z.string().optional().describe("Chart title"),
689
- categories: z.array(z.string()).optional().describe("Category labels"),
690
- series: z.array(
691
- z.object({
692
- name: z.string(),
693
- values: z.array(z.number()),
694
- color: z.string().optional()
695
- })
696
- ).optional().describe("Data series"),
697
- legend: z.object({
698
- show: z.boolean(),
699
- position: z.string().optional()
700
- }).optional().describe("Legend configuration")
701
- });
702
- var PointSchema = z.object({ x: z.number(), y: z.number() });
703
- var ExtentSchema = z.object({ cx: z.number(), cy: z.number() });
704
- var ChartUserShapeInputSchema = z.object({
705
- kind: z.enum(["sp", "cxnSp"]).optional().describe('Overlay shape kind: "sp" (text/preset shape, default) or "cxnSp" (connector).'),
706
- anchor: z.enum(["rel", "abs"]).optional().describe(
707
- 'Anchor kind: "rel" (default, resizes with the chart; needs `to`) or "abs" (fixed EMU size; needs `ext`).'
708
- ),
709
- from: PointSchema.describe("Top-left corner as chart-relative fractions (0-1 each)."),
710
- to: PointSchema.optional().describe(
711
- "Bottom-right corner as chart-relative fractions; rel anchors only."
712
- ),
713
- ext: ExtentSchema.optional().describe("Width/height in EMU; abs anchors only."),
714
- prst: z.string().optional().describe('Preset geometry name (e.g. "rect", "roundRect"); default "rect".'),
715
- fill: z.string().optional().describe('Solid fill colour, hex (e.g. "#FFFF00").'),
716
- stroke: z.string().optional().describe("Line colour, hex."),
717
- strokeWidth: z.number().optional().describe("Line width in points."),
718
- text: z.string().optional().describe("Plain text content, centred in the shape.")
719
- });
720
- var ListChartUserShapesSchema = z.object({
721
- filePath: z.string().describe("Path to the PPTX file"),
722
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
723
- elementId: z.string().describe("Chart element ID")
724
- });
725
- var AddChartUserShapeSchema = z.object({
726
- filePath: z.string().describe("Path to the PPTX file"),
727
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
728
- elementId: z.string().describe("Chart element ID"),
729
- shape: ChartUserShapeInputSchema.describe("The overlay shape to add.")
730
- });
731
- var UpdateChartUserShapeSchema = z.object({
732
- filePath: z.string().describe("Path to the PPTX file"),
733
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
734
- elementId: z.string().describe("Chart element ID"),
735
- index: z.number().int().min(0).describe("Zero-based overlay-shape index (from chart_user_shape_list)"),
736
- patch: ChartUserShapeInputSchema.partial().describe(
737
- "Fields to overwrite; anything omitted is left as-is."
738
- )
739
- });
740
- var RemoveChartUserShapeSchema = z.object({
741
- filePath: z.string().describe("Path to the PPTX file"),
742
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
743
- elementId: z.string().describe("Chart element ID"),
744
- index: z.number().int().min(0).describe("Zero-based overlay-shape index to remove")
745
- });
746
- var ManageSmartArtSchema = z.object({
747
- filePath: z.string().describe("Path to the PPTX file"),
748
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
749
- elementId: z.string().describe("SmartArt element ID"),
750
- action: z.enum([
751
- "getNodes",
752
- "addNode",
753
- "removeNode",
754
- "updateNodeText",
755
- "reorderNode",
756
- "promoteNode",
757
- "demoteNode",
758
- "decompose"
759
- ]).describe("SmartArt action"),
760
- nodeId: z.string().optional().describe("Node ID (required for most actions)"),
761
- text: z.string().optional().describe("Text for addNode or updateNodeText"),
762
- afterNodeId: z.string().optional().describe("Insert after this node ID"),
763
- direction: z.number().optional().describe("Reorder direction: 1 (forward) or -1 (backward)")
764
- });
765
- var FindPlaceholdersSchema = z.object({
766
- filePath: z.string().describe("Path to the PPTX file")
767
- });
768
- var ApplyTemplateSchema = z.object({
769
- filePath: z.string().describe("Path to the PPTX file"),
770
- data: z.record(z.string(), z.unknown()).describe("Template data: keys are placeholder names, values are replacement values")
771
- });
772
- var GetMetadataSchema = z.object({
773
- filePath: z.string().describe("Path to the PPTX file")
774
- });
775
- var UpdateMetadataSchema = z.object({
776
- filePath: z.string().describe("Path to the PPTX file"),
777
- title: z.string().optional().describe("Presentation title"),
778
- subject: z.string().optional().describe("Subject"),
779
- creator: z.string().optional().describe("Creator/author name"),
780
- keywords: z.string().optional().describe("Keywords (comma-separated)"),
781
- description: z.string().optional().describe("Description/comments"),
782
- lastModifiedBy: z.string().optional().describe("Last modified by"),
783
- category: z.string().optional().describe("Category"),
784
- company: z.string().optional().describe("Company name"),
785
- manager: z.string().optional().describe("Manager name"),
786
- customProperties: z.array(
787
- z.object({
788
- name: z.string(),
789
- value: z.union([z.string(), z.number(), z.boolean()])
790
- })
791
- ).optional().describe("Custom properties to set")
792
- });
793
- var ManageSectionsSchema = z.object({
794
- filePath: z.string().describe("Path to the PPTX file"),
795
- action: z.enum(["list", "add", "remove", "reorder", "moveSlides", "getForSlide"]).describe("Section action"),
796
- name: z.string().optional().describe("Section name (for add)"),
797
- slideIndices: z.array(z.number().int().min(0)).optional().describe("Slide indices (for add, moveSlides)"),
798
- sectionId: z.string().optional().describe("Section ID (for remove, moveSlides)"),
799
- sectionIds: z.array(z.string()).optional().describe("Ordered section IDs (for reorder)"),
800
- slideIndex: z.number().int().min(0).optional().describe("Slide index (for getForSlide)")
801
- });
802
- var ExportToSvgSchema = z.object({
803
- filePath: z.string().describe("Path to the PPTX file"),
804
- slideIndices: z.array(z.number().int().min(0)).optional().describe("Specific slides to export (all if omitted)"),
805
- includeHidden: z.boolean().optional().describe("Include hidden slides"),
806
- defaultFontFamily: z.string().optional().describe("Default font family for SVG"),
807
- defaultFontSize: z.number().optional().describe("Default font size")
808
- });
809
- var ExportSlideSvgSchema = z.object({
810
- filePath: z.string().describe("Path to the PPTX file"),
811
- slideIndex: z.number().int().min(0).describe("Zero-based slide index to export"),
812
- defaultFontFamily: z.string().optional().describe("Default font family for SVG"),
813
- defaultFontSize: z.number().optional().describe("Default font size")
814
- });
815
- var ExportToJsonSchema = z.object({
816
- filePath: z.string().describe("Path to the PPTX file"),
817
- pretty: z.boolean().optional().describe("Pretty-print the JSON document with 2-space indentation (default true)")
818
- });
819
- var ImportFromJsonSchema = z.object({
820
- filePath: z.string().describe("Path to the PPTX file"),
821
- json: z.string().describe("The pptx-viewer-json document text to import (replaces the deck content)")
822
- });
823
- var ManageHyperlinksSchema = z.object({
824
- filePath: z.string().describe("Path to the PPTX file"),
825
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
826
- action: z.enum(["list", "set", "remove"]).describe("Hyperlink action"),
827
- elementId: z.string().optional().describe("Element ID (for set/remove)"),
828
- trigger: z.enum(["click", "hover"]).optional().describe("Action trigger (default: click)"),
829
- url: z.string().optional().describe("URL for the hyperlink"),
830
- tooltip: z.string().optional().describe("Tooltip text"),
831
- targetSlideIndex: z.number().int().min(0).optional().describe("Target slide index for internal links"),
832
- actionType: z.enum(["url", "slide", "nextSlide", "prevSlide", "firstSlide", "lastSlide", "endShow"]).optional().describe("Link action type")
833
- });
834
- var ReplaceGeometrySchema = z.object({
835
- filePath: z.string().describe("Path to the PPTX file"),
836
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
837
- elementId: z.string().describe("Shape element ID"),
838
- shapeType: z.string().optional().describe('Preset shape type (e.g. "roundRect", "star5", "ellipse", "diamond")'),
839
- svgPath: z.string().optional().describe("Custom SVG path data (mutually exclusive with shapeType)"),
840
- pathWidth: z.number().optional().describe("Width of SVG path coordinate space"),
841
- pathHeight: z.number().optional().describe("Height of SVG path coordinate space"),
842
- adjustments: z.record(z.string(), z.number()).optional().describe("Shape adjustment values")
843
- });
844
- var SetElementLockSchema = z.object({
845
- filePath: z.string().describe("Path to the PPTX file"),
846
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
847
- elementId: z.string().describe("Element ID to lock/unlock"),
848
- locked: z.boolean().describe("Whether the element should be locked"),
849
- noMove: z.boolean().optional().describe("Prevent moving"),
850
- noResize: z.boolean().optional().describe("Prevent resizing"),
851
- noRotation: z.boolean().optional().describe("Prevent rotation"),
852
- noSelect: z.boolean().optional().describe("Prevent selection"),
853
- noTextEdit: z.boolean().optional().describe("Prevent text editing")
854
- });
855
- var ValidatePresentationSchema = z.object({
856
- filePath: z.string().describe("Path to the PPTX file")
857
- });
858
- var RepairPresentationSchema = z.object({
859
- filePath: z.string().describe("Path to the PPTX file")
860
- });
861
- var GetPresentationPropertiesSchema = z.object({
862
- filePath: z.string().describe("Path to the PPTX file")
863
- });
864
- var UpdatePresentationPropertiesSchema = z.object({
865
- filePath: z.string().describe("Path to the PPTX file"),
866
- showType: z.enum(["presented", "browsed", "kiosk"]).optional().describe("Slideshow mode"),
867
- loopContinuously: z.boolean().optional().describe("Loop the slideshow"),
868
- showWithNarration: z.boolean().optional().describe("Play narration"),
869
- showWithAnimation: z.boolean().optional().describe("Play animations"),
870
- advanceMode: z.enum(["manual", "useTimings"]).optional().describe("Slide advance mode"),
871
- showSlidesMode: z.enum(["all", "customShow", "range"]).optional().describe("Which slides to show"),
872
- showSlidesFrom: z.number().int().min(1).optional().describe("Range start (1-based)"),
873
- showSlidesTo: z.number().int().min(1).optional().describe("Range end (1-based)"),
874
- penColor: z.string().optional().describe("Annotation pen color (hex)")
875
- });
876
- var GetLayoutsSchema = z.object({
877
- filePath: z.string().describe("Path to the PPTX file")
878
- });
879
- var ApplyLayoutSchema = z.object({
880
- filePath: z.string().describe("Path to the PPTX file"),
881
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
882
- layoutName: z.string().optional().describe("Layout name to apply"),
883
- layoutType: z.string().optional().describe("Layout type to apply (alternative to name)")
884
- });
885
- var GetOleContentSchema = z.object({
886
- filePath: z.string().describe("Path to the PPTX file"),
887
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
888
- elementId: z.string().describe("OLE element ID")
889
- });
890
- var SetOleSheetCellSchema = z.object({
891
- filePath: z.string().describe("Path to the PPTX file"),
892
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
893
- elementId: z.string().describe("OLE element ID (Excel payload: .xlsx or .xls)"),
894
- row: z.number().int().min(0).describe("Zero-based row index on the first worksheet"),
895
- col: z.number().int().min(0).describe("Zero-based column index on the first worksheet"),
896
- value: z.string().describe("New cell value")
897
- });
898
- var SetOleDocumentParagraphSchema = z.object({
899
- filePath: z.string().describe("Path to the PPTX file"),
900
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
901
- elementId: z.string().describe("OLE element ID (Word payload: .docx)"),
902
- paragraphIndex: z.number().int().min(0).describe("Zero-based paragraph index"),
903
- text: z.string().describe("New paragraph text")
904
- });
905
- var SetOleDeckSlideTitleSchema = z.object({
906
- filePath: z.string().describe("Path to the PPTX file"),
907
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
908
- elementId: z.string().describe("OLE element ID (nested-deck payload: .pptx)"),
909
- deckSlideIndex: z.number().int().min(0).describe("Zero-based slide index within the nested deck"),
910
- deckElementId: z.string().describe(
911
- "ID of the text-bearing shape to edit within the nested slide, from ole_get_content's deckSlides[n].elements[i].elementId"
912
- ),
913
- title: z.string().describe("New text for the chosen shape")
914
- });
915
- var ReplaceOleFileSchema = z.object({
916
- filePath: z.string().describe("Path to the PPTX file"),
917
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
918
- elementId: z.string().describe("OLE element ID"),
919
- fileData: z.string().describe('New payload as a base64 data URL (e.g. "data:application/pdf;base64,...")'),
920
- fileName: z.string().optional().describe("Optional new file name (also updates the resolved MIME type)")
921
- });
922
- var SetOleObjectNameSchema = z.object({
923
- filePath: z.string().describe("Path to the PPTX file"),
924
- slideIndex: z.number().int().min(0).describe("Zero-based slide index"),
925
- elementId: z.string().describe("OLE element ID"),
926
- name: z.string().describe("New Object Name (p:oleObj/@name); blank/whitespace clears it")
927
- });
928
-
929
- export { AccessibilityCheckSchema, AddChartSeriesSchema, AddChartUserShapeSchema, AddElementSchema, AddSlideSchema, ApplyLayoutSchema, ApplyTemplateSchema, ApplyThemePresetSchema, ArrangeElementsSchema, AssignTableStyleSchema, BatchUpdateElementsSchema, CloneElementSchema, ConvertToMarkdownSchema, CreateChartSchema, CreateTableStyleSchema, DeleteElementsSchema, DeleteSlidesSchema, DeleteTableStyleSchema, DuplicateSlideSchema, ExportSlideSvgSchema, ExportToJsonSchema, ExportToSvgSchema, FindPlaceholdersSchema, FindTextSchema, FormatChartDataLabelSchema, FormatChartDataPointSchema, FormatChartSeriesSchema, GetLayoutsSchema, GetMetadataSchema, GetOleContentSchema, GetPresentationPropertiesSchema, GetSlideSchema, GetThemeInfoSchema, GroupElementsSchema, ImportFromJsonSchema, ListChartUserShapesSchema, ManageCommentsSchema, ManageHyperlinksSchema, ManageSectionsSchema, ManageSmartArtSchema, ManageTableStructureSchema, RemoveChartSeriesSchema, RemoveChartUserShapeSchema, RenameElementSchema, ReorderSlidesSchema, RepairPresentationSchema, ReplaceGeometrySchema, ReplaceOleFileSchema, ReplaceTextSchema, SetCanvasSizeSchema, SetChartColorMapOverrideSchema, SetChartHelperLineSchema, SetElementAnimationSchema, SetElementLockSchema, SetOleDeckSlideTitleSchema, SetOleDocumentParagraphSchema, SetOleObjectNameSchema, SetOleSheetCellSchema, SetSlideTransitionSchema, SetTableStyleSectionSchema, TABLE_STYLE_SECTIONS, TableStyleBordersSchema, TableStyleCell3DSchema, TableStyleFillSchema, TableStyleTextSchema, UngroupElementsSchema, UpdateChartSchema, UpdateChartSeriesDataSchema, UpdateChartUserShapeSchema, UpdateElementSchema, UpdateElementStyleSchema, UpdateMetadataSchema, UpdatePresentationPropertiesSchema, UpdateSlidePropertiesSchema, UpdateTableCellsSchema, UpdateThemeColorsSchema, UpdateThemeFontsSchema, ValidatePresentationSchema };
1
+ export * from 'ooxml-core/pptx/automation/schemas';