pptxgenjs-plus 4.1.20 → 4.2.1

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/types/index.d.ts CHANGED
@@ -83,6 +83,28 @@ declare interface AppearOnClickProps {
83
83
  appearOnClick?: boolean;
84
84
  }
85
85
 
86
+ /**
87
+ * CD audio source (`a:audioCd`, ECMA-376 Part 1 §20.1.3.3 CT_AudioCD)
88
+ * - references the listener's CD drive, so it embeds nothing and needs no relationship
89
+ */
90
+ declare interface AudioCdProps {
91
+ start: AudioCdTimeProps;
92
+ end: AudioCdTimeProps;
93
+ }
94
+
95
+ /**
96
+ * A point on an audio CD (`a:st`/`a:end`, ECMA-376 Part 1 §20.1.3.4 CT_AudioCDTime)
97
+ */
98
+ declare interface AudioCdTimeProps {
99
+ /** CD track number (0-255) - required by the schema */
100
+ track: number;
101
+ /**
102
+ * Offset into the track, in seconds
103
+ * @default 0
104
+ */
105
+ time?: number;
106
+ }
107
+
86
108
  declare interface BackgroundProps extends DataOrPathProps, ShapeFillProps {
87
109
  /**
88
110
  * Color (hex format)
@@ -94,6 +116,12 @@ declare interface BackgroundProps extends DataOrPathProps, ShapeFillProps {
94
116
  * @deprecated v3.6.0 - use `DataOrPathProps` instead - remove in v4.0.0
95
117
  */
96
118
  src?: string;
119
+ /**
120
+ * Recolor and correction effects applied to a background image (`a:blip` children)
121
+ * - distinct from SVG `fill` path recolor
122
+ * @example { grayscale: true, brightness: -20 }
123
+ */
124
+ recolor?: ImageRecolorProps;
97
125
  }
98
126
 
