@office-open/pptx 0.4.5 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -26
- package/dist/chunk-BY251N0e.mjs +1 -0
- package/dist/index.d.mts +487 -463
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +35 -8745
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/dist/_chunks/chunk-C8-KU_0P.mjs +0 -29
package/dist/index.d.mts
CHANGED
|
@@ -318,200 +318,19 @@ declare class DefaultSlideMaster extends ImportedXmlComponent {
|
|
|
318
318
|
prepForXml(): Readonly<Record<string, any>> | undefined;
|
|
319
319
|
}
|
|
320
320
|
//#endregion
|
|
321
|
-
//#region src/file/
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
readonly
|
|
325
|
-
readonly
|
|
326
|
-
readonly
|
|
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
|
-
toXml(context: IContext): string;
|
|
348
|
-
}
|
|
349
|
-
//#endregion
|
|
350
|
-
//#region src/file/table-styles.d.ts
|
|
351
|
-
declare class TableStyles extends ImportedXmlComponent {
|
|
352
|
-
private static instance;
|
|
353
|
-
constructor();
|
|
354
|
-
prepForXml(): Readonly<Record<string, any>> | undefined;
|
|
355
|
-
}
|
|
356
|
-
//#endregion
|
|
357
|
-
//#region src/file/theme/theme.d.ts
|
|
358
|
-
interface IColorSchemeOptions {
|
|
359
|
-
dark1?: string;
|
|
360
|
-
light1?: string;
|
|
361
|
-
dark2?: string;
|
|
362
|
-
light2?: string;
|
|
363
|
-
accent1?: string;
|
|
364
|
-
accent2?: string;
|
|
365
|
-
accent3?: string;
|
|
366
|
-
accent4?: string;
|
|
367
|
-
accent5?: string;
|
|
368
|
-
accent6?: string;
|
|
369
|
-
hyperlink?: string;
|
|
370
|
-
followedHyperlink?: string;
|
|
371
|
-
}
|
|
372
|
-
interface IFontSchemeOptions {
|
|
373
|
-
majorFont?: string;
|
|
374
|
-
minorFont?: string;
|
|
375
|
-
majorFontAsian?: string;
|
|
376
|
-
minorFontAsian?: string;
|
|
377
|
-
}
|
|
378
|
-
interface IThemeOptions {
|
|
379
|
-
name?: string;
|
|
380
|
-
colors?: IColorSchemeOptions;
|
|
381
|
-
fonts?: IFontSchemeOptions;
|
|
382
|
-
}
|
|
383
|
-
declare class DefaultTheme extends ImportedXmlComponent {
|
|
384
|
-
private static cache;
|
|
385
|
-
private readonly cacheKey;
|
|
386
|
-
constructor(options?: IThemeOptions);
|
|
387
|
-
prepForXml(): Readonly<Record<string, any>> | undefined;
|
|
388
|
-
}
|
|
389
|
-
//#endregion
|
|
390
|
-
//#region src/file/view-properties.d.ts
|
|
391
|
-
declare class ViewProperties extends ImportedXmlComponent {
|
|
392
|
-
private static instance;
|
|
393
|
-
constructor();
|
|
394
|
-
prepForXml(): Readonly<Record<string, any>> | undefined;
|
|
395
|
-
}
|
|
396
|
-
//#endregion
|
|
397
|
-
//#region src/file/file.d.ts
|
|
398
|
-
type SlideSize = "16:9" | "4:3" | {
|
|
399
|
-
readonly width: number;
|
|
400
|
-
readonly height: number;
|
|
401
|
-
};
|
|
402
|
-
interface ILayoutPlaceholderOptions {
|
|
403
|
-
readonly title?: IMasterPlaceholderPosition | false;
|
|
404
|
-
readonly body?: IMasterPlaceholderPosition | false;
|
|
405
|
-
readonly subtitle?: IMasterPlaceholderPosition | false;
|
|
406
|
-
readonly date?: IMasterPlaceholderPosition | false;
|
|
407
|
-
readonly footer?: IMasterPlaceholderPosition | false;
|
|
408
|
-
readonly slideNumber?: IMasterPlaceholderPosition | false;
|
|
409
|
-
}
|
|
410
|
-
interface ILayoutDefinition {
|
|
411
|
-
readonly type?: SlideLayoutType;
|
|
412
|
-
readonly name?: string;
|
|
413
|
-
readonly placeholders?: ILayoutPlaceholderOptions;
|
|
414
|
-
readonly children?: readonly BaseXmlComponent[];
|
|
415
|
-
}
|
|
416
|
-
interface IMasterDefinition extends ISlideMasterOptions {
|
|
417
|
-
readonly name?: string;
|
|
418
|
-
readonly theme?: IThemeOptions;
|
|
419
|
-
readonly layouts?: readonly ILayoutDefinition[];
|
|
420
|
-
}
|
|
421
|
-
interface ICommentOptions {
|
|
422
|
-
readonly author: string;
|
|
423
|
-
readonly text: string;
|
|
424
|
-
readonly x: number;
|
|
425
|
-
readonly y: number;
|
|
426
|
-
readonly initials?: string;
|
|
427
|
-
readonly date?: string;
|
|
428
|
-
}
|
|
429
|
-
interface ISlideOptions {
|
|
430
|
-
readonly children?: readonly BaseXmlComponent[];
|
|
431
|
-
readonly background?: IBackgroundOptions;
|
|
432
|
-
readonly notes?: string;
|
|
433
|
-
readonly transition?: ITransitionOptions;
|
|
434
|
-
readonly headerFooter?: IHeaderFooterOptions;
|
|
435
|
-
readonly comments?: readonly ICommentOptions[];
|
|
436
|
-
readonly layout?: SlideLayoutType | string;
|
|
437
|
-
readonly master?: string;
|
|
438
|
-
}
|
|
439
|
-
interface IShowOptions {
|
|
440
|
-
readonly loop?: boolean;
|
|
441
|
-
readonly kiosk?: boolean;
|
|
442
|
-
readonly showNarration?: boolean;
|
|
443
|
-
readonly useTimings?: boolean;
|
|
444
|
-
}
|
|
445
|
-
interface IPresentationOptions extends ICorePropertiesOptions {
|
|
446
|
-
readonly size?: SlideSize;
|
|
447
|
-
readonly masters?: readonly IMasterDefinition[];
|
|
448
|
-
readonly slides?: readonly ISlideOptions[];
|
|
449
|
-
readonly show?: IShowOptions;
|
|
450
|
-
}
|
|
451
|
-
interface LayoutInfo {
|
|
452
|
-
readonly key: string;
|
|
453
|
-
readonly index: number;
|
|
454
|
-
readonly masterIndex: number;
|
|
455
|
-
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;
|
|
456
327
|
}
|
|
457
|
-
declare class
|
|
458
|
-
private readonly
|
|
459
|
-
private readonly
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
private readonly masterDefs;
|
|
464
|
-
private coreProperties?;
|
|
465
|
-
private appProperties?;
|
|
466
|
-
private contentTypes?;
|
|
467
|
-
private media?;
|
|
468
|
-
private charts?;
|
|
469
|
-
private smartArts?;
|
|
470
|
-
private hyperlinks?;
|
|
471
|
-
private presentationWrapper?;
|
|
472
|
-
private tableStyles?;
|
|
473
|
-
private presProps?;
|
|
474
|
-
private viewProps?;
|
|
475
|
-
private notesMasterRels?;
|
|
476
|
-
private masterMap?;
|
|
477
|
-
private allLayouts?;
|
|
478
|
-
private allLayoutRels?;
|
|
479
|
-
private slides?;
|
|
480
|
-
private slideWrappers?;
|
|
481
|
-
private notesSlides?;
|
|
482
|
-
private commentAuthorList?;
|
|
483
|
-
private slideCommentLists?;
|
|
484
|
-
private fileRels?;
|
|
485
|
-
constructor(options: IPresentationOptions);
|
|
486
|
-
private getMasterMap;
|
|
487
|
-
private findLayoutForSlide;
|
|
488
|
-
get CoreProperties(): CoreProperties;
|
|
489
|
-
get AppProperties(): AppProperties;
|
|
490
|
-
get ContentTypes(): ContentTypes;
|
|
491
|
-
get FileRelationships(): Relationships;
|
|
492
|
-
get Media(): Media;
|
|
493
|
-
get Charts(): ChartCollection;
|
|
494
|
-
get SmartArts(): SmartArtCollection;
|
|
495
|
-
get Hyperlinks(): HyperlinkCollection;
|
|
496
|
-
get PresentationWrapper(): PresentationWrapper;
|
|
497
|
-
get Themes(): readonly DefaultTheme[];
|
|
498
|
-
get TableStyles(): TableStyles;
|
|
499
|
-
get PresProps(): PresentationProperties;
|
|
500
|
-
get ViewProps(): ViewProperties;
|
|
501
|
-
get SlideMasters(): readonly DefaultSlideMaster[];
|
|
502
|
-
get SlideMasterRelsArray(): readonly Relationships[];
|
|
503
|
-
get AllLayouts(): readonly LayoutInfo[];
|
|
504
|
-
get AllLayoutRelsArray(): readonly Relationships[];
|
|
505
|
-
get Slides(): readonly Slide[];
|
|
506
|
-
get SlideWrappers(): Array<{
|
|
507
|
-
readonly View: Slide;
|
|
508
|
-
readonly Relationships: Relationships;
|
|
509
|
-
}>;
|
|
510
|
-
get NotesSlides(): readonly NotesSlide[];
|
|
511
|
-
get NotesMasterRelationships(): Relationships;
|
|
512
|
-
get CommentAuthorList(): CommentAuthorList | undefined;
|
|
513
|
-
get SlideCommentLists(): readonly (SlideCommentList | undefined)[];
|
|
514
|
-
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;
|
|
515
334
|
}
|
|
516
335
|
//#endregion
|
|
517
336
|
//#region src/file/animation/types.d.ts
|
|
@@ -553,6 +372,93 @@ interface IAnimationOptions {
|
|
|
553
372
|
readonly paragraphRange?: readonly [number, number];
|
|
554
373
|
}
|
|
555
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
|
|
556
462
|
//#region src/file/drawingml/outline.d.ts
|
|
557
463
|
interface OutlineOptions {
|
|
558
464
|
readonly width?: number;
|
|
@@ -566,6 +472,45 @@ declare const createOutlineCompat: (options?: OutlineOptions, arrowheads?: {
|
|
|
566
472
|
readonly length?: string;
|
|
567
473
|
}) => _$_office_open_core0.XmlComponent;
|
|
568
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
|
|
569
514
|
//#region src/file/drawingml/shape-properties.d.ts
|
|
570
515
|
interface IConnectionSiteOptions {
|
|
571
516
|
readonly x: number;
|
|
@@ -588,61 +533,7 @@ interface IShapePropertiesOptions {
|
|
|
588
533
|
declare class ShapeProperties extends BaseXmlComponent {
|
|
589
534
|
private readonly options;
|
|
590
535
|
constructor(options: IShapePropertiesOptions);
|
|
591
|
-
prepForXml(context: IContext<File>): IXmlableObject | undefined;
|
|
592
|
-
}
|
|
593
|
-
//#endregion
|
|
594
|
-
//#region src/file/table/table-cell-properties.d.ts
|
|
595
|
-
interface ICellBorderOptions {
|
|
596
|
-
readonly width?: number;
|
|
597
|
-
readonly color?: string;
|
|
598
|
-
readonly dashStyle?: "solid" | "dash" | "dashDot" | "lgDash" | "sysDot" | "sysDash";
|
|
599
|
-
}
|
|
600
|
-
declare class TableCellProperties extends BaseXmlComponent {
|
|
601
|
-
private readonly options?;
|
|
602
|
-
constructor(options?: {
|
|
603
|
-
readonly fill?: FillOptions;
|
|
604
|
-
readonly borders?: {
|
|
605
|
-
readonly top?: ICellBorderOptions;
|
|
606
|
-
readonly bottom?: ICellBorderOptions;
|
|
607
|
-
readonly left?: ICellBorderOptions;
|
|
608
|
-
readonly right?: ICellBorderOptions;
|
|
609
|
-
};
|
|
610
|
-
readonly verticalAlign?: "t" | "ctr" | "b";
|
|
611
|
-
});
|
|
612
|
-
prepForXml(context: IContext): IXmlableObject;
|
|
613
|
-
}
|
|
614
|
-
//#endregion
|
|
615
|
-
//#region src/file/table/table-cell.d.ts
|
|
616
|
-
declare const VerticalAlignment: {
|
|
617
|
-
readonly TOP: "t";
|
|
618
|
-
readonly CENTER: "ctr";
|
|
619
|
-
readonly BOTTOM: "b";
|
|
620
|
-
};
|
|
621
|
-
interface ITableCellOptions {
|
|
622
|
-
readonly text?: string;
|
|
623
|
-
readonly children?: readonly BaseXmlComponent[];
|
|
624
|
-
readonly fill?: FillOptions;
|
|
625
|
-
readonly borders?: {
|
|
626
|
-
readonly top?: ICellBorderOptions;
|
|
627
|
-
readonly bottom?: ICellBorderOptions;
|
|
628
|
-
readonly left?: ICellBorderOptions;
|
|
629
|
-
readonly right?: ICellBorderOptions;
|
|
630
|
-
};
|
|
631
|
-
readonly columnSpan?: number;
|
|
632
|
-
readonly rowSpan?: number;
|
|
633
|
-
readonly verticalAlign?: keyof typeof VerticalAlignment;
|
|
634
|
-
readonly margins?: {
|
|
635
|
-
readonly top?: number;
|
|
636
|
-
readonly bottom?: number;
|
|
637
|
-
readonly left?: number;
|
|
638
|
-
readonly right?: number;
|
|
639
|
-
};
|
|
640
|
-
}
|
|
641
|
-
declare class TableCell extends BaseXmlComponent {
|
|
642
|
-
private readonly options;
|
|
643
|
-
private readonly paragraphs?;
|
|
644
|
-
constructor(options?: ITableCellOptions);
|
|
645
|
-
prepForXml(context: IContext): IXmlableObject;
|
|
536
|
+
prepForXml(context: IContext<File>): IXmlableObject | undefined;
|
|
646
537
|
}
|
|
647
538
|
//#endregion
|
|
648
539
|
//#region src/file/shape/paragraph/paragraph-properties.d.ts
|
|
@@ -686,7 +577,6 @@ declare class ParagraphProperties extends XmlComponent {
|
|
|
686
577
|
private readonly options;
|
|
687
578
|
constructor(options?: IParagraphPropertiesOptions);
|
|
688
579
|
prepForXml(_context: IContext): IXmlableObject | undefined;
|
|
689
|
-
toXml(): string;
|
|
690
580
|
}
|
|
691
581
|
//#endregion
|
|
692
582
|
//#region src/file/shape/paragraph/run-properties.d.ts
|
|
@@ -733,7 +623,6 @@ declare class RunProperties extends XmlComponent {
|
|
|
733
623
|
static hasProperties(options: IRunPropertiesOptions): boolean;
|
|
734
624
|
constructor(options?: IRunPropertiesOptions);
|
|
735
625
|
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
736
|
-
toXml(context: IContext): string;
|
|
737
626
|
}
|
|
738
627
|
//#endregion
|
|
739
628
|
//#region src/file/shape/paragraph/run.d.ts
|
|
@@ -744,25 +633,77 @@ declare class TextRun extends XmlComponent {
|
|
|
744
633
|
private readonly options;
|
|
745
634
|
constructor(options?: IRunOptions | string);
|
|
746
635
|
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
747
|
-
toXml(context: IContext): string;
|
|
748
636
|
}
|
|
749
637
|
//#endregion
|
|
750
638
|
//#region src/file/shape/paragraph/paragraph.d.ts
|
|
751
639
|
interface IParagraphOptions {
|
|
752
640
|
readonly text?: string;
|
|
753
641
|
readonly properties?: IParagraphPropertiesOptions;
|
|
754
|
-
readonly children?: readonly (TextRun | XmlComponent)[];
|
|
642
|
+
readonly children?: readonly (TextRun | IRunOptions | XmlComponent)[];
|
|
755
643
|
}
|
|
756
644
|
declare class Paragraph extends XmlComponent {
|
|
757
645
|
private readonly options;
|
|
758
646
|
constructor(options?: string | IParagraphOptions);
|
|
759
647
|
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
760
|
-
|
|
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 {
|
|
678
|
+
readonly text?: string;
|
|
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
|
+
};
|
|
696
|
+
}
|
|
697
|
+
declare class TableCell extends BaseXmlComponent {
|
|
698
|
+
private readonly options;
|
|
699
|
+
private readonly paragraphs?;
|
|
700
|
+
constructor(options?: ITableCellOptions);
|
|
701
|
+
prepForXml(context: IContext): IXmlableObject;
|
|
761
702
|
}
|
|
762
703
|
//#endregion
|
|
763
704
|
//#region src/file/shape/text-body.d.ts
|
|
764
705
|
interface ITextBodyOptions {
|
|
765
|
-
readonly paragraphs?: readonly (Paragraph | string)[];
|
|
706
|
+
readonly paragraphs?: readonly (Paragraph | IParagraphOptions | string)[];
|
|
766
707
|
readonly vertical?: "vert" | "vert270" | "horz" | "wordArtVert";
|
|
767
708
|
readonly anchor?: keyof typeof VerticalAlignment;
|
|
768
709
|
readonly autoFit?: "normal" | "shape" | "none";
|
|
@@ -780,7 +721,6 @@ declare class TextBody extends XmlComponent {
|
|
|
780
721
|
private readonly options;
|
|
781
722
|
constructor(options?: ITextBodyOptions);
|
|
782
723
|
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
783
|
-
toXml(context: IContext): string;
|
|
784
724
|
}
|
|
785
725
|
//#endregion
|
|
786
726
|
//#region src/file/shape/shape.d.ts
|
|
@@ -819,7 +759,293 @@ declare class Shape extends XmlComponent {
|
|
|
819
759
|
get ShapeId(): number;
|
|
820
760
|
get Animation(): IAnimationOptions | undefined;
|
|
821
761
|
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
822
|
-
|
|
762
|
+
}
|
|
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;
|
|
823
1049
|
}
|
|
824
1050
|
//#endregion
|
|
825
1051
|
//#region src/file/shape/paragraph/text.d.ts
|
|
@@ -891,112 +1117,8 @@ declare class GroupShapeProperties extends XmlComponent {
|
|
|
891
1117
|
constructor(options?: IGroupTransform2DOptions);
|
|
892
1118
|
}
|
|
893
1119
|
//#endregion
|
|
894
|
-
//#region src/file/
|
|
895
|
-
|
|
896
|
-
readonly x?: number;
|
|
897
|
-
readonly y?: number;
|
|
898
|
-
readonly width?: number;
|
|
899
|
-
readonly height?: number;
|
|
900
|
-
readonly rotation?: number;
|
|
901
|
-
readonly flipHorizontal?: boolean;
|
|
902
|
-
readonly children: readonly BaseXmlComponent[];
|
|
903
|
-
}
|
|
904
|
-
declare class GroupShape extends BaseXmlComponent {
|
|
905
|
-
private static nextId;
|
|
906
|
-
private readonly id;
|
|
907
|
-
private readonly options;
|
|
908
|
-
constructor(options: IGroupShapeOptions);
|
|
909
|
-
prepForXml(context: IContext): IXmlableObject;
|
|
910
|
-
}
|
|
911
|
-
//#endregion
|
|
912
|
-
//#region src/file/shape/line-shape.d.ts
|
|
913
|
-
declare class LineShape extends XmlComponent {
|
|
914
|
-
private static nextId;
|
|
915
|
-
private readonly shapeId;
|
|
916
|
-
constructor(options?: ILineShapeOptions);
|
|
917
|
-
get ShapeId(): number;
|
|
918
|
-
}
|
|
919
|
-
interface ILineShapeOptions {
|
|
920
|
-
readonly id?: number;
|
|
921
|
-
readonly name?: string;
|
|
922
|
-
readonly x1?: number;
|
|
923
|
-
readonly y1?: number;
|
|
924
|
-
readonly x2?: number;
|
|
925
|
-
readonly y2?: number;
|
|
926
|
-
readonly fill?: FillOptions;
|
|
927
|
-
readonly outline?: OutlineOptions;
|
|
928
|
-
}
|
|
929
|
-
type ArrowheadType = "triangle" | "stealth" | "diamond" | "oval" | "open" | "none";
|
|
930
|
-
declare class ConnectorShape extends XmlComponent {
|
|
931
|
-
private static nextId;
|
|
932
|
-
private readonly shapeId;
|
|
933
|
-
constructor(options?: IConnectorShapeOptions);
|
|
934
|
-
get ShapeId(): number;
|
|
935
|
-
}
|
|
936
|
-
interface IConnectorShapeOptions {
|
|
937
|
-
readonly id?: number;
|
|
938
|
-
readonly name?: string;
|
|
939
|
-
readonly x1?: number;
|
|
940
|
-
readonly y1?: number;
|
|
941
|
-
readonly x2?: number;
|
|
942
|
-
readonly y2?: number;
|
|
943
|
-
readonly fill?: FillOptions;
|
|
944
|
-
readonly outline?: OutlineOptions;
|
|
945
|
-
readonly beginArrowhead?: ArrowheadType;
|
|
946
|
-
readonly endArrowhead?: ArrowheadType;
|
|
947
|
-
readonly arrowheadWidth?: "sm" | "med" | "lg";
|
|
948
|
-
readonly arrowheadLength?: "sm" | "med" | "lg";
|
|
949
|
-
}
|
|
950
|
-
//#endregion
|
|
951
|
-
//#region src/file/media/video-frame.d.ts
|
|
952
|
-
type VideoType = "mp4" | "mov" | "wmv" | "avi";
|
|
953
|
-
type PosterType = "png" | "jpg";
|
|
954
|
-
interface IVideoFrameOptions {
|
|
955
|
-
readonly x?: number;
|
|
956
|
-
readonly y?: number;
|
|
957
|
-
readonly width?: number;
|
|
958
|
-
readonly height?: number;
|
|
959
|
-
readonly data: Uint8Array;
|
|
960
|
-
readonly type: VideoType;
|
|
961
|
-
readonly name?: string;
|
|
962
|
-
readonly poster?: Uint8Array;
|
|
963
|
-
readonly posterType?: PosterType;
|
|
964
|
-
readonly animation?: IAnimationOptions;
|
|
965
|
-
}
|
|
966
|
-
declare class VideoFrame extends XmlComponent {
|
|
967
|
-
private static nextId;
|
|
968
|
-
private readonly posterData;
|
|
969
|
-
private readonly videoData;
|
|
970
|
-
private readonly shapeId;
|
|
971
|
-
private readonly animationOptions?;
|
|
972
|
-
constructor(options: IVideoFrameOptions);
|
|
973
|
-
get ShapeId(): number;
|
|
974
|
-
get Animation(): IAnimationOptions | undefined;
|
|
975
|
-
prepForXml(context: IContext): Readonly<Record<string, any>> | undefined;
|
|
976
|
-
}
|
|
977
|
-
//#endregion
|
|
978
|
-
//#region src/file/media/audio-frame.d.ts
|
|
979
|
-
type AudioType = "mp3" | "wav" | "wma" | "aac";
|
|
980
|
-
interface IAudioFrameOptions {
|
|
981
|
-
readonly x?: number;
|
|
982
|
-
readonly y?: number;
|
|
983
|
-
readonly width?: number;
|
|
984
|
-
readonly height?: number;
|
|
985
|
-
readonly data: Uint8Array;
|
|
986
|
-
readonly type: AudioType;
|
|
987
|
-
readonly name?: string;
|
|
988
|
-
readonly animation?: IAnimationOptions;
|
|
989
|
-
}
|
|
990
|
-
declare class AudioFrame extends XmlComponent {
|
|
991
|
-
private static nextId;
|
|
992
|
-
private readonly audioData;
|
|
993
|
-
private readonly shapeId;
|
|
994
|
-
private readonly animationOptions?;
|
|
995
|
-
constructor(options: IAudioFrameOptions);
|
|
996
|
-
get ShapeId(): number;
|
|
997
|
-
get Animation(): IAnimationOptions | undefined;
|
|
998
|
-
prepForXml(context: IContext): Readonly<Record<string, any>> | undefined;
|
|
999
|
-
}
|
|
1120
|
+
//#region src/file/slide/coerce.d.ts
|
|
1121
|
+
declare function coerceChild(child: SlideChild): BaseXmlComponent;
|
|
1000
1122
|
//#endregion
|
|
1001
1123
|
//#region src/file/shape-tree/shape-tree.d.ts
|
|
1002
1124
|
declare class ShapeTree extends XmlComponent {
|
|
@@ -1010,68 +1132,6 @@ declare class DefaultNotesMaster extends ImportedXmlComponent {
|
|
|
1010
1132
|
prepForXml(): Readonly<Record<string, any>> | undefined;
|
|
1011
1133
|
}
|
|
1012
1134
|
//#endregion
|
|
1013
|
-
//#region src/file/picture/picture.d.ts
|
|
1014
|
-
interface IPictureOptions {
|
|
1015
|
-
readonly x?: number;
|
|
1016
|
-
readonly y?: number;
|
|
1017
|
-
readonly width?: number;
|
|
1018
|
-
readonly height?: number;
|
|
1019
|
-
readonly data: Uint8Array;
|
|
1020
|
-
readonly type: "png" | "jpg" | "gif" | "bmp" | "emf" | "wmf";
|
|
1021
|
-
readonly name?: string;
|
|
1022
|
-
}
|
|
1023
|
-
declare class Picture extends XmlComponent {
|
|
1024
|
-
private static nextId;
|
|
1025
|
-
private readonly imageData;
|
|
1026
|
-
constructor(options: IPictureOptions);
|
|
1027
|
-
prepForXml(context: IContext): Readonly<Record<string, any>> | undefined;
|
|
1028
|
-
}
|
|
1029
|
-
//#endregion
|
|
1030
|
-
//#region src/file/table/table-row.d.ts
|
|
1031
|
-
interface ITableRowOptions {
|
|
1032
|
-
readonly height?: number;
|
|
1033
|
-
readonly cells: readonly ITableCellOptions[];
|
|
1034
|
-
}
|
|
1035
|
-
declare class TableRow extends BaseXmlComponent {
|
|
1036
|
-
private readonly options;
|
|
1037
|
-
constructor(options: ITableRowOptions);
|
|
1038
|
-
prepForXml(context: IContext): IXmlableObject;
|
|
1039
|
-
}
|
|
1040
|
-
//#endregion
|
|
1041
|
-
//#region src/file/table/table.d.ts
|
|
1042
|
-
interface ITableOptions {
|
|
1043
|
-
readonly rows: readonly ITableRowOptions[];
|
|
1044
|
-
readonly columnWidths?: readonly number[];
|
|
1045
|
-
readonly firstRow?: boolean;
|
|
1046
|
-
readonly lastRow?: boolean;
|
|
1047
|
-
readonly bandRow?: boolean;
|
|
1048
|
-
readonly firstCol?: boolean;
|
|
1049
|
-
readonly lastCol?: boolean;
|
|
1050
|
-
readonly bandCol?: boolean;
|
|
1051
|
-
readonly borders?: {
|
|
1052
|
-
readonly top?: ICellBorderOptions;
|
|
1053
|
-
readonly bottom?: ICellBorderOptions;
|
|
1054
|
-
readonly left?: ICellBorderOptions;
|
|
1055
|
-
readonly right?: ICellBorderOptions;
|
|
1056
|
-
};
|
|
1057
|
-
}
|
|
1058
|
-
declare class Table extends BaseXmlComponent {
|
|
1059
|
-
private readonly options;
|
|
1060
|
-
constructor(options: ITableOptions);
|
|
1061
|
-
prepForXml(context: IContext): IXmlableObject;
|
|
1062
|
-
}
|
|
1063
|
-
//#endregion
|
|
1064
|
-
//#region src/file/table/table-frame.d.ts
|
|
1065
|
-
interface ITableFrameOptions extends ITableOptions {
|
|
1066
|
-
readonly x?: number;
|
|
1067
|
-
readonly y?: number;
|
|
1068
|
-
readonly width?: number;
|
|
1069
|
-
readonly height?: number;
|
|
1070
|
-
}
|
|
1071
|
-
declare class TableFrame extends XmlComponent {
|
|
1072
|
-
constructor(options: ITableFrameOptions);
|
|
1073
|
-
}
|
|
1074
|
-
//#endregion
|
|
1075
1135
|
//#region src/file/table/table-properties.d.ts
|
|
1076
1136
|
declare class TableProperties extends BaseXmlComponent {
|
|
1077
1137
|
private readonly options?;
|
|
@@ -1086,43 +1146,6 @@ declare class TableProperties extends BaseXmlComponent {
|
|
|
1086
1146
|
prepForXml(_context: IContext): IXmlableObject;
|
|
1087
1147
|
}
|
|
1088
1148
|
//#endregion
|
|
1089
|
-
//#region src/file/chart/chart-frame.d.ts
|
|
1090
|
-
interface IChartFrameOptions extends IChartSpaceOptions {
|
|
1091
|
-
readonly x?: number;
|
|
1092
|
-
readonly y?: number;
|
|
1093
|
-
readonly width?: number;
|
|
1094
|
-
readonly height?: number;
|
|
1095
|
-
}
|
|
1096
|
-
declare class ChartFrame extends XmlComponent {
|
|
1097
|
-
private readonly chartOptions;
|
|
1098
|
-
private readonly chartKey;
|
|
1099
|
-
constructor(options: IChartFrameOptions);
|
|
1100
|
-
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
1101
|
-
get ChartKey(): string;
|
|
1102
|
-
}
|
|
1103
|
-
//#endregion
|
|
1104
|
-
//#region src/file/smartart/smartart-frame.d.ts
|
|
1105
|
-
interface ISmartArtFrameOptions {
|
|
1106
|
-
readonly x?: number;
|
|
1107
|
-
readonly y?: number;
|
|
1108
|
-
readonly width?: number;
|
|
1109
|
-
readonly height?: number;
|
|
1110
|
-
readonly nodes: readonly ITreeNode[];
|
|
1111
|
-
readonly name?: string;
|
|
1112
|
-
readonly layout?: string;
|
|
1113
|
-
readonly style?: string;
|
|
1114
|
-
readonly color?: string;
|
|
1115
|
-
}
|
|
1116
|
-
declare class SmartArtFrame extends XmlComponent {
|
|
1117
|
-
private readonly smartArtKey;
|
|
1118
|
-
private readonly dataModel;
|
|
1119
|
-
private readonly layoutId;
|
|
1120
|
-
private readonly styleId;
|
|
1121
|
-
private readonly colorId;
|
|
1122
|
-
constructor(options: ISmartArtFrameOptions);
|
|
1123
|
-
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
1124
|
-
}
|
|
1125
|
-
//#endregion
|
|
1126
1149
|
//#region src/export/packer/packer.d.ts
|
|
1127
1150
|
declare class Packer {
|
|
1128
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]>;
|
|
@@ -1184,9 +1207,10 @@ interface PptxDocument {
|
|
|
1184
1207
|
appProps?: string;
|
|
1185
1208
|
}
|
|
1186
1209
|
declare function parsePptx(data: Uint8Array): PptxDocument;
|
|
1210
|
+
declare function readPresentation(data: Uint8Array): ISlideOptions[];
|
|
1187
1211
|
declare namespace index_d_exports {
|
|
1188
|
-
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, parseDocument, parsePptx, percentToTHousandths, readPresentation, uniqueId, uniqueNumericIdCreator, uniqueUuid };
|
|
1189
1213
|
}
|
|
1190
1214
|
//#endregion
|
|
1191
|
-
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, parseDocument, parsePptx, percentToTHousandths, readPresentation, uniqueId, uniqueNumericIdCreator, uniqueUuid };
|
|
1192
1216
|
//# sourceMappingURL=index.d.mts.map
|