pptx-react-viewer 1.1.5 → 1.1.7

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.
Files changed (33) hide show
  1. package/dist/{PowerPointViewer-CX0a7wz_.d.mts → PowerPointViewer-C5jGuKGB.d.mts} +3 -1
  2. package/dist/{PowerPointViewer-CX0a7wz_.d.ts → PowerPointViewer-C5jGuKGB.d.ts} +3 -1
  3. package/dist/index.d.mts +3 -2
  4. package/dist/index.d.ts +3 -2
  5. package/dist/index.js +1575 -515
  6. package/dist/index.mjs +1577 -517
  7. package/dist/pptx-viewer.css +1 -1
  8. package/dist/viewer/index.d.mts +6 -25
  9. package/dist/viewer/index.d.ts +6 -25
  10. package/dist/viewer/index.js +1575 -515
  11. package/dist/viewer/index.mjs +1577 -517
  12. package/node_modules/emf-converter/package.json +1 -1
  13. package/node_modules/mtx-decompressor/package.json +1 -1
  14. package/node_modules/pptx-viewer-core/dist/{SvgExporter-0TxiiorD.d.ts → SvgExporter-BtZczTlB.d.ts} +1 -1
  15. package/node_modules/pptx-viewer-core/dist/{SvgExporter-BQ4KbRO9.d.mts → SvgExporter-D4mBWJHE.d.mts} +1 -1
  16. package/node_modules/pptx-viewer-core/dist/cli/index.d.mts +2 -2
  17. package/node_modules/pptx-viewer-core/dist/cli/index.d.ts +2 -2
  18. package/node_modules/pptx-viewer-core/dist/cli/index.js +0 -0
  19. package/node_modules/pptx-viewer-core/dist/cli/index.mjs +0 -0
  20. package/node_modules/pptx-viewer-core/dist/converter/index.d.mts +3 -3
  21. package/node_modules/pptx-viewer-core/dist/converter/index.d.ts +3 -3
  22. package/node_modules/pptx-viewer-core/dist/converter/index.js +0 -0
  23. package/node_modules/pptx-viewer-core/dist/converter/index.mjs +0 -0
  24. package/node_modules/pptx-viewer-core/dist/index.d.mts +967 -60
  25. package/node_modules/pptx-viewer-core/dist/index.d.ts +967 -60
  26. package/node_modules/pptx-viewer-core/dist/index.js +29613 -16737
  27. package/node_modules/pptx-viewer-core/dist/index.mjs +29588 -16737
  28. package/node_modules/pptx-viewer-core/dist/{presentation-ArhfImJ5.d.mts → presentation-nZxgWvXq.d.mts} +875 -27
  29. package/node_modules/pptx-viewer-core/dist/{presentation-ArhfImJ5.d.ts → presentation-nZxgWvXq.d.ts} +875 -27
  30. package/node_modules/pptx-viewer-core/dist/{text-operations-CLj-sJyk.d.mts → text-operations-DCTGMltY.d.mts} +1 -1
  31. package/node_modules/pptx-viewer-core/dist/{text-operations-rhJV-A_W.d.ts → text-operations-DYmhoi7U.d.ts} +1 -1
  32. package/node_modules/pptx-viewer-core/package.json +1 -1
  33. package/package.json +4 -4
@@ -1,12 +1,12 @@
1
- import { P as PptxElement, a as PptxElementWithShapeStyle, b as PptxElementWithText, C as ConnectorPptxElement, c as PptxImageLikeElement, I as InkPptxElement, S as ShapePptxElement, T as TextPptxElement, Z as ZoomPptxElement, d as PptxThemeColorScheme, e as PptxThemeFontScheme, f as PptxAnimationPreset, g as PptxAnimationTrigger, h as StrokeDashType, i as ConnectorArrowType, j as PptxTransitionType, k as PptxChartType, l as PptxSlide, m as PptxData, n as PptxCompatibilityWarning, o as PptxLayoutOption, X as XmlObject, p as PptxChartData, q as PptxSmartArtData, r as PptxHeaderFooter, s as PptxPresentationProperties, t as PptxCustomShow, u as PptxSection, v as PptxCoreProperties, w as PptxAppProperties, x as PptxCustomProperty, y as PptxNotesMaster, z as PptxHandoutMaster, A as PptxTagCollection, B as PptxPhotoAlbum, D as PptxKinsoku, E as PptxModifyVerifier, F as PptxViewProperties, G as PptxEmbeddedFont, H as PptxExportOptions, J as PptxThemeFormatScheme, K as TextSegment, L as PptxComment, M as PptxSlideTransition, N as PptxElementAnimation, O as PptxNativeAnimation, Q as PptxCustomerData, R as PptxActiveXControl, U as AnimationCondition, V as ShapeStyle, W as TextStyle, Y as ElementAction, _ as PptxAction, $ as OleObjectType, a0 as PptxSmartArtNode, a1 as SmartArtLayoutType, a2 as PptxSmartArtDrawingShape, a3 as PptxChartDataTable, a4 as PptxChartLineStyle, a5 as PptxChartErrBars, a6 as PptxChartTrendline, a7 as PptxChartMarker, a8 as PptxChartDataLabel, a9 as PptxChartDataPoint, aa as PptxChartShapeProps, ab as PptxChart3DSurface, ac as PptxChartAxisFormatting, ad as PptxEmbeddedWorkbookData, ae as PptxDrawingGuide, af as PptxTableCellStyle, ag as PptxCustomXmlPart, ah as PptxCommentAuthor, ai as MediaPptxElement, aj as PptxTableData, ak as PptxTheme, al as ParsedTableStyleMap, am as PptxSlideMaster, an as PptxThemeOption, ao as PlaceholderDefaults, ap as PptxMasterTextStyles, aq as PptxThemeObjectDefaults, ar as ParsedTableStyleFill, as as ParsedTableStyleText, at as PptxImageEffects, au as MediaBookmark, av as PptxChartStyle, aw as TablePptxElement, ax as OlePptxElement, ay as GroupPptxElement, az as PlaceholderTextLevelStyle, aA as PptxChartSeries, aB as SmartArtPptxElement, aC as GeometryAdjustmentHandle, aD as CustomGeometryRawData, aE as CustomGeometryPath, aF as BulletInfo, aG as PptxShapeLocks, aH as PptxTextStyleLevels, aI as PptxThemeFillStyle, aJ as PptxThemeLineStyle, aK as PptxThemeEffectStyle, aL as PptxSmartArtChrome, aM as PptxSmartArtColorTransform, aN as PptxSmartArtQuickStyle, aO as PptxExternalData, aP as CustomGeometryPoint, aQ as ChartPptxElement, aR as ImagePptxElement } from './presentation-ArhfImJ5.mjs';
2
- export { aS as ActionButtonPreset, aT as AnimationConditionEvent, aU as BevelPresetType, aV as ConnectorConnectionPoint, aW as ContentPartInkStroke, aX as ContentPartPptxElement, aY as CustomGeometrySegment, aZ as ElementActionType, a_ as MasterViewTab, a$ as MaterialPresetType, b0 as MediaCaptionTrack, b1 as MediaMetadata, b2 as Model3DPptxElement, b3 as ParsedTableStyleEntry, b4 as PicturePptxElement, b5 as Pptx3DScene, b6 as Pptx3DShape, b7 as PptxAfterAnimationAction, b8 as PptxAnimationDirection, b9 as PptxAnimationIterate, ba as PptxAnimationRepeatMode, bb as PptxAnimationSequence, bc as PptxAnimationTimingCurve, bd as PptxChartAxisNumFmt, be as PptxChartErrBarDir, bf as PptxChartErrBarType, bg as PptxChartErrValType, bh as PptxChartMarkerSymbol, bi as PptxChartTrendlineType, bj as PptxColorAnimation, bk as PptxCommonSlideViewProperties, bl as PptxCropShape, bm as PptxCustomPathProperties, bn as PptxElementBase, bo as PptxElementType, bp as PptxExportFormat, bq as PptxHeaderFooterFlags, br as PptxImageProperties, bs as PptxMediaType, bt as PptxNormalViewProperties, bu as PptxRestoredRegion, bv as PptxShapeProperties, bw as PptxSlideLayout, bx as PptxSmartArtConnection, by as PptxSplitDirection, bz as PptxSplitOrientation, bA as PptxStripDirection, bB as PptxTableCell, bC as PptxTableRow, bD as PptxTag, bE as PptxTextAnimationTarget, bF as PptxTextBuildType, bG as PptxTextProperties, bH as PptxTextWarpPreset, bI as PptxThemeFontGroup, bJ as PptxTransitionDirection4, bK as PptxTransitionDirection8, bL as PptxViewOrigin, bM as PptxViewScale, bN as ShadowEffect, bO as SmartArtColorScheme, bP as SmartArtLayout, bQ as SmartArtStyle, bR as THEME_COLOR_SCHEME_KEYS, bS as TRANSITION_VALID_DIRECTIONS, bT as Text3DStyle, bU as UnderlineStyle, bV as UnknownPptxElement } from './presentation-ArhfImJ5.mjs';
3
- import { F as FindResult, M as MergeOptions } from './text-operations-CLj-sJyk.mjs';
4
- export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-CLj-sJyk.mjs';
1
+ import { P as PptxElement, a as PptxElementWithShapeStyle, b as PptxElementWithText, C as ConnectorPptxElement, c as PptxImageLikeElement, I as InkPptxElement, S as ShapePptxElement, T as TextPptxElement, Z as ZoomPptxElement, d as PptxThemeColorScheme, e as PptxThemeFontScheme, f as PptxAnimationPreset, g as PptxAnimationTrigger, h as StrokeDashType, i as ConnectorArrowType, j as PptxTransitionType, k as PptxChartType, l as PptxSlide, m as PptxData, n as PptxCompatibilityWarning, o as PptxLayoutOption, X as XmlObject, p as PptxChartData, q as PptxSmartArtData, r as PptxHeaderFooter, s as PptxPresentationProperties, t as PptxCustomShow, u as PptxSection, v as PptxCoreProperties, w as PptxAppProperties, x as PptxCustomProperty, y as PptxNotesMaster, z as PptxHandoutMaster, A as PptxSlideMaster, B as PptxSlideLayout, D as PptxTagCollection, E as PptxPhotoAlbum, F as PptxKinsoku, G as PptxModifyVerifier, H as PptxViewProperties, J as ParsedTableStyleMap, K as PptxEmbeddedFont, L as PptxExportOptions, M as PptxThemeFormatScheme, N as TextSegment, O as PptxComment, Q as PptxSlideBackgroundPattern, R as PptxSlideTransition, U as PptxElementAnimation, V as PptxNativeAnimation, W as PptxCustomerData, Y as PptxActiveXControl, _ as AnimationCondition, $ as ShapeStyle, a0 as TextStyle, a1 as ElementAction, a2 as PptxAction, a3 as OleObjectType, a4 as PptxSmartArtNode, a5 as SmartArtLayoutType, a6 as PptxSmartArtDrawingShape, a7 as PptxChartDataTable, a8 as PptxChartLineStyle, a9 as PptxChartErrBars, aa as PptxChartTrendline, ab as PptxChartMarker, ac as PptxChartDataLabel, ad as PptxChartDataPoint, ae as PptxChartShapeProps, af as PptxChart3DSurface, ag as PptxChartAxisFormatting, ah as PptxEmbeddedWorkbookData, ai as PptxDrawingGuide, aj as PptxTableCellStyle, ak as PptxCustomXmlPart, al as PptxCommentAuthor, am as MediaPptxElement, an as PptxTableData, ao as PptxTheme, ap as PptxThemeOption, aq as PlaceholderDefaults, ar as PptxMasterTextStyles, as as PptxThemeObjectDefaults, at as ParsedTableStyleFill, au as ParsedTableBackground, av as ParsedTableStyleText, aw as PptxImageEffects, ax as MediaBookmark, ay as PptxChartStyle, az as TablePptxElement, aA as OlePptxElement, aB as GroupPptxElement, aC as PlaceholderTextLevelStyle, aD as PptxChartOfPieOptions, aE as PptxChartView3D, aF as PptxChartChrome, aG as PptxChartSeries, aH as SmartArtPptxElement, aI as GeometryAdjustmentHandle, aJ as CustomGeometryRawData, aK as AdjustHandleXY, aL as AdjustHandlePolar, aM as ConnectionSite, aN as CustomGeometryTextRect, aO as CustomGeometryPath, aP as BulletInfo, aQ as PptxShapeLocks, aR as PptxTextStyleLevels, aS as PptxThemeFillStyle, aT as PptxThemeLineStyle, aU as PptxThemeEffectStyle, aV as PptxSmartArtChrome, aW as PptxSmartArtColorTransform, aX as PptxSmartArtQuickStyle, aY as PptxExternalData, aZ as CustomGeometryPoint, a_ as ChartPptxElement, a$ as ImagePptxElement } from './presentation-nZxgWvXq.mjs';
2
+ export { b0 as ActionButtonPreset, b1 as AnimationConditionEvent, b2 as BevelPresetType, b3 as ConnectorConnectionPoint, b4 as ContentPartInkStroke, b5 as ContentPartPptxElement, b6 as CustomGeometrySegment, b7 as EffectDagBlend, b8 as EffectDagBlendMode, b9 as EffectDagContainer, ba as EffectDagContainerType, bb as EffectDagNode, bc as EffectDagRawLeaf, bd as EffectDagRelOff, be as EffectDagXfrm, bf as ElementActionType, bg as MasterViewTab, bh as MaterialPresetType, bi as MediaCaptionTrack, bj as MediaMetadata, bk as Model3DPptxElement, bl as ParsedTableStyleEntry, bm as PicturePptxElement, bn as Pptx3DScene, bo as Pptx3DShape, bp as PptxAfterAnimationAction, bq as PptxAnimationDirection, br as PptxAnimationIterate, bs as PptxAnimationKeyframe, bt as PptxAnimationRepeatMode, bu as PptxAnimationSequence, bv as PptxAnimationTimingCurve, bw as PptxChartAxisNumFmt, bx as PptxChartErrBarDir, by as PptxChartErrBarType, bz as PptxChartErrValType, bA as PptxChartMarkerSymbol, bB as PptxChartTrendlineType, bC as PptxColorAnimation, bD as PptxCommonSlideViewProperties, bE as PptxCropShape, bF as PptxCustomPathProperties, bG as PptxElementBase, bH as PptxElementType, bI as PptxExportFormat, bJ as PptxGraphicFrameExtension, bK as PptxHeaderFooterFlags, bL as PptxImageProperties, bM as PptxMediaType, bN as PptxNativeAnimationKind, bO as PptxNormalViewProperties, bP as PptxRestoredRegion, bQ as PptxShapeProperties, bR as PptxSmartArtConnection, bS as PptxSplitDirection, bT as PptxSplitOrientation, bU as PptxStripDirection, bV as PptxTableCell, bW as PptxTableRow, bX as PptxTag, bY as PptxTextAnimationTarget, bZ as PptxTextBuildType, b_ as PptxTextProperties, b$ as PptxTextWarpPreset, c0 as PptxThemeFontGroup, c1 as PptxTransitionDirection4, c2 as PptxTransitionDirection8, c3 as PptxViewOrigin, c4 as PptxViewScale, c5 as ShadowEffect, c6 as SmartArtColorScheme, c7 as SmartArtLayout, c8 as SmartArtStyle, c9 as THEME_COLOR_SCHEME_KEYS, ca as TRANSITION_VALID_DIRECTIONS, cb as Text3DStyle, cc as UnderlineStyle, cd as UnknownPptxElement } from './presentation-nZxgWvXq.mjs';
3
+ import { F as FindResult, M as MergeOptions } from './text-operations-DCTGMltY.mjs';
4
+ export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-DCTGMltY.mjs';
5
5
  import { XMLParser, XMLBuilder } from 'fast-xml-parser';
6
6
  import JSZip from 'jszip';
7
7
  export { C as CertificateRevocationStatus, D as DIGEST_ALGORITHM_TO_HASH, a as DIGEST_ALGORITHM_TO_WEB_CRYPTO, b as DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, c as DIGITAL_SIGNATURE_REL_TYPE, d as DigitalSignatureReport, e as DigitalSignatureVerificationStatus, E as ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, f as ENTERPRISE_REQUIRE_REVOCATION_ENV, g as ENTERPRISE_REQUIRE_TIMESTAMP_ENV, h as ENTERPRISE_TRUST_ROOTS_FILE_ENV, i as ENTERPRISE_TRUST_ROOTS_PEM_ENV, L as LoadedSigningMaterial, O as OPC_RELATIONSHIP_TRANSFORM, j as OfficeSignatureReference, P as PPTX_VIEWER_MANIFEST_NS, k as ParsedReferenceTransform, R as ReferenceTransformResult, S as SUPPORTED_XML_CANON_TRANSFORMS, l as SignOptions, m as SignResult, n as SignatureDetail, o as SignatureDetailStatus, p as SignatureNodeCertificateInfo, q as SignatureReferenceCheck, r as SignatureValidationPolicy, T as TimestampAuthorityStatus, X as XMLDSIG_NS, s as XML_TRANSFORM_ENVELOPED_SIGNATURE, t as computeDetailStatus, u as computeDigestBase64WebCrypto, v as computeVerificationStatus, w as escapeXmlAttr, x as escapeXmlText, y as extractAllTagText, z as extractFirstTagText, A as extractTagAttribute, B as isValidBase64, F as normalizePartPath, G as resolveReferenceUriToPart } from './signature-inspection-status-BCUpfCQh.mjs';
