@office-open/pptx 0.6.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,11 +1,9 @@
1
1
  import * as _$_office_open_core0 from "@office-open/core";
2
- import { AppProperties, BaseXmlComponent, BuilderElement, IContext, IXmlableObject, IXmlifyedFile, ImportedXmlComponent, OutputByType, OutputType, ParsedDocument, PrettifyType, PrettifyType as PrettifyType$1, RelationshipType, Relationships, StringContainer, XmlComponent, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertPixelsToEmu, convertPointsToEmu, hashedId, parseArchive, uniqueId, uniqueNumericIdCreator, uniqueUuid } from "@office-open/core";
3
- import { BevelOptions, BevelPresetType, BlipFillConfigOptions, BlipFillMediaData, ColorTransformOptions, CompoundLine, EffectListOptions, FillOptions, GradientFillOptions as CoreGradientFillOptions, GradientStopOptions, GroupTransform2DOptions, IGradientStop, LineCap, LineJoin, OutlineOptions as CoreOutlineOptions, PathShadeType, PenAlignment, PresetDash, PresetGeometry, PresetMaterialType, Scene3DOptions, Shape3DOptions, TileFlipMode, Transform2DOptions, buildFill, createBevel, createBottomBevel, createColorElement, createColorTransforms, createEffectList, createGradientFill, createGradientStop, createOutline, createScene3D, createScene3D as createScene3D$1, createShape3D, createShape3D as createShape3D$1, extractBlipFillMedia } from "@office-open/core/drawingml";
4
- import { ChartCollection, ChartSpace, ChartType, IChartData, IChartSeriesData, IChartSpaceOptions } from "@office-open/core/chart";
5
- import { ITreeNode, SmartArtCollection } from "@office-open/core/smartart";
2
+ import { AppProperties, BaseXmlComponent, BuilderElement, Context, EmptyElement, IXmlableObject, ImportedXmlComponent, ParsedDocument, PrettifyType, RelationshipType, Relationships, XmlComponent, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertPixelsToEmu, convertPointsToEmu, hashedId, parseArchive, uniqueId, uniqueNumericIdCreator, uniqueUuid } from "@office-open/core";
3
+ import { BevelOptions, BevelPresetType, BlipFillConfigOptions, BlipFillMediaData, ColorTransformOptions, CompoundLine, EffectListOptions, FillOptions, GradientFillOptions as CoreGradientFillOptions, GradientStop, GradientStopOptions, GroupTransform2DOptions, LineCap, LineJoin, OutlineOptions as CoreOutlineOptions, PathShadeType, PenAlignment, PresetDash, PresetGeometry, PresetMaterialType, Scene3DOptions, Shape3DOptions, TileFlipMode, Transform2DOptions, buildFill, createBevel, createBottomBevel, createColorElement, createColorTransforms, createEffectList, createGradientFill, createGradientStop, createOutline, createScene3D, createScene3D as createScene3D$1, createShape3D, createShape3D as createShape3D$1, extractBlipFillMedia } from "@office-open/core/drawingml";
4
+ import { ChartCollection, ChartData, ChartSeriesData, ChartSpace, ChartSpaceOptions, ChartType } from "@office-open/core/chart";
5
+ import { SmartArtCollection, TreeNode } from "@office-open/core/smartart";
6
6
  import { Element } from "@office-open/xml";
7
- import { Buffer } from "\u0000polyfill-node.buffer";
8
- import { Readable } from "stream";
9
7
  export * from "@office-open/core/values";
10
8
 
11
9
  //#region src/file/drawingml/effects.d.ts
@@ -20,7 +18,7 @@ declare const ReflectionAlignment: {
20
18
  readonly BOTTOM: "b";
21
19
  readonly BOTTOM_RIGHT: "br";
22
20
  };