99
127
  declare interface BaseAnimationConfig {
@@ -162,6 +190,55 @@ declare interface BorderProps {
162
190
  pt?: number;
163
191
  }
164
192
 
193
+ /**
194
+ * 3-D properties of a table cell (`a:cell3D`, ECMA-376 Part 1 §21.1.3.1 CT_Cell3D)
195
+ */
196
+ declare interface Cell3DProps {
197
+ /**
198
+ * Cell bevel
199
+ * - `a:bevel` is required by the schema, so an `a:bevel` with schema defaults is written
200
+ * whenever `cell3D` is set
201
+ */
202
+ bevel?: CellBevelProps;
203
+ /**
204
+ * Surface material
205
+ * @default plastic
206
+ */
207
+ material?: 'legacyMatte' | 'legacyPlastic' | 'legacyMetal' | 'legacyWireframe' | 'matte' | 'plastic' | 'metal' | 'warmMatte' | 'translucentPowder' | 'powder' | 'dkEdge' | 'softEdge' | 'clear' | 'flat' | 'softmetal';
208
+ /** Light rig - dropped unless both `rig` and `dir` are set */
209
+ lightRig?: CellLightRigProps;
210
+ }
211
+
212
+ /**
213
+ * 3-D bevel applied to a table cell (`a:bevel`, ECMA-376 Part 1 §20.1.5.3 CT_Bevel)
214
+ */
215
+ declare interface CellBevelProps {
216
+ /**
217
+ * Bevel shape
218
+ * @default circle
219
+ */
220
+ preset?: 'relaxedInset' | 'circle' | 'slope' | 'cross' | 'angle' | 'softRound' | 'convex' | 'coolSlant' | 'divot' | 'riblet' | 'hardEdge' | 'artDeco';
221
+ /**
222
+ * Bevel width (inches)
223
+ * @default 0.083
224
+ */
225
+ width?: number;
226
+ /**
227
+ * Bevel height (inches)
228
+ * @default 0.083
229
+ */
230
+ height?: number;
231
+ }
232
+
233
+ /**
234
+ * Light rig for a 3-D table cell (`a:lightRig`, ECMA-376 Part 1 §20.1.5.5 CT_LightRig)
235
+ * - both properties are required by the schema, so a partial value is not emitted
236
+ */
237
+ declare interface CellLightRigProps {
238
+ rig: 'legacyFlat1' | 'legacyFlat2' | 'legacyFlat3' | 'legacyFlat4' | 'legacyNormal1' | 'legacyNormal2' | 'legacyNormal3' | 'legacyNormal4' | 'legacyHarsh1' | 'legacyHarsh2' | 'legacyHarsh3' | 'legacyHarsh4' | 'threePt' | 'balanced' | 'soft' | 'harsh' | 'flood' | 'contrasting' | 'morning' | 'sunrise' | 'sunset' | 'chilly' | 'freezing' | 'flat' | 'twoPt' | 'glow' | 'brightRoom';
239
+ dir: 'tl' | 't' | 'tr' | 'l' | 'r' | 'bl' | 'b' | 'br';
240
+ }
241
+
165
242
  /** Changes Information part payload (MS-PPTX §2.12.1.1 `chgInfo`). Empty object emits a valid empty part. */
166
243
  declare type ChangesInfoProps = Record<string, never>;
167
244
 
@@ -171,17 +248,48 @@ declare enum CHART_TYPE {
171
248
  'AREA' = "area",
172
249
  'BAR' = "bar",
173
250
  'BAR3D' = "bar3D",
251
+ 'BOX_WHISKER' = "boxWhisker",
174
252
  'BUBBLE' = "bubble",
175
253
  'BUBBLE3D' = "bubble3D",
176
254
  'DOUGHNUT' = "doughnut",
255
+ 'FUNNEL' = "funnel",
256
+ 'HISTOGRAM' = "histogram",
177
257
  'LINE' = "line",
178
258
  'PIE' = "pie",
179
259
  'RADAR' = "radar",
180
- 'SCATTER' = "scatter"
260
+ 'SCATTER' = "scatter",
261
+ 'SUNBURST' = "sunburst",
262
+ 'TREEMAP' = "treemap",
263
+ 'WATERFALL' = "waterfall"
181
264
  }
182
265
 
183
266
  declare type ChartAxisTickMark = 'none' | 'inside' | 'outside' | 'cross';
184
267
 
268
+ /**
269
+ * Chart colour style (`cs:colorStyle` in `ppt/charts/colorsN.xml`)
270
+ * - the palette PowerPoint's Change Colors gallery offers for the chart
271
+ */
272
+ declare interface ChartColorStyleProps {
273
+ /**
274
+ * How the palette is walked
275
+ * @default cycle
276
+ */
277
+ method?: 'cycle' | 'withinLinear' | 'acrossLinear' | 'withinLinearReversed' | 'acrossLinearReversed';
278
+ /**
279
+ * Which entry of the Change Colors gallery is selected
280
+ * @default 10
281
+ */
282
+ id?: number;
283
+ /**
284
+ * The palette itself
285
+ * @default the theme's six accent colours
286
+ */
287
+ colors?: Color[];
288
+ }
289
+
290
+ /** PowerPoint 2016+ chart types; emitted as a `cx:chartSpace` part (MS-ODRAWXML 2.1) rather than ECMA-376 `c:chartSpace` */
291
+ declare type CHARTEX_NAME = 'boxWhisker' | 'funnel' | 'histogram' | 'sunburst' | 'treemap' | 'waterfall';
292
+
185
293
  declare type ChartLineCap = 'flat' | 'round' | 'square';
186
294
 
187
295
  declare enum ChartType {
@@ -194,7 +302,13 @@ declare enum ChartType {
194
302
  'line' = "line",
195
303
  'pie' = "pie",
196
304
  'radar' = "radar",
197
- 'scatter' = "scatter"
305
+ 'scatter' = "scatter",
306
+ 'boxWhisker' = "boxWhisker",
307
+ 'funnel' = "funnel",
308
+ 'histogram' = "histogram",
309
+ 'sunburst' = "sunburst",
310
+ 'treemap' = "treemap",
311
+ 'waterfall' = "waterfall"
198
312
  }
199
313
 
200
314
  /**
@@ -204,10 +318,10 @@ declare enum ChartType {
204
318
  declare type ClassificationOutcome = 'none' | 'hdr' | 'ftr' | 'watermark';
205
319
 
206
320
  /**
207
- * Color value: hex RGB, scheme token, or a scheme/hex color with OOXML transforms
208
- * (selective port of rafalBujok/define_color_theme + allow_modified_color_theme)
321
+ * Color value: hex RGB, scheme token, `ModifiedThemeColor`, or a DrawingML color object
322
+ * (`{ hex }`, `{ scheme }`, `{ system }`, `{ preset }`, `{ hsl }`, `{ scrgb }`)
209
323
  */
210
- declare type Color = HexColor | ThemeColor | ModifiedThemeColor;
324
+ declare type Color = HexColor | ThemeColor | ModifiedThemeColor | ColorProps;
211
325
 
212
326
  declare interface ColorAnimationConfig extends BaseAnimationConfig {
213
327
  type: 'colorpulse' | 'objectcolor' | 'linecolor' | 'fillcolor';
@@ -215,6 +329,116 @@ declare interface ColorAnimationConfig extends BaseAnimationConfig {
215
329
  color?: string;
216
330
  }
217
331
 
332
+ /**
333
+ * Per-layout colour map override (`p:clrMapOvr` > `a:overrideClrMapping`)
334
+ * - remaps the presentation's colour slots for one layout
335
+ * - all twelve attributes are required by the schema, so anything left unset is filled from the
336
+ * identity map (which is what inheriting the master's mapping means)
337
+ */
338
+ declare interface ColorMapOverrideProps {
339
+ bg1?: ColorSchemeIndex;
340
+ tx1?: ColorSchemeIndex;
341
+ bg2?: ColorSchemeIndex;
342
+ tx2?: ColorSchemeIndex;
343
+ accent1?: ColorSchemeIndex;
344
+ accent2?: ColorSchemeIndex;
345
+ accent3?: ColorSchemeIndex;
346
+ accent4?: ColorSchemeIndex;
347
+ accent5?: ColorSchemeIndex;
348
+ accent6?: ColorSchemeIndex;
349
+ hlink?: ColorSchemeIndex;
350
+ folHlink?: ColorSchemeIndex;
351
+ }
352
+
353
+ /**
354
+ * A color given as an object so the non-hex DrawingML color kinds are reachable
355
+ * - exactly one specification field identifies the color; that is what distinguishes a color
356
+ * object from a fill object at runtime
357
+ * @example { hex: 'FF0000', alpha: 50 }
358
+ * @example { scheme: 'accent1', lumMod: 60, lumOff: 40 }
359
+ * @example { preset: 'cornflowerBlue' }
360
+ * @example { hsl: { hue: 210, sat: 80, lum: 50 }, shade: 25 }
361
+ */
362
+ declare type ColorProps =
363
+ /** 6-digit hex (`a:srgbClr`) */
364
+ ({
365
+ hex: HexColor;
366
+ } & ColorTransformProps)
367
+ /** theme slot (`a:schemeClr`) */
368
+ | ({
369
+ scheme: SchemeColorValue;
370
+ } & ColorTransformProps)
371
+ /** system color such as `windowText`, with an optional last-known value (`a:sysClr`) */
372
+ | ({
373
+ system: string;
374
+ lastColor?: HexColor;
375
+ } & ColorTransformProps)
376
+ /** one of the 140 preset color names (`a:prstClr`) */
377
+ | ({
378
+ preset: string;
379
+ } & ColorTransformProps)
380
+ /** hue/saturation/luminance; hue in degrees, the rest percent (`a:hslClr`) */
381
+ | ({
382
+ hsl: {
383
+ hue: number;
384
+ sat: number;
385
+ lum: number;
386
+ };
387
+ } & ColorTransformProps)
388
+ /** linear-gamma RGB percentages (`a:scrgbClr`) */
389
+ | ({
390
+ scrgb: {
391
+ r: number;
392
+ g: number;
393
+ b: number;
394
+ };
395
+ } & ColorTransformProps);
396
+
397
+ /**
398
+ * ECMA-376 20.1.10.14 ST_ColorSchemeIndex - a slot in the theme's colour scheme
399
+ */
400
+ declare type ColorSchemeIndex = 'dk1' | 'lt1' | 'dk2' | 'lt2' | 'accent1' | 'accent2' | 'accent3' | 'accent4' | 'accent5' | 'accent6' | 'hlink' | 'folHlink';
401
+
402
+ /**
403
+ * Color transforms on a `ColorProps` object (ECMA-376 20.1.2.3, `EG_ColorTransform`)
404
+ * - `tint`/`shade`/`alpha` are 0-100; `*Off` are -100-100; `*Mod` are unbounded scales
405
+ * - `hueOff` is in degrees
406
+ */
407
+ declare interface ColorTransformProps {
408
+ /** lighten toward white (percent) */
409
+ tint?: number;
410
+ /** darken toward black (percent) */
411
+ shade?: number;
412
+ /** opacity (percent); 100 is opaque */
413
+ alpha?: number;
414
+ /** shift opacity (percent, -100 to 100) */
415
+ alphaOff?: number;
416
+ /** scale opacity (percent) */
417
+ alphaMod?: number;
418
+ /** scale luminance (percent) */
419
+ lumMod?: number;
420
+ /** shift luminance (percent, -100 to 100) */
421
+ lumOff?: number;
422
+ /** scale saturation (percent) */
423
+ satMod?: number;
424
+ /** shift saturation (percent, -100 to 100) */
425
+ satOff?: number;
426
+ /** scale hue (percent) */
427
+ hueMod?: number;
428
+ /** shift hue (degrees, -360 to 360) */
429
+ hueOff?: number;
430
+ /** use the complement */
431
+ complement?: boolean;
432
+ /** use the inverse */
433
+ inverse?: boolean;
434
+ /** convert to grayscale */
435
+ grayscale?: boolean;
436
+ /** apply gamma */
437
+ gamma?: boolean;
438
+ /** apply inverse gamma */
439
+ inverseGamma?: boolean;
440
+ }
441
+
218
442
  /** A modern-comment author. MS-PPTX §2.16.3.1 `CT_Author`. */
219
443
  declare interface CommentAuthorProps {
220
444
  /** Author display name (required). */
@@ -365,6 +589,50 @@ declare interface CommentTaskProps {
365
589
  */
366
590
  declare type CompressionLevel = 'none' | 'fast' | 'best';
367
591
 
592
+ /**
593
+ * Where a connector attaches to a shape (`a:stCxn`/`a:endCxn`)
594
+ * - maps onto existing `line.sourceId`/`targetId` via `objectName` at emit time
595
+ */
596
+ declare interface ConnectionProps {
597
+ /** `objectName` of the shape to glue to */
598
+ shape: string;
599
+ /**
600
+ * Which connection site on that shape
601
+ * - a rectangle has 0 (top), 1 (left), 2 (bottom), 3 (right)
602
+ * @default 0
603
+ */
604
+ site?: number;
605
+ }
606
+
607
+ /**
608
+ * Additive connector convenience (`slide.addConnector`)
609
+ * - maps onto `addShape` + `line.isConnector` / sourceId / targetId
610
+ */
611
+ declare interface ConnectorProps extends PositionProps, ObjectNameProps {
612
+ /**
613
+ * Connector geometry
614
+ * @default straightConnector1
615
+ */
616
+ type?: 'line' | 'straightConnector1' | 'bentConnector2' | 'bentConnector3' | 'bentConnector4' | 'bentConnector5' | 'curvedConnector2' | 'curvedConnector3' | 'curvedConnector4' | 'curvedConnector5';
617
+ /** line formatting, including arrow heads */
618
+ line?: ShapeLineProps;
619
+ /**
620
+ * Rotation in degrees
621
+ * @default 0
622
+ */
623
+ rotate?: number;
624
+ flipH?: boolean;
625
+ flipV?: boolean;
626
+ /** glue the start of the connector to a shape (`objectName`) */
627
+ start?: ConnectionProps;
628
+ /** glue the end of the connector to a shape (`objectName`) */
629
+ end?: ConnectionProps;
630
+ /** theme style references (`p:style`) */
631
+ styleRef?: ShapeStyleProps;
632
+ shadow?: ShadowProps;
633
+ fill?: ShapeFillProps;
634
+ }
635
+
368
636
  /** ST_BlackWhiteMode values accepted on `p:contentPart` (MS-PPTX §2.3.2.2). */
369
637
  declare type ContentPartBwMode = 'clr' | 'auto' | 'gray' | 'ltGray' | 'invGray' | 'grayWhite' | 'blackGray' | 'blackWhite' | 'black' | 'white' | 'hidden';
370
638
 
@@ -382,15 +650,7 @@ declare interface ContentPartProps extends PositionProps, ObjectNameProps {
382
650
  altText?: string;
383
651
  }
384
652
 
385
- /**
386
- * Coordinate number - either:
387
- * - Inches (0-n)
388
- * - Percentage (0-100)
389
- *
390
- * @example 10.25 // coordinate in inches
391
- * @example '75%' // coordinate as percentage of slide size
392
- */
393
- declare type Coord = number | `${number}%`;
653
+ declare type Coord = number | `${number}%` | UnitLength;
394
654
 
395
655
  /**
396
656
  * Either `data` or `path` is required
@@ -445,6 +705,50 @@ declare interface DesignerTag {
445
705
  val: string;
446
706
  }
447
707
 
708
+ /**
709
+ * Additional document properties (ECMA-376 15.2 and the OPC core properties)
710
+ * - each is omitted when unset, so `docProps` output is unchanged by default
711
+ */
712
+ declare interface DocumentProps {
713
+ /** `dc:description` - the Comments field in PowerPoint's Info pane */
714
+ description?: string;
715
+ /** `dc:language`, ex: 'en-US' */
716
+ language?: string;
717
+ /** `dc:identifier` */
718
+ identifier?: string;
719
+ /** `cp:keywords`, comma-separated */
720
+ keywords?: string;
721
+ /** `cp:category` */
722
+ category?: string;
723
+ /** `cp:contentStatus`, ex: 'Draft' */
724
+ contentStatus?: string;
725
+ /** `cp:version` */
726
+ version?: string;
727
+ /** `cp:lastPrinted`, ISO 8601 */
728
+ lastPrinted?: string;
729
+ /** `Manager` in app.xml */
730
+ manager?: string;
731
+ /** `Template` in app.xml */
732
+ template?: string;
733
+ /** `HyperlinkBase` in app.xml - the base for relative hyperlinks */
734
+ hyperlinkBase?: string;
735
+ /** `TotalTime` in app.xml - editing time in minutes */
736
+ totalEditTime?: number;
737
+ }
738
+
739
+ /**
740
+ * Composed effect graph (`a:effectDag`, ECMA-376 Part 1 §20.1.8.25 CT_EffectContainer)
741
+ * - `a:effectLst` and `a:effectDag` are alternatives in the schema, so setting this emits the
742
+ * shape's effects inside `a:effectDag` instead of `a:effectLst`
743
+ */
744
+ declare interface EffectDagProps {
745
+ /**
746
+ * Whether the contained effects apply to siblings or to the whole tree
747
+ * @default sib
748
+ */
749
+ type?: 'sib' | 'tree';
750
+ }
751
+
448
752
  /** Font file formats supported by embedded TrueType fonts (`addFont`) */
449
753
  declare type EmbedFontType = 'ttf' | 'otf' | 'woff' | 'eot';
450
754
 
@@ -454,6 +758,18 @@ declare type EntranceAnimation = 'appear' | 'fadein' | 'flyin' | 'floatin' | 'sp
454
758
 
455
759
  declare type ExitAnimation = 'disappear' | 'fadeout' | 'flyout' | 'floatout' | 'splitexit' | 'wipeexit' | 'shapeexit' | 'wheelexit' | 'randombarsexit' | 'shrinkandturn' | 'zoomexit' | 'swivelexit' | 'bounceexit';
456
760
 
761
+ /**
762
+ * Fill-overlay effect (`a:fillOverlay`, ECMA-376 Part 1 §20.1.8.29 CT_FillOverlayEffect)
763
+ * - blends a second fill over the shape's own fill
764
+ * - both properties are required by the schema, so a partial value is not emitted
765
+ */
766
+ declare interface FillOverlayProps {
767
+ /** Blend mode */
768
+ blend: 'over' | 'mult' | 'screen' | 'darken' | 'lighten';
769
+ /** The fill blended over the shape */
770
+ fill: ShapeFillProps;
771
+ }
772
+
457
773
  declare interface FloatAnimationConfig extends BaseAnimationConfig {
458
774
  type: 'floatin' | 'floatout';
459
775
  direction?: FloatDirection;
@@ -477,6 +793,7 @@ declare interface Group {
477
793
  addText(text: string | TextProps[], options?: TextPropsOptions): Group;
478
794
  addImage(options: ImageProps): Group;
479
795
  addGroup(options: GroupProps, build?: (group: Group) => void): Group;
796
+ addConnector(options?: ConnectorProps): Group;
480
797
  }
481
798
 
482
799
  /**
@@ -493,6 +810,11 @@ declare interface GroupProps extends PositionProps, ObjectNameProps {
493
810
  * Group shadow (`a:effectLst` on `p:grpSpPr`)
494
811
  */
495
812
  shadow?: ShadowProps;
813
+ /**
814
+ * Group fill (`EG_FillProperties` on `p:grpSpPr`)
815
+ * - child shapes can inherit this with `fill: { type: 'group' }`
816
+ */
817
+ fill?: ShapeFillProps;
496
818
  /** @internal child objects collected by `addGroup` */
497
819
  _objects?: ISlideObject[];
498
820
  }
@@ -551,6 +873,42 @@ declare interface HyperlinkProps {
551
873
  * Hyperlink Tooltip
552
874
  */
553
875
  tooltip?: string;
876
+ /**
877
+ * Highlight the link when clicked
878
+ * @default false
879
+ */
880
+ highlightClick?: boolean;
881
+ /**
882
+ * Stop any playing sounds when the link is clicked
883
+ * @default false
884
+ */
885
+ stopSoundsOnClick?: boolean;
886
+ /**
887
+ * Sound played when the link is triggered (`a:snd`)
888
+ * - must be WAV data; ECMA-376 20.1.2.2.32 allows no other format here
889
+ */
890
+ sound?: HyperlinkSoundProps;
891
+ }
892
+
893
+ declare interface HyperlinkSoundProps {
894
+ /**
895
+ * WAV audio data (base64), with a mime header
896
+ * - one of `data` or `path` is required
897
+ * @example 'audio/wav;base64,UklGRi...'
898
+ */
899
+ data?: string;
900
+ /**
901
+ * WAV file path or URL
902
+ * - one of `data` or `path` is required
903
+ */
904
+ path?: string;
905
+ /**
906
+ * Sound name PowerPoint shows in the Action dialog
907
+ * @default 'sound.wav'
908
+ */
909
+ name?: string;
910
+ /** relationship id resolved when the object is created @internal */
911
+ _sndRId?: number;
554
912
  }
555
913
 
556
914
  declare interface IChartAreaProps extends IChartPropsFillLine {
@@ -569,12 +927,26 @@ declare interface IChartMulti {
569
927
  options: IChartOptsLib;
570
928
  }
571
929
 
572
- declare interface IChartOpts extends IChartPropsAxisCat, IChartPropsAxisSer, IChartPropsAxisVal, IChartPropsBase, IChartPropsChartBar, IChartPropsChartDoughnut, IChartPropsChartLine, IChartPropsChartPie, IChartPropsChartRadar, IChartPropsDataLabel, IChartPropsDataTable, IChartPropsLegend, IChartPropsTitle, ObjectNameProps, OptsChartGridLine, PositionProps {
930
+ declare interface IChartOpts extends IChartPropsAxisCat, IChartPropsAxisSer, IChartPropsAxisVal, IChartPropsBase, IChartPropsChartBar, IChartPropsChartDoughnut, IChartPropsChartEx, IChartPropsChartLine, IChartPropsChartPie, IChartPropsChartRadar, IChartPropsDataLabel, IChartPropsDataTable, IChartPropsLegend, IChartPropsTitle, ObjectNameProps, OptsChartGridLine, PositionProps {
573
931
  /**
574
932
  * Alt Text value ("How would you describe this object and its contents to someone who is blind?")
575
933
  * - PowerPoint: [right-click on a chart] > "Edit Alt Text..."
576
934
  */
577
935
  altText?: string;
936
+ /**
937
+ * Which entry of PowerPoint's Chart Styles gallery is selected (`cs:chartStyle@id`)
938
+ * - the style *definitions* written are Office's defaults regardless of this id, so it selects
939
+ * the gallery entry rather than changing the formatting
940
+ * - opt-in for classic `c:chart` parts; ChartEx layouts always emit style/colors parts
941
+ * @default 201
942
+ */
943
+ chartStyle?: number;
944
+ /**
945
+ * Chart colour style (`ppt/charts/colorsN.xml`)
946
+ * - distinct from `chartColors`, which sets the series colours directly on the chart
947
+ * - opt-in for classic `c:chart` parts; ChartEx layouts always emit style/colors parts
948
+ */
949
+ chartColorStyle?: ChartColorStyleProps;
578
950
  /**
579
951
  * Animation configuration
580
952
  * - Can be a simple animation name or full configuration object
@@ -589,7 +961,7 @@ declare interface IChartOpts extends IChartPropsAxisCat, IChartPropsAxisSer, ICh
589
961
  }
590
962
 
591
963
  declare interface IChartOptsLib extends IChartOpts {
592
- _type?: CHART_NAME | IChartMulti[];
964
+ _type?: CHART_NAME | CHARTEX_NAME | IChartMulti[];
593
965
  }
594
966
 
595
967
  declare interface IChartPropsAxisCat {
@@ -861,6 +1233,44 @@ declare interface IChartPropsChartDoughnut {
861
1233
  holeSize?: number;
862
1234
  }
863
1235
 
1236
+ /**
1237
+ * Options for the PowerPoint 2016+ chartex layouts (waterfall, funnel, treemap, sunburst, histogram,
1238
+ * box & whisker). Each is ignored by every other chart type.
1239
+ * @see MS-ODRAWXML 2.1
1240
+ */
1241
+ declare interface IChartPropsChartEx {
1242
+ /**
1243
+ * MS-PPT > Chart Type > Histogram > Format Axis > "Number of bins"
1244
+ * - fixed bin count; ignored when `chartExBinSize` is set
1245
+ * - omit both to let PowerPoint choose the bins
1246
+ * @example 8
1247
+ */
1248
+ chartExBinCount?: number;
1249
+ /**
1250
+ * MS-PPT > Chart Type > Histogram > Format Axis > "Bin width"
1251
+ * - fixed bin width, in value-axis units; takes precedence over `chartExBinCount`
1252
+ * @example 5
1253
+ */
1254
+ chartExBinSize?: number;
1255
+ /**
1256
+ * MS-PPT > Chart Type > Box & Whisker > Format Data Series > "Show mean line"
1257
+ * @default false
1258
+ */
1259
+ chartExMeanLine?: boolean;
1260
+ /**
1261
+ * MS-PPT > Chart Type > Treemap > Format Data Series > "Treemap Label Options"
1262
+ * - how a parent category label is drawn over its children
1263
+ * @default overlapping
1264
+ */
1265
+ chartExParentLabels?: 'none' | 'overlapping' | 'banner';
1266
+ /**
1267
+ * MS-PPT > Chart Type > Waterfall > "Set as Total"
1268
+ * - zero-based indexes of the data points drawn as absolute totals rather than deltas
1269
+ * @example [0, 4] // first and fifth bars are totals
1270
+ */
1271
+ chartExSubtotals?: number[];
1272
+ }
1273
+
864
1274
  declare interface IChartPropsChartLine {
865
1275
  /**
866
1276
  * MS-PPT > Chart format > Format Data Series > Line > Cap type
@@ -1019,6 +1429,24 @@ declare interface IChartPropsTitle extends TextBaseProps {
1019
1429
  titleRotate?: number;
1020
1430
  }
1021
1431
 
1432
+ /**
1433
+ * Alpha (transparency) effects applied to an image's `a:blip`
1434
+ * - allowed on `a:blip` and inside `a:effectDag`, not in `a:effectLst`
1435
+ */
1436
+ declare interface ImageAlphaEffectProps {
1437
+ /**
1438
+ * Replace every alpha value with this one (`a:alphaRepl`)
1439
+ * - percent, 0 (fully transparent) to 100 (fully opaque)
1440
+ */
1441
+ replace?: number;
1442
+ /** Invert the alpha channel (`a:alphaInv`) */
1443
+ invert?: boolean;
1444
+ /** Force alpha values below 100% to fully transparent (`a:alphaFloor`) */
1445
+ floor?: boolean;
1446
+ /** Force alpha values above 0% to fully opaque (`a:alphaCeiling`) */
1447
+ ceiling?: boolean;
1448
+ }
1449
+
1022
1450
  declare interface ImageProps extends PositionProps, DataOrPathProps, ObjectNameProps, AppearOnClickProps, NvPrExtensionProps {
1023
1451
  /**
1024
1452
  * Alt Text value ("How would you describe this object and its contents to someone who is blind?")
@@ -1036,6 +1464,12 @@ declare interface ImageProps extends PositionProps, DataOrPathProps, ObjectNameP
1036
1464
  */
1037
1465
  flipV?: boolean;
1038
1466
  hyperlink?: HyperlinkProps;
1467
+ /**
1468
+ * Mouse-over action, configured like `hyperlink` but triggered on hover
1469
+ * - PowerPoint's Insert > Action > Mouse Over tab
1470
+ * @example { hyperlinkHover: { slide: 3, tooltip: 'Jump to results' } }
1471
+ */
1472
+ hyperlinkHover?: HyperlinkProps;
1039
1473
  /**
1040
1474
  * Image outline/border (a picture frame)
1041
1475
  * @example { color: '696969', width: 2 } // 2pt dim-gray border
@@ -1096,6 +1530,31 @@ declare interface ImageProps extends PositionProps, DataOrPathProps, ObjectNameP
1096
1530
  * Blur effect (`a:blur` in picture `effectLst`)
1097
1531
  */
1098
1532
  blur?: BlurProps;
1533
+ /**
1534
+ * Fill blended over the image's own fill (`a:fillOverlay`)
1535
+ * @example { blend: 'mult', fill: { color: 'FF0000', transparency: 50 } }
1536
+ */
1537
+ fillOverlay?: FillOverlayProps;
1538
+ /**
1539
+ * Emit the effects as a composed effect graph (`a:effectDag`) rather than an `a:effectLst`
1540
+ */
1541
+ effectDag?: EffectDagProps;
1542
+ /**
1543
+ * Alpha (transparency) effects applied to the image itself (`a:blip`)
1544
+ * @example { invert: true }
1545
+ */
1546
+ alphaEffects?: ImageAlphaEffectProps;
1547
+ /**
1548
+ * Recolor and correction effects applied to the image itself (`a:blip`)
1549
+ * - distinct from SVG path `fill` recolor
1550
+ * @example { grayscale: true, brightness: 20, contrast: -10 }
1551
+ */
1552
+ recolor?: ImageRecolorProps;
1553
+ /**
1554
+ * Theme style references (`p:style`)
1555
+ * @example { fill: 1, line: 2, effect: 0, font: 'minor' }
1556
+ */
1557
+ styleRef?: ShapeStyleProps;
1099
1558
  /**
1100
1559
  * Image sizing options
1101
1560
  */
@@ -1158,6 +1617,50 @@ declare interface ImageProps extends PositionProps, DataOrPathProps, ObjectNameP
1158
1617
  animation?: string | AnimationConfig;
1159
1618
  }
1160
1619
 
1620
+ /**
1621
+ * Recolor and correction effects applied to an image's `a:blip`
1622
+ * - PowerPoint Picture Format > Color / Corrections
1623
+ * - named `recolor` so it does not collide with SVG path `fill` recolor
1624
+ * - artistic effects are not implemented (MS-ODRAWXML + required pre-rendered `a14:imgLayer`)
1625
+ */
1626
+ declare interface ImageRecolorProps {
1627
+ /**
1628
+ * Map the image onto two colours (`a:duotone`)
1629
+ * - the schema requires exactly two, so anything else is dropped
1630
+ * @example ['000000', 'FFFFFF']
1631
+ */
1632
+ duotone?: [Color, Color];
1633
+ /** Convert to greyscale (`a:grayscl`) */
1634
+ grayscale?: boolean;
1635
+ /**
1636
+ * Brightness, percent -100 to 100 (`a:lum@bright`)
1637
+ * @default 0
1638
+ */
1639
+ brightness?: number;
1640
+ /**
1641
+ * Contrast, percent -100 to 100 (`a:lum@contrast`)
1642
+ * @default 0
1643
+ */
1644
+ contrast?: number;
1645
+ /**
1646
+ * Reduce to two tones at this threshold, percent 0 to 100 (`a:biLevel@thresh`)
1647
+ */
1648
+ blackWhiteThreshold?: number;
1649
+ /**
1650
+ * Replace one colour with another (`a:clrChange`)
1651
+ * - both colours are required by the schema
1652
+ */
1653
+ colorChange?: {
1654
+ from: Color;
1655
+ to: Color;
1656
+ /**
1657
+ * Whether the alpha channel takes part in the comparison (`@useA`)
1658
+ * @default true
1659
+ */
1660
+ useAlpha?: boolean;
1661
+ };
1662
+ }
1663
+
1161
1664
  /** Ink content part (MS-PPTX §2.2.3.1). Opt-in; emits `mc:AlternateContent` with a `pic` fallback. */
1162
1665
  declare interface InkProps extends ContentPartProps {
1163
1666
  /** Cover/thumbnail image for the mandated `pic` fallback (base64 data URI). */
@@ -1183,9 +1686,20 @@ declare interface ISlideObject {
1183
1686
  image?: string;
1184
1687
  imageRid?: number;
1185
1688
  hyperlink?: HyperlinkProps;
1689
+ /**
1690
+ * Mouse-over action, configured like `hyperlink` but triggered on hover
1691
+ * - PowerPoint's Insert > Action > Mouse Over tab
1692
+ */
1693
+ hyperlinkHover?: HyperlinkProps;
1186
1694
  media?: string;
1187
1695
  mtype?: MediaType;
1188
1696
  mediaRid?: number;
1697
+ /**
1698
+ * rId of the media frame's preview image - the media source kinds push different numbers of
1699
+ * relationships, so the cover cannot be derived from `mediaRid`
1700
+ * @internal
1701
+ */
1702
+ _coverRid?: number;
1189
1703
  shape?: SHAPE_NAME;
1190
1704
  /** @internal group children (`p:grpSp`) */
1191
1705
  _objects?: ISlideObject[];
@@ -1228,7 +1742,7 @@ declare interface ISlideRel {
1228
1742
  }
1229
1743
 
1230
1744
  declare interface ISlideRelChart extends OptsChartData {
1231
- type: CHART_NAME | IChartMulti[];
1745
+ type: CHART_NAME | CHARTEX_NAME | IChartMulti[];
1232
1746
  opts: IChartOptsLib;
1233
1747
  data: IOptsChartData[];
1234
1748
  rId: number;
@@ -1245,6 +1759,12 @@ declare interface ISlideRelMedia {
1245
1759
  data?: string | ArrayBuffer;
1246
1760
  /** used to indicate that a media file has already been read/enocded (PERF) */
1247
1761
  isDuplicate?: boolean;
1762
+ /**
1763
+ * Media referenced rather than embedded: the relationship is written `TargetMode="External"`
1764
+ * and no part is added to the package
1765
+ * @internal
1766
+ */
1767
+ isLinked?: boolean;
1248
1768
  isSvgPng?: boolean;
1249
1769
  /** SVG path recolor (Martin-N) — applied when encoding SVG media */
1250
1770
  fill?: ShapeFillProps;
@@ -1258,6 +1778,18 @@ declare interface ISlideRelMedia {
1258
1778
 
1259
1779
  declare type JSZIP_OUTPUT_TYPE = 'arraybuffer' | 'base64' | 'binarystring' | 'blob' | 'nodebuffer' | 'uint8array';
1260
1780
 
1781
+ /**
1782
+ * East Asian line-breaking rules (`p:kinsoku`)
1783
+ */
1784
+ declare interface KinsokuProps {
1785
+ /** language the rules apply to, ex: 'ja-JP' */
1786
+ lang?: string;
1787
+ /** characters that may not start a line */
1788
+ invalidStartChars?: string;
1789
+ /** characters that may not end a line */
1790
+ invalidEndChars?: string;
1791
+ }
1792
+
1261
1793
  /** A laser-pointer sample. MS-PPTX §2.3.3.9 `CT_LaserTracePoint`. `t` is ms; `x`/`y` are EMU. */
1262
1794
  declare interface LaserTracePoint {
1263
1795
  /** Time from the start of the slide timeline, in milliseconds. */
@@ -1268,6 +1800,9 @@ declare interface LaserTracePoint {
1268
1800
  y: number;
1269
1801
  }
1270
1802
 
1803
+ /** ECMA-376 ST_LineEndWidth / ST_LineEndLength */
1804
+ declare type LineArrowSize = 'sm' | 'med' | 'lg';
1805
+
1271
1806
  declare type Margin = number | [number, number, number, number];
1272
1807
 
1273
1808
  /**
@@ -1381,9 +1916,29 @@ declare interface MediaProps extends PositionProps, DataOrPathProps, ObjectNameP
1381
1916
  * @default false
1382
1917
  */
1383
1918
  mute?: boolean;
1919
+ /**
1920
+ * MIME type of the referenced media (`a:audioFile@contentType`, `a:videoFile@contentType`)
1921
+ * @example 'video/mp4'
1922
+ */
1923
+ contentType?: string;
1924
+ /**
1925
+ * CD audio track range - required when `type` is `audioCd`
1926
+ * @example { start: { track: 1 }, end: { track: 1, time: 30 } }
1927
+ */
1928
+ audioCd?: AudioCdProps;
1929
+ /**
1930
+ * Mark the media frame as a photo (`p:nvPr@isPhoto`)
1931
+ * @default false
1932
+ */
1933
+ isPhoto?: boolean;
1934
+ /**
1935
+ * Mark the media frame as author-placed rather than layout furniture (`p:nvPr@userDrawn`)
1936
+ * @default false
1937
+ */
1938
+ userDrawn?: boolean;
1384
1939
  }
1385
1940
 
1386
- declare type MediaType = 'audio' | 'online' | 'video';
1941
+ declare type MediaType = 'audio' | 'online' | 'video' | 'audioCd' | 'wav';
1387
1942
 
1388
1943
  /**
1389
1944
  * Theme/hex color with DrawingML color transforms (`a:tint`, `a:shade`, `a:lumMod`, …)
@@ -1427,6 +1982,27 @@ declare interface ModifiedThemeColor {
1427
1982
  gamma?: boolean;
1428
1983
  }
1429
1984
 
1985
+ /**
1986
+ * Non-visual drawing properties beyond the name (ECMA-376 19.3.1.12 `p:cNvPr`)
1987
+ */
1988
+ declare interface NonVisualProps {
1989
+ /**
1990
+ * Alt-text *title*, distinct from the description
1991
+ * - PowerPoint: right-click > Edit Alt Text
1992
+ */
1993
+ title?: string;
1994
+ /**
1995
+ * Hide the shape
1996
+ * - it stays in the file and can be re-shown from the selection pane
1997
+ * @default false
1998
+ */
1999
+ hidden?: boolean;
2000
+ /**
2001
+ * Editing locks for this shape
2002
+ */
2003
+ lock?: ShapeLockProps;
2004
+ }
2005
+
1430
2006
  /**
1431
2007
  * Opt-in MS-PPTX nvPr extensions: designElem (§2.2.17), classification (§2.2.18),
1432
2008
  * designPr (§2.2.19), and phTypeExt (§2.22). Classification is never defaulted.
@@ -1454,7 +2030,7 @@ declare interface NvPrExtensionProps {
1454
2030
  phTypeExt?: PlaceholderTypeExt;
1455
2031
  }
1456
2032
 
1457
- declare interface ObjectNameProps {
2033
+ declare interface ObjectNameProps extends NonVisualProps {
1458
2034
  /**
1459
2035
  * Object name
1460
2036
  * - used instead of default "Object N" name
@@ -1483,6 +2059,12 @@ declare interface ObjectNameProps {
1483
2059
  declare interface ObjectOptions extends ImageProps, PositionProps, ShapeProps, TableCellProps, TextPropsOptions {
1484
2060
  _placeholderIdx?: number;
1485
2061
  _placeholderType?: PLACEHOLDER_TYPE;
2062
+ /** placeholder text direction (`p:ph@orient`) */
2063
+ orient?: 'horz' | 'vert';
2064
+ /** placeholder size (`p:ph@sz`) */
2065
+ sz?: 'full' | 'half' | 'quarter';
2066
+ /** author-placed rather than layout furniture (`p:nvPr@userDrawn`) */
2067
+ userDrawn?: boolean;
1486
2068
  /** image added without `w`/`h`: size it from the image itself during export @internal */
1487
2069
  _sizeFromImage?: boolean;
1488
2070
  /** Caller set this axis; placeholder geometry must not overwrite it. */
@@ -1512,6 +2094,14 @@ declare interface ObjectOptions extends ImageProps, PositionProps, ShapeProps, T
1512
2094
  loop?: boolean;
1513
2095
  fullScreen?: boolean;
1514
2096
  mute?: boolean;
2097
+ /** MIME type of referenced media (`a:audioFile@contentType`) @internal */
2098
+ contentType?: string;
2099
+ /** CD audio track range (`a:audioCd`) @internal */
2100
+ audioCd?: AudioCdProps;
2101
+ /** media frame marked as a photo (`p:nvPr@isPhoto`) @internal */
2102
+ isPhoto?: boolean;
2103
+ /** media referenced rather than embedded @internal */
2104
+ isLinked?: boolean;
1515
2105
  returnToParent?: boolean;
1516
2106
  showBg?: boolean;
1517
2107
  transitionDur?: number;
@@ -1658,8 +2248,58 @@ declare enum OutputType {
1658
2248
  'uint8array' = "uint8array"
1659
2249
  }
1660
2250
 
2251
+ /**
2252
+ * Paragraph attributes beyond margins/alignment (`a:pPr`, ECMA-376 21.1.2.2.7)
2253
+ */
2254
+ declare interface ParagraphProps {
2255
+ /**
2256
+ * Right margin in inches (`a:pPr@marR`)
2257
+ */
2258
+ marR?: number;
2259
+ /**
2260
+ * Default tab stop interval in inches (`a:pPr@defTabSz`)
2261
+ */
2262
+ defTabSz?: number;
2263
+ /**
2264
+ * Baseline alignment of glyphs within the line (`a:pPr@fontAlgn`)
2265
+ */
2266
+ fontAlgn?: 'auto' | 't' | 'ctr' | 'base' | 'b';
2267
+ /**
2268
+ * Apply East Asian line-breaking rules (`a:pPr@eaLnBrk`)
2269
+ * - schema default is true; written only when turned off
2270
+ * @default true
2271
+ */
2272
+ eaLnBrk?: boolean;
2273
+ /**
2274
+ * Allow Latin words to break across lines (`a:pPr@latinLnBrk`)
2275
+ * - schema default is true; written only when turned off
2276
+ * @default true
2277
+ */
2278
+ latinLnBrk?: boolean;
2279
+ /**
2280
+ * Apply hanging punctuation (`a:pPr@hangingPunct`)
2281
+ * - schema default is true; written only when turned off
2282
+ * @default true
2283
+ */
2284
+ hangingPunct?: boolean;
2285
+ }
2286
+
1661
2287
  declare type PathAnimation = 'pathdown' | 'patharcdown' | 'pathturnright' | 'pathcircle' | 'pathzigzag';
1662
2288
 
2289
+ /**
2290
+ * Photo-album mode (`p:photoAlbum`)
2291
+ */
2292
+ declare interface PhotoAlbumProps {
2293
+ /** render in black and white */
2294
+ blackWhite?: boolean;
2295
+ /** show captions below each picture */
2296
+ showCaptions?: boolean;
2297
+ /** pictures per slide and orientation */
2298
+ layout?: 'fitToSlide' | '1pic' | '2pic' | '4pic' | '1picTitle' | '2picTitle' | '4picTitle';
2299
+ /** frame style drawn around each picture */
2300
+ frame?: 'frameStyle1' | 'frameStyle2' | 'frameStyle3' | 'frameStyle4' | 'frameStyle5' | 'frameStyle6' | 'frameStyle7';
2301
+ }
2302
+
1663
2303
  declare type PLACEHOLDER_TYPE = 'title' | 'body' | 'ctrTitle' | 'subTitle' | 'dt' | 'sldNum' | 'ftr' | 'hdr' | 'obj' | 'chart' | 'tbl' | 'clipArt' | 'dgm' | 'media' | 'sldImg' | 'pic';
1664
2304
 
1665
2305
  declare interface PlaceholderProps extends PositionProps, TextBaseProps, NvPrExtensionProps {
@@ -1673,6 +2313,22 @@ declare interface PlaceholderProps extends PositionProps, TextBaseProps, NvPrExt
1673
2313
  * Placeholder background fill. Kept when a slide inherits layout defaults (caller fill wins).
1674
2314
  */
1675
2315
  fill?: ShapeFillProps;
2316
+ /**
2317
+ * Text direction inside the placeholder (`p:ph@orient`)
2318
+ * @default horz
2319
+ */
2320
+ orient?: 'horz' | 'vert';
2321
+ /**
2322
+ * How much of the layout the placeholder covers (`p:ph@sz`)
2323
+ * @default full
2324
+ */
2325
+ sz?: 'full' | 'half' | 'quarter';
2326
+ /**
2327
+ * Mark the placeholder as drawn by the author rather than inherited layout furniture
2328
+ * (`p:nvPr@userDrawn`)
2329
+ * @default false
2330
+ */
2331
+ userDrawn?: boolean;
1676
2332
  }
1677
2333
 
1678
2334
  /** Modern placeholder type extension (`CT_PlaceholderTypeACB`, MS-PPTX §2.22). */
@@ -1792,6 +2448,10 @@ declare class PptxGenJS implements IPresentationProps {
1792
2448
  private _rtlMode;
1793
2449
  set rtlMode(value: boolean);
1794
2450
  get rtlMode(): boolean;
2451
+ /** tableStyles - custom table style definitions written into `ppt/tableStyles.xml` */
2452
+ private _tableStyles?;
2453
+ set tableStyles(value: TableStyleProps[] | undefined);
2454
+ get tableStyles(): TableStyleProps[] | undefined;
1795
2455
  /**
1796
2456
  * Starting slide number (`p:presentation@firstSlideNum`)
1797
2457
  * @default 1
@@ -1848,6 +2508,20 @@ declare class PptxGenJS implements IPresentationProps {
1848
2508
  * @example pptx.notesGuides = [{ orient: 'horz', pos: 2 }]
1849
2509
  */
1850
2510
  notesGuides: GuideProps[];
2511
+ /** Additional document properties written to `docProps`. */
2512
+ documentProps?: DocumentProps;
2513
+ /** Slide-size preset (`p:sldSz@type`). */
2514
+ slideSizeType?: SlideSizeType;
2515
+ /** Photo-album mode (`p:photoAlbum`). */
2516
+ photoAlbum?: PhotoAlbumProps;
2517
+ /** East Asian line-breaking rules (`p:kinsoku`). */
2518
+ kinsoku?: KinsokuProps;
2519
+ /** Print defaults (`p:prnPr` on `presentationPr`). */
2520
+ printProps?: PrintProps;
2521
+ /** Recently-used colours (`p:clrMru` on `presentationPr`). */
2522
+ recentColors?: Color[];
2523
+ /** View properties (`ppt/viewProps.xml`). Unset keeps the previous hardcoded viewPr. */
2524
+ viewProps?: ViewProps;
1851
2525
  /**
1852
2526
  * Modern comment authors (MS-PPTX §2.16). Emitted to `ppt/authors.xml`.
1853
2527
  * Auto-populated from slide `addComment` author names if left empty.
@@ -2048,6 +2722,11 @@ declare interface PresentationProps {
2048
2722
  * @default false
2049
2723
  */
2050
2724
  rtlMode: boolean;
2725
+ /**
2726
+ * Custom table style definitions written into `ppt/tableStyles.xml`
2727
+ * - reference one from a table with `tableStyleId`
2728
+ */
2729
+ tableStyles?: TableStyleProps[];
2051
2730
  /**
2052
2731
  * Starting slide number written to `ppt/presentation.xml` (`firstSlideNum`)
2053
2732
  * - PowerPoint: Design > Slide Size > Custom Slide Size > Number slides from
@@ -2128,6 +2807,35 @@ declare interface PresentationProps {
2128
2807
  subject: string;
2129
2808
  theme?: ThemeProps;
2130
2809
  title: string;
2810
+ /**
2811
+ * Additional document properties written to `docProps`
2812
+ */
2813
+ documentProps?: DocumentProps;
2814
+ /**
2815
+ * Slide-size preset (`p:sldSz@type`)
2816
+ * - the dimensions come from the layout; this records which preset they match
2817
+ */
2818
+ slideSizeType?: SlideSizeType;
2819
+ /**
2820
+ * Photo-album mode (`p:photoAlbum`)
2821
+ */
2822
+ photoAlbum?: PhotoAlbumProps;
2823
+ /**
2824
+ * East Asian line-breaking rules (`p:kinsoku`)
2825
+ */
2826
+ kinsoku?: KinsokuProps;
2827
+ /**
2828
+ * Print defaults stored with the deck (`p:prnPr` on `presentationPr`)
2829
+ */
2830
+ printProps?: PrintProps;
2831
+ /**
2832
+ * Recently-used colours shown in the colour picker (`p:clrMru` on `presentationPr`)
2833
+ */
2834
+ recentColors?: Color[];
2835
+ /**
2836
+ * View properties (`ppt/viewProps.xml`). Unset keeps the previous hardcoded viewPr.
2837
+ */
2838
+ viewProps?: ViewProps;
2131
2839
  }
2132
2840
 
2133
2841
  /**
@@ -2153,7 +2861,7 @@ declare interface PresSlide extends SlideBaseProps {
2153
2861
  _rId: number;
2154
2862
  _slideLayout: SlideLayout;
2155
2863
  _slideId: number;
2156
- addChart: (type: CHART_NAME | IChartMulti[], data: IOptsChartData[], options?: IChartOpts) => PresSlide;
2864
+ addChart: (type: CHART_NAME | CHARTEX_NAME | IChartMulti[], data: IOptsChartData[], options?: IChartOpts) => PresSlide;
2157
2865
  addImage: (options: ImageProps) => PresSlide;
2158
2866
  addMedia: (options: MediaProps) => PresSlide;
2159
2867
  addNotes: (notes: string) => PresSlide;
@@ -2165,6 +2873,11 @@ declare interface PresSlide extends SlideBaseProps {
2165
2873
  * Holds shapes, text, images, and nested groups — not tables, charts, or media.
2166
2874
  */
2167
2875
  addGroup: (options: GroupProps, build?: (group: Group) => void) => PresSlide;
2876
+ /**
2877
+ * Connector shape (`p:cxnSp`). Additive convenience over `line.isConnector`.
2878
+ * Glue with `start`/`end` `objectName`s, or pass numeric `line.sourceId`/`targetId`.
2879
+ */
2880
+ addConnector: (options?: ConnectorProps) => PresSlide;
2168
2881
  /**
2169
2882
  * WordArt: text with a warp (`presetShape` / `a:prstTxWarp`) and/or a gradient run fill.
2170
2883
  * Defaults to centered `textNoShape` (no transform) unless `options` override them.
@@ -2280,6 +2993,22 @@ declare interface PresSlide extends SlideBaseProps {
2280
2993
  designTags?: DesignerTag[];
2281
2994
  }
2282
2995
 
2996
+ /**
2997
+ * Print defaults stored with the deck (`p:prnPr` on `presentationPr`)
2998
+ */
2999
+ declare interface PrintProps {
3000
+ /** what to print */
3001
+ what?: 'slides' | 'handouts1' | 'handouts2' | 'handouts3' | 'handouts4' | 'handouts6' | 'handouts9' | 'notes' | 'outline';
3002
+ /** colour mode */
3003
+ colorMode?: 'bw' | 'gray' | 'clr';
3004
+ /** include hidden slides */
3005
+ hiddenSlides?: boolean;
3006
+ /** scale to fit the paper */
3007
+ scaleToFitPaper?: boolean;
3008
+ /** draw a frame around each slide */
3009
+ frameSlides?: boolean;
3010
+ }
3011
+
2283
3012
  declare interface RandomBarsAnimationConfig extends BaseAnimationConfig {
2284
3013
  type: 'randombars' | 'randombarsexit';
2285
3014
  direction?: 'horizontal' | 'vertical';
@@ -2361,9 +3090,19 @@ declare enum SchemeColor {
2361
3090
  'accent3' = "accent3",
2362
3091
  'accent4' = "accent4",
2363
3092
  'accent5' = "accent5",
2364
- 'accent6' = "accent6"
3093
+ 'accent6' = "accent6",
3094
+ 'dk1' = "dk1",
3095
+ 'lt1' = "lt1",
3096
+ 'dk2' = "dk2",
3097
+ 'lt2' = "lt2",
3098
+ 'hlink' = "hlink",
3099
+ 'folHlink' = "folHlink",
3100
+ 'phClr' = "phClr"
2365
3101
  }
2366
3102
 
3103
+ /** Every `a:schemeClr@val` slot (ECMA-376 20.1.10.51 ST_SchemeColorVal) */
3104
+ declare type SchemeColorValue = ThemeColor;
3105
+
2367
3106
  declare interface SectionProps {
2368
3107
  /** @internal managed by the library; consumers only pass `{ title, order? }` */
2369
3108
  _type?: 'user' | 'default';
@@ -2398,7 +3137,12 @@ declare interface ShadowProps {
2398
3137
  * shadow type
2399
3138
  * @default 'none'
2400
3139
  */
2401
- type: 'outer' | 'inner' | 'none';
3140
+ type: 'outer' | 'inner' | 'none' | 'preset';
3141
+ /**
3142
+ * Preset shadow name, required when `type` is `preset` (`a:prstShdw@prst`)
3143
+ * - PowerPoint's twenty built-in shadow presets
3144
+ */
3145
+ preset?: 'shdw1' | 'shdw2' | 'shdw3' | 'shdw4' | 'shdw5' | 'shdw6' | 'shdw7' | 'shdw8' | 'shdw9' | 'shdw10' | 'shdw11' | 'shdw12' | 'shdw13' | 'shdw14' | 'shdw15' | 'shdw16' | 'shdw17' | 'shdw18' | 'shdw19' | 'shdw20';
2402
3146
  /**
2403
3147
  * opacity (percent)
2404
3148
  * - range: 0.0-1.0
@@ -2435,7 +3179,7 @@ declare interface ShadowProps {
2435
3179
  rotateWithShape?: boolean;
2436
3180
  }
2437
3181
 
2438
- declare type SHAPE_NAME = 'accentBorderCallout1' | 'accentBorderCallout2' | 'accentBorderCallout3' | 'accentCallout1' | 'accentCallout2' | 'accentCallout3' | 'accentCallout4' | 'accentBorderCallout4' | 'actionButtonBackPrevious' | 'actionButtonBeginning' | 'actionButtonBlank' | 'actionButtonDocument' | 'actionButtonEnd' | 'actionButtonForwardNext' | 'actionButtonHelp' | 'actionButtonHome' | 'actionButtonInformation' | 'actionButtonMovie' | 'actionButtonReturn' | 'actionButtonSound' | 'arc' | 'bentArrow' | 'bentUpArrow' | 'bevel' | 'blockArc' | 'borderCallout1' | 'borderCallout2' | 'borderCallout3' | 'borderCallout4' | 'bracePair' | 'bracketPair' | 'callout1' | 'callout2' | 'callout3' | 'callout4' | 'can' | 'chartPlus' | 'chartStar' | 'chartX' | 'chevron' | 'chord' | 'circularArrow' | 'cloud' | 'cloudCallout' | 'corner' | 'cornerTabs' | 'cube' | 'curvedDownArrow' | 'curvedLeftArrow' | 'curvedRightArrow' | 'curvedUpArrow' | 'custGeom' | 'decagon' | 'diagStripe' | 'diamond' | 'dodecagon' | 'donut' | 'doubleWave' | 'downArrow' | 'downArrowCallout' | 'ellipse' | 'ellipseRibbon' | 'ellipseRibbon2' | 'flowChartAlternateProcess' | 'flowChartCollate' | 'flowChartConnector' | 'flowChartDecision' | 'flowChartDelay' | 'flowChartDisplay' | 'flowChartDocument' | 'flowChartExtract' | 'flowChartInputOutput' | 'flowChartInternalStorage' | 'flowChartMagneticDisk' | 'flowChartMagneticDrum' | 'flowChartMagneticTape' | 'flowChartManualInput' | 'flowChartManualOperation' | 'flowChartMerge' | 'flowChartMultidocument' | 'flowChartOfflineStorage' | 'flowChartOffpageConnector' | 'flowChartOnlineStorage' | 'flowChartOr' | 'flowChartPredefinedProcess' | 'flowChartPreparation' | 'flowChartProcess' | 'flowChartPunchedCard' | 'flowChartPunchedTape' | 'flowChartSort' | 'flowChartSummingJunction' | 'flowChartTerminator' | 'folderCorner' | 'frame' | 'funnel' | 'gear6' | 'gear9' | 'halfFrame' | 'heart' | 'heptagon' | 'hexagon' | 'homePlate' | 'horizontalScroll' | 'irregularSeal1' | 'irregularSeal2' | 'leftArrow' | 'leftArrowCallout' | 'leftBrace' | 'leftBracket' | 'leftCircularArrow' | 'leftRightArrow' | 'leftRightArrowCallout' | 'leftRightCircularArrow' | 'leftRightRibbon' | 'leftRightUpArrow' | 'leftUpArrow' | 'lightningBolt' | 'line' | 'lineInv' | 'mathDivide' | 'mathEqual' | 'mathMinus' | 'mathMultiply' | 'mathNotEqual' | 'mathPlus' | 'moon' | 'noSmoking' | 'nonIsoscelesTrapezoid' | 'notchedRightArrow' | 'octagon' | 'parallelogram' | 'pentagon' | 'pie' | 'pieWedge' | 'plaque' | 'plaqueTabs' | 'plus' | 'quadArrow' | 'quadArrowCallout' | 'rect' | 'ribbon' | 'ribbon2' | 'rightArrow' | 'rightArrowCallout' | 'rightBrace' | 'rightBracket' | 'round1Rect' | 'round2DiagRect' | 'round2SameRect' | 'roundRect' | 'rtTriangle' | 'smileyFace' | 'snip1Rect' | 'snip2DiagRect' | 'snip2SameRect' | 'snipRoundRect' | 'squareTabs' | 'star10' | 'star12' | 'star16' | 'star24' | 'star32' | 'star4' | 'star5' | 'star6' | 'star7' | 'star8' | 'stripedRightArrow' | 'sun' | 'swooshArrow' | 'teardrop' | 'trapezoid' | 'triangle' | 'upArrow' | 'upArrowCallout' | 'upDownArrow' | 'upDownArrowCallout' | 'uturnArrow' | 'verticalScroll' | 'wave' | 'wedgeEllipseCallout' | 'wedgeRectCallout' | 'wedgeRoundRectCallout';
3182
+ declare type SHAPE_NAME = 'accentBorderCallout1' | 'accentBorderCallout2' | 'accentBorderCallout3' | 'accentCallout1' | 'accentCallout2' | 'accentCallout3' | 'accentCallout4' | 'accentBorderCallout4' | 'actionButtonBackPrevious' | 'actionButtonBeginning' | 'actionButtonBlank' | 'actionButtonDocument' | 'actionButtonEnd' | 'actionButtonForwardNext' | 'actionButtonHelp' | 'actionButtonHome' | 'actionButtonInformation' | 'actionButtonMovie' | 'actionButtonReturn' | 'actionButtonSound' | 'arc' | 'bentArrow' | 'bentConnector2' | 'bentConnector3' | 'bentConnector4' | 'bentConnector5' | 'bentUpArrow' | 'bevel' | 'blockArc' | 'borderCallout1' | 'borderCallout2' | 'borderCallout3' | 'borderCallout4' | 'bracePair' | 'bracketPair' | 'callout1' | 'callout2' | 'callout3' | 'callout4' | 'can' | 'chartPlus' | 'chartStar' | 'chartX' | 'chevron' | 'chord' | 'circularArrow' | 'cloud' | 'cloudCallout' | 'corner' | 'cornerTabs' | 'cube' | 'curvedConnector2' | 'curvedConnector3' | 'curvedConnector4' | 'curvedConnector5' | 'curvedDownArrow' | 'curvedLeftArrow' | 'curvedRightArrow' | 'curvedUpArrow' | 'custGeom' | 'decagon' | 'diagStripe' | 'diamond' | 'dodecagon' | 'donut' | 'doubleWave' | 'downArrow' | 'downArrowCallout' | 'ellipse' | 'ellipseRibbon' | 'ellipseRibbon2' | 'flowChartAlternateProcess' | 'flowChartCollate' | 'flowChartConnector' | 'flowChartDecision' | 'flowChartDelay' | 'flowChartDisplay' | 'flowChartDocument' | 'flowChartExtract' | 'flowChartInputOutput' | 'flowChartInternalStorage' | 'flowChartMagneticDisk' | 'flowChartMagneticDrum' | 'flowChartMagneticTape' | 'flowChartManualInput' | 'flowChartManualOperation' | 'flowChartMerge' | 'flowChartMultidocument' | 'flowChartOfflineStorage' | 'flowChartOffpageConnector' | 'flowChartOnlineStorage' | 'flowChartOr' | 'flowChartPredefinedProcess' | 'flowChartPreparation' | 'flowChartProcess' | 'flowChartPunchedCard' | 'flowChartPunchedTape' | 'flowChartSort' | 'flowChartSummingJunction' | 'flowChartTerminator' | 'folderCorner' | 'frame' | 'funnel' | 'gear6' | 'gear9' | 'halfFrame' | 'heart' | 'heptagon' | 'hexagon' | 'homePlate' | 'horizontalScroll' | 'irregularSeal1' | 'irregularSeal2' | 'leftArrow' | 'leftArrowCallout' | 'leftBrace' | 'leftBracket' | 'leftCircularArrow' | 'leftRightArrow' | 'leftRightArrowCallout' | 'leftRightCircularArrow' | 'leftRightRibbon' | 'leftRightUpArrow' | 'leftUpArrow' | 'lightningBolt' | 'line' | 'lineInv' | 'mathDivide' | 'mathEqual' | 'mathMinus' | 'mathMultiply' | 'mathNotEqual' | 'mathPlus' | 'moon' | 'noSmoking' | 'nonIsoscelesTrapezoid' | 'notchedRightArrow' | 'octagon' | 'parallelogram' | 'pentagon' | 'pie' | 'pieWedge' | 'plaque' | 'plaqueTabs' | 'plus' | 'quadArrow' | 'quadArrowCallout' | 'rect' | 'ribbon' | 'ribbon2' | 'rightArrow' | 'rightArrowCallout' | 'rightBrace' | 'rightBracket' | 'round1Rect' | 'round2DiagRect' | 'round2SameRect' | 'roundRect' | 'rtTriangle' | 'smileyFace' | 'snip1Rect' | 'snip2DiagRect' | 'snip2SameRect' | 'snipRoundRect' | 'squareTabs' | 'star10' | 'star12' | 'star16' | 'star24' | 'star32' | 'star4' | 'star5' | 'star6' | 'star7' | 'star8' | 'straightConnector1' | 'stripedRightArrow' | 'sun' | 'swooshArrow' | 'teardrop' | 'trapezoid' | 'triangle' | 'upArrow' | 'upArrowCallout' | 'upDownArrow' | 'upDownArrowCallout' | 'uturnArrow' | 'verticalScroll' | 'wave' | 'wedgeEllipseCallout' | 'wedgeRectCallout' | 'wedgeRoundRectCallout';
2439
3183
 
2440
3184
  declare enum SHAPE_TYPE {
2441
3185
  ACTION_BUTTON_BACK_OR_PREVIOUS = "actionButtonBackPrevious",
@@ -2453,6 +3197,10 @@ declare enum SHAPE_TYPE {
2453
3197
  ARC = "arc",
2454
3198
  BALLOON = "wedgeRoundRectCallout",
2455
3199
  BENT_ARROW = "bentArrow",
3200
+ BENT_CONNECTOR_2 = "bentConnector2",
3201
+ BENT_CONNECTOR_3 = "bentConnector3",
3202
+ BENT_CONNECTOR_4 = "bentConnector4",
3203
+ BENT_CONNECTOR_5 = "bentConnector5",
2456
3204
  BENT_UP_ARROW = "bentUpArrow",
2457
3205
  BEVEL = "bevel",
2458
3206
  BLOCK_ARC = "blockArc",
@@ -2469,6 +3217,10 @@ declare enum SHAPE_TYPE {
2469
3217
  CORNER_TABS = "cornerTabs",
2470
3218
  CROSS = "plus",
2471
3219
  CUBE = "cube",
3220
+ CURVED_CONNECTOR_2 = "curvedConnector2",
3221
+ CURVED_CONNECTOR_3 = "curvedConnector3",
3222
+ CURVED_CONNECTOR_4 = "curvedConnector4",
3223
+ CURVED_CONNECTOR_5 = "curvedConnector5",
2472
3224
  CURVED_DOWN_ARROW = "curvedDownArrow",
2473
3225
  CURVED_DOWN_RIBBON = "ellipseRibbon",
2474
3226
  CURVED_LEFT_ARROW = "curvedLeftArrow",
@@ -2609,6 +3361,7 @@ declare enum SHAPE_TYPE {
2609
3361
  STAR_6_POINT = "star6",
2610
3362
  STAR_7_POINT = "star7",
2611
3363
  STAR_8_POINT = "star8",
3364
+ STRAIGHT_CONNECTOR_1 = "straightConnector1",
2612
3365
  STRIPED_RIGHT_ARROW = "stripedRightArrow",
2613
3366
  SUN = "sun",
2614
3367
  SWOOSH_ARROW = "swooshArrow",
@@ -2654,8 +3407,10 @@ declare interface ShapeFillProps {
2654
3407
  * - `'gradient'` — nested definition via `gradient` (linear + radial)
2655
3408
  * - `'linearGradient'` — flat sambauers/gradients API (`stops`/`angle`/… on this object)
2656
3409
  * - `'pattern'` — pattern fill via `pattern`
3410
+ * - `'image'` — picture fill via `image` (`a:blipFill`)
3411
+ * - `'group'` — inherit the parent group's fill (`a:grpFill`)
2657
3412
  */
2658
- type?: 'none' | 'solid' | 'gradient' | 'linearGradient' | 'pattern';
3413
+ type?: 'none' | 'solid' | 'gradient' | 'linearGradient' | 'pattern' | 'image' | 'group';
2659
3414
  /**
2660
3415
  * Gradient fill definition
2661
3416
  * - required when `type` is `'gradient'` (ignored otherwise)
@@ -2668,6 +3423,14 @@ declare interface ShapeFillProps {
2668
3423
  * @example { type:'pattern', pattern:{ prst:'ltHorz', color:'000000', bgColor:'FFFFFF' } }
2669
3424
  */
2670
3425
  pattern?: ShapePatternProps;
3426
+ /**
3427
+ * Picture fill definition
3428
+ * - required when `type` is `'image'`
3429
+ * @example { type:'image', image:{ data:'image/png;base64,iV[...]', sizing:'tile' } }
3430
+ */
3431
+ image?: ShapeImageFillProps;
3432
+ /** relationship id for a picture fill without a nested `image` object @internal */
3433
+ _rId?: number;
2671
3434
  /**
2672
3435
  * Flat linear-gradient stops (`type: 'linearGradient'`, sambauers/gradients)
2673
3436
  * @example { type:'linearGradient', angle:45, stops:[{position:0,color:'000000'},{position:100,color:'333333'}] }
@@ -2785,6 +3548,46 @@ declare interface ShapeGradientTileRect {
2785
3548
  l?: number;
2786
3549
  }
2787
3550
 
3551
+ /**
3552
+ * Picture fill (`a:blipFill`) for shapes and table cells
3553
+ * - stretch (ECMA-376 20.1.8.56) or tile (20.1.8.58)
3554
+ */
3555
+ declare interface ShapeImageFillProps {
3556
+ /**
3557
+ * Image data (base64), with a mime header
3558
+ * - one of `data` or `path` is required
3559
+ * @example 'image/png;base64,iVBORw0KGgo...'
3560
+ */
3561
+ data?: string;
3562
+ /**
3563
+ * Image path or URL
3564
+ * - one of `data` or `path` is required
3565
+ */
3566
+ path?: string;
3567
+ /**
3568
+ * How the image fills the shape
3569
+ * @default 'stretch'
3570
+ */
3571
+ sizing?: 'stretch' | 'tile';
3572
+ /**
3573
+ * `tile` only: scale applied to each tile (percent)
3574
+ * @default 100
3575
+ */
3576
+ scale?: number;
3577
+ /**
3578
+ * `tile` only: where tiling starts
3579
+ * @default 'tl'
3580
+ */
3581
+ alignment?: 'tl' | 't' | 'tr' | 'l' | 'ctr' | 'r' | 'bl' | 'b' | 'br';
3582
+ /**
3583
+ * Whether the fill rotates with the shape
3584
+ * @default true
3585
+ */
3586
+ rotateWithShape?: boolean;
3587
+ /** relationship id resolved when the object is created @internal */
3588
+ _rId?: number;
3589
+ }
3590
+
2788
3591
  declare interface ShapeLineProps extends ShapeFillProps {
2789
3592
  /**
2790
3593
  * Line width (pt)
@@ -2839,6 +3642,49 @@ declare interface ShapeLineProps extends ShapeFillProps {
2839
3642
  * @example [50000] // mid bend for bentConnector3
2840
3643
  */
2841
3644
  curveadjust?: number[];
3645
+ /** `objectName` of the start shape (resolved to `sourceId` at emit) @internal */
3646
+ _sourceName?: string;
3647
+ /** `objectName` of the end shape (resolved to `targetId` at emit) @internal */
3648
+ _targetName?: string;
3649
+ /**
3650
+ * Compound line type (`a:ln@cmpd`)
3651
+ * @default 'sng'
3652
+ */
3653
+ compound?: 'sng' | 'dbl' | 'thickThin' | 'thinThick' | 'tri';
3654
+ /**
3655
+ * How line segments join at a corner (`a:round` / `a:bevel` / `a:miter`)
3656
+ */
3657
+ join?: 'round' | 'bevel' | 'miter';
3658
+ /**
3659
+ * `join: 'miter'` only: how far the miter may extend, as a percent of line width (`a:miter@lim`)
3660
+ * @default 800
3661
+ */
3662
+ miterLimit?: number;
3663
+ /**
3664
+ * Custom dash pattern (`a:custDash`), overriding `dashType`
3665
+ * - each stop is a dash length and the gap after it, as a percent of line width
3666
+ * @example [{ dash: 400, space: 300 }, { dash: 100, space: 300 }]
3667
+ */
3668
+ custDash?: Array<{
3669
+ dash: number;
3670
+ space: number;
3671
+ }>;
3672
+ /**
3673
+ * Arrow head size (`a:headEnd@w` / `@len`)
3674
+ * - `beginArrowType` selects the shape; this sizes it
3675
+ * - a string applies to both width and length
3676
+ */
3677
+ beginArrowSize?: LineArrowSize | {
3678
+ width?: LineArrowSize;
3679
+ length?: LineArrowSize;
3680
+ };
3681
+ /**
3682
+ * Arrow tail size (`a:tailEnd@w` / `@len`)
3683
+ */
3684
+ endArrowSize?: LineArrowSize | {
3685
+ width?: LineArrowSize;
3686
+ length?: LineArrowSize;
3687
+ };
2842
3688
  /**
2843
3689
  * Dash type
2844
3690
  * @deprecated v3.3.0 - use `dashType`
@@ -2864,6 +3710,39 @@ declare interface ShapeLineProps extends ShapeFillProps {
2864
3710
  size?: number;
2865
3711
  }
2866
3712
 
3713
+ /**
3714
+ * Editing locks (ECMA-376 20.1.2.2.34 `a:spLocks` and its siblings)
3715
+ * - each is omitted unless set, so the values the library emits today are unchanged
3716
+ */
3717
+ declare interface ShapeLockProps {
3718
+ /** prevent grouping with other shapes */
3719
+ noGroup?: boolean;
3720
+ /** prevent selection */
3721
+ noSelect?: boolean;
3722
+ /** prevent rotation */
3723
+ noRotate?: boolean;
3724
+ /** prevent changing the aspect ratio */
3725
+ noChangeAspect?: boolean;
3726
+ /** prevent moving */
3727
+ noMove?: boolean;
3728
+ /** prevent resizing */
3729
+ noResize?: boolean;
3730
+ /** prevent editing the geometry points */
3731
+ noEditPoints?: boolean;
3732
+ /** prevent dragging the adjust handles */
3733
+ noAdjustHandles?: boolean;
3734
+ /** prevent changing arrowheads */
3735
+ noChangeArrowheads?: boolean;
3736
+ /** prevent changing the preset geometry */
3737
+ noChangeShapeType?: boolean;
3738
+ /** prevent editing the text */
3739
+ noTextEdit?: boolean;
3740
+ /** pictures only: prevent cropping */
3741
+ noCrop?: boolean;
3742
+ /** pictures only: prefer resizing relative to the original size */
3743
+ preferRelativeResize?: boolean;
3744
+ }
3745
+
2867
3746
  declare type ShapeMaskType = 'circle' | 'box' | 'diamond' | 'plus';
2868
3747
 
2869
3748
  declare interface ShapePatternProps {
@@ -2930,6 +3809,12 @@ declare interface ShapeProps extends PositionProps, ObjectNameProps, AppearOnCli
2930
3809
  * @example hyperlink: { url: "https://github.com/gitbrent/pptxgenjs", tooltip: "Visit Homepage" },
2931
3810
  */
2932
3811
  hyperlink?: HyperlinkProps;
3812
+ /**
3813
+ * Mouse-over action, configured like `hyperlink` but triggered on hover
3814
+ * - PowerPoint's Insert > Action > Mouse Over tab
3815
+ * @example { hyperlinkHover: { slide: 3, tooltip: 'Jump to results' } }
3816
+ */
3817
+ hyperlinkHover?: HyperlinkProps;
2933
3818
  /**
2934
3819
  * Line options
2935
3820
  */
@@ -3025,6 +3910,20 @@ declare interface ShapeProps extends PositionProps, ObjectNameProps, AppearOnCli
3025
3910
  * Blur effect (`a:blur` in shape `effectLst`)
3026
3911
  */
3027
3912
  blur?: BlurProps;
3913
+ /**
3914
+ * Fill blended over the shape's own fill (`a:fillOverlay`)
3915
+ * @example { blend: 'mult', fill: { color: 'FF0000', transparency: 50 } }
3916
+ */
3917
+ fillOverlay?: FillOverlayProps;
3918
+ /**
3919
+ * Emit the effects as a composed effect graph (`a:effectDag`) rather than an `a:effectLst`
3920
+ */
3921
+ effectDag?: EffectDagProps;
3922
+ /**
3923
+ * Theme style references (`p:style`)
3924
+ * @example { fill: 1, line: 2, effect: 0, font: 'minor' }
3925
+ */
3926
+ styleRef?: ShapeStyleProps;
3028
3927
  /**
3029
3928
  * @deprecated v3.3.0
3030
3929
  */
@@ -3055,6 +3954,36 @@ declare interface ShapeProps extends PositionProps, ObjectNameProps, AppearOnCli
3055
3954
  animation?: string | AnimationConfig;
3056
3955
  }
3057
3956
 
3957
+ /**
3958
+ * Theme style references for a shape (`p:style`, ECMA-376 Part 1 §20.1.4.1.25 CT_ShapeStyle)
3959
+ * - named `styleRef` because `style` is already used by chart gridlines
3960
+ * - each index points into the matching list in the theme's `a:fmtScheme`, 1-based
3961
+ */
3962
+ declare interface ShapeStyleProps {
3963
+ /** Index into the theme's `a:lnStyleLst` (1-based) */
3964
+ line?: number;
3965
+ /** Index into the theme's `a:fillStyleLst` (1-based) */
3966
+ fill?: number;
3967
+ /** Index into the theme's `a:effectStyleLst` (1-based) */
3968
+ effect?: number;
3969
+ /**
3970
+ * Which of the theme's font collections the shape's text follows
3971
+ * @default none
3972
+ */
3973
+ font?: 'major' | 'minor' | 'none';
3974
+ /**
3975
+ * Colour the referenced line, fill and effect resolve the theme's `phClr` against
3976
+ * @default 'accent1'
3977
+ */
3978
+ color?: Color;
3979
+ /**
3980
+ * Colour the referenced font resolves against
3981
+ * - defaults to `lt1` because a font sharing the fill's colour renders as invisible text
3982
+ * @default 'lt1'
3983
+ */
3984
+ fontColor?: Color;
3985
+ }
3986
+
3058
3987
  declare enum ShapeType {
3059
3988
  'accentBorderCallout1' = "accentBorderCallout1",
3060
3989
  'accentBorderCallout2' = "accentBorderCallout2",
@@ -3080,6 +4009,10 @@ declare enum ShapeType {
3080
4009
  'actionButtonSound' = "actionButtonSound",
3081
4010
  'arc' = "arc",
3082
4011
  'bentArrow' = "bentArrow",
4012
+ 'bentConnector2' = "bentConnector2",
4013
+ 'bentConnector3' = "bentConnector3",
4014
+ 'bentConnector4' = "bentConnector4",
4015
+ 'bentConnector5' = "bentConnector5",
3083
4016
  'bentUpArrow' = "bentUpArrow",
3084
4017
  'bevel' = "bevel",
3085
4018
  'blockArc' = "blockArc",
@@ -3103,6 +4036,10 @@ declare enum ShapeType {
3103
4036
  'corner' = "corner",
3104
4037
  'cornerTabs' = "cornerTabs",
3105
4038
  'cube' = "cube",
4039
+ 'curvedConnector2' = "curvedConnector2",
4040
+ 'curvedConnector3' = "curvedConnector3",
4041
+ 'curvedConnector4' = "curvedConnector4",
4042
+ 'curvedConnector5' = "curvedConnector5",
3106
4043
  'curvedDownArrow' = "curvedDownArrow",
3107
4044
  'curvedLeftArrow' = "curvedLeftArrow",
3108
4045
  'curvedRightArrow' = "curvedRightArrow",
@@ -3223,6 +4160,7 @@ declare enum ShapeType {
3223
4160
  'star6' = "star6",
3224
4161
  'star7' = "star7",
3225
4162
  'star8' = "star8",
4163
+ 'straightConnector1' = "straightConnector1",
3226
4164
  'stripedRightArrow' = "stripedRightArrow",
3227
4165
  'sun' = "sun",
3228
4166
  'swooshArrow' = "swooshArrow",
@@ -3278,6 +4216,14 @@ declare interface SlideBaseProps {
3278
4216
  }
3279
4217
 
3280
4218
  declare interface SlideLayout extends SlideBaseProps {
4219
+ layoutType?: SlideLayoutType;
4220
+ matchingName?: string;
4221
+ preserve?: boolean;
4222
+ showMasterShapes?: boolean;
4223
+ showMasterPlaceholderAnimation?: boolean;
4224
+ userDrawn?: boolean;
4225
+ colorMapOverride?: ColorMapOverrideProps;
4226
+ transition?: SlideTransitionProps;
3281
4227
  _slide?: {
3282
4228
  _bkgdImgRid?: number;
3283
4229
  back: string;
@@ -3286,11 +4232,57 @@ declare interface SlideLayout extends SlideBaseProps {
3286
4232
  };
3287
4233
  }
3288
4234
 
4235
+ /**
4236
+ * ECMA-376 19.7.15 ST_SlideLayoutType - the placeholder arrangement a layout describes
4237
+ * - PowerPoint's layout gallery and its Reset Layout command read this
4238
+ */
4239
+ declare type SlideLayoutType = 'title' | 'tx' | 'twoColTx' | 'tbl' | 'txAndChart' | 'chartAndTx' | 'dgm' | 'chart' | 'txAndClipArt' | 'clipArtAndTx' | 'titleOnly' | 'blank' | 'txAndObj' | 'objAndTx' | 'objOnly' | 'obj' | 'txAndMedia' | 'mediaAndTx' | 'objOverTx' | 'txOverObj' | 'txAndTwoObj' | 'twoObjAndTx' | 'twoObjOverTx' | 'fourObj' | 'vertTx' | 'clipArtAndVertTx' | 'vertTitleAndTx' | 'vertTitleAndTxOverChart' | 'twoObj' | 'objAndTwoObj' | 'twoObjAndObj' | 'cust' | 'secHead' | 'twoTxTwoObj' | 'objTx' | 'picTx';
4240
+
3289
4241
  declare interface SlideMasterProps {
3290
4242
  /**
3291
4243
  * Unique name for this master
3292
4244
  */
3293
4245
  title: string;
4246
+ /**
4247
+ * Which placeholder arrangement this layout describes (`p:sldLayout@type`)
4248
+ * - PowerPoint's New Slide gallery groups layouts by this, and Reset Layout trusts it
4249
+ * @default cust
4250
+ */
4251
+ layoutType?: SlideLayoutType;
4252
+ /**
4253
+ * Name shown for the layout in PowerPoint's gallery (`@matchingName`)
4254
+ * - unset writes nothing; PowerPoint then falls back to the layout name from `title`
4255
+ */
4256
+ matchingName?: string;
4257
+ /**
4258
+ * Keep the layout in the deck even when no slide uses it (`@preserve`)
4259
+ * @default true
4260
+ */
4261
+ preserve?: boolean;
4262
+ /**
4263
+ * Draw the master's shapes behind slides using this layout (`@showMasterSp`)
4264
+ * @default true
4265
+ */
4266
+ showMasterShapes?: boolean;
4267
+ /**
4268
+ * Play the master's placeholder animations on slides using this layout (`@showMasterPhAnim`)
4269
+ * @default true
4270
+ */
4271
+ showMasterPlaceholderAnimation?: boolean;
4272
+ /**
4273
+ * Mark the layout as drawn by the author rather than generated (`@userDrawn`)
4274
+ * @default false
4275
+ */
4276
+ userDrawn?: boolean;
4277
+ /**
4278
+ * Remap the theme's colour slots for this layout only (`p:clrMapOvr`)
4279
+ * - with none set the layout inherits the master's mapping, which is today's behaviour
4280
+ */
4281
+ colorMapOverride?: ColorMapOverrideProps;
4282
+ /**
4283
+ * Transition applied to slides using this layout (`p:transition`)
4284
+ */
4285
+ transition?: SlideTransitionProps;
3294
4286
  background?: BackgroundProps;
3295
4287
  margin?: Margin;
3296
4288
  slideNumber?: SlideNumberProps;
@@ -3402,6 +4394,11 @@ declare interface SlideShowProps {
3402
4394
  /** ECMA-376 `ST_TLTriggerEvent` values used by `p14:triggerEvt`. */
3403
4395
  declare type SlideShowTriggerType = 'onBegin' | 'onEnd' | 'begin' | 'end' | 'onClick' | 'onDblClick' | 'onMouseOver' | 'onMouseOut' | 'onNext' | 'onPrev' | 'onStopAudio';
3404
4396
 
4397
+ /**
4398
+ * Slide-size preset (`p:sldSz@type`)
4399
+ */
4400
+ declare type SlideSizeType = 'screen4x3' | 'screen16x9' | 'screen16x10' | 'letter' | 'ledger' | 'a3' | 'a4' | 'b4ISO' | 'b5ISO' | 'b4JIS' | 'b5JIS' | 'hagakiCard' | '35mm' | 'overhead' | 'banner' | 'custom';
4401
+
3405
4402
  /**
3406
4403
  * Slide transition options. ECMA-376 §19.3.1.50 `CT_SlideTransition`.
3407
4404
  * Modern (MS-PPTX) transition types are emitted inside `<mc:AlternateContent>` with a base-type fallback.
@@ -3532,14 +4529,39 @@ declare interface TableCellProps extends TextBaseProps {
3532
4529
  * @example 0.5 // tables are taller (increases the number of lines that can fit on a given slide)
3533
4530
  */
3534
4531
  autoPageLineWeight?: number;
4532
+ /**
4533
+ * Whether text is centered both horizontally and vertically in the cell
4534
+ * @default false
4535
+ */
4536
+ anchorCtr?: boolean;
3535
4537
  /**
3536
4538
  * Cell border
3537
4539
  */
3538
4540
  border?: BorderProps | [BorderProps, BorderProps, BorderProps, BorderProps];
4541
+ /**
4542
+ * Diagonal border running bottom-left to top-right (`a:lnBlToTr`)
4543
+ * - independent of `border`, which only covers the four edges
4544
+ */
4545
+ borderDiagonalUp?: BorderProps;
4546
+ /**
4547
+ * Diagonal border running top-left to bottom-right (`a:lnTlToBr`)
4548
+ * - independent of `border`, which only covers the four edges
4549
+ */
4550
+ borderDiagonalDown?: BorderProps;
4551
+ /**
4552
+ * 3-D bevel and lighting for the cell
4553
+ * @example { bevel: { preset: 'circle', width: 0.05, height: 0.05 }, material: 'metal' }
4554
+ */
4555
+ cell3D?: Cell3DProps;
3539
4556
  /**
3540
4557
  * Cell colspan
3541
4558
  */
3542
4559
  colspan?: number;
4560
+ /**
4561
+ * Whether text wider than the cell is clipped or allowed to overflow it
4562
+ * @default clip
4563
+ */
4564
+ horzOverflow?: 'clip' | 'overflow';
3543
4565
  /**
3544
4566
  * Fill color
3545
4567
  * @example { color:'FF0000' } // hex color (red)
@@ -3550,6 +4572,12 @@ declare interface TableCellProps extends TextBaseProps {
3550
4572
  /** @internal rId of a cell `a:blipFill` image (registered at addTable) */
3551
4573
  _fillRid?: number;
3552
4574
  hyperlink?: HyperlinkProps;
4575
+ /**
4576
+ * Mouse-over action, configured like `hyperlink` but triggered on hover
4577
+ * - PowerPoint's Insert > Action > Mouse Over tab
4578
+ * @example { hyperlinkHover: { slide: 3, tooltip: 'Jump to results' } }
4579
+ */
4580
+ hyperlinkHover?: HyperlinkProps;
3553
4581
  /**
3554
4582
  * Cell margin (inches)
3555
4583
  * @default 0
@@ -3681,7 +4709,7 @@ declare interface TableProps extends PositionProps, TextBaseProps, ObjectNamePro
3681
4709
  */
3682
4710
  rtlMode?: boolean;
3683
4711
  /**
3684
- * Table style id (GUID of a built-in PowerPoint table style)
4712
+ * Table style id (GUID of a built-in PowerPoint table style, or a custom style from `pptx.tableStyles`)
3685
4713
  * - required for `bandRow`/`firstRow`/etc. to have a visible effect
3686
4714
  * @example '{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}' // "Medium Style 2 - Accent 1"
3687
4715
  */
@@ -3706,6 +4734,71 @@ declare interface TableProps extends PositionProps, TextBaseProps, ObjectNamePro
3706
4734
 
3707
4735
  declare type TableRow = TableCell[];
3708
4736
 
4737
+ /**
4738
+ * Borders of one part of a table style (`a:tcBdr`, ECMA-376 Part 1 §21.1.3.11)
4739
+ */
4740
+ declare interface TableStyleBorderProps {
4741
+ left?: ShapeLineProps;
4742
+ right?: ShapeLineProps;
4743
+ top?: ShapeLineProps;
4744
+ bottom?: ShapeLineProps;
4745
+ /** horizontal borders between rows */
4746
+ insideH?: ShapeLineProps;
4747
+ /** vertical borders between columns */
4748
+ insideV?: ShapeLineProps;
4749
+ }
4750
+
4751
+ /**
4752
+ * How one part of a table looks in a table style (`a:wholeTbl`, `a:band1H`, `a:firstRow`, ...)
4753
+ * - `a:tcTxStyle` carries the text half, `a:tcStyle` the cell half
4754
+ */
4755
+ declare interface TableStylePartProps {
4756
+ /** bold text - omitted leaves it to the theme */
4757
+ bold?: boolean;
4758
+ /** italic text - omitted leaves it to the theme */
4759
+ italic?: boolean;
4760
+ /** text colour */
4761
+ color?: Color;
4762
+ /** cell fill */
4763
+ fill?: ShapeFillProps;
4764
+ /** cell borders */
4765
+ borders?: TableStyleBorderProps;
4766
+ }
4767
+
4768
+ /**
4769
+ * A custom table style, written into `ppt/tableStyles.xml` (ECMA-376 Part 1 §14.2.9)
4770
+ * - reference it from a table with `tableStyleId: '<the same id>'`
4771
+ * - `id` and `name` are both required by the schema
4772
+ */
4773
+ declare interface TableStyleProps {
4774
+ /** Style GUID, braced and upper-case, e.g. `{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}` */
4775
+ id: string;
4776
+ /** Name shown in PowerPoint's table-style gallery */
4777
+ name: string;
4778
+ /** applies to every cell */
4779
+ wholeTable?: TableStylePartProps;
4780
+ /** first banded row */
4781
+ band1H?: TableStylePartProps;
4782
+ /** second banded row */
4783
+ band2H?: TableStylePartProps;
4784
+ /** first banded column */
4785
+ band1V?: TableStylePartProps;
4786
+ /** second banded column */
4787
+ band2V?: TableStylePartProps;
4788
+ firstRow?: TableStylePartProps;
4789
+ lastRow?: TableStylePartProps;
4790
+ firstCol?: TableStylePartProps;
4791
+ lastCol?: TableStylePartProps;
4792
+ /** top-left cell */
4793
+ nwCell?: TableStylePartProps;
4794
+ /** top-right cell */
4795
+ neCell?: TableStylePartProps;
4796
+ /** bottom-left cell */
4797
+ swCell?: TableStylePartProps;
4798
+ /** bottom-right cell */
4799
+ seCell?: TableStylePartProps;
4800
+ }
4801
+
3709
4802
  declare interface TableToSlidesProps extends TableProps {
3710
4803
  _arrObjTabHeadRows?: TableRow[];
3711
4804
  /**
@@ -3852,6 +4945,28 @@ declare interface TextBaseProps {
3852
4945
  * @example pptx.SchemeColor.accent1
3853
4946
  */
3854
4947
  color?: Color;
4948
+ /**
4949
+ * Bullet size as a percent of the text size (`a:buSzPct`)
4950
+ * - range: 25-400
4951
+ * @default 100
4952
+ */
4953
+ size?: number;
4954
+ /**
4955
+ * Bullet size in points (`a:buSzPts`), instead of a percent
4956
+ */
4957
+ sizePts?: number;
4958
+ /**
4959
+ * Typeface for the bullet glyph (`a:buFont`)
4960
+ * - needed for Wingdings-style character bullets
4961
+ */
4962
+ fontFace?: string;
4963
+ /**
4964
+ * Picture bullet (`a:buBlip`) - base64 image data with a mime header
4965
+ * - takes precedence over a character or number bullet
4966
+ */
4967
+ image?: string;
4968
+ /** relationship id of the picture bullet, resolved when the object is created @internal */
4969
+ _imageRId?: number;
3855
4970
  /**
3856
4971
  * Indentation (space between bullet and text) (points)
3857
4972
  * @since v3.3.0
@@ -3917,6 +5032,11 @@ declare interface TextBaseProps {
3917
5032
  * @example 'Arial'
3918
5033
  */
3919
5034
  fontFaceCs?: string;
5035
+ /**
5036
+ * Symbol typeface (`a:sym`), for Wingdings-style glyphs
5037
+ * @example 'Wingdings'
5038
+ */
5039
+ fontFaceSym?: string;
3920
5040
  /**
3921
5041
  * Gradient text fill (`a:gradFill` on `a:rPr`). When set, overrides solid `color`.
3922
5042
  * @example { type:'linear', angle:45, stops:[{ pos:0, color:'FF0000' }, { pos:100, color:'0000FF' }] }
@@ -3991,6 +5111,49 @@ declare interface TextBaseProps {
3991
5111
  valign?: VAlign;
3992
5112
  }
3993
5113
 
5114
+ /**
5115
+ * Text-body attributes beyond wrap/insets/anchor (`a:bodyPr`, ECMA-376 21.1.2.1.1)
5116
+ * - omitted unless set, so default output does not change
5117
+ * - overflow uses the existing `vertOverflow` / `horzOverflow` options
5118
+ */
5119
+ declare interface TextBodyProps {
5120
+ /**
5121
+ * Keep text upright when the shape is rotated (`a:bodyPr@upright`)
5122
+ * @default false
5123
+ */
5124
+ upright?: boolean;
5125
+ /**
5126
+ * Rotate the text body independently of the shape, in degrees (`a:bodyPr@rot`)
5127
+ * - distinct from the shape's own `rotate`
5128
+ */
5129
+ textRotate?: number;
5130
+ /**
5131
+ * Center the anchor point as well as the text (`a:bodyPr@anchorCtr`)
5132
+ * @default false
5133
+ */
5134
+ anchorCtr?: boolean;
5135
+ /**
5136
+ * Respect paragraph spacing before the first and after the last line (`a:bodyPr@spcFirstLastPara`)
5137
+ * @default false
5138
+ */
5139
+ spcFirstLastPara?: boolean;
5140
+ /**
5141
+ * Use legacy line-spacing rules (`a:bodyPr@compatLnSpc`)
5142
+ * @default false
5143
+ */
5144
+ compatLnSpc?: boolean;
5145
+ /**
5146
+ * Force anti-aliasing regardless of size (`a:bodyPr@forceAA`)
5147
+ * @default false
5148
+ */
5149
+ forceAA?: boolean;
5150
+ }
5151
+
5152
+ /**
5153
+ * Refreshable text-run field type (`a:fld@type`, ECMA-376 21.1.2.2.4)
5154
+ */
5155
+ declare type TextFieldType = 'slidenum' | 'datetime' | 'datetimeFigureOut' | 'datetime1' | 'datetime2' | 'datetime3' | 'datetime4' | 'datetime5' | 'datetime6' | 'datetime7' | 'datetime8' | 'datetime9' | 'datetime10' | 'datetime11' | 'datetime12' | 'datetime13' | 'headerfooter' | 'hdr' | 'ftr';
5156
+
3994
5157
  declare interface TextGlowProps {
3995
5158
  /**
3996
5159
  * Border color (hex format)
@@ -4014,7 +5177,7 @@ declare interface TextProps {
4014
5177
  options?: TextPropsOptions;
4015
5178
  }
4016
5179
 
4017
- declare interface TextPropsOptions extends PositionProps, DataOrPathProps, TextBaseProps, ObjectNameProps, AppearOnClickProps, NvPrExtensionProps {
5180
+ declare interface TextPropsOptions extends PositionProps, DataOrPathProps, TextBaseProps, ObjectNameProps, AppearOnClickProps, NvPrExtensionProps, TextBodyProps, ParagraphProps, TextRunProps {
4018
5181
  _bodyProp?: {
4019
5182
  autoFit?: boolean;
4020
5183
  align?: TEXT_HALIGN;
@@ -4096,6 +5259,12 @@ declare interface TextPropsOptions extends PositionProps, DataOrPathProps, TextB
4096
5259
  flipV?: boolean;
4097
5260
  glow?: TextGlowProps;
4098
5261
  hyperlink?: HyperlinkProps;
5262
+ /**
5263
+ * Mouse-over action, configured like `hyperlink` but triggered on hover
5264
+ * - PowerPoint's Insert > Action > Mouse Over tab
5265
+ * @example { hyperlinkHover: { slide: 3, tooltip: 'Jump to results' } }
5266
+ */
5267
+ hyperlinkHover?: HyperlinkProps;
4099
5268
  indentLevel?: number;
4100
5269
  isTextBox?: boolean;
4101
5270
  line?: ShapeLineProps;
@@ -4158,6 +5327,22 @@ declare interface TextPropsOptions extends PositionProps, DataOrPathProps, TextB
4158
5327
  * @default false
4159
5328
  */
4160
5329
  rtlMode?: boolean;
5330
+ /**
5331
+ * Lay columns out right-to-left (`a:bodyPr@rtlCol`)
5332
+ * - defaults to this text box's `rtlMode` when unset
5333
+ */
5334
+ rtlColumns?: boolean;
5335
+ /**
5336
+ * Render this run as a field the consumer refreshes, rather than literal text (`a:fld`)
5337
+ * - the run's `text` becomes the cached value, so consumers that do not refresh still show something
5338
+ * @example { text: '22/08/2026', options: { field: 'datetime1' } }
5339
+ */
5340
+ field?: TextFieldType;
5341
+ /**
5342
+ * Horizontal-in-vertical numerals for East Asian vertical text (`a:rPr@kumimoji`)
5343
+ * @default false
5344
+ */
5345
+ kumimoji?: boolean;
4161
5346
  shadow?: ShadowProps;
4162
5347
  /**
4163
5348
  * Soft-edge effect (`a:softEdge` on the text shape)
@@ -4171,6 +5356,18 @@ declare interface TextPropsOptions extends PositionProps, DataOrPathProps, TextB
4171
5356
  * Blur effect (`a:blur` on the text shape)
4172
5357
  */
4173
5358
  blur?: BlurProps;
5359
+ /**
5360
+ * Fill blended over the text shape's own fill (`a:fillOverlay`)
5361
+ */
5362
+ fillOverlay?: FillOverlayProps;
5363
+ /**
5364
+ * Emit the effects as a composed effect graph (`a:effectDag`) rather than an `a:effectLst`
5365
+ */
5366
+ effectDag?: EffectDagProps;
5367
+ /**
5368
+ * Theme style references (`p:style`)
5369
+ */
5370
+ styleRef?: ShapeStyleProps;
4174
5371
  shape?: SHAPE_NAME;
4175
5372
  /**
4176
5373
  * Strikethrough style
@@ -4257,13 +5454,41 @@ declare interface TextPropsOptions extends PositionProps, DataOrPathProps, TextB
4257
5454
  animation?: string | AnimationConfig;
4258
5455
  }
4259
5456
 
5457
+ /**
5458
+ * Run attributes beyond bold/italic/size (`a:rPr`, ECMA-376 21.1.2.3.9)
5459
+ * - `caps` lives on `TextPropsOptions` (already present)
5460
+ */
5461
+ declare interface TextRunProps {
5462
+ /**
5463
+ * Normalise glyph heights (`a:rPr@normalizeH`)
5464
+ * @default false
5465
+ */
5466
+ normalizeH?: boolean;
5467
+ /**
5468
+ * Exclude the run from spelling and grammar checking (`a:rPr@noProof`)
5469
+ * @default false
5470
+ */
5471
+ noProof?: boolean;
5472
+ /**
5473
+ * Mark the run as needing re-inspection (`a:rPr@dirty`)
5474
+ * - previously hardcoded to `0`
5475
+ * @default false
5476
+ */
5477
+ dirty?: boolean;
5478
+ /**
5479
+ * Underline line properties (`a:uLn`), distinct from the underline colour
5480
+ * - pass `'text'` to follow the run's own line (`a:uLnTx`)
5481
+ */
5482
+ underlineLine?: 'text' | ShapeLineProps;
5483
+ }
5484
+
4260
5485
  /**
4261
5486
  * WordArt / preset text warp (`a:prstTxWarp@prst`, ECMA-376 `ST_TextShapeType`)
4262
5487
  * @see standards/ecma/part-22_drawingml-reference-material-drawingml-main.txt §5.1.12.76
4263
5488
  */
4264
5489
  declare type TextShapeType = 'textNoShape' | 'textPlain' | 'textStop' | 'textTriangle' | 'textTriangleInverted' | 'textChevron' | 'textChevronInverted' | 'textRingInside' | 'textRingOutside' | 'textArchUp' | 'textArchDown' | 'textCircle' | 'textButton' | 'textArchUpPour' | 'textArchDownPour' | 'textCirclePour' | 'textButtonPour' | 'textCurveUp' | 'textCurveDown' | 'textCanUp' | 'textCanDown' | 'textWave1' | 'textWave2' | 'textDoubleWave1' | 'textWave4' | 'textInflate' | 'textDeflate' | 'textInflateBottom' | 'textDeflateBottom' | 'textInflateTop' | 'textDeflateTop' | 'textDeflateInflate' | 'textDeflateInflateDeflate' | 'textFadeRight' | 'textFadeLeft' | 'textFadeUp' | 'textFadeDown' | 'textSlantUp' | 'textSlantDown' | 'textCascadeUp' | 'textCascadeDown';
4265
5490
 
4266
- declare type ThemeColor = 'tx1' | 'tx2' | 'bg1' | 'bg2' | 'accent1' | 'accent2' | 'accent3' | 'accent4' | 'accent5' | 'accent6';
5491
+ declare type ThemeColor = 'tx1' | 'tx2' | 'bg1' | 'bg2' | 'dk1' | 'lt1' | 'dk2' | 'lt2' | 'accent1' | 'accent2' | 'accent3' | 'accent4' | 'accent5' | 'accent6' | 'hlink' | 'folHlink' | 'phClr';
4267
5492
 
4268
5493
  declare interface ThemeProps {
4269
5494
  /**
@@ -4361,8 +5586,43 @@ declare interface TransparencyAnimationConfig extends BaseAnimationConfig {
4361
5586
 
4362
5587
  declare type TransparencyLevel = '25%' | '50%' | '75%' | '100%' | number;
4363
5588
 
5589
+ /**
5590
+ * Coordinate number - either:
5591
+ * - Inches (0-n)
5592
+ * - Percentage (0-100)
5593
+ * - Unit-suffixed length (`in` / `cm` / `mm` / `pt`)
5594
+ *
5595
+ * @example 10.25 // coordinate in inches
5596
+ * @example '2.5cm' // coordinate with an explicit unit
5597
+ * @example '75%' // coordinate as percentage of slide size
5598
+ */
5599
+ declare type UnitLength = `${number}in` | `${number}cm` | `${number}mm` | `${number}pt`;
5600
+
4364
5601
  declare type VAlign = 'top' | 'middle' | 'bottom';
4365
5602
 
5603
+ /**
5604
+ * View properties stored in `ppt/viewProps.xml` (`p:viewPr`)
5605
+ * - unset values keep the literal prior versions wrote
5606
+ */
5607
+ declare interface ViewProps {
5608
+ /** zoom percent in the normal slide view @default 136 */
5609
+ zoom?: number;
5610
+ /** snap objects to the grid @default false */
5611
+ snapToGrid?: boolean;
5612
+ /** snap objects to each other @default true */
5613
+ snapToObjects?: boolean;
5614
+ /** show drawing guides */
5615
+ showGuides?: boolean;
5616
+ /** show comments and ink markup */
5617
+ showComments?: boolean;
5618
+ /** grid spacing in inches @default 0.0833 (76200 EMU) */
5619
+ gridSpacing?: number;
5620
+ /** view PowerPoint opens the deck in */
5621
+ lastView?: 'sldView' | 'sldMasterView' | 'notesView' | 'handoutView' | 'notesMasterView' | 'outlineView' | 'sldSorterView' | 'sldThumbnailView';
5622
+ /** classic drawing guides (`p:guideLst`), positioned in inches */
5623
+ guides?: GuideProps[];
5624
+ }
5625
+
4366
5626
  declare interface WheelAnimationConfig extends BaseAnimationConfig {
4367
5627
  type: 'wheel' | 'wheelexit';
4368
5628
  spokes?: 1 | 2 | 3 | 4 | 8;
@@ -4436,6 +5696,7 @@ declare interface ZoomProps extends ZoomBaseProps {
4436
5696
  export { }
4437
5697
 
4438
5698
  export { ANCHOR }
5699
+ export { ARROW_SIZES }
4439
5700
  export { AXIS_ID_CATEGORY_PRIMARY }
4440
5701
  export { AXIS_ID_CATEGORY_SECONDARY }
4441
5702
  export { AXIS_ID_SERIES_PRIMARY }
@@ -4450,22 +5711,36 @@ export { AnimationPreset }
4450
5711
  export { AnimationTrigger }
4451
5712
  export { AnimationType }
4452
5713
  export { AppearOnClickProps }
5714
+ export { AudioCdProps }
5715
+ export { AudioCdTimeProps }
4453
5716
  export { BARCHART_COLORS }
4454
5717
  export { BULLET_TYPES }
4455
5718
  export { BackgroundProps }
4456
5719
  export { BaseAnimationConfig }
4457
5720
  export { BlurProps }
4458
5721
  export { BorderProps }
5722
+ export { CHARTEX_LAYOUT_ID }
5723
+ export { CHARTEX_NAME }
4459
5724
  export { CHART_NAME }
5725
+ export { CHART_STYLE }
4460
5726
  export { CHART_TYPE }
5727
+ export { COMPOUND_TYPES }
4461
5728
  export { CRLF }
5729
+ export { Cell3DProps }
5730
+ export { CellBevelProps }
5731
+ export { CellLightRigProps }
4462
5732
  export { ChangesInfoProps }
4463
5733
  export { ChartAxisTickMark }
5734
+ export { ChartColorStyleProps }
4464
5735
  export { ChartLineCap }
4465
5736
  export { ChartType }
4466
5737
  export { ClassificationOutcome }
4467
5738
  export { Color }
4468
5739
  export { ColorAnimationConfig }
5740
+ export { ColorMapOverrideProps }
5741
+ export { ColorProps }
5742
+ export { ColorSchemeIndex }
5743
+ export { ColorTransformProps }
4469
5744
  export { CommentAuthorProps }
4470
5745
  export { CommentAuthorRef }
4471
5746
  export { CommentChangeBit }
@@ -4481,6 +5756,8 @@ export { CommentTaskEventKind }
4481
5756
  export { CommentTaskEventProps }
4482
5757
  export { CommentTaskProps }
4483
5758
  export { CompressionLevel }
5759
+ export { ConnectionProps }
5760
+ export { ConnectorProps }
4484
5761
  export { ContentPartBwMode }
4485
5762
  export { ContentPartProps }
4486
5763
  export { Coord }
@@ -4490,6 +5767,7 @@ export { DEF_CELL_MARGIN_IN }
4490
5767
  export { DEF_CELL_MARGIN_PT }
4491
5768
  export { DEF_CHART_BORDER }
4492
5769
  export { DEF_CHART_GRIDLINE }
5770
+ export { DEF_COLOR_MAP }
4493
5771
  export { DEF_FONT_COLOR }
4494
5772
  export { DEF_FONT_SIZE }
4495
5773
  export { DEF_FONT_TITLE_SIZE }
@@ -4505,11 +5783,14 @@ export { DataOrPathProps }
4505
5783
  export { DefineLayoutProps }
4506
5784
  export { DesignerProps }
4507
5785
  export { DesignerTag }
5786
+ export { DocumentProps }
4508
5787
  export { EMU }
5788
+ export { EffectDagProps }
4509
5789
  export { EmbedFontType }
4510
5790
  export { EmphasisAnimation }
4511
5791
  export { EntranceAnimation }
4512
5792
  export { ExitAnimation }
5793
+ export { FillOverlayProps }
4513
5794
  export { FloatAnimationConfig }
4514
5795
  export { FloatDirection }
4515
5796
  export { FlyAnimationConfig }
@@ -4523,6 +5804,7 @@ export { GuideProps }
4523
5804
  export { HAlign }
4524
5805
  export { HexColor }
4525
5806
  export { HyperlinkProps }
5807
+ export { HyperlinkSoundProps }
4526
5808
  export { IChartAreaProps }
4527
5809
  export { IChartMulti }
4528
5810
  export { IChartOpts }
@@ -4533,6 +5815,7 @@ export { IChartPropsAxisVal }
4533
5815
  export { IChartPropsBase }
4534
5816
  export { IChartPropsChartBar }
4535
5817
  export { IChartPropsChartDoughnut }
5818
+ export { IChartPropsChartEx }
4536
5819
  export { IChartPropsChartLine }
4537
5820
  export { IChartPropsChartPie }
4538
5821
  export { IChartPropsChartRadar }
@@ -4549,21 +5832,27 @@ export { ISlideObject }
4549
5832
  export { ISlideRel }
4550
5833
  export { ISlideRelChart }
4551
5834
  export { ISlideRelMedia }
5835
+ export { ImageAlphaEffectProps }
4552
5836
  export { ImageProps }
5837
+ export { ImageRecolorProps }
4553
5838
  export { InkProps }
4554
5839
  export { JSZIP_OUTPUT_TYPE }
5840
+ export { KinsokuProps }
4555
5841
  export { LAYOUT_IDX_SERIES_BASE }
4556
5842
  export { LETTERS }
4557
5843
  export { LINEH_MODIFIER }
4558
5844
  export { LaserTracePoint }
5845
+ export { LineArrowSize }
4559
5846
  export { MASTER_OBJECTS }
4560
5847
  export { Margin }
4561
5848
  export { MediaOnError }
4562
5849
  export { MediaProps }
4563
5850
  export { MediaType }
4564
5851
  export { ModifiedThemeColor }
5852
+ export { NonVisualProps }
4565
5853
  export { NvPrExtensionProps }
4566
5854
  export { ONEPT }
5855
+ export { OOXML_CHARTEX }
4567
5856
  export { ObjectNameProps }
4568
5857
  export { ObjectOptions }
4569
5858
  export { OfficeAppProps }
@@ -4576,7 +5865,10 @@ export { OutputType }
4576
5865
  export { PIECHART_COLORS }
4577
5866
  export { PLACEHOLDER_TYPE }
4578
5867
  export { PLACEHOLDER_TYPES }
5868
+ export { PRESET_COLOR_VALUES }
5869
+ export { ParagraphProps }
4579
5870
  export { PathAnimation }
5871
+ export { PhotoAlbumProps }
4580
5872
  export { PlaceholderProps }
4581
5873
  export { PlaceholderTypeExt }
4582
5874
  export { PositionProps }
@@ -4584,6 +5876,7 @@ export { PresLayout }
4584
5876
  export { PresSlide }
4585
5877
  export { PresentationProps }
4586
5878
  export { PresetPatternValues }
5879
+ export { PrintProps }
4587
5880
  export { REGEX_HEX_COLOR }
4588
5881
  export { RandomBarsAnimationConfig }
4589
5882
  export { ReflectionProps }
@@ -4591,11 +5884,14 @@ export { RevisionClientProps }
4591
5884
  export { RevisionInfoProps }
4592
5885
  export { SCHEME_COLORS }
4593
5886
  export { SCHEME_COLOR_NAMES }
5887
+ export { SCHEME_COLOR_VALUES }
4594
5888
  export { SHAPE_NAME }
4595
5889
  export { SHAPE_TYPE }
4596
5890
  export { SLDNUMFLDID }
4597
5891
  export { SLIDE_OBJECT_TYPES }
5892
+ export { SYSTEM_COLOR_VALUES }
4598
5893
  export { SchemeColor }
5894
+ export { SchemeColorValue }
4599
5895
  export { SectionProps }
4600
5896
  export { SectionZoomProps }
4601
5897
  export { ShadowProps }
@@ -4606,19 +5902,24 @@ export { ShapeGradientFlip }
4606
5902
  export { ShapeGradientProps }
4607
5903
  export { ShapeGradientStopProps }
4608
5904
  export { ShapeGradientTileRect }
5905
+ export { ShapeImageFillProps }
4609
5906
  export { ShapeLineProps }
5907
+ export { ShapeLockProps }
4610
5908
  export { ShapeMaskType }
4611
5909
  export { ShapePatternProps }
4612
5910
  export { ShapeProps }
5911
+ export { ShapeStyleProps }
4613
5912
  export { ShapeType }
4614
5913
  export { SlideBaseProps }
4615
5914
  export { SlideLayout }
5915
+ export { SlideLayoutType }
4616
5916
  export { SlideMasterProps }
4617
5917
  export { SlideNumberProps }
4618
5918
  export { SlideObjectAnimation }
4619
5919
  export { SlideShowEvent }
4620
5920
  export { SlideShowProps }
4621
5921
  export { SlideShowTriggerType }
5922
+ export { SlideSizeType }
4622
5923
  export { SlideTransitionProps }
4623
5924
  export { SoftEdgeProps }
4624
5925
  export { SpinAmount }
@@ -4627,26 +5928,36 @@ export { SpinDirection }
4627
5928
  export { SplitAnimationConfig }
4628
5929
  export { SplitDirection }
4629
5930
  export { SummaryZoomProps }
5931
+ export { TEXT_FIELD_TYPES }
4630
5932
  export { TEXT_HALIGN }
4631
5933
  export { TEXT_VALIGN }
5934
+ export { TILE_ALIGNMENTS }
4632
5935
  export { TRANSITION_TYPE }
4633
5936
  export { TableCell }
4634
5937
  export { TableCellProps }
4635
5938
  export { TableProps }
4636
5939
  export { TableRow }
4637
5940
  export { TableRowSlide }
5941
+ export { TableStyleBorderProps }
5942
+ export { TableStylePartProps }
5943
+ export { TableStyleProps }
4638
5944
  export { TableToSlidesProps }
4639
5945
  export { TextBaseProps }
5946
+ export { TextBodyProps }
5947
+ export { TextFieldType }
4640
5948
  export { TextGlowProps }
4641
5949
  export { TextProps }
4642
5950
  export { TextPropsOptions }
5951
+ export { TextRunProps }
4643
5952
  export { TextShapeType }
4644
5953
  export { ThemeColor }
4645
5954
  export { ThemeProps }
4646
5955
  export { TransitionType }
4647
5956
  export { TransparencyAnimationConfig }
4648
5957
  export { TransparencyLevel }
5958
+ export { UnitLength }
4649
5959
  export { VAlign }
5960
+ export { ViewProps }
4650
5961
  export { WRITE_OUTPUT_TYPE }
4651
5962
  export { WheelAnimationConfig }
4652
5963
  export { WipeAnimationConfig }
@@ -4657,11 +5968,14 @@ export { WriteProps }
4657
5968
  export { ZoomAnimationConfig }
4658
5969
  export { ZoomDirection }
4659
5970
  export { ZoomProps }
5971
+ export { chartExRequiresNs }
5972
+ export { isChartexType }
4660
5973
 
4661
5974
  export as namespace PptxGenJS
4662
5975
 
4663
5976
  declare namespace PptxGenJS {
4664
5977
  export { ANCHOR }
5978
+ export { ARROW_SIZES }
4665
5979
  export { AXIS_ID_CATEGORY_PRIMARY }
4666
5980
  export { AXIS_ID_CATEGORY_SECONDARY }
4667
5981
  export { AXIS_ID_SERIES_PRIMARY }
@@ -4676,22 +5990,36 @@ declare namespace PptxGenJS {
4676
5990
  export { AnimationTrigger }
4677
5991
  export { AnimationType }
4678
5992
  export { AppearOnClickProps }
5993
+ export { AudioCdProps }
5994
+ export { AudioCdTimeProps }
4679
5995
  export { BARCHART_COLORS }
4680
5996
  export { BULLET_TYPES }
4681
5997
  export { BackgroundProps }
4682
5998
  export { BaseAnimationConfig }
4683
5999
  export { BlurProps }
4684
6000
  export { BorderProps }
6001
+ export { CHARTEX_LAYOUT_ID }
6002
+ export { CHARTEX_NAME }
4685
6003
  export { CHART_NAME }
6004
+ export { CHART_STYLE }
4686
6005
  export { CHART_TYPE }
6006
+ export { COMPOUND_TYPES }
4687
6007
  export { CRLF }
6008
+ export { Cell3DProps }
6009
+ export { CellBevelProps }
6010
+ export { CellLightRigProps }
4688
6011
  export { ChangesInfoProps }
4689
6012
  export { ChartAxisTickMark }
6013
+ export { ChartColorStyleProps }
4690
6014
  export { ChartLineCap }
4691
6015
  export { ChartType }
4692
6016
  export { ClassificationOutcome }
4693
6017
  export { Color }
4694
6018
  export { ColorAnimationConfig }
6019
+ export { ColorMapOverrideProps }
6020
+ export { ColorProps }
6021
+ export { ColorSchemeIndex }
6022
+ export { ColorTransformProps }
4695
6023
  export { CommentAuthorProps }
4696
6024
  export { CommentAuthorRef }
4697
6025
  export { CommentChangeBit }
@@ -4707,6 +6035,8 @@ declare namespace PptxGenJS {
4707
6035
  export { CommentTaskEventProps }
4708
6036
  export { CommentTaskProps }
4709
6037
  export { CompressionLevel }
6038
+ export { ConnectionProps }
6039
+ export { ConnectorProps }
4710
6040
  export { ContentPartBwMode }
4711
6041
  export { ContentPartProps }
4712
6042
  export { Coord }
@@ -4716,6 +6046,7 @@ declare namespace PptxGenJS {
4716
6046
  export { DEF_CELL_MARGIN_PT }
4717
6047
  export { DEF_CHART_BORDER }
4718
6048
  export { DEF_CHART_GRIDLINE }
6049
+ export { DEF_COLOR_MAP }
4719
6050
  export { DEF_FONT_COLOR }
4720
6051
  export { DEF_FONT_SIZE }
4721
6052
  export { DEF_FONT_TITLE_SIZE }
@@ -4731,11 +6062,14 @@ declare namespace PptxGenJS {
4731
6062
  export { DefineLayoutProps }
4732
6063
  export { DesignerProps }
4733
6064
  export { DesignerTag }
6065
+ export { DocumentProps }
4734
6066
  export { EMU }
6067
+ export { EffectDagProps }
4735
6068
  export { EmbedFontType }
4736
6069
  export { EmphasisAnimation }
4737
6070
  export { EntranceAnimation }
4738
6071
  export { ExitAnimation }
6072
+ export { FillOverlayProps }
4739
6073
  export { FloatAnimationConfig }
4740
6074
  export { FloatDirection }
4741
6075
  export { FlyAnimationConfig }
@@ -4749,6 +6083,7 @@ declare namespace PptxGenJS {
4749
6083
  export { HAlign }
4750
6084
  export { HexColor }
4751
6085
  export { HyperlinkProps }
6086
+ export { HyperlinkSoundProps }
4752
6087
  export { IChartAreaProps }
4753
6088
  export { IChartMulti }
4754
6089
  export { IChartOpts }
@@ -4759,6 +6094,7 @@ declare namespace PptxGenJS {
4759
6094
  export { IChartPropsBase }
4760
6095
  export { IChartPropsChartBar }
4761
6096
  export { IChartPropsChartDoughnut }
6097
+ export { IChartPropsChartEx }
4762
6098
  export { IChartPropsChartLine }
4763
6099
  export { IChartPropsChartPie }
4764
6100
  export { IChartPropsChartRadar }
@@ -4775,21 +6111,27 @@ declare namespace PptxGenJS {
4775
6111
  export { ISlideRel }
4776
6112
  export { ISlideRelChart }
4777
6113
  export { ISlideRelMedia }
6114
+ export { ImageAlphaEffectProps }
4778
6115
  export { ImageProps }
6116
+ export { ImageRecolorProps }
4779
6117
  export { InkProps }
4780
6118
  export { JSZIP_OUTPUT_TYPE }
6119
+ export { KinsokuProps }
4781
6120
  export { LAYOUT_IDX_SERIES_BASE }
4782
6121
  export { LETTERS }
4783
6122
  export { LINEH_MODIFIER }
4784
6123
  export { LaserTracePoint }
6124
+ export { LineArrowSize }
4785
6125
  export { MASTER_OBJECTS }
4786
6126
  export { Margin }
4787
6127
  export { MediaOnError }
4788
6128
  export { MediaProps }
4789
6129
  export { MediaType }
4790
6130
  export { ModifiedThemeColor }
6131
+ export { NonVisualProps }
4791
6132
  export { NvPrExtensionProps }
4792
6133
  export { ONEPT }
6134
+ export { OOXML_CHARTEX }
4793
6135
  export { ObjectNameProps }
4794
6136
  export { ObjectOptions }
4795
6137
  export { OfficeAppProps }
@@ -4802,7 +6144,10 @@ declare namespace PptxGenJS {
4802
6144
  export { PIECHART_COLORS }
4803
6145
  export { PLACEHOLDER_TYPE }
4804
6146
  export { PLACEHOLDER_TYPES }
6147
+ export { PRESET_COLOR_VALUES }
6148
+ export { ParagraphProps }
4805
6149
  export { PathAnimation }
6150
+ export { PhotoAlbumProps }
4806
6151
  export { PlaceholderProps }
4807
6152
  export { PlaceholderTypeExt }
4808
6153
  export { PositionProps }
@@ -4810,6 +6155,7 @@ declare namespace PptxGenJS {
4810
6155
  export { PresSlide }
4811
6156
  export { PresentationProps }
4812
6157
  export { PresetPatternValues }
6158
+ export { PrintProps }
4813
6159
  export { REGEX_HEX_COLOR }
4814
6160
  export { RandomBarsAnimationConfig }
4815
6161
  export { ReflectionProps }
@@ -4817,11 +6163,14 @@ declare namespace PptxGenJS {
4817
6163
  export { RevisionInfoProps }
4818
6164
  export { SCHEME_COLORS }
4819
6165
  export { SCHEME_COLOR_NAMES }
6166
+ export { SCHEME_COLOR_VALUES }
4820
6167
  export { SHAPE_NAME }
4821
6168
  export { SHAPE_TYPE }
4822
6169
  export { SLDNUMFLDID }
4823
6170
  export { SLIDE_OBJECT_TYPES }
6171
+ export { SYSTEM_COLOR_VALUES }
4824
6172
  export { SchemeColor }
6173
+ export { SchemeColorValue }
4825
6174
  export { SectionProps }
4826
6175
  export { SectionZoomProps }
4827
6176
  export { ShadowProps }
@@ -4832,19 +6181,24 @@ declare namespace PptxGenJS {
4832
6181
  export { ShapeGradientProps }
4833
6182
  export { ShapeGradientStopProps }
4834
6183
  export { ShapeGradientTileRect }
6184
+ export { ShapeImageFillProps }
4835
6185
  export { ShapeLineProps }
6186
+ export { ShapeLockProps }
4836
6187
  export { ShapeMaskType }
4837
6188
  export { ShapePatternProps }
4838
6189
  export { ShapeProps }
6190
+ export { ShapeStyleProps }
4839
6191
  export { ShapeType }
4840
6192
  export { SlideBaseProps }
4841
6193
  export { SlideLayout }
6194
+ export { SlideLayoutType }
4842
6195
  export { SlideMasterProps }
4843
6196
  export { SlideNumberProps }
4844
6197
  export { SlideObjectAnimation }
4845
6198
  export { SlideShowEvent }
4846
6199
  export { SlideShowProps }
4847
6200
  export { SlideShowTriggerType }
6201
+ export { SlideSizeType }
4848
6202
  export { SlideTransitionProps }
4849
6203
  export { SoftEdgeProps }
4850
6204
  export { SpinAmount }
@@ -4853,26 +6207,36 @@ declare namespace PptxGenJS {
4853
6207
  export { SplitAnimationConfig }
4854
6208
  export { SplitDirection }
4855
6209
  export { SummaryZoomProps }
6210
+ export { TEXT_FIELD_TYPES }
4856
6211
  export { TEXT_HALIGN }
4857
6212
  export { TEXT_VALIGN }
6213
+ export { TILE_ALIGNMENTS }
4858
6214
  export { TRANSITION_TYPE }
4859
6215
  export { TableCell }
4860
6216
  export { TableCellProps }
4861
6217
  export { TableProps }
4862
6218
  export { TableRow }
4863
6219
  export { TableRowSlide }
6220
+ export { TableStyleBorderProps }
6221
+ export { TableStylePartProps }
6222
+ export { TableStyleProps }
4864
6223
  export { TableToSlidesProps }
4865
6224
  export { TextBaseProps }
6225
+ export { TextBodyProps }
6226
+ export { TextFieldType }
4866
6227
  export { TextGlowProps }
4867
6228
  export { TextProps }
4868
6229
  export { TextPropsOptions }
6230
+ export { TextRunProps }
4869
6231
  export { TextShapeType }
4870
6232
  export { ThemeColor }
4871
6233
  export { ThemeProps }
4872
6234
  export { TransitionType }
4873
6235
  export { TransparencyAnimationConfig }
4874
6236
  export { TransparencyLevel }
6237
+ export { UnitLength }
4875
6238
  export { VAlign }
6239
+ export { ViewProps }
4876
6240
  export { WRITE_OUTPUT_TYPE }
4877
6241
  export { WheelAnimationConfig }
4878
6242
  export { WipeAnimationConfig }
@@ -4883,4 +6247,6 @@ declare namespace PptxGenJS {
4883
6247
  export { ZoomAnimationConfig }
4884
6248
  export { ZoomDirection }
4885
6249
  export { ZoomProps }
6250
+ export { chartExRequiresNs }
6251
+ export { isChartexType }
4886
6252
  }