8
8
  export { convertEmfToDataUrl, convertWmfToDataUrl } from 'emf-converter';
9
- export { C as ConversionOptions, a as ConversionResult, D as DocumentConverter, F as FileSystemAdapter, M as MediaContext, P as PptxConverterOptions, b as PptxMarkdownConverter, S as SlideProcessor, c as SlideProcessorOptions, d as SvgExportOptions, e as SvgExporter, f as dataUrlToMediaBytes, g as deriveOutputPath, h as generateMediaFilename, i as getDirectory, n as normalizePath } from './SvgExporter-BQ4KbRO9.mjs';
9
+ export { C as ConversionOptions, a as ConversionResult, D as DocumentConverter, F as FileSystemAdapter, M as MediaContext, P as PptxConverterOptions, b as PptxMarkdownConverter, S as SlideProcessor, c as SlideProcessorOptions, d as SvgExportOptions, e as SvgExporter, f as dataUrlToMediaBytes, g as deriveOutputPath, h as generateMediaFilename, i as getDirectory, n as normalizePath } from './SvgExporter-D4mBWJHE.mjs';
10
10
 
11
11
  /**
12
12
  * Runtime type guards for narrowing the {@link PptxElement} union.
@@ -896,6 +896,20 @@ interface PptxHandlerSaveOptions {
896
896
  notesMaster?: PptxNotesMaster;
897
897
  /** Updated handout master data to save back to handoutMaster1.xml. */
898
898
  handoutMaster?: PptxHandoutMaster;
899
+ /**
900
+ * Updated slide masters to save back to ppt/slideMasters/slideMaster*.xml.
901
+ * Each entry in the array applies typed mutations (clrMap, hf flags,
902
+ * background) to the master at its `path`. Masters not listed here pass
903
+ * through verbatim from the original load.
904
+ */
905
+ slideMasters?: PptxSlideMaster[];
906
+ /**
907
+ * Updated slide layouts to save back to ppt/slideLayouts/slideLayout*.xml.
908
+ * Each entry applies typed mutations (clrMapOverride, attrs, hf flags,
909
+ * background) to the layout at its `path`. Layouts not listed here pass
910
+ * through verbatim from the original load.
911
+ */
912
+ slideLayouts?: PptxSlideLayout[];
899
913
  /** Updated tag collections to save back to ppt/tags/tag*.xml. */
900
914
  tags?: PptxTagCollection[];
901
915
  /** Photo album metadata to save back to `p:photoAlbum`. */
@@ -906,6 +920,14 @@ interface PptxHandlerSaveOptions {
906
920
  modifyVerifier?: PptxModifyVerifier | null;
907
921
  /** View properties to save back to ppt/viewProps.xml. */
908
922
  viewProperties?: PptxViewProperties;
923
+ /**
924
+ * Table style edits to save back to `ppt/tableStyles.xml`. Pass the
925
+ * `tableStyleMap` from `PptxData` (optionally with edited entries)
926
+ * to persist user edits. The `def` GUID and any unmodelled XML are
927
+ * preserved verbatim. Omitting the option round-trips the original
928
+ * part untouched.
929
+ */
930
+ tableStyles?: ParsedTableStyleMap;
909
931
  /**
910
932
  * Target output format.
911
933
  * - `'pptx'` (default): Standard presentation.
@@ -1230,6 +1252,10 @@ interface PptxSlideLoaderParams {
1230
1252
  extractSlideComments: (slidePath: string) => Promise<PptxComment[]>;
1231
1253
  /** Extract modern (Office 2021+) threaded comments from a slide. */
1232
1254
  extractModernSlideComments: (slidePath: string) => Promise<PptxComment[]>;
1255
+ /** Extract a structured pattern fill (`<a:pattFill>`) from slide bg. */
1256
+ extractBackgroundPattern: (slideXml: XmlObject) => PptxSlideBackgroundPattern | undefined;
1257
+ /** Extract the `<p:bgPr/@shadeToTitle>` flag from slide bg. */
1258
+ extractBackgroundShadeToTitle: (slideXml: XmlObject) => boolean | undefined;
1233
1259
  /** Check whether background shapes should animate. */
1234
1260
  extractBackgroundShowAnimation: (slideXml: XmlObject) => boolean | undefined;
1235
1261
  /** Check whether master slide shapes should be shown. */
@@ -1480,6 +1506,23 @@ declare class PptxNativeAnimationService implements IPptxNativeAnimationService
1480
1506
  * @param currentTrigger - Inherited trigger type from parent context.
1481
1507
  */
1482
1508
  private walkTimingTree;
1509
+ /**
1510
+ * Walk the timing tree for `p:audio` / `p:video` nodes and emit a
1511
+ * `kind: 'media'` PptxNativeAnimation entry per media node, capturing the
1512
+ * target shape id, optional `afterEffect` flag, and opaque round-trip
1513
+ * cTn attributes. This puts media playback nodes in the same typed list
1514
+ * as preset-driven animations so callers can reason about timeline order.
1515
+ *
1516
+ * Trim values, fade durations, bookmarks etc. are intentionally NOT
1517
+ * captured here — they remain owned by
1518
+ * `PptxHandlerRuntimeMediaTimingParsing`'s media-timing map.
1519
+ */
1520
+ private parseMediaAnimations;
1521
+ /**
1522
+ * Recursively descend into the timing tree and push a media-kind entry
1523
+ * for each `p:audio` / `p:video` node found.
1524
+ */
1525
+ private collectMediaNodes;
1483
1526
  /**
1484
1527
  * Extract text-level animation target (character or paragraph range)
1485
1528
  * from a `p:cTn` node's child animation behavior elements.
@@ -1551,12 +1594,37 @@ declare class PptxSlideTransitionService implements IPptxSlideTransitionService
1551
1594
  private readonly getXmlLocalName;
1552
1595
  constructor(options: PptxSlideTransitionServiceOptions);
1553
1596
  parseSlideTransition(slideXml: XmlObject | undefined): PptxSlideTransition | undefined;
1597
+ /**
1598
+ * Detects the PowerPoint 2016+ `morph` transition stored as a p159 extension
1599
+ * inside the transition's extLst.
1600
+ */
1601
+ private parseMorphFromExtLst;
1554
1602
  buildSlideTransitionXml(transition: PptxSlideTransition): XmlObject | undefined;
1603
+ /**
1604
+ * Build the extLst XML node for a morph (p159) transition, preserving any
1605
+ * non-morph extensions from rawExtLst.
1606
+ */
1607
+ private buildMorphExtLst;
1555
1608
  }
1556
1609
 
1557
1610
  /**
1558
1611
  * OOXML animation preset mappings and helper functions for the animation
1559
1612
  * write service.
1613
+ *
1614
+ * `PRESET_TO_OOXML` is the forward lookup used when serialising an editor
1615
+ * animation back to OOXML — it maps a typed preset name (e.g. `flyIn`) to
1616
+ * the `(presetClass, presetID, defaultSubtype)` tuple PowerPoint expects.
1617
+ *
1618
+ * `OOXML_TO_PRESET_*` are reverse lookups used when parsing native OOXML
1619
+ * timing back to a typed name. They are keyed by `presetID` integer per
1620
+ * `presetClass`. The reverse table holds the canonical typed name for each
1621
+ * presetID; aliases (e.g. `bounce` and `pulse` both mapping to emph 26)
1622
+ * are intentionally excluded from the reverse direction so parsing produces
1623
+ * a stable, single-valued result.
1624
+ *
1625
+ * Round-trip is preserved by `PptxNativeAnimation.presetId` (the raw integer)
1626
+ * even when no typed name exists; this module is the bridge for the typed
1627
+ * names PowerPoint emits across its built-in preset library.
1560
1628
  */
1561
1629
 
1562
1630
  /**
@@ -1568,7 +1636,31 @@ interface OoxmlPresetMapping {
1568
1636
  /** Default OOXML preset subtype (direction variant). */
1569
1637
  defaultSubtype: number;
1570
1638
  }
1639
+ /**
1640
+ * Forward lookup: editor preset name -> OOXML mapping.
1641
+ *
1642
+ * Existing typed names (e.g. `flyIn`, `fadeIn`, `pulse`) are preserved for
1643
+ * compatibility with `PptxAnimationPreset` and existing serialisation
1644
+ * tests. Additional canonical PowerPoint preset names are appended so the
1645
+ * round-trip can name and re-emit the full library.
1646
+ */
1571
1647
  declare const PRESET_TO_OOXML: Record<string, OoxmlPresetMapping>;
1648
+ declare const OOXML_TO_PRESET_ENTR: Record<number, string>;
1649
+ declare const OOXML_TO_PRESET_EXIT: Record<number, string>;
1650
+ declare const OOXML_TO_PRESET_EMPH: Record<number, string>;
1651
+ /**
1652
+ * Reverse lookup: resolve a parsed `(presetClass, presetID)` pair to the
1653
+ * canonical typed preset name (the key of `PRESET_TO_OOXML`).
1654
+ *
1655
+ * @returns the typed preset name, or `undefined` if the combination is
1656
+ * unknown. Path-class presets always return `undefined` because their
1657
+ * integer IDs are not standardised; round-trip is preserved via the
1658
+ * raw `presetID` and `motionPath` SVG string instead.
1659
+ */
1660
+ declare function ooxmlToPresetName(args: {
1661
+ presetClass: 'entr' | 'exit' | 'emph' | 'path';
1662
+ presetId: number;
1663
+ }): string | undefined;
1572
1664
  interface IPptxAnimationWriteService {
1573
1665
  buildTimingXml(animations: PptxElementAnimation[], existingRawTiming: XmlObject | undefined): XmlObject | undefined;
1574
1666
  }