23
- interface IShadowOptions {
21
+ interface ShadowOptions {
24
22
  readonly blur?: number;
25
23
  readonly distance?: number;
26
24
  readonly direction?: number;
@@ -28,12 +26,12 @@ interface IShadowOptions {
28
26
  readonly alpha?: number;
29
27
  readonly rotateWithShape?: boolean;
30
28
  }
31
- interface IGlowOptions {
29
+ interface GlowOptions {
32
30
  readonly radius?: number;
33
31
  readonly color?: string;
34
32
  readonly alpha?: number;
35
33
  }
36
- interface IReflectionOptions {
34
+ interface ReflectionOptions {
37
35
  readonly blurRadius?: number;
38
36
  readonly distance?: number;
39
37
  readonly direction?: number;
@@ -49,42 +47,42 @@ interface IReflectionOptions {
49
47
  readonly alignment?: keyof typeof ReflectionAlignment;
50
48
  readonly rotateWithShape?: boolean;
51
49
  }
52
- interface ISoftEdgeOptions {
50
+ interface SoftEdgeOptions {
53
51
  readonly radius?: number;
54
52
  }
55
- interface IBevelOptions {
53
+ interface PPTXBevelOptions {
56
54
  readonly width?: number;
57
55
  readonly height?: number;
58
56
  }
59
- interface IRotation3DOptions {
57
+ interface Rotation3DOptions {
60
58
  readonly x?: number;
61
59
  readonly y?: number;
62
60
  readonly z?: number;
63
61
  readonly perspective?: number;
64
62
  }
65
- interface IEffectsOptions {
66
- readonly outerShadow?: IShadowOptions;
67
- readonly innerShadow?: IShadowOptions;
68
- readonly glow?: IGlowOptions;
69
- readonly reflection?: IReflectionOptions;
70
- readonly softEdge?: ISoftEdgeOptions;
71
- readonly rotation3D?: IRotation3DOptions;
72
- readonly bevelTop?: IBevelOptions;
73
- readonly bevelBottom?: IBevelOptions;
63
+ interface EffectsOptions {
64
+ readonly outerShadow?: ShadowOptions;
65
+ readonly innerShadow?: ShadowOptions;
66
+ readonly glow?: GlowOptions;
67
+ readonly reflection?: ReflectionOptions;
68
+ readonly softEdge?: SoftEdgeOptions;
69
+ readonly rotation3D?: Rotation3DOptions;
70
+ readonly bevelTop?: PPTXBevelOptions;
71
+ readonly bevelBottom?: PPTXBevelOptions;
74
72
  readonly extrusionH?: number;
75
73
  readonly material?: "plastic" | "metal" | "matte" | "warmMatte" | "softEdge" | "flat" | "powder";
76
74
  readonly lighting?: "flat" | "legacyFlat1" | "legacyFlat2" | "legacyFlat3" | "legacyFlat4" | "legacyHarsh1" | "legacyHarsh2" | "legacyHarsh3" | "legacyHarsh4" | "legacyNormal1" | "legacyNormal2" | "legacyNormal3" | "legacyNormal4" | "threePt" | "balanced" | "soft" | "harsh" | "flood" | "contrasting" | "morning" | "sunrise" | "sunset" | "chilly" | "freezing" | "twoPt" | "brightRoom" | "gallery";
77
75
  }
78
- declare function createPptxEffectList(options: IEffectsOptions): _$_office_open_core0.XmlComponent | null;
76
+ declare function createPptxEffectList(options: EffectsOptions): _$_office_open_core0.XmlComponent | null;
79
77
  //#endregion
80
78
  //#region src/file/background/background.d.ts
81
- interface IBackgroundOptions {
79
+ interface BackgroundOptions {
82
80
  readonly fill?: FillOptions;
83
- readonly effects?: IEffectsOptions;
81
+ readonly effects?: EffectsOptions;
84
82
  readonly shadeToTitle?: boolean;
85
83
  }
86
84
  declare class Background extends XmlComponent {
87
- constructor(options?: IBackgroundOptions);
85
+ constructor(options?: BackgroundOptions);
88
86
  }
89
87
  //#endregion
90
88
  //#region src/file/comment/comment-author-list.d.ts
@@ -129,11 +127,11 @@ declare class ContentTypes extends BaseXmlComponent {
129
127
  addSlideLayout(index: number): void;
130
128
  addSlideMaster(index: number): void;
131
129
  addTheme(index: number): void;
132
- prepForXml(_context: IContext): IXmlableObject;
130
+ prepForXml(_context: Context): IXmlableObject;
133
131
  }
134
132
  //#endregion
135
133
  //#region src/file/core-properties/properties.d.ts
136
- interface ICorePropertiesOptions {
134
+ interface CorePropertiesOptions {
137
135
  readonly title?: string;
138
136
  readonly subject?: string;
139
137
  readonly creator?: string;
@@ -144,23 +142,23 @@ interface ICorePropertiesOptions {
144
142
  }
145
143
  declare class CoreProperties extends BaseXmlComponent {
146
144
  private readonly options;
147
- constructor(options: ICorePropertiesOptions);
148
- prepForXml(_context: IContext): IXmlableObject;
145
+ constructor(options: CorePropertiesOptions);
146
+ prepForXml(_context: Context): IXmlableObject;
149
147
  }
150
148
  //#endregion
151
149
  //#region src/file/header-footer/header-footer.d.ts
152
- interface IHeaderFooterOptions {
150
+ interface SlideHeaderFooterOptions {
153
151
  readonly slideNumber?: boolean;
154
152
  readonly dateTime?: boolean;
155
153
  readonly footer?: string | boolean;
156
154
  readonly header?: boolean;
157
155
  }
158
156
  declare class HeaderFooter extends XmlComponent {
159
- constructor(options?: IHeaderFooterOptions);
157
+ constructor(options?: SlideHeaderFooterOptions);
160
158
  }
161
159
  //#endregion
162
160
  //#region src/file/hyperlink-collection.d.ts
163
- interface IHyperlinkData {
161
+ interface HyperlinkData {
164
162
  readonly key: string;
165
163
  readonly url: string;
166
164
  readonly tooltip?: string;
@@ -168,11 +166,11 @@ interface IHyperlinkData {
168
166
  declare class HyperlinkCollection {
169
167
  private readonly map;
170
168
  addHyperlink(key: string, url: string, tooltip?: string): void;
171
- get Array(): readonly IHyperlinkData[];
169
+ get Array(): readonly HyperlinkData[];
172
170
  }
173
171
  //#endregion
174
172
  //#region src/file/media/data.d.ts
175
- interface IMediaDataTransformation {
173
+ interface MediaDataTransformation {
176
174
  readonly pixels: {
177
175
  readonly x: number;
178
176
  readonly y: number;
@@ -189,7 +187,7 @@ interface IMediaDataTransformation {
189
187
  }
190
188
  interface CoreMediaData {
191
189
  readonly fileName: string;
192
- readonly transformation: IMediaDataTransformation;
190
+ readonly transformation: MediaDataTransformation;
193
191
  readonly data: Uint8Array;
194
192
  }
195
193
  interface RegularMediaData {
@@ -208,7 +206,7 @@ interface AudioMediaData {
208
206
  type IMediaData = (RegularMediaData | SvgMediaData | VideoMediaData | AudioMediaData) & CoreMediaData;
209
207
  //#endregion
210
208
  //#region src/file/media/media.d.ts
211
- interface IMediaTransformation {
209
+ interface MediaTransformation {
212
210
  readonly offset?: {
213
211
  readonly top?: number;
214
212
  readonly left?: number;
@@ -221,7 +219,7 @@ interface IMediaTransformation {
221
219
  };
222
220
  readonly rotation?: number;
223
221
  }
224
- declare const createTransformation: (options: IMediaTransformation) => IMediaDataTransformation;
222
+ declare const createTransformation: (options: MediaTransformation) => MediaDataTransformation;
225
223
  declare class Media {
226
224
  private readonly map;
227
225
  constructor();
@@ -231,15 +229,15 @@ declare class Media {
231
229
  }
232
230
  //#endregion
233
231
  //#region src/file/notes/notes-slide.d.ts
234
- interface INotesSlideOptions {
232
+ interface NotesSlideOptions {
235
233
  readonly text?: string;
236
234
  }
237
235
  declare class NotesSlide extends XmlComponent {
238
- constructor(options?: INotesSlideOptions);
236
+ constructor(options?: NotesSlideOptions);
239
237
  }
240
238
  //#endregion
241
239
  //#region src/file/presentation-properties.d.ts
242
- interface IShowOptions$1 {
240
+ interface ShowOptions$1 {
243
241
  readonly loop?: boolean;
244
242
  readonly kiosk?: boolean;
245
243
  readonly showNarration?: boolean;
@@ -247,13 +245,13 @@ interface IShowOptions$1 {
247
245
  }
248
246
  declare class PresentationProperties extends ImportedXmlComponent {
249
247
  private static cache;
250
- constructor(showOptions?: IShowOptions$1);
248
+ constructor(showOptions?: ShowOptions$1);
251
249
  prepForXml(): Readonly<Record<string, any>> | undefined;
252
250
  private readonly showOptions?;
253
251
  }
254
252
  //#endregion
255
253
  //#region src/file/presentation/presentation.d.ts
256
- interface IPresentationOptions$1 {
254
+ interface PresentationOptions {
257
255
  readonly slideWidth?: number;
258
256
  readonly slideHeight?: number;
259
257
  readonly slideIds: readonly number[];
@@ -261,20 +259,20 @@ interface IPresentationOptions$1 {
261
259
  }
262
260
  declare class Presentation extends XmlComponent {
263
261
  private readonly options;
264
- constructor(options: IPresentationOptions$1);
265
- prepForXml(_context: IContext): IXmlableObject | undefined;
266
- toXml(_context: IContext): string;
262
+ constructor(options: PresentationOptions);
263
+ prepForXml(_context: Context): IXmlableObject | undefined;
264
+ toXml(_context: Context): string;
267
265
  }
268
266
  //#endregion
269
267
  //#region src/file/presentation/presentation-wrapper.d.ts
270
- interface IViewWrapper {
268
+ interface ViewWrapper {
271
269
  readonly View: BaseXmlComponent;
272
270
  readonly Relationships: Relationships;
273
271
  }
274
- declare class PresentationWrapper implements IViewWrapper {
272
+ declare class PresentationWrapper implements ViewWrapper {
275
273
  private readonly presentation;
276
274
  private readonly relationships;
277
- constructor(options: IPresentationOptions$1);
275
+ constructor(options: PresentationOptions);
278
276
  get View(): Presentation;
279
277
  get Relationships(): Relationships;
280
278
  }
@@ -289,7 +287,7 @@ type PathAnimationType = "customPath" | "arc" | "bounce" | "circle" | "curve" |
289
287
  type MediaAnimationType = "playAudio" | "playVideo";
290
288
  type AnimationCalcMode = "discrete" | "lin" | "fmla";
291
289
  type AnimationValueType = "str" | "num" | "clr";
292
- interface IAnimationOptions {
290
+ interface AnimationOptions {
293
291
  readonly type?: AnimationType;
294
292
  readonly duration?: number;
295
293
  readonly delay?: number;
@@ -332,12 +330,12 @@ declare const createOutlineCompat: (options?: OutlineOptions, arrowheads?: {
332
330
  }) => _$_office_open_core0.XmlComponent;
333
331
  //#endregion
334
332
  //#region src/file/drawingml/shape-properties.d.ts
335
- interface IConnectionSiteOptions {
333
+ interface ConnectionSiteOptions {
336
334
  readonly x: number;
337
335
  readonly y: number;
338
336
  readonly angle?: number;
339
337
  }
340
- interface IShapePropertiesOptions {
338
+ interface ShapePropertiesOptions {
341
339
  readonly x?: number;
342
340
  readonly y?: number;
343
341
  readonly width?: number;
@@ -347,13 +345,13 @@ interface IShapePropertiesOptions {
347
345
  readonly geometry?: string;
348
346
  readonly fill?: FillOptions;
349
347
  readonly outline?: OutlineOptions;
350
- readonly effects?: IEffectsOptions;
351
- readonly connectionSites?: readonly IConnectionSiteOptions[];
348
+ readonly effects?: EffectsOptions;
349
+ readonly connectionSites?: readonly ConnectionSiteOptions[];
352
350
  }
353
351
  declare class ShapeProperties extends BaseXmlComponent {
354
352
  private readonly options;
355
- constructor(options: IShapePropertiesOptions);
356
- prepForXml(context: IContext<File>): IXmlableObject | undefined;
353
+ constructor(options: ShapePropertiesOptions);
354
+ prepForXml(context: Context<File>): IXmlableObject | undefined;
357
355
  }
358
356
  //#endregion
359
357
  //#region src/file/shape/paragraph/paragraph-properties.d.ts
@@ -380,13 +378,12 @@ type BulletNoneOption = {
380
378
  readonly type: "none";
381
379
  };
382
380
  type BulletOptions = BulletCharOptions | BulletAutoNumOptions | BulletNoneOption;
383
- interface IParagraphPropertiesOptions {
381
+ interface ParagraphPropertiesOptions {
384
382
  readonly alignment?: keyof typeof TextAlignment;
385
383
  readonly indentLevel?: number;
386
384
  readonly marginBottom?: number;
387
385
  readonly marginTop?: number;
388
386
  readonly bullet?: BulletOptions;
389
- readonly bulletNone?: boolean;
390
387
  readonly lineSpacing?: number;
391
388
  readonly lineSpacingPoints?: number;
392
389
  readonly marginIndent?: number;
@@ -395,8 +392,8 @@ interface IParagraphPropertiesOptions {
395
392
  }
396
393
  declare class ParagraphProperties extends XmlComponent {
397
394
  private readonly options;
398
- constructor(options?: IParagraphPropertiesOptions);
399
- prepForXml(_context: IContext): IXmlableObject | undefined;
395
+ constructor(options?: ParagraphPropertiesOptions);
396
+ prepForXml(_context: Context): IXmlableObject | undefined;
400
397
  }
401
398
  //#endregion
402
399
  //#region src/file/shape/paragraph/run-properties.d.ts
@@ -415,11 +412,11 @@ declare const TextCapitalization: {
415
412
  readonly ALL: "all";
416
413
  readonly SMALL: "small";
417
414
  };
418
- interface IHyperlinkOptions {
415
+ interface HyperlinkOptions {
419
416
  readonly url: string;
420
417
  readonly tooltip?: string;
421
418
  }
422
- interface IRunPropertiesOptions {
419
+ interface RunPropertiesOptions {
423
420
  readonly fontSize?: number;
424
421
  readonly bold?: boolean;
425
422
  readonly italic?: boolean;
@@ -427,7 +424,7 @@ interface IRunPropertiesOptions {
427
424
  readonly font?: string;
428
425
  readonly lang?: string;
429
426
  readonly fill?: FillOptions;
430
- readonly hyperlink?: IHyperlinkOptions;
427
+ readonly hyperlink?: HyperlinkOptions;
431
428
  readonly strike?: keyof typeof StrikeStyle;
432
429
  readonly baseline?: number;
433
430
  readonly spacing?: number;
@@ -440,35 +437,35 @@ interface IRunPropertiesOptions {
440
437
  }
441
438
  declare class RunProperties extends XmlComponent {
442
439
  private readonly options;
443
- static hasProperties(options: IRunPropertiesOptions): boolean;
444
- constructor(options?: IRunPropertiesOptions);
445
- prepForXml(context: IContext): IXmlableObject | undefined;
440
+ static hasProperties(options: RunPropertiesOptions): boolean;
441
+ constructor(options?: RunPropertiesOptions);
442
+ prepForXml(context: Context): IXmlableObject | undefined;
446
443
  }
447
444
  //#endregion
448
445
  //#region src/file/shape/paragraph/run.d.ts
449
- interface IRunOptions extends IRunPropertiesOptions {
446
+ interface RunOptions extends RunPropertiesOptions {
450
447
  readonly text?: string;
451
448
  }
452
449
  declare class TextRun extends XmlComponent {
453
450
  private readonly options;
454
- constructor(options?: IRunOptions | string);
455
- prepForXml(context: IContext): IXmlableObject | undefined;
451
+ constructor(options?: RunOptions | string);
452
+ prepForXml(context: Context): IXmlableObject | undefined;
456
453
  }
457
454
  //#endregion
458
455
  //#region src/file/shape/paragraph/paragraph.d.ts
459
- interface IParagraphOptions {
456
+ interface ParagraphOptions {
460
457
  readonly text?: string;
461
- readonly properties?: IParagraphPropertiesOptions;
462
- readonly children?: readonly (TextRun | IRunOptions | XmlComponent)[];
458
+ readonly properties?: ParagraphPropertiesOptions;
459
+ readonly children?: readonly (TextRun | RunOptions | XmlComponent)[];
463
460
  }
464
461
  declare class Paragraph extends XmlComponent {
465
462
  private readonly options;
466
- constructor(options?: string | IParagraphOptions);
467
- prepForXml(context: IContext): IXmlableObject | undefined;
463
+ constructor(options?: string | ParagraphOptions);
464
+ prepForXml(context: Context): IXmlableObject | undefined;
468
465
  }
469
466
  //#endregion
470
467
  //#region src/file/table/table-cell-properties.d.ts
471
- interface ICellBorderOptions {
468
+ interface CellBorderOptions {
472
469
  readonly width?: number;
473
470
  readonly color?: string;
474
471
  readonly dashStyle?: "solid" | "dash" | "dashDot" | "lgDash" | "sysDot" | "sysDash";
@@ -478,14 +475,14 @@ declare class TableCellProperties extends BaseXmlComponent {
478
475
  constructor(options?: {
479
476
  readonly fill?: FillOptions;
480
477
  readonly borders?: {
481
- readonly top?: ICellBorderOptions;
482
- readonly bottom?: ICellBorderOptions;
483
- readonly left?: ICellBorderOptions;
484
- readonly right?: ICellBorderOptions;
478
+ readonly top?: CellBorderOptions;
479
+ readonly bottom?: CellBorderOptions;
480
+ readonly left?: CellBorderOptions;
481
+ readonly right?: CellBorderOptions;
485
482
  };
486
483
  readonly verticalAlign?: "t" | "ctr" | "b";
487
484
  });
488
- prepForXml(context: IContext): IXmlableObject;
485
+ prepForXml(context: Context): IXmlableObject;
489
486
  }
490
487
  //#endregion
491
488
  //#region src/file/table/table-cell.d.ts
@@ -494,15 +491,15 @@ declare const VerticalAlignment: {
494
491
  readonly CENTER: "ctr";
495
492
  readonly BOTTOM: "b";
496
493
  };
497
- interface ITableCellOptions {
494
+ interface TableCellOptions {
498
495
  readonly text?: string;
499
- readonly children?: readonly (BaseXmlComponent | IParagraphOptions | string)[];
496
+ readonly children?: readonly (BaseXmlComponent | ParagraphOptions | string)[];
500
497
  readonly fill?: FillOptions;
501
498
  readonly borders?: {
502
- readonly top?: ICellBorderOptions;
503
- readonly bottom?: ICellBorderOptions;
504
- readonly left?: ICellBorderOptions;
505
- readonly right?: ICellBorderOptions;
499
+ readonly top?: CellBorderOptions;
500
+ readonly bottom?: CellBorderOptions;
501
+ readonly left?: CellBorderOptions;
502
+ readonly right?: CellBorderOptions;
506
503
  };
507
504
  readonly columnSpan?: number;
508
505
  readonly rowSpan?: number;
@@ -517,13 +514,13 @@ interface ITableCellOptions {
517
514
  declare class TableCell extends BaseXmlComponent {
518
515
  private readonly options;
519
516
  private readonly paragraphs?;
520
- constructor(options?: ITableCellOptions);
521
- prepForXml(context: IContext): IXmlableObject;
517
+ constructor(options?: TableCellOptions);
518
+ prepForXml(context: Context): IXmlableObject;
522
519
  }
523
520
  //#endregion
524
521
  //#region src/file/shape/text-body.d.ts
525
- interface ITextBodyOptions {
526
- readonly paragraphs?: readonly (Paragraph | IParagraphOptions | string)[];
522
+ interface TextBodyOptions {
523
+ readonly paragraphs?: readonly (Paragraph | ParagraphOptions | string)[];
527
524
  readonly vertical?: "vert" | "vert270" | "horz" | "wordArtVert";
528
525
  readonly anchor?: keyof typeof VerticalAlignment;
529
526
  readonly autoFit?: "normal" | "shape" | "none";
@@ -539,12 +536,12 @@ interface ITextBodyOptions {
539
536
  }
540
537
  declare class TextBody extends XmlComponent {
541
538
  private readonly options;
542
- constructor(options?: ITextBodyOptions);
543
- prepForXml(context: IContext): IXmlableObject | undefined;
539
+ constructor(options?: TextBodyOptions);
540
+ prepForXml(context: Context): IXmlableObject | undefined;
544
541
  }
545
542
  //#endregion
546
543
  //#region src/file/shape/shape.d.ts
547
- interface IShapeOptions {
544
+ interface ShapeOptions {
548
545
  readonly id?: number;
549
546
  readonly name?: string;
550
547
  readonly x?: number;
@@ -552,21 +549,21 @@ interface IShapeOptions {
552
549
  readonly width?: number;
553
550
  readonly height?: number;
554
551
  readonly geometry?: string;
555
- readonly fill?: IShapePropertiesOptions["fill"];
552
+ readonly fill?: ShapePropertiesOptions["fill"];
556
553
  readonly outline?: OutlineOptions;
557
- readonly effects?: IEffectsOptions;
554
+ readonly effects?: EffectsOptions;
558
555
  readonly flipHorizontal?: boolean;
559
556
  readonly rotation?: number;
560
557
  readonly text?: string;
561
- readonly paragraphs?: ITextBodyOptions["paragraphs"];
562
- readonly textVertical?: ITextBodyOptions["vertical"];
563
- readonly textAnchor?: ITextBodyOptions["anchor"];
564
- readonly textAutoFit?: ITextBodyOptions["autoFit"];
565
- readonly textWrap?: ITextBodyOptions["wrap"];
566
- readonly textMargins?: ITextBodyOptions["margins"];
567
- readonly textColumns?: ITextBodyOptions["columns"];
568
- readonly textColumnSpacing?: ITextBodyOptions["columnSpacing"];
569
- readonly animation?: IAnimationOptions;
558
+ readonly paragraphs?: TextBodyOptions["paragraphs"];
559
+ readonly textVertical?: TextBodyOptions["vertical"];
560
+ readonly textAnchor?: TextBodyOptions["anchor"];
561
+ readonly textAutoFit?: TextBodyOptions["autoFit"];
562
+ readonly textWrap?: TextBodyOptions["wrap"];
563
+ readonly textMargins?: TextBodyOptions["margins"];
564
+ readonly textColumns?: TextBodyOptions["columns"];
565
+ readonly textColumnSpacing?: TextBodyOptions["columnSpacing"];
566
+ readonly animation?: AnimationOptions;
570
567
  readonly placeholder?: "title" | "body" | "subTitle" | "sldNum" | "dt" | "ftr" | "hdr" | "obj";
571
568
  readonly placeholderIndex?: number;
572
569
  }
@@ -575,10 +572,10 @@ declare class Shape extends XmlComponent {
575
572
  private readonly shapeId;
576
573
  private readonly animationOptions?;
577
574
  private readonly options;
578
- constructor(options?: IShapeOptions);
575
+ constructor(options?: ShapeOptions);
579
576
  get ShapeId(): number;
580
- get Animation(): IAnimationOptions | undefined;
581
- prepForXml(context: IContext): IXmlableObject | undefined;
577
+ get Animation(): AnimationOptions | undefined;
578
+ prepForXml(context: Context): IXmlableObject | undefined;
582
579
  }
583
580
  //#endregion
584
581
  //#region src/file/slide-layout/slide-layout.d.ts
@@ -587,7 +584,7 @@ declare class SlideLayout extends ImportedXmlComponent {
587
584
  private static cache;
588
585
  readonly layoutType: SlideLayoutType;
589
586
  private readonly cacheKey;
590
- constructor(layoutType?: SlideLayoutType, slideWidth?: number, definition?: ILayoutDefinition);
587
+ constructor(layoutType?: SlideLayoutType, slideWidth?: number, definition?: LayoutDefinition);
591
588
  prepForXml(): Readonly<Record<string, any>> | undefined;
592
589
  }
593
590
  declare class DefaultSlideLayout extends SlideLayout {
@@ -595,33 +592,33 @@ declare class DefaultSlideLayout extends SlideLayout {
595
592
  }
596
593
  //#endregion
597
594
  //#region src/file/slide-master/slide-master.d.ts
598
- interface IMasterPlaceholderPosition {
595
+ interface MasterPlaceholderPosition {
599
596
  readonly x: number;
600
597
  readonly y: number;
601
598
  readonly width: number;
602
599
  readonly height: number;
603
600
  }
604
- interface IMasterPlaceholderOptions {
605
- readonly title?: boolean | IMasterPlaceholderPosition;
606
- readonly body?: boolean | IMasterPlaceholderPosition;
607
- readonly date?: boolean | IMasterPlaceholderPosition;
608
- readonly footer?: boolean | IMasterPlaceholderPosition;
609
- readonly slideNumber?: boolean | IMasterPlaceholderPosition;
601
+ interface MasterPlaceholderOptions {
602
+ readonly title?: boolean | MasterPlaceholderPosition;
603
+ readonly body?: boolean | MasterPlaceholderPosition;
604
+ readonly date?: boolean | MasterPlaceholderPosition;
605
+ readonly footer?: boolean | MasterPlaceholderPosition;
606
+ readonly slideNumber?: boolean | MasterPlaceholderPosition;
610
607
  }
611
- interface ISlideMasterOptions {
612
- readonly background?: IBackgroundOptions;
608
+ interface SlideMasterOptions {
609
+ readonly background?: BackgroundOptions;
613
610
  readonly children?: readonly MasterChild[];
614
- readonly placeholders?: IMasterPlaceholderOptions;
611
+ readonly placeholders?: MasterPlaceholderOptions;
615
612
  }
616
613
  declare class DefaultSlideMaster extends ImportedXmlComponent {
617
614
  private static cache;
618
615
  private readonly cacheKey;
619
- constructor(layoutCount?: number, headerFooter?: IHeaderFooterOptions, masterOptions?: ISlideMasterOptions, slideWidth?: number, masterIndex?: number);
616
+ constructor(layoutCount?: number, headerFooter?: SlideHeaderFooterOptions, masterOptions?: SlideMasterOptions, slideWidth?: number, masterIndex?: number);
620
617
  prepForXml(): Readonly<Record<string, any>> | undefined;
621
618
  }
622
619
  //#endregion
623
620
  //#region src/file/chart/chart-frame.d.ts
624
- interface IChartFrameOptions extends IChartSpaceOptions {
621
+ interface ChartFrameOptions extends ChartSpaceOptions {
625
622
  readonly x?: number;
626
623
  readonly y?: number;
627
624
  readonly width?: number;
@@ -630,13 +627,13 @@ interface IChartFrameOptions extends IChartSpaceOptions {
630
627
  declare class ChartFrame extends XmlComponent {
631
628
  private readonly chartOptions;
632
629
  private readonly chartKey;
633
- constructor(options: IChartFrameOptions);
634
- prepForXml(context: IContext): IXmlableObject | undefined;
630
+ constructor(options: ChartFrameOptions);
631
+ prepForXml(context: Context): IXmlableObject | undefined;
635
632
  get ChartKey(): string;
636
633
  }
637
634
  //#endregion
638
635
  //#region src/file/media/media-frame-base.d.ts
639
- interface IMediaFrameBaseOptions {
636
+ interface MediaFrameBaseOptions {
640
637
  readonly x?: number;
641
638
  readonly y?: number;
642
639
  readonly width?: number;
@@ -644,14 +641,14 @@ interface IMediaFrameBaseOptions {
644
641
  readonly data: Uint8Array;
645
642
  readonly type: IMediaData["type"];
646
643
  readonly name?: string;
647
- readonly animation?: IAnimationOptions;
644
+ readonly animation?: AnimationOptions;
648
645
  }
649
646
  declare abstract class MediaFrameBase extends XmlComponent {
650
647
  private readonly shapeId;
651
648
  private readonly animationOptions?;
652
649
  protected readonly mediaData: IMediaData;
653
650
  protected readonly posterData?: IMediaData;
654
- protected constructor(options: IMediaFrameBaseOptions, id: number, mediaFileName: string, params: {
651
+ protected constructor(options: MediaFrameBaseOptions, id: number, mediaFileName: string, params: {
655
652
  readonly extUri: string;
656
653
  readonly cNvPrPrefix: string;
657
654
  readonly nvPrExtraChildren?: BuilderElement[];
@@ -660,35 +657,35 @@ declare abstract class MediaFrameBase extends XmlComponent {
660
657
  readonly posterFileName?: string;
661
658
  });
662
659
  get ShapeId(): number;
663
- get Animation(): IAnimationOptions | undefined;
664
- prepForXml(context: IContext): Readonly<Record<string, any>> | undefined;
660
+ get Animation(): AnimationOptions | undefined;
661
+ prepForXml(context: Context): Readonly<Record<string, any>> | undefined;
665
662
  }
666
663
  //#endregion
667
664
  //#region src/file/media/audio-frame.d.ts
668
665
  type AudioType = "mp3" | "wav" | "wma" | "aac";
669
- interface IAudioFrameOptions extends IMediaFrameBaseOptions {
666
+ interface AudioFrameOptions extends MediaFrameBaseOptions {
670
667
  readonly type: AudioType;
671
668
  }
672
669
  declare class AudioFrame extends MediaFrameBase {
673
670
  private static nextId;
674
- constructor(options: IAudioFrameOptions);
671
+ constructor(options: AudioFrameOptions);
675
672
  }
676
673
  //#endregion
677
674
  //#region src/file/media/video-frame.d.ts
678
675
  type VideoType = "mp4" | "mov" | "wmv" | "avi";
679
676
  type PosterType = "png" | "jpg";
680
- interface IVideoFrameOptions extends IMediaFrameBaseOptions {
677
+ interface VideoFrameOptions extends MediaFrameBaseOptions {
681
678
  readonly type: VideoType;
682
679
  readonly poster?: Uint8Array;
683
680
  readonly posterType?: PosterType;
684
681
  }
685
682
  declare class VideoFrame extends MediaFrameBase {
686
683
  private static nextId;
687
- constructor(options: IVideoFrameOptions);
684
+ constructor(options: VideoFrameOptions);
688
685
  }
689
686
  //#endregion
690
687
  //#region src/file/picture/picture.d.ts
691
- interface IPictureOptions {
688
+ interface PictureOptions {
692
689
  readonly x?: number;
693
690
  readonly y?: number;
694
691
  readonly width?: number;
@@ -700,12 +697,12 @@ interface IPictureOptions {
700
697
  declare class Picture extends XmlComponent {
701
698
  private static nextId;
702
699
  private readonly imageData;
703
- constructor(options: IPictureOptions);
704
- prepForXml(context: IContext): Readonly<Record<string, any>> | undefined;
700
+ constructor(options: PictureOptions);
701
+ prepForXml(context: Context): Readonly<Record<string, any>> | undefined;
705
702
  }
706
703
  //#endregion
707
704
  //#region src/file/shape/group-shape.d.ts
708
- interface IGroupShapeOptions {
705
+ interface GroupShapeOptions {
709
706
  readonly x?: number;
710
707
  readonly y?: number;
711
708
  readonly width?: number;
@@ -718,18 +715,18 @@ declare class GroupShape extends BaseXmlComponent {
718
715
  private static nextId;
719
716
  private readonly id;
720
717
  private readonly options;
721
- constructor(options: IGroupShapeOptions);
722
- prepForXml(context: IContext): IXmlableObject;
718
+ constructor(options: GroupShapeOptions);
719
+ prepForXml(context: Context): IXmlableObject;
723
720
  }
724
721
  //#endregion
725
722
  //#region src/file/shape/line-shape.d.ts
726
723
  declare class LineShape extends XmlComponent {
727
724
  private static nextId;
728
725
  private readonly shapeId;
729
- constructor(options?: ILineShapeOptions);
726
+ constructor(options?: LineShapeOptions);
730
727
  get ShapeId(): number;
731
728
  }
732
- interface ILineShapeOptions {
729
+ interface LineShapeOptions {
733
730
  readonly id?: number;
734
731
  readonly name?: string;
735
732
  readonly x1?: number;
@@ -743,10 +740,10 @@ type ArrowheadType = "triangle" | "stealth" | "diamond" | "oval" | "open" | "non
743
740
  declare class ConnectorShape extends XmlComponent {
744
741
  private static nextId;
745
742
  private readonly shapeId;
746
- constructor(options?: IConnectorShapeOptions);
743
+ constructor(options?: ConnectorShapeOptions);
747
744
  get ShapeId(): number;
748
745
  }
749
- interface IConnectorShapeOptions {
746
+ interface ConnectorShapeOptions {
750
747
  readonly id?: number;
751
748
  readonly name?: string;
752
749
  readonly x1?: number;
@@ -762,12 +759,12 @@ interface IConnectorShapeOptions {
762
759
  }
763
760
  //#endregion
764
761
  //#region src/file/smartart/smartart-frame.d.ts
765
- interface ISmartArtFrameOptions {
762
+ interface SmartArtFrameOptions {
766
763
  readonly x?: number;
767
764
  readonly y?: number;
768
765
  readonly width?: number;
769
766
  readonly height?: number;
770
- readonly nodes: readonly ITreeNode[];
767
+ readonly nodes: readonly TreeNode[];
771
768
  readonly name?: string;
772
769
  readonly layout?: string;
773
770
  readonly style?: string;
@@ -779,24 +776,24 @@ declare class SmartArtFrame extends XmlComponent {
779
776
  private readonly layoutId;
780
777
  private readonly styleId;
781
778
  private readonly colorId;
782
- constructor(options: ISmartArtFrameOptions);
783
- prepForXml(context: IContext): IXmlableObject | undefined;
779
+ constructor(options: SmartArtFrameOptions);
780
+ prepForXml(context: Context): IXmlableObject | undefined;
784
781
  }
785
782
  //#endregion
786
783
  //#region src/file/table/table-row.d.ts
787
- interface ITableRowOptions {
784
+ interface TableRowOptions {
788
785
  readonly height?: number;
789
- readonly cells: readonly ITableCellOptions[];
786
+ readonly cells: readonly TableCellOptions[];
790
787
  }
791
788
  declare class TableRow extends BaseXmlComponent {
792
789
  private readonly options;
793
- constructor(options: ITableRowOptions);
794
- prepForXml(context: IContext): IXmlableObject;
790
+ constructor(options: TableRowOptions);
791
+ prepForXml(context: Context): IXmlableObject;
795
792
  }
796
793
  //#endregion
797
794
  //#region src/file/table/table.d.ts
798
- interface ITableOptions {
799
- readonly rows: readonly ITableRowOptions[];
795
+ interface TableOptions {
796
+ readonly rows: readonly TableRowOptions[];
800
797
  readonly columnWidths?: readonly number[];
801
798
  readonly firstRow?: boolean;
802
799
  readonly lastRow?: boolean;
@@ -805,56 +802,56 @@ interface ITableOptions {
805
802
  readonly lastCol?: boolean;
806
803
  readonly bandCol?: boolean;
807
804
  readonly borders?: {
808
- readonly top?: ICellBorderOptions;
809
- readonly bottom?: ICellBorderOptions;
810
- readonly left?: ICellBorderOptions;
811
- readonly right?: ICellBorderOptions;
805
+ readonly top?: CellBorderOptions;
806
+ readonly bottom?: CellBorderOptions;
807
+ readonly left?: CellBorderOptions;
808
+ readonly right?: CellBorderOptions;
812
809
  };
813
810
  }
814
811
  declare class Table extends BaseXmlComponent {
815
812
  private readonly options;
816
- constructor(options: ITableOptions);
817
- prepForXml(context: IContext): IXmlableObject;
813
+ constructor(options: TableOptions);
814
+ prepForXml(context: Context): IXmlableObject;
818
815
  }
819
816
  //#endregion
820
817
  //#region src/file/table/table-frame.d.ts
821
- interface ITableFrameOptions extends ITableOptions {
818
+ interface TableFrameOptions extends TableOptions {
822
819
  readonly x?: number;
823
820
  readonly y?: number;
824
821
  readonly width?: number;
825
822
  readonly height?: number;
826
823
  }
827
824
  declare class TableFrame extends XmlComponent {
828
- constructor(options: ITableFrameOptions);
825
+ constructor(options: TableFrameOptions);
829
826
  }
830
827
  //#endregion
831
828
  //#region src/file/slide/slide-child.d.ts
832
829
  type SlideChild = BaseXmlComponent | {
833
- shape: IShapeOptions;
830
+ shape: ShapeOptions;
834
831
  } | {
835
- picture: IPictureOptions;
832
+ picture: PictureOptions;
836
833
  } | {
837
- table: ITableFrameOptions;
834
+ table: TableFrameOptions;
838
835
  } | {
839
- chart: IChartFrameOptions;
836
+ chart: ChartFrameOptions;
840
837
  } | {
841
- line: ILineShapeOptions;
838
+ line: LineShapeOptions;
842
839
  } | {
843
- connector: IConnectorShapeOptions;
840
+ connector: ConnectorShapeOptions;
844
841
  } | {
845
- video: IVideoFrameOptions;
842
+ video: VideoFrameOptions;
846
843
  } | {
847
- audio: IAudioFrameOptions;
844
+ audio: AudioFrameOptions;
848
845
  } | {
849
- group: IGroupShapeOptions;
846
+ group: GroupShapeOptions;
850
847
  } | {
851
- smartart: ISmartArtFrameOptions;
848
+ smartart: SmartArtFrameOptions;
852
849
  };
853
850
  //#endregion
854
851
  //#region src/file/transition/transition.d.ts
855
852
  type TransitionType = "fade" | "push" | "wipe" | "split" | "blinds" | "checker" | "comb" | "randomBar" | "cover" | "pull" | "strips" | "wheel" | "zoom" | "circle" | "dissolve" | "diamond" | "newsflash" | "plus" | "wedge" | "random" | "cut";
856
853
  type TransitionDirection = "left" | "up" | "right" | "down" | "leftUp" | "rightUp" | "leftDown" | "rightDown" | "out" | "in";
857
- interface ITransitionOptions {
854
+ interface TransitionOptions {
858
855
  readonly type?: TransitionType;
859
856
  readonly speed?: "slow" | "med" | "fast";
860
857
  readonly advanceOnClick?: boolean;
@@ -866,8 +863,8 @@ interface ITransitionOptions {
866
863
  }
867
864
  declare class Transition extends BaseXmlComponent {
868
865
  private readonly options;
869
- constructor(options?: ITransitionOptions);
870
- prepForXml(_context: IContext): IXmlableObject;
866
+ constructor(options?: TransitionOptions);
867
+ prepForXml(_context: Context): IXmlableObject;
871
868
  }
872
869
  //#endregion
873
870
  //#region src/file/slide/slide.d.ts
@@ -875,9 +872,9 @@ declare class Slide extends XmlComponent {
875
872
  private readonly children;
876
873
  private readonly background?;
877
874
  private readonly transition?;
878
- readonly HeaderFooter?: IHeaderFooterOptions;
879
- constructor(children: readonly SlideChild[], background?: Background, transition?: ITransitionOptions, headerFooter?: IHeaderFooterOptions);
880
- prepForXml(context: IContext): IXmlableObject;
875
+ readonly HeaderFooter?: SlideHeaderFooterOptions;
876
+ constructor(children: readonly SlideChild[], background?: Background, transition?: TransitionOptions, headerFooter?: SlideHeaderFooterOptions);
877
+ prepForXml(context: Context): IXmlableObject;
881
878
  }
882
879
  //#endregion
883
880
  //#region src/file/table-styles.d.ts
@@ -888,7 +885,7 @@ declare class TableStyles extends ImportedXmlComponent {
888
885
  }
889
886
  //#endregion
890
887
  //#region src/file/theme/theme.d.ts
891
- interface IColorSchemeOptions {
888
+ interface ColorSchemeOptions {
892
889
  dark1?: string;
893
890
  light1?: string;
894
891
  dark2?: string;
@@ -902,21 +899,21 @@ interface IColorSchemeOptions {
902
899
  hyperlink?: string;
903
900
  followedHyperlink?: string;
904
901
  }
905
- interface IFontSchemeOptions {
902
+ interface FontSchemeOptions {
906
903
  majorFont?: string;
907
904
  minorFont?: string;
908
905
  majorFontAsian?: string;
909
906
  minorFontAsian?: string;
910
907
  }
911
- interface IThemeOptions {
908
+ interface ThemeOptions {
912
909
  name?: string;
913
- colors?: IColorSchemeOptions;
914
- fonts?: IFontSchemeOptions;
910
+ colors?: ColorSchemeOptions;
911
+ fonts?: FontSchemeOptions;
915
912
  }
916
913
  declare class DefaultTheme extends ImportedXmlComponent {
917
914
  private static cache;
918
915
  private readonly cacheKey;
919
- constructor(options?: IThemeOptions);
916
+ constructor(options?: ThemeOptions);
920
917
  prepForXml(): Readonly<Record<string, any>> | undefined;
921
918
  }
922
919
  //#endregion
@@ -929,32 +926,32 @@ declare class ViewProperties extends ImportedXmlComponent {
929
926
  //#endregion
930
927
  //#region src/file/file.d.ts
931
928
  type MasterChild = BaseXmlComponent | {
932
- shape: IShapeOptions;
929
+ shape: ShapeOptions;
933
930
  };
934
931
  type SlideSize = "16:9" | "4:3" | {
935
932
  readonly width: number;
936
933
  readonly height: number;
937
934
  };
938
- interface ILayoutPlaceholderOptions {
939
- readonly title?: IMasterPlaceholderPosition | false;
940
- readonly body?: IMasterPlaceholderPosition | false;
941
- readonly subtitle?: IMasterPlaceholderPosition | false;
942
- readonly date?: IMasterPlaceholderPosition | false;
943
- readonly footer?: IMasterPlaceholderPosition | false;
944
- readonly slideNumber?: IMasterPlaceholderPosition | false;
945
- }
946
- interface ILayoutDefinition {
935
+ interface LayoutPlaceholderOptions {
936
+ readonly title?: MasterPlaceholderPosition | false;
937
+ readonly body?: MasterPlaceholderPosition | false;
938
+ readonly subtitle?: MasterPlaceholderPosition | false;
939
+ readonly date?: MasterPlaceholderPosition | false;
940
+ readonly footer?: MasterPlaceholderPosition | false;
941
+ readonly slideNumber?: MasterPlaceholderPosition | false;
942
+ }
943
+ interface LayoutDefinition {
947
944
  readonly type?: SlideLayoutType;
948
945
  readonly name?: string;
949
- readonly placeholders?: ILayoutPlaceholderOptions;
946
+ readonly placeholders?: LayoutPlaceholderOptions;
950
947
  readonly children?: readonly MasterChild[];
951
948
  }
952
- interface IMasterDefinition extends ISlideMasterOptions {
949
+ interface MasterDefinition extends SlideMasterOptions {
953
950
  readonly name?: string;
954
- readonly theme?: IThemeOptions;
955
- readonly layouts?: readonly ILayoutDefinition[];
951
+ readonly theme?: ThemeOptions;
952
+ readonly layouts?: readonly LayoutDefinition[];
956
953
  }
957
- interface ICommentOptions {
954
+ interface SlideCommentOptions {
958
955
  readonly author: string;
959
956
  readonly text: string;
960
957
  readonly x: number;
@@ -962,27 +959,27 @@ interface ICommentOptions {
962
959
  readonly initials?: string;
963
960
  readonly date?: string;
964
961
  }
965
- interface ISlideOptions {
962
+ interface SlideOptions {
966
963
  readonly children?: readonly SlideChild[];
967
- readonly background?: IBackgroundOptions;
964
+ readonly background?: BackgroundOptions;
968
965
  readonly notes?: string;
969
- readonly transition?: ITransitionOptions;
970
- readonly headerFooter?: IHeaderFooterOptions;
971
- readonly comments?: readonly ICommentOptions[];
966
+ readonly transition?: TransitionOptions;
967
+ readonly headerFooter?: SlideHeaderFooterOptions;
968
+ readonly comments?: readonly SlideCommentOptions[];
972
969
  readonly layout?: SlideLayoutType | string;
973
970
  readonly master?: string;
974
971
  }
975
- interface IShowOptions {
972
+ interface ShowOptions {
976
973
  readonly loop?: boolean;
977
974
  readonly kiosk?: boolean;
978
975
  readonly showNarration?: boolean;
979
976
  readonly useTimings?: boolean;
980
977
  }
981
- interface IPresentationOptions extends ICorePropertiesOptions {
978
+ interface PresentationOptions$1 extends CorePropertiesOptions {
982
979
  readonly size?: SlideSize;
983
- readonly masters?: readonly IMasterDefinition[];
984
- readonly slides?: readonly ISlideOptions[];
985
- readonly show?: IShowOptions;
980
+ readonly masters?: readonly MasterDefinition[];
981
+ readonly slides?: readonly SlideOptions[];
982
+ readonly show?: ShowOptions;
986
983
  }
987
984
  interface LayoutInfo {
988
985
  readonly key: string;
@@ -1018,7 +1015,7 @@ declare class File {
1018
1015
  private commentAuthorList?;
1019
1016
  private slideCommentLists?;
1020
1017
  private fileRels?;
1021
- constructor(options: IPresentationOptions);
1018
+ constructor(options: PresentationOptions$1);
1022
1019
  private getMasterMap;
1023
1020
  private findLayoutForSlide;
1024
1021
  get CoreProperties(): CoreProperties;
@@ -1052,7 +1049,7 @@ declare class File {
1052
1049
  }
1053
1050
  //#endregion
1054
1051
  //#region src/file/shape/paragraph/text.d.ts
1055
- declare class Text extends StringContainer {
1052
+ declare class Text extends XmlComponent {
1056
1053
  constructor(value: string);
1057
1054
  }
1058
1055
  //#endregion
@@ -1062,7 +1059,7 @@ declare class EndParagraphRunProperties extends BuilderElement<{
1062
1059
  }> {
1063
1060
  private readonly lang;
1064
1061
  constructor(lang?: string);
1065
- prepForXml(_context: IContext): IXmlableObject | undefined;
1062
+ prepForXml(_context: Context): IXmlableObject | undefined;
1066
1063
  }
1067
1064
  //#endregion
1068
1065
  //#region src/file/shape/paragraph/field.d.ts
@@ -1086,7 +1083,7 @@ type ITransform2DOptions = Transform2DOptions;
1086
1083
  declare class Transform2D extends XmlComponent {
1087
1084
  private readonly core;
1088
1085
  constructor(options: ITransform2DOptions, prefix?: "a" | "p");
1089
- prepForXml(context: IContext): IXmlableObject | undefined;
1086
+ prepForXml(context: Context): IXmlableObject | undefined;
1090
1087
  }
1091
1088
  //#endregion
1092
1089
  //#region src/file/drawingml/non-visual-drawing-props.d.ts
@@ -1098,12 +1095,12 @@ declare class NonVisualDrawingProperties extends BuilderElement<{
1098
1095
  }
1099
1096
  //#endregion
1100
1097
  //#region src/file/drawingml/non-visual-shape-props.d.ts
1101
- declare class NonVisualShapeProperties extends XmlComponent {
1098
+ declare class NonVisualShapeProperties extends EmptyElement {
1102
1099
  constructor();
1103
1100
  }
1104
1101
  //#endregion
1105
1102
  //#region src/file/drawingml/non-visual-picture-props.d.ts
1106
- declare class NonVisualPictureProperties extends XmlComponent {
1103
+ declare class NonVisualPictureProperties extends EmptyElement {
1107
1104
  constructor();
1108
1105
  }
1109
1106
  //#endregion
@@ -1112,7 +1109,7 @@ type IGroupTransform2DOptions = GroupTransform2DOptions;
1112
1109
  declare class GroupTransform2D extends XmlComponent {
1113
1110
  private readonly core;
1114
1111
  constructor(options: IGroupTransform2DOptions, prefix?: "a" | "p");
1115
- prepForXml(context: IContext): IXmlableObject | undefined;
1112
+ prepForXml(context: Context): IXmlableObject | undefined;
1116
1113
  }
1117
1114
  //#endregion
1118
1115
  //#region src/file/drawingml/group-shape-properties.d.ts
@@ -1146,20 +1143,11 @@ declare class TableProperties extends BaseXmlComponent {
1146
1143
  readonly lastCol?: boolean;
1147
1144
  readonly bandCol?: boolean;
1148
1145
  });
1149
- prepForXml(_context: IContext): IXmlableObject;
1146
+ prepForXml(_context: Context): IXmlableObject;
1150
1147
  }
1151
1148
  //#endregion
1152
1149
  //#region src/export/packer/packer.d.ts
1153
- declare class Packer {
1154
- static pack<T extends OutputType>(file: File, type: T, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<OutputByType[T]>;
1155
- static toString(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<string>;
1156
- static toArrayBuffer(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<ArrayBuffer>;
1157
- static toBuffer(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<Buffer>;
1158
- static toBlob(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<Blob>;
1159
- static toBase64String(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<string>;
1160
- static toStream(file: File, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Readable;
1161
- private static readonly compiler;
1162
- }
1150
+ declare const Packer: _$_office_open_core0.Packer<File>;
1163
1151
  //#endregion
1164
1152
  //#region src/util/types.d.ts
1165
1153
  declare const percentToTHousandths: (percent: number) => number;
@@ -1210,10 +1198,10 @@ interface PptxDocument {
1210
1198
  appProps?: string;
1211
1199
  }
1212
1200
  declare function parsePptx(data: Uint8Array): PptxDocument;
1213
- declare function parsePresentation(data: Uint8Array): IPresentationOptions;
1201
+ declare function parsePresentation(data: Uint8Array): PresentationOptions$1;
1214
1202
  declare namespace index_d_exports {
1215
- export { AnimationCalcMode, AnimationClass, AnimationDirection, AnimationTrigger, AnimationType, AnimationValueType, AppProperties, AudioFrame, AudioType, Background, BevelOptions, BevelPresetType, BlipFill, BlipFillConfigOptions, BlipFillMediaData, ChartCollection, ChartFrame, ChartSpace, ChartType, ColorTransformOptions, CompoundLine, ConnectorShape, ContentTypes, CoreGradientFillOptions, CoreOutlineOptions, CoreProperties, DateTimeField, DefaultNotesMaster, DefaultSlideLayout, DefaultSlideMaster, DefaultTheme, EffectListOptions, EmphasisType, EndParagraphRunProperties, Field, File, FillOptions, GradientStopOptions, GroupShape, GroupShapeProperties, GroupTransform2D, HeaderFooter, IAnimationOptions, IAudioFrameOptions, IBackgroundOptions, ICellBorderOptions, IChartData, IChartFrameOptions, IChartSeriesData, IChartSpaceOptions, IColorSchemeOptions, ICommentOptions, IConnectorShapeOptions, ICorePropertiesOptions, IEffectsOptions, IFontSchemeOptions, IGlowOptions, IGradientStop, IGroupShapeOptions, IGroupTransform2DOptions, IHeaderFooterOptions, IHyperlinkOptions, ILayoutDefinition, ILayoutPlaceholderOptions, ILineShapeOptions, IMasterDefinition, IMasterPlaceholderOptions, IMasterPlaceholderPosition, IMediaData, IMediaDataTransformation, IMediaTransformation, INotesSlideOptions, IParagraphOptions, IParagraphPropertiesOptions, IPictureOptions, IPresentationOptions, IPresentationOptions$1 as IPresentationXmlOptions, IReflectionOptions, IRunOptions, IRunPropertiesOptions, IShadowOptions, IShapeOptions, IShapePropertiesOptions, ISlideMasterOptions, ISlideOptions, ISmartArtFrameOptions, ISoftEdgeOptions, ITableCellOptions, ITableFrameOptions, ITableOptions, ITableRowOptions, ITextBodyOptions, IThemeOptions, ITransform2DOptions, ITransitionOptions, ITreeNode, IVideoFrameOptions, IViewWrapper, LineCap, LineJoin, LineShape, MasterChild, Media, MediaAnimationType, NonVisualDrawingProperties, NonVisualPictureProperties, NonVisualShapeProperties, NotesSlide, OutlineOptions, Packer, Paragraph, ParagraphProperties, PathAnimationType, PathShadeType, PenAlignment, Picture, PosterType, PptxDocument, PptxPartRefs, File as Presentation, PresentationWrapper, PresetDash, PresetGeometry, PresetMaterialType, PrettifyType, ReflectionAlignment, RelationshipType, Relationships, RunProperties, Scene3DOptions, Shape, Shape3DOptions, ShapeProperties, ShapeTree, Slide, SlideChild, SlideLayout, SlideLayoutType, SlideNumberField, SlideSize, SlideSizePreset, SmartArtFrame, StrikeStyle, Table, TableCell, TableCellProperties, TableFrame, TableProperties, TableRow, Text, TextAlignment, TextBody, TextCapitalization, TextRun, TileFlipMode, Transform2D, Transition, TransitionDirection, TransitionType, UnderlineStyle, VerticalAlignment, VideoFrame, VideoType, buildFill, coerceChild, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertPixelsToEmu, convertPointsToEmu, createBevel, createBottomBevel, createColorElement, createColorTransforms, createEffectList, createGradientFill, createGradientStop, createOutline, createOutlineCompat, createPptxEffectList, createScene3D, createShape3D, createTransformation, extractBlipFillMedia, hashedId, parseArchive, parsePptx, parsePresentation, percentToTHousandths, uniqueId, uniqueNumericIdCreator, uniqueUuid };
1203
+ export { AnimationCalcMode, AnimationClass, AnimationDirection, AnimationOptions, AnimationTrigger, AnimationType, AnimationValueType, AppProperties, AudioFrame, AudioFrameOptions, AudioType, Background, BackgroundOptions, BevelOptions, BevelPresetType, BlipFill, BlipFillConfigOptions, BlipFillMediaData, CellBorderOptions, ChartCollection, ChartData, ChartFrame, ChartFrameOptions, ChartSeriesData, ChartSpace, ChartSpaceOptions, ChartType, ColorSchemeOptions, ColorTransformOptions, CompoundLine, ConnectorShape, ConnectorShapeOptions, ContentTypes, CoreGradientFillOptions, CoreOutlineOptions, CoreProperties, CorePropertiesOptions, DateTimeField, DefaultNotesMaster, DefaultSlideLayout, DefaultSlideMaster, DefaultTheme, EffectListOptions, EffectsOptions, EmphasisType, EndParagraphRunProperties, Field, File, FillOptions, FontSchemeOptions, GlowOptions, GradientStop, GradientStopOptions, GroupShape, GroupShapeOptions, GroupShapeProperties, GroupTransform2D, HeaderFooter, HyperlinkOptions, IGroupTransform2DOptions, IMediaData, PresentationOptions as IPresentationXmlOptions, ITransform2DOptions, LayoutDefinition, LayoutPlaceholderOptions, LineCap, LineJoin, LineShape, LineShapeOptions, MasterChild, MasterDefinition, MasterPlaceholderOptions, MasterPlaceholderPosition, Media, MediaAnimationType, MediaDataTransformation, MediaTransformation, NonVisualDrawingProperties, NonVisualPictureProperties, NonVisualShapeProperties, NotesSlide, NotesSlideOptions, OutlineOptions, Packer, Paragraph, ParagraphOptions, ParagraphProperties, ParagraphPropertiesOptions, PathAnimationType, PathShadeType, PenAlignment, Picture, PictureOptions, PosterType, PptxDocument, PptxPartRefs, File as Presentation, PresentationOptions$1 as PresentationOptions, PresentationWrapper, PresetDash, PresetGeometry, PresetMaterialType, PrettifyType, ReflectionAlignment, ReflectionOptions, RelationshipType, Relationships, RunOptions, RunProperties, RunPropertiesOptions, Scene3DOptions, ShadowOptions, Shape, Shape3DOptions, ShapeOptions, ShapeProperties, ShapePropertiesOptions, ShapeTree, Slide, SlideChild, SlideCommentOptions, SlideHeaderFooterOptions, SlideLayout, SlideLayoutType, SlideMasterOptions, SlideNumberField, SlideOptions, SlideSize, SlideSizePreset, SmartArtFrame, SmartArtFrameOptions, SoftEdgeOptions, StrikeStyle, Table, TableCell, TableCellOptions, TableCellProperties, TableFrame, TableFrameOptions, TableOptions, TableProperties, TableRow, TableRowOptions, Text, TextAlignment, TextBody, TextBodyOptions, TextCapitalization, TextRun, ThemeOptions, TileFlipMode, Transform2D, Transition, TransitionDirection, TransitionOptions, TransitionType, TreeNode, UnderlineStyle, VerticalAlignment, VideoFrame, VideoFrameOptions, VideoType, ViewWrapper, buildFill, coerceChild, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertPixelsToEmu, convertPointsToEmu, createBevel, createBottomBevel, createColorElement, createColorTransforms, createEffectList, createGradientFill, createGradientStop, createOutline, createOutlineCompat, createPptxEffectList, createScene3D, createShape3D, createTransformation, extractBlipFillMedia, hashedId, parseArchive, parsePptx, parsePresentation, percentToTHousandths, uniqueId, uniqueNumericIdCreator, uniqueUuid };
1216
1204
  }
1217
1205
  //#endregion
1218
- export { type AnimationCalcMode, type AnimationClass, type AnimationDirection, type AnimationTrigger, type AnimationType, type AnimationValueType, AppProperties, AudioFrame, type AudioType, Background, type BevelOptions, BevelPresetType, BlipFill, type BlipFillConfigOptions, type BlipFillMediaData, ChartCollection, ChartFrame, ChartSpace, type ChartType, type ColorTransformOptions, CompoundLine, ConnectorShape, ContentTypes, type CoreGradientFillOptions, type CoreOutlineOptions, CoreProperties, DateTimeField, DefaultNotesMaster, DefaultSlideLayout, DefaultSlideMaster, DefaultTheme, type EffectListOptions, type EmphasisType, EndParagraphRunProperties, Field, File, File as Presentation, type FillOptions, type GradientStopOptions, GroupShape, GroupShapeProperties, GroupTransform2D, HeaderFooter, type IAnimationOptions, type IAudioFrameOptions, type IBackgroundOptions, type ICellBorderOptions, type IChartData, type IChartFrameOptions, type IChartSeriesData, type IChartSpaceOptions, type IColorSchemeOptions, type ICommentOptions, type IConnectorShapeOptions, type ICorePropertiesOptions, type IEffectsOptions, type IFontSchemeOptions, type IGlowOptions, type IGradientStop, type IGroupShapeOptions, type IGroupTransform2DOptions, type IHeaderFooterOptions, type IHyperlinkOptions, type ILayoutDefinition, type ILayoutPlaceholderOptions, type ILineShapeOptions, type IMasterDefinition, type IMasterPlaceholderOptions, type IMasterPlaceholderPosition, type IMediaData, type IMediaDataTransformation, type IMediaTransformation, type INotesSlideOptions, type IParagraphOptions, type IParagraphPropertiesOptions, type IPictureOptions, type IPresentationOptions, type IPresentationOptions$1 as IPresentationXmlOptions, type IReflectionOptions, type IRunOptions, type IRunPropertiesOptions, type IShadowOptions, type IShapeOptions, type IShapePropertiesOptions, type ISlideMasterOptions, type ISlideOptions, type ISmartArtFrameOptions, type ISoftEdgeOptions, type ITableCellOptions, type ITableFrameOptions, type ITableOptions, type ITableRowOptions, type ITextBodyOptions, type IThemeOptions, type ITransform2DOptions, type ITransitionOptions, type ITreeNode, type IVideoFrameOptions, type IViewWrapper, LineCap, LineJoin, LineShape, type MasterChild, Media, type MediaAnimationType, NonVisualDrawingProperties, NonVisualPictureProperties, NonVisualShapeProperties, NotesSlide, type OutlineOptions, Packer, Paragraph, ParagraphProperties, type PathAnimationType, PathShadeType, PenAlignment, Picture, type PosterType, PptxDocument, PptxPartRefs, PresentationWrapper, PresetDash, PresetGeometry, PresetMaterialType, PrettifyType, ReflectionAlignment, type RelationshipType, Relationships, RunProperties, type Scene3DOptions, Shape, type Shape3DOptions, ShapeProperties, ShapeTree, Slide, type SlideChild, SlideLayout, type SlideLayoutType, SlideNumberField, type SlideSize, SlideSizePreset, SmartArtFrame, StrikeStyle, Table, TableCell, TableCellProperties, TableFrame, TableProperties, TableRow, Text, TextAlignment, TextBody, TextCapitalization, TextRun, TileFlipMode, Transform2D, Transition, type TransitionDirection, type TransitionType, UnderlineStyle, VerticalAlignment, VideoFrame, type VideoType, buildFill, coerceChild, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertPixelsToEmu, convertPointsToEmu, createBevel, createBottomBevel, createColorElement, createColorTransforms, createEffectList, createGradientFill, createGradientStop, createOutline, createOutlineCompat, createPptxEffectList, createScene3D, createShape3D, createTransformation, extractBlipFillMedia, hashedId, parseArchive, parsePptx, parsePresentation, percentToTHousandths, uniqueId, uniqueNumericIdCreator, uniqueUuid };
1206
+ export { type AnimationCalcMode, type AnimationClass, type AnimationDirection, type AnimationOptions, type AnimationTrigger, type AnimationType, type AnimationValueType, AppProperties, AudioFrame, type AudioFrameOptions, type AudioType, Background, type BackgroundOptions, type BevelOptions, BevelPresetType, BlipFill, type BlipFillConfigOptions, type BlipFillMediaData, type CellBorderOptions, ChartCollection, type ChartData, ChartFrame, type ChartFrameOptions, type ChartSeriesData, ChartSpace, type ChartSpaceOptions, type ChartType, type ColorSchemeOptions, type ColorTransformOptions, CompoundLine, ConnectorShape, type ConnectorShapeOptions, ContentTypes, type CoreGradientFillOptions, type CoreOutlineOptions, CoreProperties, type CorePropertiesOptions, DateTimeField, DefaultNotesMaster, DefaultSlideLayout, DefaultSlideMaster, DefaultTheme, type EffectListOptions, type EffectsOptions, type EmphasisType, EndParagraphRunProperties, Field, File, File as Presentation, type FillOptions, type FontSchemeOptions, type GlowOptions, type GradientStop, type GradientStopOptions, GroupShape, type GroupShapeOptions, GroupShapeProperties, GroupTransform2D, HeaderFooter, type HyperlinkOptions, type IGroupTransform2DOptions, type IMediaData, type PresentationOptions as IPresentationXmlOptions, type ITransform2DOptions, type LayoutDefinition, type LayoutPlaceholderOptions, LineCap, LineJoin, LineShape, type LineShapeOptions, type MasterChild, type MasterDefinition, type MasterPlaceholderOptions, type MasterPlaceholderPosition, Media, type MediaAnimationType, type MediaDataTransformation, type MediaTransformation, NonVisualDrawingProperties, NonVisualPictureProperties, NonVisualShapeProperties, NotesSlide, type NotesSlideOptions, type OutlineOptions, Packer, Paragraph, type ParagraphOptions, ParagraphProperties, type ParagraphPropertiesOptions, type PathAnimationType, PathShadeType, PenAlignment, Picture, type PictureOptions, type PosterType, PptxDocument, PptxPartRefs, type PresentationOptions$1 as PresentationOptions, PresentationWrapper, PresetDash, PresetGeometry, PresetMaterialType, PrettifyType, ReflectionAlignment, type ReflectionOptions, type RelationshipType, Relationships, type RunOptions, RunProperties, type RunPropertiesOptions, type Scene3DOptions, type ShadowOptions, Shape, type Shape3DOptions, type ShapeOptions, ShapeProperties, type ShapePropertiesOptions, ShapeTree, Slide, type SlideChild, type SlideCommentOptions, type SlideHeaderFooterOptions, SlideLayout, type SlideLayoutType, type SlideMasterOptions, SlideNumberField, type SlideOptions, type SlideSize, SlideSizePreset, SmartArtFrame, type SmartArtFrameOptions, type SoftEdgeOptions, StrikeStyle, Table, TableCell, type TableCellOptions, TableCellProperties, TableFrame, type TableFrameOptions, type TableOptions, TableProperties, TableRow, type TableRowOptions, Text, TextAlignment, TextBody, type TextBodyOptions, TextCapitalization, TextRun, type ThemeOptions, TileFlipMode, Transform2D, Transition, type TransitionDirection, type TransitionOptions, type TransitionType, type TreeNode, UnderlineStyle, VerticalAlignment, VideoFrame, type VideoFrameOptions, type VideoType, type ViewWrapper, buildFill, coerceChild, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertPixelsToEmu, convertPointsToEmu, createBevel, createBottomBevel, createColorElement, createColorTransforms, createEffectList, createGradientFill, createGradientStop, createOutline, createOutlineCompat, createPptxEffectList, createScene3D, createShape3D, createTransformation, extractBlipFillMedia, hashedId, parseArchive, parsePptx, parsePresentation, percentToTHousandths, uniqueId, uniqueNumericIdCreator, uniqueUuid };
1219
1207
  //# sourceMappingURL=index.d.mts.map