@office-open/pptx 0.4.6 → 0.5.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/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
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, parseDocument, uniqueId, uniqueNumericIdCreator, uniqueUuid } 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
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
4
  import { ChartCollection, ChartSpace, ChartType, IChartData, IChartSeriesData, IChartSpaceOptions } from "@office-open/core/chart";
5
5
  import { Element } from "@office-open/xml";
@@ -318,199 +318,19 @@ declare class DefaultSlideMaster extends ImportedXmlComponent {
318
318
  prepForXml(): Readonly<Record<string, any>> | undefined;
319
319
  }
320
320
  //#endregion
321
- //#region src/file/transition/transition.d.ts
322
- type TransitionType = "fade" | "push" | "wipe" | "split" | "blinds" | "checker" | "comb" | "randomBar" | "cover" | "pull" | "strips" | "wheel" | "zoom" | "circle" | "dissolve" | "diamond" | "newsflash" | "plus" | "wedge" | "random" | "cut";
323
- interface ITransitionOptions {
324
- readonly type?: TransitionType;
325
- readonly speed?: "slow" | "med" | "fast";
326
- readonly advanceOnClick?: boolean;
327
- readonly advanceAfterTime?: number;
328
- readonly dir?: string;
329
- readonly orient?: "horz" | "vert";
330
- readonly thruBlk?: boolean;
331
- readonly spokes?: number;
332
- }
333
- declare class Transition extends BaseXmlComponent {
334
- private readonly options;
335
- constructor(options?: ITransitionOptions);
336
- prepForXml(_context: IContext): IXmlableObject;
337
- }
338
- //#endregion
339
- //#region src/file/slide/slide.d.ts
340
- declare class Slide extends XmlComponent {
341
- private readonly children;
342
- private readonly background?;
343
- private readonly transition?;
344
- readonly HeaderFooter?: IHeaderFooterOptions;
345
- constructor(children: readonly BaseXmlComponent[], background?: Background, transition?: ITransitionOptions, headerFooter?: IHeaderFooterOptions);
346
- prepForXml(context: IContext): IXmlableObject;
347
- }
348
- //#endregion
349
- //#region src/file/table-styles.d.ts
350
- declare class TableStyles extends ImportedXmlComponent {
351
- private static instance;
352
- constructor();
353
- prepForXml(): Readonly<Record<string, any>> | undefined;
354
- }
355
- //#endregion
356
- //#region src/file/theme/theme.d.ts
357
- interface IColorSchemeOptions {
358
- dark1?: string;
359
- light1?: string;
360
- dark2?: string;
361
- light2?: string;
362
- accent1?: string;
363
- accent2?: string;
364
- accent3?: string;
365
- accent4?: string;
366
- accent5?: string;
367
- accent6?: string;
368
- hyperlink?: string;
369
- followedHyperlink?: string;
370
- }
371
- interface IFontSchemeOptions {
372
- majorFont?: string;
373
- minorFont?: string;
374
- majorFontAsian?: string;
375
- minorFontAsian?: string;
376
- }
377
- interface IThemeOptions {
378
- name?: string;
379
- colors?: IColorSchemeOptions;
380
- fonts?: IFontSchemeOptions;
381
- }
382
- declare class DefaultTheme extends ImportedXmlComponent {
383
- private static cache;
384
- private readonly cacheKey;
385
- constructor(options?: IThemeOptions);
386
- prepForXml(): Readonly<Record<string, any>> | undefined;
387
- }
388
- //#endregion
389
- //#region src/file/view-properties.d.ts
390
- declare class ViewProperties extends ImportedXmlComponent {
391
- private static instance;
392
- constructor();
393
- prepForXml(): Readonly<Record<string, any>> | undefined;
394
- }
395
- //#endregion
396
- //#region src/file/file.d.ts
397
- type SlideSize = "16:9" | "4:3" | {
398
- readonly width: number;
399
- readonly height: number;
400
- };
401
- interface ILayoutPlaceholderOptions {
402
- readonly title?: IMasterPlaceholderPosition | false;
403
- readonly body?: IMasterPlaceholderPosition | false;
404
- readonly subtitle?: IMasterPlaceholderPosition | false;
405
- readonly date?: IMasterPlaceholderPosition | false;
406
- readonly footer?: IMasterPlaceholderPosition | false;
407
- readonly slideNumber?: IMasterPlaceholderPosition | false;
408
- }
409
- interface ILayoutDefinition {
410
- readonly type?: SlideLayoutType;
411
- readonly name?: string;
412
- readonly placeholders?: ILayoutPlaceholderOptions;
413
- readonly children?: readonly BaseXmlComponent[];
414
- }
415
- interface IMasterDefinition extends ISlideMasterOptions {
416
- readonly name?: string;
417
- readonly theme?: IThemeOptions;
418
- readonly layouts?: readonly ILayoutDefinition[];
419
- }
420
- interface ICommentOptions {
421
- readonly author: string;
422
- readonly text: string;
423
- readonly x: number;
424
- readonly y: number;
425
- readonly initials?: string;
426
- readonly date?: string;
427
- }
428
- interface ISlideOptions {
429
- readonly children?: readonly BaseXmlComponent[];
430
- readonly background?: IBackgroundOptions;
431
- readonly notes?: string;
432
- readonly transition?: ITransitionOptions;
433
- readonly headerFooter?: IHeaderFooterOptions;
434
- readonly comments?: readonly ICommentOptions[];
435
- readonly layout?: SlideLayoutType | string;
436
- readonly master?: string;
437
- }
438
- interface IShowOptions {
439
- readonly loop?: boolean;
440
- readonly kiosk?: boolean;
441
- readonly showNarration?: boolean;
442
- readonly useTimings?: boolean;
443
- }
444
- interface IPresentationOptions extends ICorePropertiesOptions {
445
- readonly size?: SlideSize;
446
- readonly masters?: readonly IMasterDefinition[];
447
- readonly slides?: readonly ISlideOptions[];
448
- readonly show?: IShowOptions;
449
- }
450
- interface LayoutInfo {
451
- readonly key: string;
452
- readonly index: number;
453
- readonly masterIndex: number;
454
- readonly layout: SlideLayout;
321
+ //#region src/file/chart/chart-frame.d.ts
322
+ interface IChartFrameOptions extends IChartSpaceOptions {
323
+ readonly x?: number;
324
+ readonly y?: number;
325
+ readonly width?: number;
326
+ readonly height?: number;
455
327
  }
456
- declare class File {
457
- private readonly slideOptions;
458
- private readonly corePropsOptions;
459
- private readonly showOptions?;
460
- private readonly slideWidthEmus;
461
- private readonly slideHeightEmus;
462
- private readonly masterDefs;
463
- private coreProperties?;
464
- private appProperties?;
465
- private contentTypes?;
466
- private media?;
467
- private charts?;
468
- private smartArts?;
469
- private hyperlinks?;
470
- private presentationWrapper?;
471
- private tableStyles?;
472
- private presProps?;
473
- private viewProps?;
474
- private notesMasterRels?;
475
- private masterMap?;
476
- private allLayouts?;
477
- private allLayoutRels?;
478
- private slides?;
479
- private slideWrappers?;
480
- private notesSlides?;
481
- private commentAuthorList?;
482
- private slideCommentLists?;
483
- private fileRels?;
484
- constructor(options: IPresentationOptions);
485
- private getMasterMap;
486
- private findLayoutForSlide;
487
- get CoreProperties(): CoreProperties;
488
- get AppProperties(): AppProperties;
489
- get ContentTypes(): ContentTypes;
490
- get FileRelationships(): Relationships;
491
- get Media(): Media;
492
- get Charts(): ChartCollection;
493
- get SmartArts(): SmartArtCollection;
494
- get Hyperlinks(): HyperlinkCollection;
495
- get PresentationWrapper(): PresentationWrapper;
496
- get Themes(): readonly DefaultTheme[];
497
- get TableStyles(): TableStyles;
498
- get PresProps(): PresentationProperties;
499
- get ViewProps(): ViewProperties;
500
- get SlideMasters(): readonly DefaultSlideMaster[];
501
- get SlideMasterRelsArray(): readonly Relationships[];
502
- get AllLayouts(): readonly LayoutInfo[];
503
- get AllLayoutRelsArray(): readonly Relationships[];
504
- get Slides(): readonly Slide[];
505
- get SlideWrappers(): Array<{
506
- readonly View: Slide;
507
- readonly Relationships: Relationships;
508
- }>;
509
- get NotesSlides(): readonly NotesSlide[];
510
- get NotesMasterRelationships(): Relationships;
511
- get CommentAuthorList(): CommentAuthorList | undefined;
512
- get SlideCommentLists(): readonly (SlideCommentList | undefined)[];
513
- private buildComments;
328
+ declare class ChartFrame extends XmlComponent {
329
+ private readonly chartOptions;
330
+ private readonly chartKey;
331
+ constructor(options: IChartFrameOptions);
332
+ prepForXml(context: IContext): IXmlableObject | undefined;
333
+ get ChartKey(): string;
514
334
  }
515
335
  //#endregion
516
336
  //#region src/file/animation/types.d.ts
@@ -552,6 +372,93 @@ interface IAnimationOptions {
552
372
  readonly paragraphRange?: readonly [number, number];
553
373
  }
554
374
  //#endregion
375
+ //#region src/file/media/media-frame-base.d.ts
376
+ interface IMediaFrameBaseOptions {
377
+ readonly x?: number;
378
+ readonly y?: number;
379
+ readonly width?: number;
380
+ readonly height?: number;
381
+ readonly data: Uint8Array;
382
+ readonly type: IMediaData["type"];
383
+ readonly name?: string;
384
+ readonly animation?: IAnimationOptions;
385
+ }
386
+ declare abstract class MediaFrameBase extends XmlComponent {
387
+ private readonly shapeId;
388
+ private readonly animationOptions?;
389
+ protected readonly mediaData: IMediaData;
390
+ protected readonly posterData?: IMediaData;
391
+ protected constructor(options: IMediaFrameBaseOptions, id: number, mediaFileName: string, params: {
392
+ readonly extUri: string;
393
+ readonly cNvPrPrefix: string;
394
+ readonly nvPrExtraChildren?: BuilderElement[];
395
+ readonly posterBytes?: Uint8Array;
396
+ readonly posterType?: string;
397
+ readonly posterFileName?: string;
398
+ });
399
+ get ShapeId(): number;
400
+ get Animation(): IAnimationOptions | undefined;
401
+ prepForXml(context: IContext): Readonly<Record<string, any>> | undefined;
402
+ }
403
+ //#endregion
404
+ //#region src/file/media/audio-frame.d.ts
405
+ type AudioType = "mp3" | "wav" | "wma" | "aac";
406
+ interface IAudioFrameOptions extends IMediaFrameBaseOptions {
407
+ readonly type: AudioType;
408
+ }
409
+ declare class AudioFrame extends MediaFrameBase {
410
+ private static nextId;
411
+ constructor(options: IAudioFrameOptions);
412
+ }
413
+ //#endregion
414
+ //#region src/file/media/video-frame.d.ts
415
+ type VideoType = "mp4" | "mov" | "wmv" | "avi";
416
+ type PosterType = "png" | "jpg";
417
+ interface IVideoFrameOptions extends IMediaFrameBaseOptions {
418
+ readonly type: VideoType;
419
+ readonly poster?: Uint8Array;
420
+ readonly posterType?: PosterType;
421
+ }
422
+ declare class VideoFrame extends MediaFrameBase {
423
+ private static nextId;
424
+ constructor(options: IVideoFrameOptions);
425
+ }
426
+ //#endregion
427
+ //#region src/file/picture/picture.d.ts
428
+ interface IPictureOptions {
429
+ readonly x?: number;
430
+ readonly y?: number;
431
+ readonly width?: number;
432
+ readonly height?: number;
433
+ readonly data: Uint8Array;
434
+ readonly type: "png" | "jpg" | "gif" | "bmp" | "emf" | "wmf";
435
+ readonly name?: string;
436
+ }
437
+ declare class Picture extends XmlComponent {
438
+ private static nextId;
439
+ private readonly imageData;
440
+ constructor(options: IPictureOptions);
441
+ prepForXml(context: IContext): Readonly<Record<string, any>> | undefined;
442
+ }
443
+ //#endregion
444
+ //#region src/file/shape/group-shape.d.ts
445
+ interface IGroupShapeOptions {
446
+ readonly x?: number;
447
+ readonly y?: number;
448
+ readonly width?: number;
449
+ readonly height?: number;
450
+ readonly rotation?: number;
451
+ readonly flipHorizontal?: boolean;
452
+ readonly children: readonly SlideChild[];
453
+ }
454
+ declare class GroupShape extends BaseXmlComponent {
455
+ private static nextId;
456
+ private readonly id;
457
+ private readonly options;
458
+ constructor(options: IGroupShapeOptions);
459
+ prepForXml(context: IContext): IXmlableObject;
460
+ }
461
+ //#endregion
555
462
  //#region src/file/drawingml/outline.d.ts
556
463
  interface OutlineOptions {
557
464
  readonly width?: number;
@@ -565,6 +472,45 @@ declare const createOutlineCompat: (options?: OutlineOptions, arrowheads?: {
565
472
  readonly length?: string;
566
473
  }) => _$_office_open_core0.XmlComponent;
567
474
  //#endregion
475
+ //#region src/file/shape/line-shape.d.ts
476
+ declare class LineShape extends XmlComponent {
477
+ private static nextId;
478
+ private readonly shapeId;
479
+ constructor(options?: ILineShapeOptions);
480
+ get ShapeId(): number;
481
+ }
482
+ interface ILineShapeOptions {
483
+ readonly id?: number;
484
+ readonly name?: string;
485
+ readonly x1?: number;
486
+ readonly y1?: number;
487
+ readonly x2?: number;
488
+ readonly y2?: number;
489
+ readonly fill?: FillOptions;
490
+ readonly outline?: OutlineOptions;
491
+ }
492
+ type ArrowheadType = "triangle" | "stealth" | "diamond" | "oval" | "open" | "none";
493
+ declare class ConnectorShape extends XmlComponent {
494
+ private static nextId;
495
+ private readonly shapeId;
496
+ constructor(options?: IConnectorShapeOptions);
497
+ get ShapeId(): number;
498
+ }
499
+ interface IConnectorShapeOptions {
500
+ readonly id?: number;
501
+ readonly name?: string;
502
+ readonly x1?: number;
503
+ readonly y1?: number;
504
+ readonly x2?: number;
505
+ readonly y2?: number;
506
+ readonly fill?: FillOptions;
507
+ readonly outline?: OutlineOptions;
508
+ readonly beginArrowhead?: ArrowheadType;
509
+ readonly endArrowhead?: ArrowheadType;
510
+ readonly arrowheadWidth?: "sm" | "med" | "lg";
511
+ readonly arrowheadLength?: "sm" | "med" | "lg";
512
+ }
513
+ //#endregion
568
514
  //#region src/file/drawingml/shape-properties.d.ts
569
515
  interface IConnectionSiteOptions {
570
516
  readonly x: number;
@@ -590,60 +536,6 @@ declare class ShapeProperties extends BaseXmlComponent {
590
536
  prepForXml(context: IContext<File>): IXmlableObject | undefined;
591
537
  }
592
538
  //#endregion
593
- //#region src/file/table/table-cell-properties.d.ts
594
- interface ICellBorderOptions {
595
- readonly width?: number;
596
- readonly color?: string;
597
- readonly dashStyle?: "solid" | "dash" | "dashDot" | "lgDash" | "sysDot" | "sysDash";
598
- }
599
- declare class TableCellProperties extends BaseXmlComponent {
600
- private readonly options?;
601
- constructor(options?: {
602
- readonly fill?: FillOptions;
603
- readonly borders?: {
604
- readonly top?: ICellBorderOptions;
605
- readonly bottom?: ICellBorderOptions;
606
- readonly left?: ICellBorderOptions;
607
- readonly right?: ICellBorderOptions;
608
- };
609
- readonly verticalAlign?: "t" | "ctr" | "b";
610
- });
611
- prepForXml(context: IContext): IXmlableObject;
612
- }
613
- //#endregion
614
- //#region src/file/table/table-cell.d.ts
615
- declare const VerticalAlignment: {
616
- readonly TOP: "t";
617
- readonly CENTER: "ctr";
618
- readonly BOTTOM: "b";
619
- };
620
- interface ITableCellOptions {
621
- readonly text?: string;
622
- readonly children?: readonly BaseXmlComponent[];
623
- readonly fill?: FillOptions;
624
- readonly borders?: {
625
- readonly top?: ICellBorderOptions;
626
- readonly bottom?: ICellBorderOptions;
627
- readonly left?: ICellBorderOptions;
628
- readonly right?: ICellBorderOptions;
629
- };
630
- readonly columnSpan?: number;
631
- readonly rowSpan?: number;
632
- readonly verticalAlign?: keyof typeof VerticalAlignment;
633
- readonly margins?: {
634
- readonly top?: number;
635
- readonly bottom?: number;
636
- readonly left?: number;
637
- readonly right?: number;
638
- };
639
- }
640
- declare class TableCell extends BaseXmlComponent {
641
- private readonly options;
642
- private readonly paragraphs?;
643
- constructor(options?: ITableCellOptions);
644
- prepForXml(context: IContext): IXmlableObject;
645
- }
646
- //#endregion
647
539
  //#region src/file/shape/paragraph/paragraph-properties.d.ts
648
540
  declare const TextAlignment: {
649
541
  readonly LEFT: "l";
@@ -743,21 +635,75 @@ declare class TextRun extends XmlComponent {
743
635
  prepForXml(context: IContext): IXmlableObject | undefined;
744
636
  }
745
637
  //#endregion
746
- //#region src/file/shape/paragraph/paragraph.d.ts
747
- interface IParagraphOptions {
638
+ //#region src/file/shape/paragraph/paragraph.d.ts
639
+ interface IParagraphOptions {
640
+ readonly text?: string;
641
+ readonly properties?: IParagraphPropertiesOptions;
642
+ readonly children?: readonly (TextRun | IRunOptions | XmlComponent)[];
643
+ }
644
+ declare class Paragraph extends XmlComponent {
645
+ private readonly options;
646
+ constructor(options?: string | IParagraphOptions);
647
+ prepForXml(context: IContext): IXmlableObject | undefined;
648
+ }
649
+ //#endregion
650
+ //#region src/file/table/table-cell-properties.d.ts
651
+ interface ICellBorderOptions {
652
+ readonly width?: number;
653
+ readonly color?: string;
654
+ readonly dashStyle?: "solid" | "dash" | "dashDot" | "lgDash" | "sysDot" | "sysDash";
655
+ }
656
+ declare class TableCellProperties extends BaseXmlComponent {
657
+ private readonly options?;
658
+ constructor(options?: {
659
+ readonly fill?: FillOptions;
660
+ readonly borders?: {
661
+ readonly top?: ICellBorderOptions;
662
+ readonly bottom?: ICellBorderOptions;
663
+ readonly left?: ICellBorderOptions;
664
+ readonly right?: ICellBorderOptions;
665
+ };
666
+ readonly verticalAlign?: "t" | "ctr" | "b";
667
+ });
668
+ prepForXml(context: IContext): IXmlableObject;
669
+ }
670
+ //#endregion
671
+ //#region src/file/table/table-cell.d.ts
672
+ declare const VerticalAlignment: {
673
+ readonly TOP: "t";
674
+ readonly CENTER: "ctr";
675
+ readonly BOTTOM: "b";
676
+ };
677
+ interface ITableCellOptions {
748
678
  readonly text?: string;
749
- readonly properties?: IParagraphPropertiesOptions;
750
- readonly children?: readonly (TextRun | XmlComponent)[];
679
+ readonly children?: readonly (BaseXmlComponent | IParagraphOptions | string)[];
680
+ readonly fill?: FillOptions;
681
+ readonly borders?: {
682
+ readonly top?: ICellBorderOptions;
683
+ readonly bottom?: ICellBorderOptions;
684
+ readonly left?: ICellBorderOptions;
685
+ readonly right?: ICellBorderOptions;
686
+ };
687
+ readonly columnSpan?: number;
688
+ readonly rowSpan?: number;
689
+ readonly verticalAlign?: keyof typeof VerticalAlignment;
690
+ readonly margins?: {
691
+ readonly top?: number;
692
+ readonly bottom?: number;
693
+ readonly left?: number;
694
+ readonly right?: number;
695
+ };
751
696
  }
752
- declare class Paragraph extends XmlComponent {
697
+ declare class TableCell extends BaseXmlComponent {
753
698
  private readonly options;
754
- constructor(options?: string | IParagraphOptions);
755
- prepForXml(context: IContext): IXmlableObject | undefined;
699
+ private readonly paragraphs?;
700
+ constructor(options?: ITableCellOptions);
701
+ prepForXml(context: IContext): IXmlableObject;
756
702
  }
757
703
  //#endregion
758
704
  //#region src/file/shape/text-body.d.ts
759
705
  interface ITextBodyOptions {
760
- readonly paragraphs?: readonly (Paragraph | string)[];
706
+ readonly paragraphs?: readonly (Paragraph | IParagraphOptions | string)[];
761
707
  readonly vertical?: "vert" | "vert270" | "horz" | "wordArtVert";
762
708
  readonly anchor?: keyof typeof VerticalAlignment;
763
709
  readonly autoFit?: "normal" | "shape" | "none";
@@ -815,6 +761,293 @@ declare class Shape extends XmlComponent {
815
761
  prepForXml(context: IContext): IXmlableObject | undefined;
816
762
  }
817
763
  //#endregion
764
+ //#region src/file/smartart/smartart-frame.d.ts
765
+ interface ISmartArtFrameOptions {
766
+ readonly x?: number;
767
+ readonly y?: number;
768
+ readonly width?: number;
769
+ readonly height?: number;
770
+ readonly nodes: readonly ITreeNode[];
771
+ readonly name?: string;
772
+ readonly layout?: string;
773
+ readonly style?: string;
774
+ readonly color?: string;
775
+ }
776
+ declare class SmartArtFrame extends XmlComponent {
777
+ private readonly smartArtKey;
778
+ private readonly dataModel;
779
+ private readonly layoutId;
780
+ private readonly styleId;
781
+ private readonly colorId;
782
+ constructor(options: ISmartArtFrameOptions);
783
+ prepForXml(context: IContext): IXmlableObject | undefined;
784
+ }
785
+ //#endregion
786
+ //#region src/file/table/table-row.d.ts
787
+ interface ITableRowOptions {
788
+ readonly height?: number;
789
+ readonly cells: readonly ITableCellOptions[];
790
+ }
791
+ declare class TableRow extends BaseXmlComponent {
792
+ private readonly options;
793
+ constructor(options: ITableRowOptions);
794
+ prepForXml(context: IContext): IXmlableObject;
795
+ }
796
+ //#endregion
797
+ //#region src/file/table/table.d.ts
798
+ interface ITableOptions {
799
+ readonly rows: readonly ITableRowOptions[];
800
+ readonly columnWidths?: readonly number[];
801
+ readonly firstRow?: boolean;
802
+ readonly lastRow?: boolean;
803
+ readonly bandRow?: boolean;
804
+ readonly firstCol?: boolean;
805
+ readonly lastCol?: boolean;
806
+ readonly bandCol?: boolean;
807
+ readonly borders?: {
808
+ readonly top?: ICellBorderOptions;
809
+ readonly bottom?: ICellBorderOptions;
810
+ readonly left?: ICellBorderOptions;
811
+ readonly right?: ICellBorderOptions;
812
+ };
813
+ }
814
+ declare class Table extends BaseXmlComponent {
815
+ private readonly options;
816
+ constructor(options: ITableOptions);
817
+ prepForXml(context: IContext): IXmlableObject;
818
+ }
819
+ //#endregion
820
+ //#region src/file/table/table-frame.d.ts
821
+ interface ITableFrameOptions extends ITableOptions {
822
+ readonly x?: number;
823
+ readonly y?: number;
824
+ readonly width?: number;
825
+ readonly height?: number;
826
+ }
827
+ declare class TableFrame extends XmlComponent {
828
+ constructor(options: ITableFrameOptions);
829
+ }
830
+ //#endregion
831
+ //#region src/file/slide/slide-child.d.ts
832
+ type SlideChild = BaseXmlComponent | {
833
+ shape: IShapeOptions;
834
+ } | {
835
+ picture: IPictureOptions;
836
+ } | {
837
+ table: ITableFrameOptions;
838
+ } | {
839
+ chart: IChartFrameOptions;
840
+ } | {
841
+ line: ILineShapeOptions;
842
+ } | {
843
+ connector: IConnectorShapeOptions;
844
+ } | {
845
+ video: IVideoFrameOptions;
846
+ } | {
847
+ audio: IAudioFrameOptions;
848
+ } | {
849
+ group: IGroupShapeOptions;
850
+ } | {
851
+ smartart: ISmartArtFrameOptions;
852
+ };
853
+ //#endregion
854
+ //#region src/file/transition/transition.d.ts
855
+ type TransitionType = "fade" | "push" | "wipe" | "split" | "blinds" | "checker" | "comb" | "randomBar" | "cover" | "pull" | "strips" | "wheel" | "zoom" | "circle" | "dissolve" | "diamond" | "newsflash" | "plus" | "wedge" | "random" | "cut";
856
+ type TransitionDirection = "left" | "up" | "right" | "down" | "leftUp" | "rightUp" | "leftDown" | "rightDown" | "out" | "in";
857
+ interface ITransitionOptions {
858
+ readonly type?: TransitionType;
859
+ readonly speed?: "slow" | "med" | "fast";
860
+ readonly advanceOnClick?: boolean;
861
+ readonly advanceAfterTime?: number;
862
+ readonly direction?: TransitionDirection;
863
+ readonly orient?: "horz" | "vert";
864
+ readonly thruBlk?: boolean;
865
+ readonly spokes?: number;
866
+ }
867
+ declare class Transition extends BaseXmlComponent {
868
+ private readonly options;
869
+ constructor(options?: ITransitionOptions);
870
+ prepForXml(_context: IContext): IXmlableObject;
871
+ }
872
+ //#endregion
873
+ //#region src/file/slide/slide.d.ts
874
+ declare class Slide extends XmlComponent {
875
+ private readonly children;
876
+ private readonly background?;
877
+ private readonly transition?;
878
+ readonly HeaderFooter?: IHeaderFooterOptions;
879
+ constructor(children: readonly SlideChild[], background?: Background, transition?: ITransitionOptions, headerFooter?: IHeaderFooterOptions);
880
+ prepForXml(context: IContext): IXmlableObject;
881
+ }
882
+ //#endregion
883
+ //#region src/file/table-styles.d.ts
884
+ declare class TableStyles extends ImportedXmlComponent {
885
+ private static instance;
886
+ constructor();
887
+ prepForXml(): Readonly<Record<string, any>> | undefined;
888
+ }
889
+ //#endregion
890
+ //#region src/file/theme/theme.d.ts
891
+ interface IColorSchemeOptions {
892
+ dark1?: string;
893
+ light1?: string;
894
+ dark2?: string;
895
+ light2?: string;
896
+ accent1?: string;
897
+ accent2?: string;
898
+ accent3?: string;
899
+ accent4?: string;
900
+ accent5?: string;
901
+ accent6?: string;
902
+ hyperlink?: string;
903
+ followedHyperlink?: string;
904
+ }
905
+ interface IFontSchemeOptions {
906
+ majorFont?: string;
907
+ minorFont?: string;
908
+ majorFontAsian?: string;
909
+ minorFontAsian?: string;
910
+ }
911
+ interface IThemeOptions {
912
+ name?: string;
913
+ colors?: IColorSchemeOptions;
914
+ fonts?: IFontSchemeOptions;
915
+ }
916
+ declare class DefaultTheme extends ImportedXmlComponent {
917
+ private static cache;
918
+ private readonly cacheKey;
919
+ constructor(options?: IThemeOptions);
920
+ prepForXml(): Readonly<Record<string, any>> | undefined;
921
+ }
922
+ //#endregion
923
+ //#region src/file/view-properties.d.ts
924
+ declare class ViewProperties extends ImportedXmlComponent {
925
+ private static instance;
926
+ constructor();
927
+ prepForXml(): Readonly<Record<string, any>> | undefined;
928
+ }
929
+ //#endregion
930
+ //#region src/file/file.d.ts
931
+ type SlideSize = "16:9" | "4:3" | {
932
+ readonly width: number;
933
+ readonly height: number;
934
+ };
935
+ interface ILayoutPlaceholderOptions {
936
+ readonly title?: IMasterPlaceholderPosition | false;
937
+ readonly body?: IMasterPlaceholderPosition | false;
938
+ readonly subtitle?: IMasterPlaceholderPosition | false;
939
+ readonly date?: IMasterPlaceholderPosition | false;
940
+ readonly footer?: IMasterPlaceholderPosition | false;
941
+ readonly slideNumber?: IMasterPlaceholderPosition | false;
942
+ }
943
+ interface ILayoutDefinition {
944
+ readonly type?: SlideLayoutType;
945
+ readonly name?: string;
946
+ readonly placeholders?: ILayoutPlaceholderOptions;
947
+ readonly children?: readonly BaseXmlComponent[];
948
+ }
949
+ interface IMasterDefinition extends ISlideMasterOptions {
950
+ readonly name?: string;
951
+ readonly theme?: IThemeOptions;
952
+ readonly layouts?: readonly ILayoutDefinition[];
953
+ }
954
+ interface ICommentOptions {
955
+ readonly author: string;
956
+ readonly text: string;
957
+ readonly x: number;
958
+ readonly y: number;
959
+ readonly initials?: string;
960
+ readonly date?: string;
961
+ }
962
+ interface ISlideOptions {
963
+ readonly children?: readonly SlideChild[];
964
+ readonly background?: IBackgroundOptions;
965
+ readonly notes?: string;
966
+ readonly transition?: ITransitionOptions;
967
+ readonly headerFooter?: IHeaderFooterOptions;
968
+ readonly comments?: readonly ICommentOptions[];
969
+ readonly layout?: SlideLayoutType | string;
970
+ readonly master?: string;
971
+ }
972
+ interface IShowOptions {
973
+ readonly loop?: boolean;
974
+ readonly kiosk?: boolean;
975
+ readonly showNarration?: boolean;
976
+ readonly useTimings?: boolean;
977
+ }
978
+ interface IPresentationOptions extends ICorePropertiesOptions {
979
+ readonly size?: SlideSize;
980
+ readonly masters?: readonly IMasterDefinition[];
981
+ readonly slides?: readonly ISlideOptions[];
982
+ readonly show?: IShowOptions;
983
+ }
984
+ interface LayoutInfo {
985
+ readonly key: string;
986
+ readonly index: number;
987
+ readonly masterIndex: number;
988
+ readonly layout: SlideLayout;
989
+ }
990
+ declare class File {
991
+ private readonly slideOptions;
992
+ private readonly corePropsOptions;
993
+ private readonly showOptions?;
994
+ private readonly slideWidthEmus;
995
+ private readonly slideHeightEmus;
996
+ private readonly masterDefs;
997
+ private coreProperties?;
998
+ private appProperties?;
999
+ private contentTypes?;
1000
+ private media?;
1001
+ private charts?;
1002
+ private smartArts?;
1003
+ private hyperlinks?;
1004
+ private presentationWrapper?;
1005
+ private tableStyles?;
1006
+ private presProps?;
1007
+ private viewProps?;
1008
+ private notesMasterRels?;
1009
+ private masterMap?;
1010
+ private allLayouts?;
1011
+ private allLayoutRels?;
1012
+ private slides?;
1013
+ private slideWrappers?;
1014
+ private notesSlides?;
1015
+ private commentAuthorList?;
1016
+ private slideCommentLists?;
1017
+ private fileRels?;
1018
+ constructor(options: IPresentationOptions);
1019
+ private getMasterMap;
1020
+ private findLayoutForSlide;
1021
+ get CoreProperties(): CoreProperties;
1022
+ get AppProperties(): AppProperties;
1023
+ get ContentTypes(): ContentTypes;
1024
+ get FileRelationships(): Relationships;
1025
+ get Media(): Media;
1026
+ get Charts(): ChartCollection;
1027
+ get SmartArts(): SmartArtCollection;
1028
+ get Hyperlinks(): HyperlinkCollection;
1029
+ get PresentationWrapper(): PresentationWrapper;
1030
+ get Themes(): readonly DefaultTheme[];
1031
+ get TableStyles(): TableStyles;
1032
+ get PresProps(): PresentationProperties;
1033
+ get ViewProps(): ViewProperties;
1034
+ get SlideMasters(): readonly DefaultSlideMaster[];
1035
+ get SlideMasterRelsArray(): readonly Relationships[];
1036
+ get AllLayouts(): readonly LayoutInfo[];
1037
+ get AllLayoutRelsArray(): readonly Relationships[];
1038
+ get Slides(): readonly Slide[];
1039
+ get SlideWrappers(): Array<{
1040
+ readonly View: Slide;
1041
+ readonly Relationships: Relationships;
1042
+ }>;
1043
+ get NotesSlides(): readonly NotesSlide[];
1044
+ get NotesSlideIndexMap(): Map<number, number>;
1045
+ get NotesMasterRelationships(): Relationships;
1046
+ get CommentAuthorList(): CommentAuthorList | undefined;
1047
+ get SlideCommentLists(): readonly (SlideCommentList | undefined)[];
1048
+ private buildComments;
1049
+ }
1050
+ //#endregion
818
1051
  //#region src/file/shape/paragraph/text.d.ts
819
1052
  declare class Text extends StringContainer {
820
1053
  constructor(value: string);
@@ -884,114 +1117,8 @@ declare class GroupShapeProperties extends XmlComponent {
884
1117
  constructor(options?: IGroupTransform2DOptions);
885
1118
  }
886
1119
  //#endregion
887
- //#region src/file/shape/group-shape.d.ts
888
- interface IGroupShapeOptions {
889
- readonly x?: number;
890
- readonly y?: number;
891
- readonly width?: number;
892
- readonly height?: number;
893
- readonly rotation?: number;
894
- readonly flipHorizontal?: boolean;
895
- readonly children: readonly BaseXmlComponent[];
896
- }
897
- declare class GroupShape extends BaseXmlComponent {
898
- private static nextId;
899
- private readonly id;
900
- private readonly options;
901
- constructor(options: IGroupShapeOptions);
902
- prepForXml(context: IContext): IXmlableObject;
903
- }
904
- //#endregion
905
- //#region src/file/shape/line-shape.d.ts
906
- declare class LineShape extends XmlComponent {
907
- private static nextId;
908
- private readonly shapeId;
909
- constructor(options?: ILineShapeOptions);
910
- get ShapeId(): number;
911
- }
912
- interface ILineShapeOptions {
913
- readonly id?: number;
914
- readonly name?: string;
915
- readonly x1?: number;
916
- readonly y1?: number;
917
- readonly x2?: number;
918
- readonly y2?: number;
919
- readonly fill?: FillOptions;
920
- readonly outline?: OutlineOptions;
921
- }
922
- type ArrowheadType = "triangle" | "stealth" | "diamond" | "oval" | "open" | "none";
923
- declare class ConnectorShape extends XmlComponent {
924
- private static nextId;
925
- private readonly shapeId;
926
- constructor(options?: IConnectorShapeOptions);
927
- get ShapeId(): number;
928
- }
929
- interface IConnectorShapeOptions {
930
- readonly id?: number;
931
- readonly name?: string;
932
- readonly x1?: number;
933
- readonly y1?: number;
934
- readonly x2?: number;
935
- readonly y2?: number;
936
- readonly fill?: FillOptions;
937
- readonly outline?: OutlineOptions;
938
- readonly beginArrowhead?: ArrowheadType;
939
- readonly endArrowhead?: ArrowheadType;
940
- readonly arrowheadWidth?: "sm" | "med" | "lg";
941
- readonly arrowheadLength?: "sm" | "med" | "lg";
942
- }
943
- //#endregion
944
- //#region src/file/media/media-frame-base.d.ts
945
- interface IMediaFrameBaseOptions {
946
- readonly x?: number;
947
- readonly y?: number;
948
- readonly width?: number;
949
- readonly height?: number;
950
- readonly data: Uint8Array;
951
- readonly type: IMediaData["type"];
952
- readonly name?: string;
953
- readonly animation?: IAnimationOptions;
954
- }
955
- declare abstract class MediaFrameBase extends XmlComponent {
956
- private readonly shapeId;
957
- private readonly animationOptions?;
958
- protected readonly mediaData: IMediaData;
959
- protected readonly posterData?: IMediaData;
960
- protected constructor(options: IMediaFrameBaseOptions, id: number, mediaFileName: string, params: {
961
- readonly extUri: string;
962
- readonly cNvPrPrefix: string;
963
- readonly nvPrExtraChildren?: BuilderElement[];
964
- readonly posterBytes?: Uint8Array;
965
- readonly posterType?: string;
966
- readonly posterFileName?: string;
967
- });
968
- get ShapeId(): number;
969
- get Animation(): IAnimationOptions | undefined;
970
- prepForXml(context: IContext): Readonly<Record<string, any>> | undefined;
971
- }
972
- //#endregion
973
- //#region src/file/media/video-frame.d.ts
974
- type VideoType = "mp4" | "mov" | "wmv" | "avi";
975
- type PosterType = "png" | "jpg";
976
- interface IVideoFrameOptions extends IMediaFrameBaseOptions {
977
- readonly type: VideoType;
978
- readonly poster?: Uint8Array;
979
- readonly posterType?: PosterType;
980
- }
981
- declare class VideoFrame extends MediaFrameBase {
982
- private static nextId;
983
- constructor(options: IVideoFrameOptions);
984
- }
985
- //#endregion
986
- //#region src/file/media/audio-frame.d.ts
987
- type AudioType = "mp3" | "wav" | "wma" | "aac";
988
- interface IAudioFrameOptions extends IMediaFrameBaseOptions {
989
- readonly type: AudioType;
990
- }
991
- declare class AudioFrame extends MediaFrameBase {
992
- private static nextId;
993
- constructor(options: IAudioFrameOptions);
994
- }
1120
+ //#region src/file/slide/coerce.d.ts
1121
+ declare function coerceChild(child: SlideChild): BaseXmlComponent;
995
1122
  //#endregion
996
1123
  //#region src/file/shape-tree/shape-tree.d.ts
997
1124
  declare class ShapeTree extends XmlComponent {
@@ -1005,68 +1132,6 @@ declare class DefaultNotesMaster extends ImportedXmlComponent {
1005
1132
  prepForXml(): Readonly<Record<string, any>> | undefined;
1006
1133
  }
1007
1134
  //#endregion
1008
- //#region src/file/picture/picture.d.ts
1009
- interface IPictureOptions {
1010
- readonly x?: number;
1011
- readonly y?: number;
1012
- readonly width?: number;
1013
- readonly height?: number;
1014
- readonly data: Uint8Array;
1015
- readonly type: "png" | "jpg" | "gif" | "bmp" | "emf" | "wmf";
1016
- readonly name?: string;
1017
- }
1018
- declare class Picture extends XmlComponent {
1019
- private static nextId;
1020
- private readonly imageData;
1021
- constructor(options: IPictureOptions);
1022
- prepForXml(context: IContext): Readonly<Record<string, any>> | undefined;
1023
- }
1024
- //#endregion
1025
- //#region src/file/table/table-row.d.ts
1026
- interface ITableRowOptions {
1027
- readonly height?: number;
1028
- readonly cells: readonly ITableCellOptions[];
1029
- }
1030
- declare class TableRow extends BaseXmlComponent {
1031
- private readonly options;
1032
- constructor(options: ITableRowOptions);
1033
- prepForXml(context: IContext): IXmlableObject;
1034
- }
1035
- //#endregion
1036
- //#region src/file/table/table.d.ts
1037
- interface ITableOptions {
1038
- readonly rows: readonly ITableRowOptions[];
1039
- readonly columnWidths?: readonly number[];
1040
- readonly firstRow?: boolean;
1041
- readonly lastRow?: boolean;
1042
- readonly bandRow?: boolean;
1043
- readonly firstCol?: boolean;
1044
- readonly lastCol?: boolean;
1045
- readonly bandCol?: boolean;
1046
- readonly borders?: {
1047
- readonly top?: ICellBorderOptions;
1048
- readonly bottom?: ICellBorderOptions;
1049
- readonly left?: ICellBorderOptions;
1050
- readonly right?: ICellBorderOptions;
1051
- };
1052
- }
1053
- declare class Table extends BaseXmlComponent {
1054
- private readonly options;
1055
- constructor(options: ITableOptions);
1056
- prepForXml(context: IContext): IXmlableObject;
1057
- }
1058
- //#endregion
1059
- //#region src/file/table/table-frame.d.ts
1060
- interface ITableFrameOptions extends ITableOptions {
1061
- readonly x?: number;
1062
- readonly y?: number;
1063
- readonly width?: number;
1064
- readonly height?: number;
1065
- }
1066
- declare class TableFrame extends XmlComponent {
1067
- constructor(options: ITableFrameOptions);
1068
- }
1069
- //#endregion
1070
1135
  //#region src/file/table/table-properties.d.ts
1071
1136
  declare class TableProperties extends BaseXmlComponent {
1072
1137
  private readonly options?;
@@ -1081,43 +1146,6 @@ declare class TableProperties extends BaseXmlComponent {
1081
1146
  prepForXml(_context: IContext): IXmlableObject;
1082
1147
  }
1083
1148
  //#endregion
1084
- //#region src/file/chart/chart-frame.d.ts
1085
- interface IChartFrameOptions extends IChartSpaceOptions {
1086
- readonly x?: number;
1087
- readonly y?: number;
1088
- readonly width?: number;
1089
- readonly height?: number;
1090
- }
1091
- declare class ChartFrame extends XmlComponent {
1092
- private readonly chartOptions;
1093
- private readonly chartKey;
1094
- constructor(options: IChartFrameOptions);
1095
- prepForXml(context: IContext): IXmlableObject | undefined;
1096
- get ChartKey(): string;
1097
- }
1098
- //#endregion
1099
- //#region src/file/smartart/smartart-frame.d.ts
1100
- interface ISmartArtFrameOptions {
1101
- readonly x?: number;
1102
- readonly y?: number;
1103
- readonly width?: number;
1104
- readonly height?: number;
1105
- readonly nodes: readonly ITreeNode[];
1106
- readonly name?: string;
1107
- readonly layout?: string;
1108
- readonly style?: string;
1109
- readonly color?: string;
1110
- }
1111
- declare class SmartArtFrame extends XmlComponent {
1112
- private readonly smartArtKey;
1113
- private readonly dataModel;
1114
- private readonly layoutId;
1115
- private readonly styleId;
1116
- private readonly colorId;
1117
- constructor(options: ISmartArtFrameOptions);
1118
- prepForXml(context: IContext): IXmlableObject | undefined;
1119
- }
1120
- //#endregion
1121
1149
  //#region src/export/packer/packer.d.ts
1122
1150
  declare class Packer {
1123
1151
  static pack<T extends OutputType>(file: File, type: T, prettify?: boolean | (typeof PrettifyType$1)[keyof typeof PrettifyType$1], overrides?: readonly IXmlifyedFile[]): Promise<OutputByType[T]>;
@@ -1179,9 +1207,10 @@ interface PptxDocument {
1179
1207
  appProps?: string;
1180
1208
  }
1181
1209
  declare function parsePptx(data: Uint8Array): PptxDocument;
1210
+ declare function parsePresentation(data: Uint8Array): ISlideOptions[];
1182
1211
  declare namespace index_d_exports {
1183
- 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, ICommentOptions, IConnectorShapeOptions, ICorePropertiesOptions, IEffectsOptions, 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, 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, SlideLayout, SlideLayoutType, SlideNumberField, SlideSize, SlideSizePreset, SmartArtFrame, StrikeStyle, Table, TableCell, TableCellProperties, TableFrame, TableProperties, TableRow, Text, TextAlignment, TextBody, TextCapitalization, TextRun, TileFlipMode, Transform2D, Transition, TransitionType, UnderlineStyle, VerticalAlignment, VideoFrame, VideoType, buildFill, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertPixelsToEmu, convertPointsToEmu, createBevel, createBottomBevel, createColorElement, createColorTransforms, createEffectList, createGradientFill, createGradientStop, createOutline, createOutlineCompat, createPptxEffectList, createScene3D, createShape3D, createTransformation, extractBlipFillMedia, hashedId, parseDocument, parsePptx, percentToTHousandths, uniqueId, uniqueNumericIdCreator, uniqueUuid };
1212
+ 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, ICommentOptions, IConnectorShapeOptions, ICorePropertiesOptions, IEffectsOptions, 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, 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 };
1184
1213
  }
1185
1214
  //#endregion
1186
- 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 ICommentOptions, type IConnectorShapeOptions, type ICorePropertiesOptions, type IEffectsOptions, 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, 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, SlideLayout, type SlideLayoutType, SlideNumberField, type SlideSize, SlideSizePreset, SmartArtFrame, StrikeStyle, Table, TableCell, TableCellProperties, TableFrame, TableProperties, TableRow, Text, TextAlignment, TextBody, TextCapitalization, TextRun, TileFlipMode, Transform2D, Transition, type TransitionType, UnderlineStyle, VerticalAlignment, VideoFrame, type VideoType, buildFill, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertPixelsToEmu, convertPointsToEmu, createBevel, createBottomBevel, createColorElement, createColorTransforms, createEffectList, createGradientFill, createGradientStop, createOutline, createOutlineCompat, createPptxEffectList, createScene3D, createShape3D, createTransformation, extractBlipFillMedia, hashedId, parseDocument, parsePptx, percentToTHousandths, uniqueId, uniqueNumericIdCreator, uniqueUuid };
1215
+ 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 ICommentOptions, type IConnectorShapeOptions, type ICorePropertiesOptions, type IEffectsOptions, 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, 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 };
1187
1216
  //# sourceMappingURL=index.d.mts.map