@@ -3537,11 +3629,19 @@ declare function applyKinsokuToXml(presentation: XmlObject, kinsoku: PptxKinsoku
3537
3629
 
3538
3630
  /**
3539
3631
  * Parse additional boolean body properties from a:bodyPr attributes.
3540
- * Handles: compatLnSpc, forceAA, upright, fromWordArt
3632
+ *
3633
+ * Handles the boolean / numeric attributes defined on
3634
+ * CT_TextBodyProperties that aren't mapped elsewhere in the runtime:
3635
+ * `compatLnSpc`, `forceAA`, `upright`, `fromWordArt`,
3636
+ * `spcFirstLastPara`, `anchorCtr`, `rtlCol`, and `rot` (degrees).
3541
3637
  */
3542
3638
  declare function parseBodyPrBooleanAttrs(bodyPr: XmlObject, textStyle: TextStyle): void;
3543
3639
  /**
3544
3640
  * Write body property boolean attributes to bodyPr XML object.
3641
+ *
3642
+ * Mirrors {@link parseBodyPrBooleanAttrs} — only emits attributes that the
3643
+ * caller explicitly authored. `rtlCol` is intentionally not defaulted here
3644
+ * so callers can preserve the loaded value when the model is undefined.
3545
3645
  */
3546
3646
  declare function writeBodyPrBooleanAttrs(bodyPr: XmlObject, textStyle: TextStyle | undefined): void;
3547
3647
 
@@ -4226,11 +4326,24 @@ declare function resolveTableCellStyle(rowIndex: number, colIndex: number, total
4226
4326
  * This catalog is consumed by the animation pane to populate
4227
4327
  * the "Add Animation" dropdown menus.
4228
4328
  *
4329
+ * The `presetId` strings encode the OOXML preset class and integer ID
4330
+ * separated by a dot (e.g. `entr.1` = entrance presetID 1 = "Appear").
4331
+ * Motion-path entries use a stable string key (`path.<shape>.<variant>`)
4332
+ * because the OOXML motion-path presetID is informational only — the
4333
+ * actual SVG path is carried in `p:animMotion/@path`.
4334
+ *
4335
+ * The list is intentionally broad: it covers the full PowerPoint
4336
+ * preset library (entrance, emphasis, exit, motion path) so editors
4337
+ * and renderers can name and offer the presets. Round-trip integrity
4338
+ * for unknown presets is preserved by the raw `presetID` field on
4339
+ * `PptxNativeAnimation`; this catalog provides typed names for the
4340
+ * presets PowerPoint emits.
4341
+ *
4229
4342
  * @module utils/animation-preset-catalog
4230
4343
  */
4231
4344
  type AnimationCategory = 'entrance' | 'exit' | 'emphasis' | 'motionPath';
4232
4345
  interface AnimationPresetInfo {
4233
- /** OOXML preset class id (e.g. "entr.1" for appear). */
4346
+ /** Unique preset key. For entr/exit/emph this is `<class>.<presetID>`. */
4234
4347
  presetId: string;
4235
4348
  /** Human-readable label for the UI. */
4236
4349
  label: string;
@@ -4258,6 +4371,22 @@ declare function getAnimationPresetInfo(presetId: string): AnimationPresetInfo |
4258
4371
  * Get all presets for a given category.
4259
4372
  */
4260
4373
  declare function getPresetsByCategory(category: AnimationCategory): AnimationPresetInfo[];
4374
+ /**
4375
+ * Resolve native OOXML preset metadata from a parsed `(presetClass, presetId)`
4376
+ * pair to the typed catalog entry. Returns `undefined` for unknown
4377
+ * combinations — callers should fall back to the raw `presetID` for
4378
+ * round-trip preservation.
4379
+ *
4380
+ * @example
4381
+ * ```ts
4382
+ * getNativeAnimationPresetMetadata({ presetClass: "entr", presetId: 10 });
4383
+ * // => { presetId: "entr.10", label: "Fade", category: "entrance", ... }
4384
+ * ```
4385
+ */
4386
+ declare function getNativeAnimationPresetMetadata(args: {
4387
+ presetClass: 'entr' | 'exit' | 'emph' | 'path';
4388
+ presetId: number;
4389
+ }): AnimationPresetInfo | undefined;
4261
4390
 
4262
4391
  /**
4263
4392
  * SmartArt relayout on edit.
@@ -4289,6 +4418,24 @@ declare function getPresetsByCategory(category: AnimationCategory): AnimationPre
4289
4418
  */
4290
4419
  declare function relayoutSmartArt(smartArtData: PptxSmartArtData, containerWidth: number, containerHeight: number): PptxSmartArtDrawingShape[];
4291
4420
 
4421
+ /**
4422
+ * Resolve a human-friendly display label for a slide layout.
4423
+ *
4424
+ * Order of preference:
4425
+ * 1. The cSld `@name` attribute, if it is non-empty and not just the
4426
+ * raw ZIP path.
4427
+ * 2. The OOXML `@type` attribute mapped to its standard English label
4428
+ * (e.g. `"obj"` → `"Title and Content"`).
4429
+ * 3. `"Slide Layout N"` parsed from the ZIP path (`slideLayoutN.xml`),
4430
+ * or plain `"Slide Layout"` if no number can be found.
4431
+ */
4432
+ interface LayoutDisplayNameInput {
4433
+ name?: string;
4434
+ type?: string;
4435
+ path: string;
4436
+ }
4437
+ declare function resolveLayoutDisplayName(input: LayoutDisplayNameInput): string;
4438
+
4292
4439
  /**
4293
4440
  * Schema-order utilities for OpenXML serialization.
4294
4441
  *
@@ -4299,7 +4446,8 @@ declare function relayoutSmartArt(smartArtData: PptxSmartArtData, containerWidth
4299
4446
  * keys in their original insertion order. Keys whose values are
4300
4447
  * `undefined` are skipped.
4301
4448
  */
4302
- declare function reorderObjectKeys(obj: Record<string, unknown>, schemaOrder: readonly string[]): Record<string, unknown>;
4449
+
4450
+ declare function reorderObjectKeys(obj: XmlObject, schemaOrder: readonly string[]): XmlObject;
4303
4451
  /** Child order for `a:effectLst` (CT_EffectList §20.1.8.20) — alphabetical. */
4304
4452
  declare const EFFECT_LST_ORDER: readonly string[];
4305
4453
  /**
@@ -4317,6 +4465,74 @@ declare const TC_PR_BORDERS_ORDER: readonly string[];
4317
4465
  /** Child order for `a:blipFill` (CT_BlipFillProperties). */
4318
4466
  declare const BLIP_FILL_ORDER: readonly string[];
4319
4467
 
4468
+ /**
4469
+ * Typed accessors for fast-xml-parser output.
4470
+ *
4471
+ * The parser (see `PptxRuntimeDependencyFactory.createParser`) is configured
4472
+ * with `attributeNamePrefix: '@_'`, `parseAttributeValue: false`, and
4473
+ * `parseTagValue: false`, so every leaf value is a string. Child elements
4474
+ * appear keyed by their (namespaced) tag name; when an element has a single
4475
+ * occurrence the value is an object, when it repeats the value is an array
4476
+ * of objects. Text content sits under the `#text` key.
4477
+ *
4478
+ * These helpers normalize that shape so callers do not need to remember the
4479
+ * prefix, the single-vs-array duality, or that every leaf is `unknown`.
4480
+ * Prefer these over indexing into {@link XmlObject} directly.
4481
+ *
4482
+ * @module xml-access
4483
+ */
4484
+
4485
+ /**
4486
+ * Get a single child element by tag name. If the tag repeats, returns the
4487
+ * first occurrence. Returns `undefined` when the node is absent or not an
4488
+ * object.
4489
+ */
4490
+ declare function xmlChild(node: unknown, key: string): XmlObject | undefined;
4491
+ /**
4492
+ * Get all children with the given tag name, normalized to an array. fast-xml-parser
4493
+ * emits a single object when an element appears once and an array when it
4494
+ * repeats; this helper collapses that distinction.
4495
+ */
4496
+ declare function xmlChildren(node: unknown, key: string): XmlObject[];
4497
+ /**
4498
+ * Read an attribute value. Pass the unprefixed name (e.g. `"id"` or
4499
+ * `"r:embed"`); the `@_` prefix is added internally.
4500
+ */
4501
+ declare function xmlAttr(node: unknown, name: string): string | undefined;
4502
+ /**
4503
+ * Read an attribute as a number, returning `undefined` when missing or
4504
+ * unparseable.
4505
+ */
4506
+ declare function xmlAttrNumber(node: unknown, name: string): number | undefined;
4507
+ /**
4508
+ * Read an attribute as a boolean using OOXML's `"1" | "true"` truthy convention.
4509
+ * Returns `undefined` when the attribute is absent.
4510
+ */
4511
+ declare function xmlAttrBool(node: unknown, name: string): boolean | undefined;
4512
+ /**
4513
+ * Read the text content of an element (`#text` key) or the element itself if
4514
+ * fast-xml-parser collapsed it to a bare string.
4515
+ */
4516
+ declare function xmlText(node: unknown): string | undefined;
4517
+ /**
4518
+ * Walk a path of child element tag names. Equivalent to chained
4519
+ * {@link xmlChild} calls. Useful for the deep optional-chain accesses that
4520
+ * dominate OOXML parsing.
4521
+ *
4522
+ * @example
4523
+ * ```ts
4524
+ * const blip = xmlPath(slideXml, 'p:sld', 'p:cSld', 'p:bg', 'p:bgPr', 'a:blipFill', 'a:blip');
4525
+ * const rEmbed = xmlAttr(blip, 'r:embed');
4526
+ * ```
4527
+ */
4528
+ declare function xmlPath(node: unknown, ...keys: string[]): XmlObject | undefined;
4529
+ /**
4530
+ * `true` when `value` is an {@link XmlObject} — non-null, non-array object.
4531
+ * Exposed for the few call sites that need to narrow a raw `unknown` before
4532
+ * passing it through other helpers.
4533
+ */
4534
+ declare function isXmlNode(value: unknown): value is XmlObject;
4535
+
4320
4536
  interface IFactory<TResult, TInit = void> {
4321
4537
  create(init: TInit): TResult;
4322
4538
  }
@@ -4910,6 +5126,22 @@ declare class PptxTableDataParser implements IPptxTableDataParser {
4910
5126
  * Accept all three; the spec form takes precedence.
4911
5127
  */
4912
5128
  private extractTableStyleId;
5129
+ /**
5130
+ * CT_TableProperties §21.1.3.15 declares `bandRowCycle` / `bandColCycle`
5131
+ * as either an attribute (`@_bandRowCycle`) or a child element
5132
+ * (`<a:bandRowCycle val="N"/>`). Read both forms; return `undefined` to
5133
+ * let the caller fall back to the spec default of 1.
5134
+ */
5135
+ private extractBandCycle;
5136
+ /**
5137
+ * Capture `a:tcPr` attributes that don't yet have typed equivalents on
5138
+ * {@link PptxTableCellStyle} so they survive a round-trip
5139
+ * (`horzOverflow`, `anchorCtr`, `headers`, `hideSlicers`,
5140
+ * `slicerCacheId`). Returns the attribute name (without the `@_` prefix
5141
+ * fast-xml-parser adds) → string-value map, or undefined when none of
5142
+ * the recognised opaque attributes are present.
5143
+ */
5144
+ private extractCellExtraAttributes;
4913
5145
  private extractTableCellText;
4914
5146
  private extractTableCellStyleFromXml;
4915
5147
  }
@@ -5196,7 +5428,7 @@ declare class PptxElementXmlBuilder {
5196
5428
  * the constructor of the final concrete class
5197
5429
  * ({@link PptxHandlerRuntimeImplementation}).
5198
5430
  */
5199
- declare class PptxHandlerRuntime$1b {
5431
+ declare class PptxHandlerRuntime$1g {
5200
5432
  /** The in-memory ZIP archive representing the OPC (.pptx) package. */
5201
5433
  protected zip: JSZip;
5202
5434
  /** fast-xml-parser instance used to parse XML strings into JS objects. */
@@ -5520,7 +5752,7 @@ declare class PptxHandlerRuntime$1b {
5520
5752
  protected restoreOriginalParser(): void;
5521
5753
  }
5522
5754
 
5523
- declare class PptxHandlerRuntime$1a extends PptxHandlerRuntime$1b {
5755
+ declare class PptxHandlerRuntime$1f extends PptxHandlerRuntime$1g {
5524
5756
  /**
5525
5757
  * Export slides to a raster/vector format.
5526
5758
  *
@@ -5542,6 +5774,12 @@ declare class PptxHandlerRuntime$1a extends PptxHandlerRuntime$1b {
5542
5774
  * Derive the dominant accent key from a set of table style fills.
5543
5775
  */
5544
5776
  protected deriveTableStyleAccentKey(...fills: (ParsedTableStyleFill | undefined)[]): string | undefined;
5777
+ /**
5778
+ * Extract `<a:tblBg>` children: an inline fill (best-effort scheme-fill
5779
+ * resolution) plus a flag for `<a:effectLst>` so the save path can
5780
+ * round-trip the original effect XML.
5781
+ */
5782
+ protected extractTableBackground(tblBg: XmlObject | undefined): ParsedTableBackground | undefined;
5545
5783
  /**
5546
5784
  * Extract fill information from a table style section element
5547
5785
  * (e.g. `a:wholeTbl`, `a:band1H`, `a:firstRow`).
@@ -5558,7 +5796,7 @@ declare class PptxHandlerRuntime$1a extends PptxHandlerRuntime$1b {
5558
5796
  protected parseTableStyles(): Promise<ParsedTableStyleMap | undefined>;
5559
5797
  }
5560
5798
 
5561
- declare class PptxHandlerRuntime$19 extends PptxHandlerRuntime$1a {
5799
+ declare class PptxHandlerRuntime$1e extends PptxHandlerRuntime$1f {
5562
5800
  /**
5563
5801
  * Write or remove a single `a:hlinkClick` / `a:hlinkHover` node on
5564
5802
  * a `p:cNvPr` parent.
@@ -5581,7 +5819,7 @@ declare class PptxHandlerRuntime$19 extends PptxHandlerRuntime$1a {
5581
5819
  protected serializeShapeLocks(shape: XmlObject, el: PptxElement): void;
5582
5820
  }
5583
5821
 
5584
- declare class PptxHandlerRuntime$18 extends PptxHandlerRuntime$19 {
5822
+ declare class PptxHandlerRuntime$1d extends PptxHandlerRuntime$1e {
5585
5823
  /**
5586
5824
  * Parse a single `a:hlinkClick` or `a:hlinkHover` node into a `PptxAction`.
5587
5825
  */
@@ -5620,7 +5858,7 @@ interface MediaTimingData {
5620
5858
  /** Playback speed multiplier (1 = normal). From p14:media/@spd (percentage * 1000). */
5621
5859
  playbackSpeed?: number;
5622
5860
  }
5623
- declare class PptxHandlerRuntime$17 extends PptxHandlerRuntime$18 {
5861
+ declare class PptxHandlerRuntime$1c extends PptxHandlerRuntime$1d {
5624
5862
  /**
5625
5863
  * Extract image recolour/brightness/contrast/artistic effects from blip extensions.
5626
5864
  */
@@ -5641,7 +5879,7 @@ declare class PptxHandlerRuntime$17 extends PptxHandlerRuntime$18 {
5641
5879
  protected resolveRelationshipTarget(sourcePath: string, rId: string): string | undefined;
5642
5880
  }
5643
5881
 
5644
- declare class PptxHandlerRuntime$16 extends PptxHandlerRuntime$17 {
5882
+ declare class PptxHandlerRuntime$1b extends PptxHandlerRuntime$1c {
5645
5883
  /**
5646
5884
  * Recursively walk the timing tree looking for `p:video` and `p:audio`
5647
5885
  * nodes that contain `p:cMediaNode`.
@@ -5669,7 +5907,7 @@ declare class PptxHandlerRuntime$16 extends PptxHandlerRuntime$17 {
5669
5907
  getMediaArrayBuffer(mediaPath: string): Promise<ArrayBuffer | undefined>;
5670
5908
  }
5671
5909
 
5672
- declare class PptxHandlerRuntime$15 extends PptxHandlerRuntime$16 {
5910
+ declare class PptxHandlerRuntime$1a extends PptxHandlerRuntime$1b {
5673
5911
  /**
5674
5912
  * Convert raw image bytes to a URL suitable for <img src>.
5675
5913
  * Uses Blob URLs in browsers (avoids 33% base64 overhead),
@@ -5689,7 +5927,7 @@ declare class PptxHandlerRuntime$15 extends PptxHandlerRuntime$16 {
5689
5927
  protected parseNativeAnimations(slideXml: XmlObject): PptxNativeAnimation[] | undefined;
5690
5928
  }
5691
5929
 
5692
- declare class PptxHandlerRuntime$14 extends PptxHandlerRuntime$15 {
5930
+ declare class PptxHandlerRuntime$19 extends PptxHandlerRuntime$1a {
5693
5931
  protected buildRelativeTargetPath(fromPartPath: string, toPartPath: string): string;
5694
5932
  protected setMasterThemeRelationship(masterPath: string, themePath: string): Promise<void>;
5695
5933
  setPresentationTheme(themePath: string, applyToAllMasters?: boolean): Promise<void>;
@@ -5745,7 +5983,7 @@ declare class PptxHandlerRuntime$14 extends PptxHandlerRuntime$15 {
5745
5983
  protected parseTags(): Promise<PptxTagCollection[]>;
5746
5984
  }
5747
5985
 
5748
- declare class PptxHandlerRuntime$13 extends PptxHandlerRuntime$14 {
5986
+ declare class PptxHandlerRuntime$18 extends PptxHandlerRuntime$19 {
5749
5987
  /**
5750
5988
  * Parse background colour from a `p:bg` node.
5751
5989
  */
@@ -5788,7 +6026,7 @@ declare class PptxHandlerRuntime$13 extends PptxHandlerRuntime$14 {
5788
6026
  protected parseCustomShows(): PptxCustomShow[] | undefined;
5789
6027
  }
5790
6028
 
5791
- declare class PptxHandlerRuntime$12 extends PptxHandlerRuntime$13 {
6029
+ declare class PptxHandlerRuntime$17 extends PptxHandlerRuntime$18 {
5792
6030
  /**
5793
6031
  * Parse presentation properties from `presentationPr.xml`.
5794
6032
  * Extracts show type, loop, narration, animation, and print settings.
@@ -5807,7 +6045,7 @@ declare class PptxHandlerRuntime$12 extends PptxHandlerRuntime$13 {
5807
6045
  protected toSlideRelsPath(slidePath: string): string;
5808
6046
  }
5809
6047
 
5810
- declare class PptxHandlerRuntime$11 extends PptxHandlerRuntime$12 {
6048
+ declare class PptxHandlerRuntime$16 extends PptxHandlerRuntime$17 {
5811
6049
  protected createEmptySlideXml(): XmlObject;
5812
6050
  protected deepCloneXml(value: XmlObject | undefined): XmlObject | undefined;
5813
6051
  protected findSourceSlidePath(requestedSourcePath: string | undefined): string | undefined;
@@ -5841,16 +6079,16 @@ declare class PptxHandlerRuntime$11 extends PptxHandlerRuntime$12 {
5841
6079
  protected createLineSpacingXmlFromMultiplier(lineSpacing: number | undefined): XmlObject | undefined;
5842
6080
  }
5843
6081
 
5844
- declare class PptxHandlerRuntime$10 extends PptxHandlerRuntime$11 {
6082
+ declare class PptxHandlerRuntime$15 extends PptxHandlerRuntime$16 {
5845
6083
  protected createRunPropertiesFromTextStyle(style: TextStyle | undefined, resolveHyperlinkRelationshipId?: (target: string) => string | undefined): XmlObject;
5846
6084
  private applyHyperlinkExtraAttrs;
5847
6085
  }
5848
6086
 
5849
- declare class PptxHandlerRuntime$$ extends PptxHandlerRuntime$10 {
6087
+ declare class PptxHandlerRuntime$14 extends PptxHandlerRuntime$15 {
5850
6088
  protected createParagraphsFromTextContent(text: string | undefined, textStyle: TextStyle | undefined, textSegments: TextSegment[] | undefined, resolveHyperlinkRelationshipId?: (target: string) => string | undefined): XmlObject[];
5851
6089
  }
5852
6090
 
5853
- declare class PptxHandlerRuntime$_ extends PptxHandlerRuntime$$ {
6091
+ declare class PptxHandlerRuntime$13 extends PptxHandlerRuntime$14 {
5854
6092
  protected updateNotesXmlText(notesXmlObj: XmlObject, notesText: string | undefined, notesSegments?: TextSegment[]): boolean;
5855
6093
  protected createPictureXml(el: PptxImageLikeElement, relationshipId: string): XmlObject;
5856
6094
  protected createMediaGraphicFrameXml(el: MediaPptxElement, relationshipId: string): XmlObject;
@@ -5862,7 +6100,7 @@ declare class PptxHandlerRuntime$_ extends PptxHandlerRuntime$$ {
5862
6100
  protected createConnectorXml(el: ConnectorPptxElement): XmlObject;
5863
6101
  }
5864
6102
 
5865
- declare class PptxHandlerRuntime$Z extends PptxHandlerRuntime$_ {
6103
+ declare class PptxHandlerRuntime$12 extends PptxHandlerRuntime$13 {
5866
6104
  /**
5867
6105
  * Build a `p:graphicFrame` XML skeleton for an SDK-created table.
5868
6106
  *
@@ -5922,7 +6160,7 @@ declare class PptxHandlerRuntime$Z extends PptxHandlerRuntime$_ {
5922
6160
  protected buildGroupShapeXml(group: GroupPptxElement): XmlObject | null;
5923
6161
  }
5924
6162
 
5925
- declare class PptxHandlerRuntime$Y extends PptxHandlerRuntime$Z {
6163
+ declare class PptxHandlerRuntime$11 extends PptxHandlerRuntime$12 {
5926
6164
  protected clampCropForSave(value: unknown): number;
5927
6165
  protected applyImageCropToBlipFill(blipFill: XmlObject | undefined, element: PptxImageLikeElement): void;
5928
6166
  protected applyImageEffectsToBlip(blipFill: XmlObject | undefined, effects: PptxImageEffects | undefined): void;
@@ -5944,7 +6182,7 @@ declare class PptxHandlerRuntime$Y extends PptxHandlerRuntime$Z {
5944
6182
  protected getTextValueForSave(text: string | undefined, textSegments: TextSegment[] | undefined): string;
5945
6183
  }
5946
6184
 
5947
- declare class PptxHandlerRuntime$X extends PptxHandlerRuntime$Y {
6185
+ declare class PptxHandlerRuntime$10 extends PptxHandlerRuntime$11 {
5948
6186
  protected textStylesEqual(left: TextStyle | undefined, right: TextStyle | undefined): boolean;
5949
6187
  protected hasMixedTextStyles(textSegments: TextSegment[]): boolean;
5950
6188
  protected areTextSegmentsUniform(textSegments: TextSegment[] | undefined): boolean;
@@ -5956,7 +6194,7 @@ declare class PptxHandlerRuntime$X extends PptxHandlerRuntime$Y {
5956
6194
  protected compactTextSegments(textSegments: TextSegment[], fallbackStyle: TextStyle | undefined): TextSegment[];
5957
6195
  }
5958
6196
 
5959
- declare class PptxHandlerRuntime$W extends PptxHandlerRuntime$X {
6197
+ declare class PptxHandlerRuntime$$ extends PptxHandlerRuntime$10 {
5960
6198
  /**
5961
6199
  * Parse hyperlink-related properties (a:hlinkClick, a:hlinkMouseOver) from
5962
6200
  * run-level XML and apply them to the given TextStyle.
@@ -5967,9 +6205,24 @@ declare class PptxHandlerRuntime$W extends PptxHandlerRuntime$X {
5967
6205
  * and reflection — and apply them to the given TextStyle.
5968
6206
  */
5969
6207
  protected applyTextRunEffects(style: TextStyle, runEffectList: XmlObject): void;
6208
+ /**
6209
+ * Parse `a:effectDag` on `a:rPr` (run-level effect graph) and attach both
6210
+ * the raw XML (for verbatim round-trip) and a typed structural tree to
6211
+ * the given TextStyle. ECMA-376 §21.1.2.3.6 lists `a:effectDag` as a
6212
+ * valid alternative to `a:effectLst` inside CT_TextCharacterProperties;
6213
+ * historically the codebase ignored it on the run side, so any preset
6214
+ * carrying a run-level DAG would lose its effects on save.
6215
+ *
6216
+ * The four structural container nodes (`a:cont`, `a:blend`,
6217
+ * `a:xfrmEffect`, `a:relOff`) are parsed into a typed
6218
+ * {@link import('../../types').EffectDagContainer} tree; everything else
6219
+ * (e.g. `a:outerShdw`, `a:glow`, `a:alphaInv`) is captured opaquely as
6220
+ * raw XML so we don't duplicate the entire effect taxonomy here.
6221
+ */
6222
+ protected applyTextRunEffectDag(style: TextStyle, runProperties: XmlObject): void;
5970
6223
  }
5971
6224
 
5972
- declare class PptxHandlerRuntime$V extends PptxHandlerRuntime$W {
6225
+ declare class PptxHandlerRuntime$_ extends PptxHandlerRuntime$$ {
5973
6226
  protected extractTextRunStyle(runProperties: XmlObject | undefined, align: TextStyle['align'], relationshipMap?: Map<string, string>): TextStyle;
5974
6227
  /**
5975
6228
  * Copy `@panose` / `@pitchFamily` / `@charset` from a font child node
@@ -5979,7 +6232,7 @@ declare class PptxHandlerRuntime$V extends PptxHandlerRuntime$W {
5979
6232
  private applyTextFontMetadata;
5980
6233
  }
5981
6234
 
5982
- declare class PptxHandlerRuntime$U extends PptxHandlerRuntime$V {
6235
+ declare class PptxHandlerRuntime$Z extends PptxHandlerRuntime$_ {
5983
6236
  protected extractTextSegmentsFromTxBodyForRewrite(txBody: XmlObject | undefined, baseStyle: TextStyle | undefined, relationshipMap?: Map<string, string>): TextSegment[];
5984
6237
  protected remapEditedTextToExistingStyles(existingSegments: TextSegment[], nextText: string, fallbackStyle: TextStyle | undefined): TextSegment[];
5985
6238
  }
@@ -6007,6 +6260,18 @@ interface PlaceholderInfo {
6007
6260
  type?: string;
6008
6261
  /** Size hint (`@_sz`) — e.g. "half", "quarter" for layout hinting. */
6009
6262
  sz?: string;
6263
+ /**
6264
+ * Orientation (`@_orient`) — only `"vert"` is meaningful per the schema
6265
+ * (`ST_Direction`). Indicates the placeholder hosts a vertically-oriented
6266
+ * text body and should preserve that on round-trip.
6267
+ */
6268
+ orient?: 'vert';
6269
+ /**
6270
+ * Whether the placeholder defines its own custom prompt text
6271
+ * (`@_hasCustomPrompt`). Defaults to `false`. Preserved so that authoring
6272
+ * tools see the same flag they wrote.
6273
+ */
6274
+ hasCustomPrompt?: boolean;
6010
6275
  }
6011
6276
  /**
6012
6277
  * Context returned when looking up a matching placeholder in a layout
@@ -6096,7 +6361,7 @@ interface BodyPropertiesResult {
6096
6361
  * by type, reposition matched placeholders, remove unmatched ones, and
6097
6362
  * inject empty placeholders that exist only in the target layout.
6098
6363
  */
6099
- declare class PptxHandlerRuntime$T extends PptxHandlerRuntime$U {
6364
+ declare class PptxHandlerRuntime$Y extends PptxHandlerRuntime$Z {
6100
6365
  /**
6101
6366
  * Read placeholder info from a `p:nvPr` XML node.
6102
6367
  *
@@ -6156,7 +6421,7 @@ declare class PptxHandlerRuntime$T extends PptxHandlerRuntime$U {
6156
6421
  protected createEmptyPlaceholderElement(phInfo: PlaceholderInfo, xEmu: number, yEmu: number, cxEmu: number, cyEmu: number, _layoutPath: string): PptxElement | null;
6157
6422
  }
6158
6423
 
6159
- declare class PptxHandlerRuntime$S extends PptxHandlerRuntime$T {
6424
+ declare class PptxHandlerRuntime$X extends PptxHandlerRuntime$Y {
6160
6425
  /**
6161
6426
  * Write plain text into a table cell's txBody, preserving
6162
6427
  * existing run properties where possible.
@@ -6168,7 +6433,7 @@ declare class PptxHandlerRuntime$S extends PptxHandlerRuntime$T {
6168
6433
  protected writeTableCellStyle(xmlCell: XmlObject, style: PptxTableCellStyle): void;
6169
6434
  }
6170
6435
 
6171
- declare class PptxHandlerRuntime$R extends PptxHandlerRuntime$S {
6436
+ declare class PptxHandlerRuntime$W extends PptxHandlerRuntime$X {
6172
6437
  /**
6173
6438
  * Serialise modified `PptxTableData` back into the graphic frame's
6174
6439
  * raw XML so that the round-tripped file preserves edits.
@@ -6204,6 +6469,29 @@ declare class PptxHandlerRuntime$R extends PptxHandlerRuntime$S {
6204
6469
  protected updateChartCacheValues(container: XmlObject, isNumeric: boolean, values: string[]): void;
6205
6470
  /** Replace the first text value found deep in the node tree. */
6206
6471
  protected replaceFirstTextValue(node: unknown, localName: string, newValue: string): boolean;
6472
+ /**
6473
+ * Upsert a `c:<localName>` child carrying only an `@_val` attribute on
6474
+ * `parent`. When `value` is `undefined` the existing child is removed.
6475
+ */
6476
+ private upsertValChild;
6477
+ /**
6478
+ * Apply ofPie options (CT_OfPieChart) onto an existing
6479
+ * `c:ofPieChart` container. Updates ofPieType, splitType, splitPos,
6480
+ * secondPieSize, gapWidth, and serLines presence.
6481
+ */
6482
+ protected applyOfPieOptions(ofPieContainer: XmlObject, options: PptxChartOfPieOptions): void;
6483
+ /**
6484
+ * Apply `c:view3D` (CT_View3D) onto the chart root. Replaces any
6485
+ * existing `c:view3D` element, preserving only the fields supplied
6486
+ * on `view3D`.
6487
+ */
6488
+ protected applyView3D(chartRoot: XmlObject, view3D: PptxChartView3D): void;
6489
+ /**
6490
+ * Apply chart chrome flags onto the chart root. Each flag is only
6491
+ * written when explicitly set on `chrome`; absent fields preserve
6492
+ * any existing element verbatim.
6493
+ */
6494
+ protected applyChartChrome(chartRoot: XmlObject, chrome: PptxChartChrome): void;
6207
6495
  /**
6208
6496
  * Map a {@link PptxChartType} to the OOXML element local name for the
6209
6497
  * chart type container (e.g. `"bar"` &rarr; `"barChart"`).
@@ -6222,7 +6510,7 @@ declare class PptxHandlerRuntime$R extends PptxHandlerRuntime$S {
6222
6510
  protected buildNewSeriesXml(seriesIndex: number, seriesData: PptxChartSeries, categories: string[], templateSeries?: XmlObject): XmlObject;
6223
6511
  }
6224
6512
 
6225
- declare class PptxHandlerRuntime$Q extends PptxHandlerRuntime$R {
6513
+ declare class PptxHandlerRuntime$V extends PptxHandlerRuntime$W {
6226
6514
  /** Pending SmartArt data updates to process during save. */
6227
6515
  protected pendingSmartArtUpdates?: Array<{
6228
6516
  element: SmartArtPptxElement;
@@ -6314,7 +6602,7 @@ declare class PptxHandlerRuntime$Q extends PptxHandlerRuntime$R {
6314
6602
  protected convertZipToStrictConformance(): Promise<void>;
6315
6603
  }
6316
6604
 
6317
- declare class PptxHandlerRuntime$P extends PptxHandlerRuntime$Q {
6605
+ declare class PptxHandlerRuntime$U extends PptxHandlerRuntime$V {
6318
6606
  protected applyPresentationPropertiesPart(properties: PptxPresentationProperties | undefined): Promise<void>;
6319
6607
  /**
6320
6608
  * Strip digital signature parts from the ZIP if the document was signed.
@@ -6323,14 +6611,14 @@ declare class PptxHandlerRuntime$P extends PptxHandlerRuntime$Q {
6323
6611
  protected stripDigitalSignatures(): Promise<void>;
6324
6612
  }
6325
6613
 
6326
- declare class PptxHandlerRuntime$O extends PptxHandlerRuntime$P {
6614
+ declare class PptxHandlerRuntime$T extends PptxHandlerRuntime$U {
6327
6615
  protected collectMediaElements(elements: PptxElement[], output: MediaPptxElement[]): void;
6328
6616
  protected getShapeIdFromRawXml(rawXml: XmlObject | undefined): string | undefined;
6329
6617
  protected applyMediaTimingToTimingTree(node: XmlObject, mediaByShapeId: Map<string, MediaPptxElement>): void;
6330
6618
  protected applyMediaTimingToRawTiming(rawTiming: XmlObject, elements: PptxElement[]): void;
6331
6619
  }
6332
6620
 
6333
- declare class PptxHandlerRuntime$N extends PptxHandlerRuntime$O {
6621
+ declare class PptxHandlerRuntime$S extends PptxHandlerRuntime$T {
6334
6622
  /**
6335
6623
  * Recursively walk an XML object tree and deduplicate extension list entries
6336
6624
  * by `@_uri`. When multiple `a:ext` or `p:ext` entries share the same URI,
@@ -6352,7 +6640,7 @@ declare class PptxHandlerRuntime$N extends PptxHandlerRuntime$O {
6352
6640
  protected ensureTemplateShapeAttached(spTree: XmlObject, elementType: PptxElement['type'], shape: XmlObject): XmlObject;
6353
6641
  }
6354
6642
 
6355
- declare class PptxHandlerRuntime$M extends PptxHandlerRuntime$N {
6643
+ declare class PptxHandlerRuntime$R extends PptxHandlerRuntime$S {
6356
6644
  /**
6357
6645
  * Serialize shape fill, stroke, dash, arrows, line join/cap/compound,
6358
6646
  * and line-level effects to the given spPr XML object.
@@ -6380,7 +6668,7 @@ declare class PptxHandlerRuntime$M extends PptxHandlerRuntime$N {
6380
6668
  private replaceRefColorChoice;
6381
6669
  }
6382
6670
 
6383
- declare class PptxHandlerRuntime$L extends PptxHandlerRuntime$M {
6671
+ declare class PptxHandlerRuntime$Q extends PptxHandlerRuntime$R {
6384
6672
  /**
6385
6673
  * Serialize visual effects (shadow, glow, reflection, blur, soft edge),
6386
6674
  * effectDag, 3D scene, and 3D shape properties to the given spPr XML object.
@@ -6388,7 +6676,7 @@ declare class PptxHandlerRuntime$L extends PptxHandlerRuntime$M {
6388
6676
  protected applyEffectsAndThreeD(spPr: XmlObject, shapeStyle: ShapeStyle): void;
6389
6677
  }
6390
6678
 
6391
- declare class PptxHandlerRuntime$K extends PptxHandlerRuntime$L {
6679
+ declare class PptxHandlerRuntime$P extends PptxHandlerRuntime$Q {
6392
6680
  /**
6393
6681
  * Build and write the text body (`p:txBody`) for shapes, text boxes,
6394
6682
  * and connectors that carry text content.
@@ -6424,7 +6712,7 @@ interface SaveSlideContext {
6424
6712
  readonly slideVideoRelationshipType: string;
6425
6713
  readonly slideAudioRelationshipType: string;
6426
6714
  }
6427
- declare class PptxHandlerRuntime$J extends PptxHandlerRuntime$K {
6715
+ declare class PptxHandlerRuntime$O extends PptxHandlerRuntime$P {
6428
6716
  /** Serialize table, chart, and SmartArt data when applicable. */
6429
6717
  protected applyDataSerialization(shape: XmlObject, el: PptxElement, slideId: string): void;
6430
6718
  /** Apply image crop, effects, and alt text for picture/image elements. */
@@ -6447,7 +6735,7 @@ interface SlideShapeCollectors {
6447
6735
  readonly model3ds: XmlObject[];
6448
6736
  readonly contentParts: XmlObject[];
6449
6737
  }
6450
- declare class PptxHandlerRuntime$I extends PptxHandlerRuntime$J {
6738
+ declare class PptxHandlerRuntime$N extends PptxHandlerRuntime$O {
6451
6739
  /** Whether a shape XML represents a graphic frame. */
6452
6740
  protected isGraphicFrameShape(shape: XmlObject): boolean;
6453
6741
  /**
@@ -6472,7 +6760,7 @@ declare class PptxHandlerRuntime$I extends PptxHandlerRuntime$J {
6472
6760
  protected processSlideElement(el: PptxElement, collectors: SlideShapeCollectors, ctx: SaveSlideContext): void;
6473
6761
  }
6474
6762
 
6475
- declare class PptxHandlerRuntime$H extends PptxHandlerRuntime$I {
6763
+ declare class PptxHandlerRuntime$M extends PptxHandlerRuntime$N {
6476
6764
  /**
6477
6765
  * Process a single slide during save: update slide XML, process elements,
6478
6766
  * rebuild shape tree, and persist relationships.
@@ -6533,7 +6821,7 @@ declare class PptxHandlerRuntime$H extends PptxHandlerRuntime$I {
6533
6821
  * save pipeline to regenerate the theme part instead of re-emitting the
6534
6822
  * original XML.
6535
6823
  */
6536
- declare class PptxHandlerRuntime$G extends PptxHandlerRuntime$H {
6824
+ declare class PptxHandlerRuntime$L extends PptxHandlerRuntime$M {
6537
6825
  /**
6538
6826
  * Mark a theme path as dirty so the save pipeline will regenerate
6539
6827
  * the theme XML from in-memory state. Optional — without this the
@@ -6604,6 +6892,181 @@ declare class PptxHandlerRuntime$G extends PptxHandlerRuntime$H {
6604
6892
  protected buildMinimalFmtScheme(name: string): XmlObject;
6605
6893
  }
6606
6894
 
6895
+ /**
6896
+ * @fileoverview Save-side writer for slide-master parts (`p:sldMaster`).
6897
+ *
6898
+ * Strategy: every loaded master's parsed XML lives in `masterXmlMap` and is
6899
+ * already flushed back to the ZIP by {@link PptxHandlerRuntimeSavePipeline}.
6900
+ * Without intervention, those flushes are byte-for-byte passthroughs because
6901
+ * the typed model never touches the cached XmlObject.
6902
+ *
6903
+ * This writer takes the optional `slideMasters` array supplied via
6904
+ * {@link PptxHandlerSaveOptions.slideMasters} and, for each entry, mutates
6905
+ * the corresponding {@link masterXmlMap} entry in place so that subsequent
6906
+ * passthrough emits the requested edits. Fields that are not part of the
6907
+ * typed model (`txStyles`, `transition`, `timing`, `extLst`, raw shape tree)
6908
+ * are left untouched, preserving them verbatim across the round-trip.
6909
+ *
6910
+ * Slide-master XML schema (ECMA-376 §19.3.1.42, CT_SlideMaster):
6911
+ *
6912
+ * `<p:sldMaster>` →
6913
+ * `<p:cSld>` (optional `@name`, optional `<p:bg>`, `<p:spTree>`, …)
6914
+ * `<p:clrMap>` (12 alias attributes, REQUIRED)
6915
+ * `<p:sldLayoutIdLst>` (optional)
6916
+ * `<p:transition>` (optional)
6917
+ * `<p:timing>` (optional)
6918
+ * `<p:hf>` (optional)
6919
+ * `<p:txStyles>` (optional)
6920
+ * `<p:extLst>` (optional)
6921
+ */
6922
+
6923
+ declare class PptxHandlerRuntime$K extends PptxHandlerRuntime$L {
6924
+ /**
6925
+ * Apply typed mutations from the supplied {@link PptxSlideMaster} array
6926
+ * to each master's cached XmlObject. Called by the save pipeline before
6927
+ * the masterXmlMap entries are flushed to the ZIP.
6928
+ */
6929
+ protected applySlideMasterChanges(masters: PptxSlideMaster[] | undefined): void;
6930
+ private applySlideMasterChange;
6931
+ }
6932
+
6933
+ /**
6934
+ * @fileoverview Save-side writer for slide-layout parts (`p:sldLayout`).
6935
+ *
6936
+ * Strategy mirrors {@link PptxHandlerRuntimeSaveSlideMaster}: layouts are
6937
+ * cached in `layoutXmlMap` and flushed to the ZIP by the save pipeline.
6938
+ * This writer mutates the cached XmlObject in place to apply typed-model
6939
+ * edits before the flush. Any field not part of the typed model
6940
+ * (transition, timing, extLst, raw spTree) is preserved verbatim.
6941
+ *
6942
+ * Slide-layout XML schema (ECMA-376 §19.3.1.40, CT_SlideLayout):
6943
+ *
6944
+ * `<p:sldLayout>` attrs: `@matchingName`, `@type`, `@preserve`,
6945
+ * `@userDrawn`, `@showMasterPhAnim`
6946
+ * `<p:cSld>` (`@name`, optional `<p:bg>`, `<p:spTree>`, …)
6947
+ * `<p:clrMapOvr>` (optional)
6948
+ * `<p:transition>` (optional)
6949
+ * `<p:timing>` (optional)
6950
+ * `<p:hf>` (optional)
6951
+ * `<p:extLst>` (optional)
6952
+ */
6953
+
6954
+ declare class PptxHandlerRuntime$J extends PptxHandlerRuntime$K {
6955
+ /**
6956
+ * Apply typed mutations from the supplied {@link PptxSlideLayout} array
6957
+ * to each layout's cached XmlObject. Called by the save pipeline before
6958
+ * the layoutXmlMap entries are flushed to the ZIP.
6959
+ */
6960
+ protected applySlideLayoutChanges(layouts: PptxSlideLayout[] | undefined): void;
6961
+ private applySlideLayoutChange;
6962
+ }
6963
+
6964
+ /**
6965
+ * @fileoverview Save-side writer for the notes master part
6966
+ * (`p:notesMaster`, ECMA-376 §19.3.1.27, CT_NotesMaster).
6967
+ *
6968
+ * Notes master XML schema:
6969
+ *
6970
+ * `<p:notesMaster>` →
6971
+ * `<p:cSld>` (optional `<p:bg>`, `<p:spTree>`, …)
6972
+ * `<p:clrMap>` (12 alias attributes, REQUIRED)
6973
+ * `<p:hf>` (optional)
6974
+ * `<p:notesStyle>` (optional)
6975
+ * `<p:extLst>` (optional)
6976
+ *
6977
+ * Strategy: the notes master is not cached in any XmlObject map (unlike
6978
+ * slide masters/layouts), so this writer reads the existing part from the
6979
+ * ZIP, applies typed-model mutations, and writes it back. Fields not part
6980
+ * of the typed model — `<p:notesStyle>`, `<p:extLst>`, raw spTree — are
6981
+ * preserved verbatim. The pre-existing
6982
+ * {@link PptxHandlerRuntimeSaveDocumentParts.applyNotesMasterChanges}
6983
+ * already covers background; this writer extends coverage to clrMap +
6984
+ * header/footer flags without duplicating the bg path.
6985
+ */
6986
+
6987
+ declare class PptxHandlerRuntime$I extends PptxHandlerRuntime$J {
6988
+ /**
6989
+ * Apply clrMap and headerFooter mutations to the notes master XML.
6990
+ * Background-colour mutations are still handled by the pre-existing
6991
+ * {@link applyNotesMasterChanges} on this runtime; calling both is
6992
+ * idempotent because each writer touches disjoint portions of the
6993
+ * document.
6994
+ */
6995
+ protected applyNotesMasterStructuralChanges(notesMaster: PptxNotesMaster | undefined): Promise<void>;
6996
+ }
6997
+
6998
+ /**
6999
+ * @fileoverview Save-side writer for the handout master part
7000
+ * (`p:handoutMaster`, ECMA-376 §19.3.1.24, CT_HandoutMaster).
7001
+ *
7002
+ * Handout master XML schema:
7003
+ *
7004
+ * `<p:handoutMaster>` →
7005
+ * `<p:cSld>` (optional `<p:bg>`, `<p:spTree>`, …)
7006
+ * `<p:clrMap>` (12 alias attributes, REQUIRED)
7007
+ * `<p:hf>` (optional)
7008
+ * `<p:extLst>` (optional)
7009
+ *
7010
+ * Strategy mirrors {@link PptxHandlerRuntimeSaveNotesMaster}: read part,
7011
+ * apply typed-model mutations, write back. Background colour is handled by
7012
+ * the pre-existing
7013
+ * {@link PptxHandlerRuntimeSaveDocumentParts.applyHandoutMasterChanges};
7014
+ * this writer covers clrMap + header/footer flags without duplicating it.
7015
+ */
7016
+
7017
+ declare class PptxHandlerRuntime$H extends PptxHandlerRuntime$I {
7018
+ /**
7019
+ * Apply clrMap and headerFooter mutations to the handout master XML.
7020
+ */
7021
+ protected applyHandoutMasterStructuralChanges(handoutMaster: PptxHandoutMaster | undefined): Promise<void>;
7022
+ }
7023
+
7024
+ /**
7025
+ * @fileoverview Save-side writers for `ppt/viewProps.xml` and
7026
+ * `ppt/tableStyles.xml`.
7027
+ *
7028
+ * Both parts are typically passed through verbatim during save. These
7029
+ * writers wire up the typed save options so user/UI edits to grid,
7030
+ * snap, view scale, last-view, and table-style fills/text actually
7031
+ * persist back to the on-disk PPTX rather than being silently dropped.
7032
+ *
7033
+ * - {@link applyViewPropertiesPart} resolves the viewProps part path
7034
+ * from `presentation.xml.rels`, falls back to `ppt/viewProps.xml`
7035
+ * when the relationship lookup fails, and skips the write entirely
7036
+ * when the source archive has no viewProps part.
7037
+ *
7038
+ * - {@link applyTableStylesPart} merges the typed
7039
+ * {@link ParsedTableStyleMap} edits onto the existing
7040
+ * `<a:tblStyleLst>` XML so unmodelled fields and the `def` attribute
7041
+ * round-trip losslessly. When the source archive has no
7042
+ * `ppt/tableStyles.xml`, the writer is a no-op.
7043
+ */
7044
+
7045
+ declare class PptxHandlerRuntime$G extends PptxHandlerRuntime$H {
7046
+ /**
7047
+ * Re-emit `ppt/viewProps.xml` from the typed view properties. Walks
7048
+ * `presentation.xml.rels` to find the viewProps target so non-default
7049
+ * part paths round-trip correctly. No-op when the source archive
7050
+ * has no viewProps part — we never invent a new part on save.
7051
+ */
7052
+ protected applyViewPropertiesPart(properties: PptxViewProperties | undefined): Promise<void>;
7053
+ /**
7054
+ * Resolve the `viewProps` part path from
7055
+ * `ppt/_rels/presentation.xml.rels`. Falls back to the canonical
7056
+ * `ppt/viewProps.xml` location when the relationship is missing or
7057
+ * its target resolves to a path-traversal target.
7058
+ */
7059
+ private resolveViewPropsPath;
7060
+ /**
7061
+ * Merge edits from a {@link ParsedTableStyleMap} onto the existing
7062
+ * `ppt/tableStyles.xml`. Preserves the `<a:tblStyleLst @def>` GUID
7063
+ * and any unmodelled section attributes / children. No-op when the
7064
+ * source archive has no `ppt/tableStyles.xml` or no styles were
7065
+ * passed via save options.
7066
+ */
7067
+ protected applyTableStylesPart(tableStyles: ParsedTableStyleMap | undefined): Promise<void>;
7068
+ }
7069
+
6607
7070
  declare class PptxHandlerRuntime$F extends PptxHandlerRuntime$G {
6608
7071
  /**
6609
7072
  * Resolve the effective conformance class for this save operation.
@@ -6681,6 +7144,37 @@ declare class PptxHandlerRuntime$C extends PptxHandlerRuntime$D {
6681
7144
  * Returns `undefined` when none of these auxiliary children carry data.
6682
7145
  */
6683
7146
  protected extractCustomGeometryRawData(custGeom: XmlObject | undefined): CustomGeometryRawData | undefined;
7147
+ /**
7148
+ * URIs recognised by other extractors and therefore already mapped to
7149
+ * typed fields. These should NOT be captured as opaque `extLstXml`.
7150
+ *
7151
+ * - `{AF507438-7753-43E0-B8FC-AC1667EBCBE1}` → `p14:hiddenFill`
7152
+ * - `{91240B29-F687-4F45-9708-019B960494DF}` → `p14:hiddenLine`
7153
+ */
7154
+ private static readonly RECOGNISED_SP_PR_EXT_URIS;
7155
+ /**
7156
+ * Capture unrecognised `<a:ext>` children from `spPr/a:extLst` for
7157
+ * verbatim re-emission. Returns `undefined` when nothing opaque needs
7158
+ * preserving so the slot stays empty for round-trip cleanliness.
7159
+ */
7160
+ protected extractOpaqueSpPrExtLst(spPr: XmlObject | undefined): XmlObject[] | undefined;
7161
+ /**
7162
+ * Extract typed adjustment handles (`a:ahXY` / `a:ahPolar`) from a
7163
+ * `a:custGeom/a:ahLst` node. Coordinate / guide references are preserved
7164
+ * as raw strings so they round-trip verbatim.
7165
+ */
7166
+ protected extractCustomGeometryAdjustHandles(custGeom: XmlObject | undefined): {
7167
+ xy?: AdjustHandleXY[];
7168
+ polar?: AdjustHandlePolar[];
7169
+ };
7170
+ /**
7171
+ * Extract typed connection sites (`a:cxn`) from `a:custGeom/a:cxnLst`.
7172
+ */
7173
+ protected extractCustomGeometryConnectionSites(custGeom: XmlObject | undefined): ConnectionSite[] | undefined;
7174
+ /**
7175
+ * Extract the typed text rectangle (`a:rect`) on a custom geometry.
7176
+ */
7177
+ protected extractCustomGeometryTextRect(custGeom: XmlObject | undefined): CustomGeometryTextRect | undefined;
6684
7178
  /**
6685
7179
  * Build structured `CustomGeometryPath[]` from a parsed `a:custGeom` node,
6686
7180
  * including per-path `@fill`/`@stroke`/`@extrusionOk` attributes so they
@@ -6793,15 +7287,15 @@ declare class PptxHandlerRuntime$w extends PptxHandlerRuntime$x {
6793
7287
  * </a:ruby>
6794
7288
  * ```
6795
7289
  */
6796
- protected parseRubyElement(rubyNode: XmlObject, runProps: any, paraAlign: TextStyle['align'], mergedDefaultRunStyle: TextStyle, slideRelationshipMap: Map<string, string> | undefined): TextSegment | undefined;
7290
+ protected parseRubyElement(rubyNode: XmlObject, runProps: XmlObject | undefined, paraAlign: TextStyle['align'], mergedDefaultRunStyle: TextStyle, slideRelationshipMap: Map<string, string> | undefined): TextSegment | undefined;
6797
7291
  }
6798
7292
 
6799
7293
  declare class PptxHandlerRuntime$v extends PptxHandlerRuntime$w {
6800
- protected parseShape(shape: any, id: string, slidePath?: string): PptxElement | null;
7294
+ protected parseShape(shape: XmlObject, id: string, slidePath?: string): PptxElement | null;
6801
7295
  }
6802
7296
 
6803
7297
  declare class PptxHandlerRuntime$u extends PptxHandlerRuntime$v {
6804
- protected parsePicture(pic: any, id: string, slidePath: string): Promise<PptxElement | null>;
7298
+ protected parsePicture(pic: XmlObject, id: string, slidePath: string): Promise<PptxElement | null>;
6805
7299
  }
6806
7300
 
6807
7301
  declare class PptxHandlerRuntime$t extends PptxHandlerRuntime$u {
@@ -6875,16 +7369,16 @@ declare class PptxHandlerRuntime$t extends PptxHandlerRuntime$u {
6875
7369
  /**
6876
7370
  * Forward declaration – implemented in PptxHandlerRuntimeGroupParsing.
6877
7371
  */
6878
- protected parseGroupShapeAsGroup(_group: any, _baseId: string, _slidePath: string, _rawXmlStr?: string): Promise<PptxElement | null>;
7372
+ protected parseGroupShapeAsGroup(_group: XmlObject, _baseId: string, _slidePath: string, _rawXmlStr?: string): Promise<PptxElement | null>;
6879
7373
  }
6880
7374
 
6881
7375
  declare class PptxHandlerRuntime$s extends PptxHandlerRuntime$t {
6882
- protected parseGroupShape(group: any, baseId: string, slidePath: string, rawXmlStr?: string, depth?: number): Promise<PptxElement[]>;
7376
+ protected parseGroupShape(group: XmlObject, baseId: string, slidePath: string, rawXmlStr?: string, depth?: number): Promise<PptxElement[]>;
6883
7377
  /**
6884
7378
  * Parse a p:grpSp element into a GroupPptxElement with children.
6885
7379
  * Children have coordinates relative to the group's position.
6886
7380
  */
6887
- protected parseGroupShapeAsGroup(group: any, baseId: string, slidePath: string, rawXmlStr?: string): Promise<PptxElement | null>;
7381
+ protected parseGroupShapeAsGroup(group: XmlObject, baseId: string, slidePath: string, rawXmlStr?: string): Promise<PptxElement | null>;
6888
7382
  protected extractGradientFillColor(gradFill: XmlObject): string | undefined;
6889
7383
  }
6890
7384
 
@@ -6895,7 +7389,7 @@ declare class PptxHandlerRuntime$r extends PptxHandlerRuntime$s {
6895
7389
  * without placeholder inheritance (connectors don't have placeholders).
6896
7390
  */
6897
7391
  protected parseConnectorTextBody(txBody: XmlObject | undefined, slidePath?: string): ConnectorTextResult | null;
6898
- protected parseSlide(slideXml: any, slidePath: string): Promise<PptxElement[]>;
7392
+ protected parseSlide(slideXml: XmlObject, slidePath: string): Promise<PptxElement[]>;
6899
7393
  }
6900
7394
 
6901
7395
  declare class PptxHandlerRuntime$q extends PptxHandlerRuntime$r {
@@ -6933,13 +7427,47 @@ declare class PptxHandlerRuntime$q extends PptxHandlerRuntime$r {
6933
7427
  }
6934
7428
 
6935
7429
  declare class PptxHandlerRuntime$p extends PptxHandlerRuntime$q {
6936
- protected extractBackgroundImage(slideXml: any, slidePath: string, rootElement?: string): Promise<string | undefined>;
6937
- protected extractBackgroundColor(slideXml: any, rootElement?: string): string | undefined;
7430
+ protected extractBackgroundImage(slideXml: XmlObject, slidePath: string, rootElement?: string): Promise<string | undefined>;
7431
+ protected extractBackgroundColor(slideXml: XmlObject, rootElement?: string): string | undefined;
7432
+ /**
7433
+ * Resolve a `<p:bgRef>` element to a flat colour string.
7434
+ *
7435
+ * Per ECMA-376 §20.1.4.2.10 the `@idx` attribute selects an entry
7436
+ * from one of two style matrices on the active theme:
7437
+ *
7438
+ * - `idx == 0` → no fill (transparent / undefined)
7439
+ * - `1 ≤ idx ≤ 999` → `fmtScheme/fillStyleLst[idx-1]`
7440
+ * - `1001 ≤ idx ≤ 1003` → `fmtScheme/bgFillStyleLst[idx-1001]`
7441
+ *
7442
+ * When the resolved fill is a gradient or pattern we surface its
7443
+ * primary colour; gradient CSS is handled separately by
7444
+ * {@link extractBackgroundGradient}. The colour child of `bgRef`
7445
+ * acts as the `phClr` placeholder for any `phClr` tokens inside the
7446
+ * referenced fill definition.
7447
+ */
7448
+ protected resolveBackgroundRefColor(bgRef: XmlObject): string | undefined;
7449
+ /**
7450
+ * Extract a structured pattern fill (`<a:pattFill>`) from a slide
7451
+ * background. Returns the preset name plus resolved fg/bg colours so
7452
+ * renderers can draw a real SVG pattern instead of a flat fill.
7453
+ *
7454
+ * ECMA-376 §20.1.8.47.
7455
+ */
7456
+ protected extractBackgroundPattern(slideXml: XmlObject, rootElement?: string): PptxSlideBackgroundPattern | undefined;
7457
+ /**
7458
+ * Extract the `<p:bgPr/@shadeToTitle>` boolean attribute from a slide
7459
+ * background. Captured for round-trip — render-time semantics are a
7460
+ * passthrough hint to renderers that may want to blend toward the
7461
+ * title placeholder colour.
7462
+ *
7463
+ * ECMA-376 §19.3.1.2 (CT_BackgroundProperties).
7464
+ */
7465
+ protected extractBackgroundShadeToTitle(slideXml: XmlObject, rootElement?: string): boolean | undefined;
6938
7466
  /**
6939
7467
  * Extract a CSS gradient string from a slide/layout/master background.
6940
7468
  * Handles `a:gradFill` within `p:bgPr` and gradient-based `p:bgRef`.
6941
7469
  */
6942
- protected extractBackgroundGradient(slideXml: any, rootElement?: string): string | undefined;
7470
+ protected extractBackgroundGradient(slideXml: XmlObject, rootElement?: string): string | undefined;
6943
7471
  protected getMasterBackgroundImage(layoutPath: string): Promise<string | undefined>;
6944
7472
  protected getLayoutBackgroundImage(slidePath: string): Promise<string | undefined>;
6945
7473
  protected getLayoutBackgroundColor(slidePath: string): Promise<string | undefined>;
@@ -6996,6 +7524,9 @@ declare class PptxHandlerRuntime$o extends PptxHandlerRuntime$p {
6996
7524
  protected extractSlideNotes(slidePath: string): Promise<{
6997
7525
  notes?: string;
6998
7526
  notesSegments?: TextSegment[];
7527
+ notesShapes?: PptxElement[];
7528
+ notesClrMapOverride?: Record<string, string>;
7529
+ notesCSldName?: string;
6999
7530
  }>;
7000
7531
  }
7001
7532
 
@@ -7047,19 +7578,42 @@ declare class PptxHandlerRuntime$k extends PptxHandlerRuntime$l {
7047
7578
  protected getLayoutElements(slidePath: string): Promise<PptxElement[]>;
7048
7579
  }
7049
7580
 
7581
+ /**
7582
+ * Ordered fill-child tag tokens recognised inside `a:fillStyleLst` /
7583
+ * `a:bgFillStyleLst`. Used by {@link extractFillStyleListChildOrder} to
7584
+ * recover document order from raw XML when fast-xml-parser has merged
7585
+ * heterogeneous siblings into typed buckets.
7586
+ */
7587
+ declare const FILL_LIST_CHILD_TAGS: readonly ["a:solidFill", "a:gradFill", "a:pattFill", "a:noFill", "a:grpFill"];
7588
+ type FillListChildTag = (typeof FILL_LIST_CHILD_TAGS)[number];
7050
7589
  declare class PptxHandlerRuntime$j extends PptxHandlerRuntime$k {
7590
+ /**
7591
+ * Build a fill-style entry for one child node based on its tag.
7592
+ */
7593
+ private buildFillStyleEntry;
7051
7594
  /**
7052
7595
  * Collect fill-style children from a style list node, preserving
7053
- * document order. Handles `a:solidFill`, `a:gradFill`, `a:pattFill`,
7054
- * `a:noFill` in the order they appear.
7596
+ * document order when an `orderHint` is supplied (extracted from the
7597
+ * raw theme XML). Handles `a:solidFill`, `a:gradFill`, `a:pattFill`,
7598
+ * `a:noFill`, `a:grpFill`.
7599
+ *
7600
+ * fast-xml-parser without `preserveOrder` collapses heterogeneous
7601
+ * siblings into per-tag buckets and we lose the relative document
7602
+ * order. When the caller supplies an `orderHint` (a list of tag names
7603
+ * in source order recovered via {@link extractFillStyleListChildOrder})
7604
+ * we walk the buckets in step with the hint and emit entries in true
7605
+ * document order. Without a hint we fall back to the historical
7606
+ * solid → gradient → pattern → noFill → grpFill grouping.
7055
7607
  */
7056
- protected collectFillChildren(listNode: XmlObject): PptxThemeFillStyle[];
7608
+ protected collectFillChildren(listNode: XmlObject, orderHint?: readonly FillListChildTag[]): PptxThemeFillStyle[];
7057
7609
  /**
7058
7610
  * Parse each child of a `a:fillStyleLst` (or `a:bgFillStyleLst`).
7059
- * Children can be `a:solidFill`, `a:gradFill`, `a:pattFill`, or `a:noFill`.
7060
- * The list is ordered and 1-indexed by position.
7611
+ * Children can be `a:solidFill`, `a:gradFill`, `a:pattFill`,
7612
+ * `a:noFill`, or `a:grpFill`. The list is ordered and 1-indexed by
7613
+ * position; supply `orderHint` to recover document order when the
7614
+ * parser collapsed heterogeneous siblings.
7061
7615
  */
7062
- protected parseFillStyleList(listNode: XmlObject | undefined): PptxThemeFillStyle[];
7616
+ protected parseFillStyleList(listNode: XmlObject | undefined, orderHint?: readonly FillListChildTag[]): PptxThemeFillStyle[];
7063
7617
  /**
7064
7618
  * Parse `a:lnStyleLst` children (`a:ln` elements) into an array of
7065
7619
  * {@link PptxThemeLineStyle} entries.
@@ -7079,8 +7633,15 @@ declare class PptxHandlerRuntime$i extends PptxHandlerRuntime$j {
7079
7633
  * {@link PptxThemeFormatScheme}. Each sub-list (fillStyleLst, lnStyleLst,
7080
7634
  * effectStyleLst, bgFillStyleLst) contains up to three intensity levels
7081
7635
  * (subtle / moderate / intense) referenced by 1-based index.
7636
+ *
7637
+ * When `rawXml` is supplied (the original theme/themeOverride XML
7638
+ * source), the document order of fill children is recovered via a
7639
+ * targeted regex scan and threaded into {@link parseFillStyleList} so
7640
+ * mixed solid/grad/blip/grpFill lists round-trip in source order even
7641
+ * though fast-xml-parser collapses heterogeneous siblings into typed
7642
+ * buckets.
7082
7643
  */
7083
- protected parseFormatScheme(fmtScheme: XmlObject): PptxThemeFormatScheme;
7644
+ protected parseFormatScheme(fmtScheme: XmlObject, rawXml?: string): PptxThemeFormatScheme;
7084
7645
  /**
7085
7646
  * Extract a colour map override from a `p:clrMapOvr` node.
7086
7647
  * Returns `null` when the node is absent, empty, or specifies
@@ -7385,6 +7946,50 @@ declare class PptxHandlerRuntime$9 extends PptxHandlerRuntime$a {
7385
7946
  * is metadata preserved for round-trip fidelity.
7386
7947
  */
7387
7948
  protected parsePivotSource(chartSpace: XmlObject | undefined): PptxChartData['pivotSource'];
7949
+ /**
7950
+ * Parse `c:ofPieChart` options from the chart-type container.
7951
+ *
7952
+ * The `ofPieType` element is required by the schema; its `@val`
7953
+ * defaults to `"pie"` when absent. Other fields (`splitType`,
7954
+ * `splitPos`, `secondPieSize`, `serLines`, `gapWidth`, `custSplit`)
7955
+ * are optional and only included when present in the XML.
7956
+ */
7957
+ protected parseOfPieOptions(ofPieContainer: XmlObject | undefined): PptxChartOfPieOptions | undefined;
7958
+ /**
7959
+ * Parse `c:view3D` (CT_View3D) from the chart root.
7960
+ *
7961
+ * Returns `undefined` when the element is absent so it does not
7962
+ * round-trip as an empty `<c:view3D/>` placeholder.
7963
+ */
7964
+ protected parseView3D(chartRoot: XmlObject | undefined): PptxChartView3D | undefined;
7965
+ /**
7966
+ * Parse top-level chart chrome flags from `c:chart`:
7967
+ * `c:autoTitleDeleted`, `c:dispBlanksAs`, `c:showDLblsOverMax`.
7968
+ *
7969
+ * Each flag is included in the result only when present on the
7970
+ * source XML so that absence does not produce empty elements on
7971
+ * save.
7972
+ */
7973
+ protected parseChartChrome(chartRoot: XmlObject | undefined): PptxChartChrome | undefined;
7974
+ /**
7975
+ * Capture the raw `c:userShapes` subtree for verbatim round-trip.
7976
+ *
7977
+ * The element references a separate drawing part; we never parse
7978
+ * the nested drawing tree here. Returning the raw object means the
7979
+ * save layer can re-emit it unchanged.
7980
+ */
7981
+ protected parseUserShapesXml(chartSpace: XmlObject | undefined): unknown;
7982
+ /** Capture the raw `c:pivotFmts` subtree for verbatim round-trip. */
7983
+ protected parsePivotFmtsXml(chartRoot: XmlObject | undefined): unknown;
7984
+ /**
7985
+ * Parse `c:clrMapOvr` into a flat attribute map.
7986
+ *
7987
+ * The element carries 12 `bg1/tx1/bg2/tx2/accent1…6/hlink/folHlink`
7988
+ * attributes that remap theme colour roles for the chart only.
7989
+ * Unknown attributes are preserved as-is so that future schema
7990
+ * additions round-trip without code changes.
7991
+ */
7992
+ protected parseClrMapOvr(chartSpace: XmlObject | undefined): Record<string, string> | undefined;
7388
7993
  }
7389
7994
 
7390
7995
  /**
@@ -7565,6 +8170,7 @@ declare class PptxHandlerRuntime$4 extends PptxHandlerRuntime$5 {
7565
8170
  /** Convert Uint8Array to base64 string. */
7566
8171
  private uint8ArrayToBase64;
7567
8172
  getLayoutOptions(): PptxLayoutOption[];
8173
+ protected resolveMasterPathForLayout(layoutPath: string): string | undefined;
7568
8174
  }
7569
8175
 
7570
8176
  declare class PptxHandlerRuntime$3 extends PptxHandlerRuntime$4 {
@@ -7677,6 +8283,7 @@ declare class PptxHandlerRuntime$2 extends PptxHandlerRuntime$3 {
7677
8283
  * known layouts.
7678
8284
  */
7679
8285
  getAvailableLayoutsForSlide(slideIndex: number, slides: PptxSlide[]): Promise<PptxLayoutOption[]>;
8286
+ protected buildLayoutOption(path: string, xmlObj: XmlObject): PptxLayoutOption;
7680
8287
  /**
7681
8288
  * Apply a different layout to an existing slide.
7682
8289
  *
@@ -8481,6 +9088,66 @@ declare function getShapeType(shapeType: string | undefined): SupportedShapeType
8481
9088
  * @returns A CSS `clip-path` string, or `undefined` if no clipping is needed.
8482
9089
  */
8483
9090
  declare function getShapeClipPath(shapeType: string | undefined): string | undefined;
9091
+ /**
9092
+ * Like {@link getShapeClipPath} but consults the adjustment-aware table
9093
+ * first. Falls back to the static preset clip-path when the shape isn't
9094
+ * in the adjustment-aware table or no adjustments are supplied.
9095
+ *
9096
+ * Use this entry point from renderers that have access to the element's
9097
+ * `shapeAdjustments` and dimensions; the result varies with adjustments
9098
+ * for shapes like `pie`, `donut`, `wedgeRectCallout`, etc.
9099
+ *
9100
+ * @param shapeType The OOXML preset geometry name.
9101
+ * @param width Element width in pixels.
9102
+ * @param height Element height in pixels.
9103
+ * @param adjustments Optional adjustment record (`adj`, `adj1`, `adj2`, …).
9104
+ * @returns A CSS `clip-path` value, or `undefined` if no clipping is needed.
9105
+ */
9106
+ declare function getAdjustmentAwareShapeClipPath(shapeType: string | undefined, width: number, height: number, adjustments?: Record<string, number>): string | undefined;
9107
+ /**
9108
+ * Return a high-DPI cubic-Bezier `clip-path: path('…')` expression for
9109
+ * `cloud` / `cloudCallout` shapes when actual pixel dimensions are known.
9110
+ *
9111
+ * Static polygon entries in {@link PRESET_SHAPE_CLIP_PATHS} remain the
9112
+ * lookup-table fallback for non-renderer consumers (e.g. shape pickers,
9113
+ * SSR previews) that don't yet know the element's pixel size. Renderers
9114
+ * that have measured the element should prefer this helper -- it produces
9115
+ * smooth Bezier lobes that stay sharp at any DPI / zoom.
9116
+ *
9117
+ * @param shapeType - The OOXML preset geometry name. Case-insensitive.
9118
+ * @param width - Element width in pixels (must be > 0).
9119
+ * @param height - Element height in pixels (must be > 0).
9120
+ * @returns A CSS `path('M…Z')` expression for cloud/cloudCallout, or
9121
+ * `undefined` for any other shape (callers should fall back to
9122
+ * {@link getShapeClipPath}).
9123
+ */
9124
+ declare function getCloudPathForRendering(shapeType: string | undefined, width: number, height: number): string | undefined;
9125
+ /**
9126
+ * Build a CSS `clip-path: path('…')` expression from the spec-correct ECMA-376
9127
+ * preset shape evaluator. This consults
9128
+ * {@link evaluatePresetShape} (which evaluates the preset's `gdLst` formulas
9129
+ * against the shape dimensions and any `shapeAdjustments`) and wraps the
9130
+ * resulting SVG path data in `path(...)` so it can be used as a CSS
9131
+ * `clip-path`.
9132
+ *
9133
+ * The legacy {@link getShapeClipPath} / {@link getAdjustmentAwareShapeClipPath}
9134
+ * helpers — which read from the static polygon table — remain in place and
9135
+ * are still the preferred fallback for any shape this evaluator does not
9136
+ * yet cover. Callers that want spec-correct, formula-driven geometry should
9137
+ * try this helper first and fall through to the static helpers when it
9138
+ * returns `undefined`.
9139
+ *
9140
+ * @param shapeType The OOXML preset geometry name (e.g. `"roundRect"`).
9141
+ * Lookup is case-sensitive but tolerant of common casings.
9142
+ * @param width Element width in pixels (must be > 0 to produce a
9143
+ * meaningful path).
9144
+ * @param height Element height in pixels.
9145
+ * @param adjustments Optional adjustment record from `shapeAdjustments`.
9146
+ * @returns A CSS `clip-path` value (e.g. `path('M 0 0 …')`), or `undefined`
9147
+ * when the shape isn't in the populated preset table or the
9148
+ * evaluation produced no path commands.
9149
+ */
9150
+ declare function getShapeClipPathFromPreset(shapeType: string | undefined, width: number, height: number, adjustments?: Record<string, number>): string | undefined;
8484
9151
  /**
8485
9152
  * Calculate the border-radius in pixels for a rounded-rectangle shape.
8486
9153
  *
@@ -8517,6 +9184,246 @@ interface ImageMaskStyle {
8517
9184
  */
8518
9185
  declare function getImageMaskStyle(element: PptxElementWithShapeStyle): ImageMaskStyle | undefined;
8519
9186
 
9187
+ /**
9188
+ * ECMA-376 ST_ShapeType preset geometry definitions table.
9189
+ *
9190
+ * Each entry encodes the canonical `presetShapeDefinitions.xml` data shipped by
9191
+ * Microsoft as part of the DrawingML reference implementation
9192
+ * (ISO/IEC 29500-1 §20.1.10.55 / §20.1.9 series): the default adjustment list
9193
+ * (`avLst`), the ordered guide list (`gdLst`), the text rectangle (`rect`), and
9194
+ * the path commands (`pathLst`) — all expressed using OOXML guide-formula
9195
+ * tokens, ready to be evaluated by `guide-formula-eval`.
9196
+ *
9197
+ * Naming note: the existing barrel already exports a `PresetShapeDefinition`
9198
+ * type (shape-picker metadata) and a `PRESET_SHAPE_DEFINITIONS` constant. To
9199
+ * avoid colliding with those public symbols, this module exports its analogues
9200
+ * as `PresetShapeGeometryDefinition` / `PRESET_SHAPE_GEOMETRY_TABLE`.
9201
+ *
9202
+ * # Adding a new preset
9203
+ *
9204
+ * 1. Open `presetShapeDefinitions.xml` (Microsoft Open Specifications) and
9205
+ * locate the `<presetShapeDefinition name="..." />` block.
9206
+ * 2. Copy the `avLst` defaults into `avLst` here (each `a:gd` `name`/`val`).
9207
+ * 3. Copy each `a:gd` from `gdLst` into the `gdLst` array verbatim — the
9208
+ * `formula` field is the entire `@_fmla` string (operator first, operands
9209
+ * after) and `args` is the formula split by whitespace minus the operator.
9210
+ * Both are stored to keep the data introspectable; the evaluator uses the
9211
+ * `formula` string directly via `parseFormula`.
9212
+ * 4. Copy `<rect>` attributes into the `rect` field as raw token strings
9213
+ * (e.g. `'l'`, `'t'`, `'r'`, `'b'`).
9214
+ * 5. Copy each `a:path` into a `pathLst` entry, translating its child commands
9215
+ * into the `commands` discriminated union. All coordinate / radius / angle
9216
+ * arguments are raw token strings — they will be resolved against the guide
9217
+ * context by the evaluator.
9218
+ *
9219
+ * Only 30 high-impact presets are populated for the first cut. Additional
9220
+ * presets are tracked as future work; until they ship, the legacy
9221
+ * polygon-based clip-path table in `preset-shape-paths.ts` remains the
9222
+ * fallback for unknown names.
9223
+ */
9224
+ /**
9225
+ * A single command inside a preset path. Coordinates / radii / angles are
9226
+ * stored as raw OOXML guide tokens (numeric literal strings or guide names)
9227
+ * and resolved at evaluation time.
9228
+ */
9229
+ type PresetPathCommand = {
9230
+ kind: 'moveTo';
9231
+ x: string;
9232
+ y: string;
9233
+ } | {
9234
+ kind: 'lnTo';
9235
+ x: string;
9236
+ y: string;
9237
+ } | {
9238
+ kind: 'arcTo';
9239
+ wR: string;
9240
+ hR: string;
9241
+ stAng: string;
9242
+ swAng: string;
9243
+ } | {
9244
+ kind: 'quadBezTo';
9245
+ x1: string;
9246
+ y1: string;
9247
+ x2: string;
9248
+ y2: string;
9249
+ } | {
9250
+ kind: 'cubicBezTo';
9251
+ x1: string;
9252
+ y1: string;
9253
+ x2: string;
9254
+ y2: string;
9255
+ x3: string;
9256
+ y3: string;
9257
+ } | {
9258
+ kind: 'close';
9259
+ };
9260
+ /** A single sub-path, mirroring `<a:path>` in OOXML. */
9261
+ interface PresetPath {
9262
+ /** Coordinate-space width (`@_w`); defaults to the shape width if absent. */
9263
+ w?: number;
9264
+ /** Coordinate-space height (`@_h`); defaults to the shape height if absent. */
9265
+ h?: number;
9266
+ /** `@_fill` attribute (`'none' | 'norm' | 'lighten' | ...`). */
9267
+ fill?: string;
9268
+ /** `@_stroke` attribute. */
9269
+ stroke?: boolean;
9270
+ /** `@_extrusionOk` attribute. */
9271
+ extrusionOk?: boolean;
9272
+ /** Ordered command list. */
9273
+ commands: PresetPathCommand[];
9274
+ }
9275
+ /** A complete preset geometry (`<presetShapeDefinition>` payload). */
9276
+ interface PresetShapeGeometryDefinition {
9277
+ /** ECMA-376 ST_ShapeType name, e.g. `"roundRect"`, `"blockArc"`. */
9278
+ name: string;
9279
+ /** `avLst` defaults, e.g. `{ adj1: 16667 }`. */
9280
+ avLst?: Record<string, number>;
9281
+ /** `gdLst` formula list (ordered). */
9282
+ gdLst?: Array<{
9283
+ name: string;
9284
+ formula: string;
9285
+ args: string[];
9286
+ }>;
9287
+ /** Text-bounds rectangle expressed as guide-formula tokens. */
9288
+ rect?: {
9289
+ l: string;
9290
+ t: string;
9291
+ r: string;
9292
+ b: string;
9293
+ };
9294
+ /** `pathLst` — at least one path. */
9295
+ pathLst: PresetPath[];
9296
+ }
9297
+ /**
9298
+ * Master table of populated preset geometries. Keyed by ECMA-376 ST_ShapeType
9299
+ * name (camelCase). Lookups are case-sensitive; callers should normalise
9300
+ * unknown casings (e.g. `'roundrect'` → `'roundRect'`) before consulting it.
9301
+ *
9302
+ * Inline definitions for ~30 shapes live above. Additional batches authored
9303
+ * by parallel agents are imported from sibling files and spread last so they
9304
+ * cannot accidentally shadow the inline canonical shapes.
9305
+ */
9306
+ declare const PRESET_SHAPE_GEOMETRY_TABLE: Record<string, PresetShapeGeometryDefinition>;
9307
+
9308
+ /**
9309
+ * Spec-correct ECMA-376 preset shape evaluator.
9310
+ *
9311
+ * Looks up a `PresetShapeGeometryDefinition` from the table, evaluates every
9312
+ * `gdLst` formula against a built-in variable context (seeded with width /
9313
+ * height + the standard implicit guides) and the parsed `shapeAdjustments`,
9314
+ * then walks the `pathLst` and emits an SVG path data string. Path commands
9315
+ * use the same arc conversion as `custom-geometry.ts` (`ooxmlArcToSvg`) so the
9316
+ * output is byte-compatible with the existing custom-geometry pipeline.
9317
+ */
9318
+
9319
+ /**
9320
+ * Result of evaluating a preset shape: the merged SVG path data and an
9321
+ * optional text rectangle (in the shape's coordinate space, i.e. pixels).
9322
+ */
9323
+ interface PresetShapeEvaluationResult {
9324
+ svgPath: string;
9325
+ textRect?: {
9326
+ l: number;
9327
+ t: number;
9328
+ r: number;
9329
+ b: number;
9330
+ };
9331
+ }
9332
+ /**
9333
+ * Look up a preset shape definition. Performs a case-sensitive lookup first,
9334
+ * then falls back to a small lower-case index so `roundrect` (a common typo
9335
+ * casing) still resolves to `roundRect`.
9336
+ */
9337
+ declare function lookupPresetShape(name: string): PresetShapeGeometryDefinition | undefined;
9338
+ /**
9339
+ * Evaluate an ECMA-376 preset geometry against the given dimensions and
9340
+ * (optional) adjustment overrides. Returns `undefined` when the shape is not
9341
+ * present in the populated table so callers can fall back to the legacy
9342
+ * polygon-based clip-path data.
9343
+ *
9344
+ * Behaviour:
9345
+ * 1. Resolve the definition from `PRESET_SHAPE_GEOMETRY_TABLE`.
9346
+ * 2. Build an adjustment map from `def.avLst` overlaid with `adjustments`.
9347
+ * 3. Evaluate `def.gdLst` in order (each guide may reference earlier guides
9348
+ * and any built-in / adjustment variable).
9349
+ * 4. Walk every path in `def.pathLst`, converting each command into SVG
9350
+ * path data. Multiple paths are concatenated separated by spaces; every
9351
+ * `arcTo` is routed through `ooxmlArcToSvg` for byte-identical output
9352
+ * with `custom-geometry.ts`.
9353
+ * 5. Resolve the optional `rect` reference into pixel coordinates.
9354
+ */
9355
+ declare function evaluatePresetShape(name: string, width: number, height: number, adjustments?: Record<string, number>): PresetShapeEvaluationResult | undefined;
9356
+
9357
+ /**
9358
+ * Build a CSS `clip-path` value for {@link shapeType} that incorporates
9359
+ * the supplied `shapeAdjustments`. Returns `undefined` for shapes that
9360
+ * are not in the adjustment-aware table — callers should fall back to
9361
+ * the static preset polygon.
9362
+ *
9363
+ * @param shapeType The OOXML preset geometry name (e.g. `"pie"`).
9364
+ * @param width The element width in pixels.
9365
+ * @param height The element height in pixels.
9366
+ * @param adjustments Optional adjustment record from `PptxElement.shapeAdjustments`.
9367
+ * Keys are `adj`, `adj1`, `adj2`, etc.
9368
+ * @returns A CSS `clip-path` polygon expression, or `undefined`.
9369
+ */
9370
+ declare function getAdjustmentAwareClipPath(shapeType: string, width: number, height: number, adjustments?: Record<string, number>): string | undefined;
9371
+
9372
+ /**
9373
+ * High-DPI Bezier-curve clip-paths for `cloud` and `cloudCallout` presets.
9374
+ *
9375
+ * The static polygon entries in {@link CLIP_PATHS_EXTENDED} approximate the
9376
+ * cumulus silhouette with 32 vertices, which becomes visibly faceted on
9377
+ * Retina/4K displays. These helpers return CSS `path('M…Z')` expressions
9378
+ * built from cubic-Bezier lobes, so the outline stays smooth at any DPI.
9379
+ *
9380
+ * `path()` in CSS does not accept percentage units, so callers must supply
9381
+ * pixel dimensions and re-compute on resize. Use {@link getCloudPathForRendering}
9382
+ * (in `shape-geometry.ts`) for the shape-aware wrapper.
9383
+ *
9384
+ * Browser support: Chrome 109+, Safari 15.4+, Firefox 105+.
9385
+ *
9386
+ * @module cloud-bezier-paths
9387
+ */
9388
+ /**
9389
+ * Produce a CSS `clip-path: path('…')` expression for the `cloud` preset.
9390
+ *
9391
+ * The body centre is the bounding-box centre. 8 cubic-Bezier lobes are
9392
+ * walked clockwise; each lobe is rendered as a near-circular bump using
9393
+ * two cubic-Bezier segments connected by a transition arc back toward the
9394
+ * next lobe's start. The path is closed with `Z`.
9395
+ *
9396
+ * @param width - Element width in pixels.
9397
+ * @param height - Element height in pixels.
9398
+ * @returns A CSS `path('M…Z')` expression suitable for `clip-path`.
9399
+ */
9400
+ declare function getCloudClipPath(width: number, height: number): string;
9401
+ /**
9402
+ * Produce a CSS `clip-path: path('…')` expression for the `cloudCallout`
9403
+ * preset. Combines the 8-lobe cumulus body with the spec-default 3-bump
9404
+ * tail trailing toward the lower-left.
9405
+ *
9406
+ * The body is shrunk to ~75% of the bounding box (centred slightly toward
9407
+ * the upper-right) so the tail bumps fit within the 100% box. Adjustment-
9408
+ * driven repositioning of the pointer tip is handled by Agent B in
9409
+ * `adjustment-aware-shapes.ts`; this helper uses the spec defaults.
9410
+ *
9411
+ * @param width - Element width in pixels.
9412
+ * @param height - Element height in pixels.
9413
+ * @returns A CSS `path('M…Z')` expression suitable for `clip-path`.
9414
+ */
9415
+ declare function getCloudCalloutClipPath(width: number, height: number): string;
9416
+ /**
9417
+ * Lobe count exposed for tests and downstream consumers that want to
9418
+ * verify the spec-correct number of cumulus piles.
9419
+ */
9420
+ declare const CLOUD_LOBE_COUNT: number;
9421
+ /**
9422
+ * Tail bump count exposed for tests; matches the spec default for the
9423
+ * `cloudCallout` pointer trail.
9424
+ */
9425
+ declare const CLOUD_CALLOUT_TAIL_COUNT: number;
9426
+
8520
9427
  /**
8521
9428
  * Framework-agnostic connector geometry calculations.
8522
9429
  *
@@ -11834,4 +12741,4 @@ type ThemePresetName = keyof typeof ThemePresets;
11834
12741
  /** Get a theme preset by name string. */
11835
12742
  declare function getThemePreset(name: ThemePresetName): ThemePreset;
11836
12743
 
11837
- export { ALL_ANIMATION_PRESETS, type AccessibilityCheckOptions, type AccessibilityIssue, type AccessibilityIssueSeverity, type AccessibilityIssueType, type AlternateContentBlock, type AnimationCategory, AnimationCondition, type AnimationInput, type AnimationPresetInfo, BLIP_FILL_ORDER, type BackgroundInput, BulletInfo, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, type CalloutLeaderLineGeometry, type CalloutPoint, ChartBuilder, type ChartInput, type ChartOptions, ChartPptxElement, type ChartSeriesInput, type ColorMapAliasKey, type CompatibilityWarningInput, ConnectorArrowType, ConnectorBuilder, type ConnectorGeometryType, type ConnectorOptions, type ConnectorPathGeometry, ConnectorPptxElement, ConnectorXmlFactory, type ConnectorXmlFactoryInit, type ContainerBounds, CustomGeometryPath, CustomGeometryPoint, CustomGeometryRawData, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_MAX_UNCOMPRESSED_BYTES, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DataIntegrityError, EFFECT_LST_ORDER, EMPHASIS_PRESETS, EMU_PER_INCH, EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ENTRANCE_PRESETS, EXIT_PRESETS, ElementAction, type ElementDiff, type ElementPosition, EncryptedFileError, type EncryptionAlgorithm, type EncryptionInfo, type EncryptionOptions, FONT_SUBSTITUTION_MAP, type FileFormatDetection, type FillInput, FindResult, FreeformPathBuilder, GeometryAdjustmentHandle, type GeometryContext, type GeometryGuide, GroupBuilder, type GroupOptions, GroupPptxElement, type HslColor, type IConnectorXmlFactory, type ICoreXmlElementFactory, type IFactory, type IMediaGraphicFrameXmlFactory, type IPictureXmlFactory, type IPptxAnimationWriteService, type IPptxColorStyleCodec, type IPptxCommentAuthorsXmlFactory, type IPptxCommentXmlFactoryProvider, type IPptxCompatibilityService, type IPptxConnectorParser, type IPptxContentTypesBuilder, type IPptxEditorAnimationService, type IPptxElementTransformUpdater, type IPptxGraphicFrameParser, type IPptxHandlerRuntime, type IPptxHandlerRuntimeFactory, type IPptxMediaDataParser, type IPptxNativeAnimationService, type IPptxPresentationSaveBuilder, type IPptxPresentationSlidesReconciler, type IPptxRuntimeDependencyFactory, type IPptxShapeIdValidator, type IPptxShapeStyleExtractor, type IPptxSlideBackgroundBuilder, type IPptxSlideCommentPartWriter, type IPptxSlideCommentsXmlFactory, type IPptxSlideLoaderService, type IPptxSlideMediaRelationshipBuilder, type IPptxSlideNotesPartUpdater, type IPptxSlideRelationshipRegistry, type IPptxSlideTransitionService, type IPptxTableDataParser, type IPptxTemplateBackgroundService, type IPptxXmlBuilder, type IPptxXmlFactoryProvider, type IPptxXmlLookupService, type ITextShapeXmlFactory, type IXmlElementFactory, ImageBuilder, type ImageMaskStyle, type ImageOptions, ImagePptxElement, IncorrectPasswordError, InkPptxElement, type LayoutAlgorithmType, type LayoutConstraints, type LayoutCreationResult, type LayoutDefinition, type LayoutEngineShape, type LayoutRule, type LinkedTextBoxChain, type LinkedTextBoxChainMember, type LinkedTextBoxSegmentMap, MAX_ZIP_ENTRY_COUNT, MIN_ELEMENT_SIZE, MOTION_PATH_PRESETS, MediaBookmark, MediaBuilder, MediaGraphicFrameXmlFactory, type MediaGraphicFrameXmlFactoryInit, type MediaOptions, MediaPptxElement, MergeOptions, type MergeShapeOperation, type Model3DTransform, type Ole2DirectoryEntry, type Ole2File, Ole2ParseError, OleObjectType, OlePptxElement, type OoxmlConformanceClass, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_TO_OOXML, type ParsedLayoutDef, type ParsedSignature, type ParsedTableStyle, ParsedTableStyleFill, ParsedTableStyleMap, type ParsedTableStylePart, ParsedTableStyleText, PictureXmlFactory, type PictureXmlFactoryInit, PlaceholderDefaults, type PlaceholderDefinition, PlaceholderTextLevelStyle, PptxAction, PptxActiveXControl, PptxAnimationPreset, PptxAnimationTrigger, PptxAnimationWriteService, PptxAppProperties, type PptxBuilderFactoryContext, PptxChart3DSurface, PptxChartAxisFormatting, PptxChartData, PptxChartDataLabel, PptxChartDataPoint, PptxChartDataTable, PptxChartErrBars, PptxChartLineStyle, PptxChartMarker, PptxChartSeries, PptxChartShapeProps, PptxChartStyle, PptxChartTrendline, PptxChartType, PptxColorStyleCodec, type PptxColorStyleCodecContext, PptxComment, PptxCommentAuthor, type PptxCommentAuthorDescriptor, PptxCommentAuthorsXmlFactory, type PptxCommentAuthorsXmlFactoryInit, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxCompatibilityWarning, PptxConnectorParser, type PptxConnectorParserContext, PptxContentTypesBuilder, type PptxContentTypesCommentBuildInput, type PptxContentTypesSlideMediaBuildInput, PptxCoreProperties, PptxCustomProperty, PptxCustomShow, PptxCustomXmlPart, PptxCustomerData, PptxData, PptxDocumentPropertiesUpdater, PptxDrawingGuide, PptxEditorAnimationService, type PptxEditorAnimationServiceOptions, PptxElement, PptxElementAnimation, PptxElementTransformUpdater, PptxElementWithShapeStyle, PptxElementWithText, PptxElementXmlBuilder, type PptxElementXmlBuilderOptions, PptxEmbeddedFont, PptxEmbeddedWorkbookData, PptxExportOptions, PptxExternalData, PptxGraphicFrameParser, type PptxGraphicFrameParserContext, PptxHandler, type PptxHandlerLoadOptions, PptxHandlerRuntime, PptxHandlerRuntimeFactory, type PptxHandlerSaveOptions, PptxHandoutMaster, PptxHeaderFooter, PptxImageEffects, PptxImageLikeElement, PptxKinsoku, PptxLayoutOption, PptxLoadDataBuilder, PptxMasterTextStyles, PptxMediaDataParser, type PptxMediaDataParserContext, type PptxMediaTimingEntry, type PptxMediaTimingMap, PptxModifyVerifier, PptxNativeAnimation, PptxNativeAnimationService, PptxNotesMaster, PptxPhotoAlbum, PptxPresentationProperties, type PptxPresentationSaveBuildInput, PptxPresentationSaveBuilder, type PptxPresentationSaveBuilderOptions, PptxPresentationSlidesReconciler, type PptxPresentationSlidesReconcilerInput, type PptxRuntimeDependencyBundle, PptxRuntimeDependencyFactory, type PptxRuntimeDependencyFactoryInput, type PptxSaveConstants, PptxSaveConstantsFactory, type PptxSaveFormat, type PptxSaveMediaKind, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxSection, PptxShapeIdValidator, PptxShapeLocks, PptxShapeStyleExtractor, type PptxShapeStyleExtractorContext, PptxSlide, PptxSlideBackgroundBuilder, type PptxSlideBackgroundBuilderInput, PptxSlideBuilder, PptxSlideCommentPartWriter, type PptxSlideCommentPartWriterInput, type PptxSlideCommentRelationshipInfo, PptxSlideCommentsXmlFactory, type PptxSlideCommentsXmlFactoryInit, PptxSlideElementsBuilder, type PptxSlideLoaderParams, PptxSlideLoaderService, type PptxSlideLoaderThemeOverride, PptxSlideMaster, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, type PptxSlideNotesPartUpdaterInput, type PptxSlideNotesResult, PptxSlideRelationshipRegistry, type PptxSlideRelationshipRegistryOptions, PptxSlideTransition, PptxSlideTransitionService, type PptxSlideTransitionServiceOptions, PptxSmartArtChrome, PptxSmartArtColorTransform, PptxSmartArtData, PptxSmartArtDrawingShape, PptxSmartArtNode, PptxSmartArtQuickStyle, PptxTableCellStyle, PptxTableData, PptxTableDataParser, type PptxTableDataParserContext, PptxTagCollection, PptxTemplateBackgroundService, type PptxTemplateBackgroundState, PptxTextStyleLevels, PptxTheme, PptxThemeColorScheme, PptxThemeEffectStyle, PptxThemeFillStyle, PptxThemeFontScheme, PptxThemeFormatScheme, PptxThemeLineStyle, PptxThemeObjectDefaults, PptxThemeOption, type PptxThemePreset, PptxTransitionType, PptxViewProperties, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, type PresentationBuilderResult, type PresentationDiff, type PresentationOptions, type PresentationThemeInput, type PresetShapeCategory, type PresetShapeDefinition, type PropertyChange, type ReflowedNodePosition, type RepairResult, SHAPE_TREE_ELEMENT_TAGS, SP_PR_ORDER, STROKE_DASH_OPTIONS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, type ShadowInput, ShapeBuilder, type ShapeOptions, ShapePptxElement, ShapeStyle, type SignatureCertificateInfo, type SignatureDetectionResult, type SignatureReference, type SignatureStatus, SlideBuilder, type SlideDiff, SlideSizes, SmartArtLayoutType, SmartArtPptxElement, type StandardEncryptionInfo, StrokeDashType, type StrokeInput, type SupportedShapeType, TC_PR_BORDERS_ORDER, THEME_PRESETS, TableBuilder, type TableCellInput, type TableInput, type TableOptions, TablePptxElement, type TableRowInput, type TableStyleFlags, type TableStylePartBorder, type TableStylePartBorders, type TableStylePartFill, type TableStylePartText, type TemplateData, TextBuilder, type TextOptions, TextPptxElement, TextSegment, type TextSegmentInput, TextShapeXmlFactory, type TextShapeXmlFactoryInit, TextStyle, type TextStyleInput, type ThemePreset, type ThemePresetName, ThemePresets, type TransitionInput, VML_SHAPE_TAGS, type ValidationIssue, type ValidationResult, type Vec2, XmlObject, ZipBombError, ZoomPptxElement, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyDrawingColorTransforms, applyKinsokuToXml, applyTemplate, applyThemeToData, areNamespacesSupported, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildSrgbColorChoice, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, colorsEqual, combineShapes, computeContrastRatio, computeCycleLayout, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableElement, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, extractColorChoiceXml, extractGuidFromPartName, extractModel3DTransform, fetchUrlToBytes, findCustomShow, findLayoutByName, findLayoutByType, findPlaceholders, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, getAnimationPresetInfo, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getCustomShowNames, getCustomShowPositionLabel, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getPresetsByCategory, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isZoomElement$1 as isZoomElement, isZoomElement as isZoomElementUtil, layoutEngineShapesToDrawingShapes, mailMerge, mergeShapes, mergeStyleParts, mergeThemeColorOverride, mm, moveSlidesToSection, navigateCustomShow, normalizeHexColor, normalizeNamespaceUri, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, ooxmlArcToSvg, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseChart3DSurfaces, parseChartAxes, parseCondition, parseConditionList, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseHexColor, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSvgPath, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, reflowSmartArtLayout, relativeLuminance, relayoutSmartArt, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderObjectKeys, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveCustomShowSlideIndices, resolveModel3DMimeType, resolveTableCellStyle, rgbToHsl, selectAlternateContentBranch, serializeColorChoice, serializeCondition, serializeConditionList, serializeSvgPath, setChartCategories, setChartGrouping, setChartTitle, setChartType, shouldRenderFallbackLabel, shouldReturnToZoomSlide, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, updateChartDataPoint, updateChartSeriesValues, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs };
12744
+ export { ALL_ANIMATION_PRESETS, type AccessibilityCheckOptions, type AccessibilityIssue, type AccessibilityIssueSeverity, type AccessibilityIssueType, AdjustHandlePolar, AdjustHandleXY, type AlternateContentBlock, type AnimationCategory, AnimationCondition, type AnimationInput, type AnimationPresetInfo, BLIP_FILL_ORDER, type BackgroundInput, BulletInfo, CLOUD_CALLOUT_TAIL_COUNT, CLOUD_LOBE_COUNT, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, type CalloutLeaderLineGeometry, type CalloutPoint, ChartBuilder, type ChartInput, type ChartOptions, ChartPptxElement, type ChartSeriesInput, type ColorMapAliasKey, type CompatibilityWarningInput, ConnectionSite, ConnectorArrowType, ConnectorBuilder, type ConnectorGeometryType, type ConnectorOptions, type ConnectorPathGeometry, ConnectorPptxElement, ConnectorXmlFactory, type ConnectorXmlFactoryInit, type ContainerBounds, CustomGeometryPath, CustomGeometryPoint, CustomGeometryRawData, CustomGeometryTextRect, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_MAX_UNCOMPRESSED_BYTES, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DataIntegrityError, EFFECT_LST_ORDER, EMPHASIS_PRESETS, EMU_PER_INCH, EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ENTRANCE_PRESETS, EXIT_PRESETS, ElementAction, type ElementDiff, type ElementPosition, EncryptedFileError, type EncryptionAlgorithm, type EncryptionInfo, type EncryptionOptions, FONT_SUBSTITUTION_MAP, type FileFormatDetection, type FillInput, FindResult, FreeformPathBuilder, GeometryAdjustmentHandle, type GeometryContext, type GeometryGuide, GroupBuilder, type GroupOptions, GroupPptxElement, type HslColor, type IConnectorXmlFactory, type ICoreXmlElementFactory, type IFactory, type IMediaGraphicFrameXmlFactory, type IPictureXmlFactory, type IPptxAnimationWriteService, type IPptxColorStyleCodec, type IPptxCommentAuthorsXmlFactory, type IPptxCommentXmlFactoryProvider, type IPptxCompatibilityService, type IPptxConnectorParser, type IPptxContentTypesBuilder, type IPptxEditorAnimationService, type IPptxElementTransformUpdater, type IPptxGraphicFrameParser, type IPptxHandlerRuntime, type IPptxHandlerRuntimeFactory, type IPptxMediaDataParser, type IPptxNativeAnimationService, type IPptxPresentationSaveBuilder, type IPptxPresentationSlidesReconciler, type IPptxRuntimeDependencyFactory, type IPptxShapeIdValidator, type IPptxShapeStyleExtractor, type IPptxSlideBackgroundBuilder, type IPptxSlideCommentPartWriter, type IPptxSlideCommentsXmlFactory, type IPptxSlideLoaderService, type IPptxSlideMediaRelationshipBuilder, type IPptxSlideNotesPartUpdater, type IPptxSlideRelationshipRegistry, type IPptxSlideTransitionService, type IPptxTableDataParser, type IPptxTemplateBackgroundService, type IPptxXmlBuilder, type IPptxXmlFactoryProvider, type IPptxXmlLookupService, type ITextShapeXmlFactory, type IXmlElementFactory, ImageBuilder, type ImageMaskStyle, type ImageOptions, ImagePptxElement, IncorrectPasswordError, InkPptxElement, type LayoutAlgorithmType, type LayoutConstraints, type LayoutCreationResult, type LayoutDefinition, type LayoutDisplayNameInput, type LayoutEngineShape, type LayoutRule, type LinkedTextBoxChain, type LinkedTextBoxChainMember, type LinkedTextBoxSegmentMap, MAX_ZIP_ENTRY_COUNT, MIN_ELEMENT_SIZE, MOTION_PATH_PRESETS, MediaBookmark, MediaBuilder, MediaGraphicFrameXmlFactory, type MediaGraphicFrameXmlFactoryInit, type MediaOptions, MediaPptxElement, MergeOptions, type MergeShapeOperation, type Model3DTransform, OOXML_TO_PRESET_EMPH, OOXML_TO_PRESET_ENTR, OOXML_TO_PRESET_EXIT, type Ole2DirectoryEntry, type Ole2File, Ole2ParseError, OleObjectType, OlePptxElement, type OoxmlConformanceClass, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_SHAPE_GEOMETRY_TABLE, PRESET_TO_OOXML, type ParsedLayoutDef, type ParsedSignature, ParsedTableBackground, type ParsedTableStyle, ParsedTableStyleFill, ParsedTableStyleMap, type ParsedTableStylePart, ParsedTableStyleText, PictureXmlFactory, type PictureXmlFactoryInit, PlaceholderDefaults, type PlaceholderDefinition, PlaceholderTextLevelStyle, PptxAction, PptxActiveXControl, PptxAnimationPreset, PptxAnimationTrigger, PptxAnimationWriteService, PptxAppProperties, type PptxBuilderFactoryContext, PptxChart3DSurface, PptxChartAxisFormatting, PptxChartChrome, PptxChartData, PptxChartDataLabel, PptxChartDataPoint, PptxChartDataTable, PptxChartErrBars, PptxChartLineStyle, PptxChartMarker, PptxChartOfPieOptions, PptxChartSeries, PptxChartShapeProps, PptxChartStyle, PptxChartTrendline, PptxChartType, PptxChartView3D, PptxColorStyleCodec, type PptxColorStyleCodecContext, PptxComment, PptxCommentAuthor, type PptxCommentAuthorDescriptor, PptxCommentAuthorsXmlFactory, type PptxCommentAuthorsXmlFactoryInit, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxCompatibilityWarning, PptxConnectorParser, type PptxConnectorParserContext, PptxContentTypesBuilder, type PptxContentTypesCommentBuildInput, type PptxContentTypesSlideMediaBuildInput, PptxCoreProperties, PptxCustomProperty, PptxCustomShow, PptxCustomXmlPart, PptxCustomerData, PptxData, PptxDocumentPropertiesUpdater, PptxDrawingGuide, PptxEditorAnimationService, type PptxEditorAnimationServiceOptions, PptxElement, PptxElementAnimation, PptxElementTransformUpdater, PptxElementWithShapeStyle, PptxElementWithText, PptxElementXmlBuilder, type PptxElementXmlBuilderOptions, PptxEmbeddedFont, PptxEmbeddedWorkbookData, PptxExportOptions, PptxExternalData, PptxGraphicFrameParser, type PptxGraphicFrameParserContext, PptxHandler, type PptxHandlerLoadOptions, PptxHandlerRuntime, PptxHandlerRuntimeFactory, type PptxHandlerSaveOptions, PptxHandoutMaster, PptxHeaderFooter, PptxImageEffects, PptxImageLikeElement, PptxKinsoku, PptxLayoutOption, PptxLoadDataBuilder, PptxMasterTextStyles, PptxMediaDataParser, type PptxMediaDataParserContext, type PptxMediaTimingEntry, type PptxMediaTimingMap, PptxModifyVerifier, PptxNativeAnimation, PptxNativeAnimationService, PptxNotesMaster, PptxPhotoAlbum, PptxPresentationProperties, type PptxPresentationSaveBuildInput, PptxPresentationSaveBuilder, type PptxPresentationSaveBuilderOptions, PptxPresentationSlidesReconciler, type PptxPresentationSlidesReconcilerInput, type PptxRuntimeDependencyBundle, PptxRuntimeDependencyFactory, type PptxRuntimeDependencyFactoryInput, type PptxSaveConstants, PptxSaveConstantsFactory, type PptxSaveFormat, type PptxSaveMediaKind, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxSection, PptxShapeIdValidator, PptxShapeLocks, PptxShapeStyleExtractor, type PptxShapeStyleExtractorContext, PptxSlide, PptxSlideBackgroundBuilder, type PptxSlideBackgroundBuilderInput, PptxSlideBackgroundPattern, PptxSlideBuilder, PptxSlideCommentPartWriter, type PptxSlideCommentPartWriterInput, type PptxSlideCommentRelationshipInfo, PptxSlideCommentsXmlFactory, type PptxSlideCommentsXmlFactoryInit, PptxSlideElementsBuilder, PptxSlideLayout, type PptxSlideLoaderParams, PptxSlideLoaderService, type PptxSlideLoaderThemeOverride, PptxSlideMaster, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, type PptxSlideNotesPartUpdaterInput, type PptxSlideNotesResult, PptxSlideRelationshipRegistry, type PptxSlideRelationshipRegistryOptions, PptxSlideTransition, PptxSlideTransitionService, type PptxSlideTransitionServiceOptions, PptxSmartArtChrome, PptxSmartArtColorTransform, PptxSmartArtData, PptxSmartArtDrawingShape, PptxSmartArtNode, PptxSmartArtQuickStyle, PptxTableCellStyle, PptxTableData, PptxTableDataParser, type PptxTableDataParserContext, PptxTagCollection, PptxTemplateBackgroundService, type PptxTemplateBackgroundState, PptxTextStyleLevels, PptxTheme, PptxThemeColorScheme, PptxThemeEffectStyle, PptxThemeFillStyle, PptxThemeFontScheme, PptxThemeFormatScheme, PptxThemeLineStyle, PptxThemeObjectDefaults, PptxThemeOption, type PptxThemePreset, PptxTransitionType, PptxViewProperties, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, type PresentationBuilderResult, type PresentationDiff, type PresentationOptions, type PresentationThemeInput, type PresetPath, type PresetPathCommand, type PresetShapeCategory, type PresetShapeDefinition, type PresetShapeEvaluationResult, type PresetShapeGeometryDefinition, type PropertyChange, type ReflowedNodePosition, type RepairResult, SHAPE_TREE_ELEMENT_TAGS, SP_PR_ORDER, STROKE_DASH_OPTIONS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, type ShadowInput, ShapeBuilder, type ShapeOptions, ShapePptxElement, ShapeStyle, type SignatureCertificateInfo, type SignatureDetectionResult, type SignatureReference, type SignatureStatus, SlideBuilder, type SlideDiff, SlideSizes, SmartArtLayoutType, SmartArtPptxElement, type StandardEncryptionInfo, StrokeDashType, type StrokeInput, type SupportedShapeType, TC_PR_BORDERS_ORDER, THEME_PRESETS, TableBuilder, type TableCellInput, type TableInput, type TableOptions, TablePptxElement, type TableRowInput, type TableStyleFlags, type TableStylePartBorder, type TableStylePartBorders, type TableStylePartFill, type TableStylePartText, type TemplateData, TextBuilder, type TextOptions, TextPptxElement, TextSegment, type TextSegmentInput, TextShapeXmlFactory, type TextShapeXmlFactoryInit, TextStyle, type TextStyleInput, type ThemePreset, type ThemePresetName, ThemePresets, type TransitionInput, VML_SHAPE_TAGS, type ValidationIssue, type ValidationResult, type Vec2, XmlObject, ZipBombError, ZoomPptxElement, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyDrawingColorTransforms, applyKinsokuToXml, applyTemplate, applyThemeToData, areNamespacesSupported, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildSrgbColorChoice, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, colorsEqual, combineShapes, computeContrastRatio, computeCycleLayout, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableElement, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, evaluatePresetShape, extractColorChoiceXml, extractGuidFromPartName, extractModel3DTransform, fetchUrlToBytes, findCustomShow, findLayoutByName, findLayoutByType, findPlaceholders, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, getAdjustmentAwareClipPath, getAdjustmentAwareShapeClipPath, getAnimationPresetInfo, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCloudCalloutClipPath, getCloudClipPath, getCloudPathForRendering, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getCustomShowNames, getCustomShowPositionLabel, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getNativeAnimationPresetMetadata, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getPresetsByCategory, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeClipPathFromPreset, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isXmlNode, isZoomElement$1 as isZoomElement, isZoomElement as isZoomElementUtil, layoutEngineShapesToDrawingShapes, lookupPresetShape, mailMerge, mergeShapes, mergeStyleParts, mergeThemeColorOverride, mm, moveSlidesToSection, navigateCustomShow, normalizeHexColor, normalizeNamespaceUri, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, ooxmlArcToSvg, ooxmlToPresetName, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseChart3DSurfaces, parseChartAxes, parseCondition, parseConditionList, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseHexColor, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSvgPath, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, reflowSmartArtLayout, relativeLuminance, relayoutSmartArt, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderObjectKeys, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveCustomShowSlideIndices, resolveLayoutDisplayName, resolveModel3DMimeType, resolveTableCellStyle, rgbToHsl, selectAlternateContentBranch, serializeColorChoice, serializeCondition, serializeConditionList, serializeSvgPath, setChartCategories, setChartGrouping, setChartTitle, setChartType, shouldRenderFallbackLabel, shouldReturnToZoomSlide, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, updateChartDataPoint, updateChartSeriesValues, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlPath, xmlText };