pptx-viewer-core 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,8 @@ All notable changes to this project are documented here.
4
4
  This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
5
5
  by [git-cliff](https://git-cliff.org); do not edit it by hand.
6
6
 
7
+ ## [1.2.4](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-viewer-core@1.2.4) - 2026-07-09
8
+
7
9
  ## [1.2.3](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-viewer-core@1.2.3) - 2026-07-08
8
10
 
9
11
  ### Documentation
@@ -1,4 +1,4 @@
1
- import { m as PptxData, P as PptxElement, N as TextSegment, l as PptxSlide } from './presentation-BRAUjTRt.mjs';
1
+ import { m as PptxData, P as PptxElement, N as TextSegment, l as PptxSlide } from './presentation-CLc4eS3z.mjs';
2
2
 
3
3
  /**
4
4
  * Platform adapter for file system operations.
@@ -1,4 +1,4 @@
1
- import { m as PptxData, P as PptxElement, N as TextSegment, l as PptxSlide } from './presentation-BRAUjTRt.js';
1
+ import { m as PptxData, P as PptxElement, N as TextSegment, l as PptxSlide } from './presentation-CLc4eS3z.js';
2
2
 
3
3
  /**
4
4
  * Platform adapter for file system operations.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { F as FindResult, M as MergeOptions } from '../text-operations-CkW4BO91.mjs';
3
- import '../presentation-BRAUjTRt.mjs';
2
+ import { F as FindResult, M as MergeOptions } from '../text-operations-CCKEVX_5.mjs';
3
+ import '../presentation-CLc4eS3z.mjs';
4
4
 
5
5
  /**
6
6
  * CLI command handlers for pptx-cli.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { F as FindResult, M as MergeOptions } from '../text-operations-BJUOhA1w.js';
3
- import '../presentation-BRAUjTRt.js';
2
+ import { F as FindResult, M as MergeOptions } from '../text-operations-oN04X1yi.js';
3
+ import '../presentation-CLc4eS3z.js';
4
4
 
5
5
  /**
6
6
  * CLI command handlers for pptx-cli.
package/dist/cli/index.js CHANGED
Binary file
Binary file
@@ -1,6 +1,6 @@
1
- import { T as TextSegmentRenderer } from '../SvgExporter-CYyO9c5A.mjs';
2
- 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-CYyO9c5A.mjs';
3
- import { l as PptxSlide } from '../presentation-BRAUjTRt.mjs';
1
+ import { T as TextSegmentRenderer } from '../SvgExporter-BKbDaGaC.mjs';
2
+ 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-BKbDaGaC.mjs';
3
+ import { l as PptxSlide } from '../presentation-CLc4eS3z.mjs';
4
4
 
5
5
  /**
6
6
  * Renders slide-level metadata sections (transition, animations,
@@ -1,6 +1,6 @@
1
- import { T as TextSegmentRenderer } from '../SvgExporter-DdjrIx33.js';
2
- 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-DdjrIx33.js';
3
- import { l as PptxSlide } from '../presentation-BRAUjTRt.js';
1
+ import { T as TextSegmentRenderer } from '../SvgExporter-CG73UVb9.js';
2
+ 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-CG73UVb9.js';
3
+ import { l as PptxSlide } from '../presentation-CLc4eS3z.js';
4
4
 
5
5
  /**
6
6
  * Renders slide-level metadata sections (transition, animations,
package/dist/index.d.mts CHANGED
@@ -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 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 PptxSmartArtNodeStyle, a8 as PptxChartDataTable, a9 as PptxChartLineStyle, aa as PptxChartErrBars, ab as PptxChartTrendline, ac as PptxChartMarker, ad as PptxChartDataLabel, ae as PptxChartDataPoint, af as PptxChartShapeProps, ag as PptxChart3DSurface, ah as PptxChartAxisFormatting, ai as PptxEmbeddedWorkbookData, aj as PptxDrawingGuide, ak as PptxTableCellStyle, al as PptxCustomXmlPart, am as PptxCommentAuthor, an as MediaPptxElement, ao as PptxTableData, ap as PptxTheme, aq as PptxThemeOption, ar as PlaceholderDefaults, as as PptxMasterTextStyles, at as PptxThemeObjectDefaults, au as ParsedTableStyleFill, av as ParsedTableBackground, aw as ParsedTableStyleText, ax as PptxImageEffects, ay as MediaBookmark, az as PptxChartStyle, aA as TablePptxElement, aB as ChartPptxElement, aC as OlePptxElement, aD as GroupPptxElement, aE as PlaceholderTextLevelStyle, aF as PptxChartOfPieOptions, aG as PptxChartView3D, aH as PptxChartChrome, aI as PptxChartSeries, aJ as SmartArtPptxElement, aK as GeometryAdjustmentHandle, aL as CustomGeometryRawData, aM as AdjustHandleXY, aN as AdjustHandlePolar, aO as ConnectionSite, aP as CustomGeometryTextRect, aQ as CustomGeometryPath, aR as BulletInfo, aS as PptxShapeLocks, aT as PptxTextStyleLevels, aU as PptxThemeFillStyle, aV as PptxThemeLineStyle, aW as PptxThemeEffectStyle, aX as PptxSmartArtTextRun, aY as PptxSmartArtChrome, aZ as PptxSmartArtColorTransform, a_ as PptxSmartArtQuickStyle, a$ as PptxExternalData, b0 as CustomGeometryPoint, b1 as ImagePptxElement, b2 as PptxChartDataLabelOptions, b3 as PptxChartMarkerSymbol } from './presentation-BRAUjTRt.mjs';
2
- export { b4 as ActionButtonPreset, b5 as AnimationConditionEvent, b6 as BevelPresetType, b7 as ConnectorConnectionPoint, b8 as ContentPartInkStroke, b9 as ContentPartPptxElement, ba as CustomGeometrySegment, bb as EffectDagBlend, bc as EffectDagBlendMode, bd as EffectDagContainer, be as EffectDagContainerType, bf as EffectDagNode, bg as EffectDagRawLeaf, bh as EffectDagRelOff, bi as EffectDagXfrm, bj as ElementActionType, bk as MasterViewTab, bl as MaterialPresetType, bm as MediaCaptionTrack, bn as MediaMetadata, bo as Model3DPptxElement, bp as ParsedTableStyleEntry, bq as PicturePptxElement, br as Pptx3DScene, bs as Pptx3DShape, bt as PptxAfterAnimationAction, bu as PptxAnimationDirection, bv as PptxAnimationIterate, bw as PptxAnimationKeyframe, bx as PptxAnimationRepeatMode, by as PptxAnimationSequence, bz as PptxAnimationTimingCurve, bA as PptxChartAxisNumFmt, bB as PptxChartErrBarDir, bC as PptxChartErrBarType, bD as PptxChartErrValType, bE as PptxChartTrendlineType, bF as PptxColorAnimation, bG as PptxCommonSlideViewProperties, bH as PptxCropShape, bI as PptxCustomPathProperties, bJ as PptxElementBase, bK as PptxElementType, bL as PptxExportFormat, bM as PptxGraphicFrameExtension, bN as PptxHeaderFooterFlags, bO as PptxImageProperties, bP as PptxMediaType, bQ as PptxNativeAnimationKind, bR as PptxNormalViewProperties, bS as PptxRestoredRegion, bT as PptxShapeProperties, bU as PptxSmartArtConnection, bV as PptxSplitDirection, bW as PptxSplitOrientation, bX as PptxStripDirection, bY as PptxTableCell, bZ as PptxTableRow, b_ as PptxTag, b$ as PptxTextAnimationTarget, c0 as PptxTextBuildType, c1 as PptxTextProperties, c2 as PptxTextWarpPreset, c3 as PptxThemeFontGroup, c4 as PptxTransitionDirection4, c5 as PptxTransitionDirection8, c6 as PptxViewOrigin, c7 as PptxViewScale, c8 as ShadowEffect, c9 as SmartArtColorScheme, ca as SmartArtLayout, cb as SmartArtStyle, cc as THEME_COLOR_SCHEME_KEYS, cd as TRANSITION_VALID_DIRECTIONS, ce as Text3DStyle, cf as UnderlineStyle, cg as UnknownPptxElement } from './presentation-BRAUjTRt.mjs';
3
- import { F as FindResult, M as MergeOptions } from './text-operations-CkW4BO91.mjs';
4
- export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-CkW4BO91.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 PptxSmartArtNodeStyle, a8 as PptxChartDataTable, a9 as PptxChartLineStyle, aa as PptxChartErrBars, ab as PptxChartTrendline, ac as PptxChartMarker, ad as PptxChartDataLabel, ae as PptxChartDataPoint, af as PptxChartShapeProps, ag as PptxChart3DSurface, ah as PptxChartAxisFormatting, ai as PptxEmbeddedWorkbookData, aj as PptxDrawingGuide, ak as PptxTableCellStyle, al as PptxCustomXmlPart, am as PptxCommentAuthor, an as MediaPptxElement, ao as PptxTableData, ap as PptxTheme, aq as PptxThemeOption, ar as PlaceholderDefaults, as as PptxMasterTextStyles, at as PptxThemeObjectDefaults, au as ParsedTableStyleFill, av as ParsedTableBackground, aw as ParsedTableStyleText, ax as PptxImageEffects, ay as MediaBookmark, az as PptxChartStyle, aA as TablePptxElement, aB as ChartPptxElement, aC as OlePptxElement, aD as GroupPptxElement, aE as PlaceholderTextLevelStyle, aF as PptxChartOfPieOptions, aG as PptxChartView3D, aH as PptxChartChrome, aI as PptxChartSeries, aJ as SmartArtPptxElement, aK as GeometryAdjustmentHandle, aL as CustomGeometryRawData, aM as AdjustHandleXY, aN as AdjustHandlePolar, aO as ConnectionSite, aP as CustomGeometryTextRect, aQ as CustomGeometryPath, aR as BulletInfo, aS as PptxShapeLocks, aT as PptxTextStyleLevels, aU as PptxThemeFillStyle, aV as PptxThemeLineStyle, aW as PptxThemeEffectStyle, aX as PptxSmartArtTextRun, aY as PptxSmartArtChrome, aZ as PptxSmartArtColorTransform, a_ as PptxSmartArtQuickStyle, a$ as PptxExternalData, b0 as CustomGeometryPoint, b1 as ImagePptxElement, b2 as PptxChartDataLabelOptions, b3 as PptxChartMarkerSymbol } from './presentation-CLc4eS3z.mjs';
2
+ export { b4 as ActionButtonPreset, b5 as AnimationConditionEvent, b6 as BevelPresetType, b7 as ConnectorConnectionPoint, b8 as ContentPartInkStroke, b9 as ContentPartPptxElement, ba as CustomGeometrySegment, bb as EffectDagBlend, bc as EffectDagBlendMode, bd as EffectDagContainer, be as EffectDagContainerType, bf as EffectDagNode, bg as EffectDagRawLeaf, bh as EffectDagRelOff, bi as EffectDagXfrm, bj as ElementActionType, bk as MasterViewTab, bl as MaterialPresetType, bm as MediaCaptionTrack, bn as MediaMetadata, bo as Model3DPptxElement, bp as ParsedTableStyleEntry, bq as PicturePptxElement, br as Pptx3DScene, bs as Pptx3DShape, bt as PptxAfterAnimationAction, bu as PptxAnimationDirection, bv as PptxAnimationIterate, bw as PptxAnimationKeyframe, bx as PptxAnimationRepeatMode, by as PptxAnimationSequence, bz as PptxAnimationTimingCurve, bA as PptxChartAxisNumFmt, bB as PptxChartErrBarDir, bC as PptxChartErrBarType, bD as PptxChartErrValType, bE as PptxChartTrendlineType, bF as PptxColorAnimation, bG as PptxCommonSlideViewProperties, bH as PptxCropShape, bI as PptxCustomPathProperties, bJ as PptxElementBase, bK as PptxElementType, bL as PptxExportFormat, bM as PptxGraphicFrameExtension, bN as PptxHeaderFooterFlags, bO as PptxImageProperties, bP as PptxMediaType, bQ as PptxNativeAnimationKind, bR as PptxNormalViewProperties, bS as PptxRestoredRegion, bT as PptxShapeProperties, bU as PptxSmartArtConnection, bV as PptxSplitDirection, bW as PptxSplitOrientation, bX as PptxStripDirection, bY as PptxTableCell, bZ as PptxTableRow, b_ as PptxTag, b$ as PptxTextAnimationTarget, c0 as PptxTextBuildType, c1 as PptxTextProperties, c2 as PptxTextWarpPreset, c3 as PptxThemeFontGroup, c4 as PptxTransitionDirection4, c5 as PptxTransitionDirection8, c6 as PptxViewOrigin, c7 as PptxViewScale, c8 as ShadowEffect, c9 as SmartArtColorScheme, ca as SmartArtLayout, cb as SmartArtStyle, cc as THEME_COLOR_SCHEME_KEYS, cd as TRANSITION_VALID_DIRECTIONS, ce as Text3DStyle, cf as UnderlineStyle, cg as UnknownPptxElement } from './presentation-CLc4eS3z.mjs';
3
+ import { F as FindResult, M as MergeOptions } from './text-operations-CCKEVX_5.mjs';
4
+ export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-CCKEVX_5.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-CYyO9c5A.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-BKbDaGaC.mjs';
10
10
 
11
11
  /**
12
12
  * Runtime type guards for narrowing the {@link PptxElement} union.
@@ -1480,6 +1480,79 @@ declare class PptxEditorAnimationService implements IPptxEditorAnimationService
1480
1480
  applyEditorAnimations(slideNode: XmlObject, animations: PptxElementAnimation[]): void;
1481
1481
  }
1482
1482
 
1483
+ /**
1484
+ * Animation-target reconciliation.
1485
+ *
1486
+ * PowerPoint targets an animation at a shape by the shape's native OOXML id
1487
+ * (`p:cNvPr/@id`), written into `p:spTgt/@spid`. The loader, however, assigns
1488
+ * every element a synthetic *positional* identity (`${slidePath}-shape-${index}`,
1489
+ * see `PptxHandlerRuntimeSpTreeParsing`) as its `element.id`, because that id is
1490
+ * load-bearing for selection, undo/redo and template tracking. The two id
1491
+ * spaces never coincide: a native animation's `targetId` is the integer cNvPr
1492
+ * id (e.g. `"3"`) while the element it animates has `id` `"…-shape-1"`.
1493
+ *
1494
+ * Without reconciliation the in-memory model has no link between an animation
1495
+ * and its element, so playback (which keys element state by `element.id` but
1496
+ * animation steps by `targetId`) never animates anything, in every binding.
1497
+ *
1498
+ * This module runs once per slide at load time. It:
1499
+ * 1. Captures each element's `cNvPr/@id` onto `element.shapeId`.
1500
+ * 2. Rewrites every animation's shape references (`targetId` /
1501
+ * `triggerShapeId` on native animations, `elementId` / `triggerShapeId`
1502
+ * on editor animations) from the native cNvPr id to the positional
1503
+ * `element.id`, so consumers can match animations to elements by
1504
+ * `element.id`.
1505
+ *
1506
+ * References that do not resolve to a known cNvPr id (text-build sub-ids,
1507
+ * already-positional ids from decks this app previously authored, etc.) are
1508
+ * left untouched, so the pass is idempotent and backward compatible.
1509
+ *
1510
+ * @module services/animation-target-reconcile
1511
+ */
1512
+
1513
+ /**
1514
+ * Reconcile a slide's animation target references against its elements.
1515
+ *
1516
+ * Mutates `element.shapeId`, and mutates the animation arrays' shape-reference
1517
+ * fields in place, rewriting native cNvPr ids to positional `element.id`s.
1518
+ */
1519
+ declare function reconcileAnimationTargets(elements: readonly PptxElement[], nativeAnimations: PptxNativeAnimation[] | undefined, editorAnimations: PptxElementAnimation[] | undefined): void;
1520
+
1521
+ /**
1522
+ * Save-side animation shape-id assignment.
1523
+ *
1524
+ * The inverse of `animation-target-reconcile`. Editor animations key their
1525
+ * target by the positional `element.id` the loader assigns (see that module for
1526
+ * why the two id spaces differ). To emit a file real PowerPoint can bind, the
1527
+ * serialized `p:spTgt/@spid` (and the app's own `pptx:editorMeta`) must instead
1528
+ * reference the target shape's native OOXML `p:cNvPr/@id`.
1529
+ *
1530
+ * This module maps each editor animation's `element.id` reference back to the
1531
+ * target element's `shapeId` (its cNvPr id), minting a fresh unique id for
1532
+ * SDK-created elements that never carried one, and returns a remapped animation
1533
+ * list whose `elementId` / `triggerShapeId` are the native cNvPr ids. On the
1534
+ * next load, `reconcileAnimationTargets` maps them back to positional element
1535
+ * ids, so the round trip is symmetric.
1536
+ *
1537
+ * @module services/animation-shape-id-assign
1538
+ */
1539
+
1540
+ /**
1541
+ * Remap a slide's editor animations so their shape references use native cNvPr
1542
+ * ids. Mutates `element.shapeId` for elements that need a freshly minted id.
1543
+ *
1544
+ * @param elements - The slide's elements (group children are traversed).
1545
+ * @param animations - Editor animations keyed by positional `element.id`.
1546
+ * @param reservedMaxId - Largest cNvPr id already reserved elsewhere in the
1547
+ * slide's shape tree (e.g. the implicit `<p:spTree>` group's own
1548
+ * `p:cNvPr/@id`, conventionally `1`). Freshly minted ids start above both
1549
+ * this and any existing element `shapeId`, so a minted id can never
1550
+ * collide with a reserved id and survive the save-side id validator.
1551
+ * @returns A new animation array with `elementId` / `triggerShapeId` rewritten
1552
+ * to native cNvPr ids where the target element could be resolved.
1553
+ */
1554
+ declare function remapEditorAnimationsToShapeIds(elements: readonly PptxElement[], animations: readonly PptxElementAnimation[], reservedMaxId?: number): PptxElementAnimation[];
1555
+
1483
1556
  /**
1484
1557
  * Service for parsing native OOXML animation timing trees from slide XML.
1485
1558
  *
@@ -1620,6 +1693,21 @@ declare class PptxSlideTransitionService implements IPptxSlideTransitionService
1620
1693
  private readonly getXmlLocalName;
1621
1694
  constructor(options: PptxSlideTransitionServiceOptions);
1622
1695
  parseSlideTransition(slideXml: XmlObject | undefined): PptxSlideTransition | undefined;
1696
+ /**
1697
+ * Locate a `<p:transition>` wrapped in a slide-root `mc:AlternateContent`
1698
+ * envelope.
1699
+ *
1700
+ * Real PowerPoint (verified via COM-authored fixtures) wraps the
1701
+ * transition in `mc:AlternateContent` whenever it carries an Office
1702
+ * 2010+ attribute such as `p14:dur` (sub-second transition duration):
1703
+ * an `mc:Choice Requires="p14"` branch carries the richer transition,
1704
+ * and `mc:Fallback` carries a plain one for older readers. Without this
1705
+ * unwrap, `p:sld`'s direct-child lookup for `transition` finds nothing
1706
+ * and the whole transition (including plain ones falling back with no
1707
+ * p14 data) is silently dropped, even though `mc:Choice` is otherwise a
1708
+ * complete, directly usable `p:transition` node.
1709
+ */
1710
+ private findTransitionInAlternateContent;
1623
1711
  /**
1624
1712
  * Detects the PowerPoint 2016+ `morph` transition stored as a p159 extension
1625
1713
  * inside the transition's extLst.
@@ -6993,6 +7081,20 @@ interface SlideShapeCollectors {
6993
7081
  readonly contentParts: XmlObject[];
6994
7082
  }
6995
7083
  declare class PptxHandlerRuntime$N extends PptxHandlerRuntime$O {
7084
+ /**
7085
+ * Whether a shape XML represents a `<p:pic>` (picture-shaped) node.
7086
+ *
7087
+ * Real PowerPoint (verified via COM-authored fixtures) represents video
7088
+ * *and* audio media as `<p:pic>` (poster-frame blip + `p:nvPr/a:videoFile`
7089
+ * or `a:audioFile` + a `p14:media` extension) rather than the older
7090
+ * `<p:graphicFrame>` form. A `media`-typed element's `rawXml` is
7091
+ * therefore frequently `p:pic`-shaped, not a graphic frame; without this
7092
+ * check it falls into the generic `shapes` bucket, which the slide
7093
+ * writer serializes under `<p:sp>` -- corrupting the picture markup
7094
+ * (`p:nvPicPr`/`p:blipFill`) into an invalid shape and permanently
7095
+ * losing the media relationship on save.
7096
+ */
7097
+ protected isPictureShape(shape: XmlObject): boolean;
6996
7098
  /** Whether a shape XML represents a graphic frame. */
6997
7099
  protected isGraphicFrameShape(shape: XmlObject): boolean;
6998
7100
  /** Part paths of SDK-created charts written this save (need content-type overrides). */
@@ -7026,6 +7128,16 @@ declare class PptxHandlerRuntime$N extends PptxHandlerRuntime$O {
7026
7128
  private reorderInPlace;
7027
7129
  /** Whether an element ID indicates a template (layout/master) element. */
7028
7130
  protected isTemplateElementId(elementId: string): boolean;
7131
+ /** Non-visual property containers that hold a `p:cNvPr`. */
7132
+ private static readonly NV_CONTAINERS;
7133
+ /**
7134
+ * Write an element's native shape id (`element.shapeId`) into the serialized
7135
+ * shape's `p:cNvPr/@id`. Animation targets (`p:spTgt/@spid`) reference this
7136
+ * id, so the two must agree for PowerPoint to bind an animation to its shape.
7137
+ * A no-op when the element carries no `shapeId` (nothing to reconcile) or the
7138
+ * shape XML has no cNvPr container.
7139
+ */
7140
+ protected applyShapeIdToCnvPr(shape: XmlObject, el: PptxElement): void;
7029
7141
  /**
7030
7142
  * Process a single slide element during save. Handles embedding,
7031
7143
  * transforms, geometry, styles, text, and sorts into collectors.
@@ -7039,6 +7151,12 @@ declare class PptxHandlerRuntime$M extends PptxHandlerRuntime$N {
7039
7151
  * rebuild shape tree, and persist relationships.
7040
7152
  */
7041
7153
  protected processSlideForSave(slide: PptxSlide, saveSession: PptxSaveState, constants: PptxSaveConstants): Promise<void>;
7154
+ /**
7155
+ * Largest `p:cNvPr/@id` already present anywhere in a shape tree, including
7156
+ * the implicit `<p:spTree>` group's own reserved id. Used to seed minting of
7157
+ * fresh animation-target shape ids so they never collide with a reserved id.
7158
+ */
7159
+ protected maxCnvPrId(spTree: XmlObject): number;
7042
7160
  /**
7043
7161
  * Re-wrap selected children with their original `<mc:AlternateContent>`
7044
7162
  * envelope (CC-4).
@@ -13557,4 +13675,4 @@ type ThemePresetName = keyof typeof ThemePresets;
13557
13675
  /** Get a theme preset by name string. */
13558
13676
  declare function getThemePreset(name: ThemePresetName): ThemePreset;
13559
13677
 
13560
- 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, type ChartAxisEdit, type ChartAxisTitleStyleEdit, ChartBuilder, type ChartDataPointLabelEdit, type ChartGridlineStyleEdit, 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_TABLE_DIMENSION, MAX_ZIP_ENTRY_COUNT, MIN_ELEMENT_SIZE, MIN_TABLE_DIMENSION, 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 OleUnwrapResult, 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, type PptxChartAxisType, PptxChartChrome, PptxChartData, PptxChartDataLabel, PptxChartDataLabelOptions, PptxChartDataPoint, PptxChartDataTable, PptxChartErrBars, type PptxChartLegendPosition, PptxChartLineStyle, PptxChartMarker, PptxChartMarkerSymbol, 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, PptxSmartArtNodeStyle, PptxSmartArtQuickStyle, PptxSmartArtTextRun, 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, applyTableCellTextAndStyle, 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, createTableCellXml, createTableElement, createTableGraphicFrameRawXml, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, decodeOle10Native, decodeXmlEntities, 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, isOle2CompoundFile, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isXmlNode, isZoomElement$1 as isZoomElement, isZoomElement as isZoomElementUtil, layoutEngineShapesToDrawingShapes, lookupPresetShape, mailMerge, mergeShapes, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, mm, moveSlidesToSection, navigateCustomShow, normalizeHexColor, normalizeNamespaceUri, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, oleBytesToDataUrl, 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, rebuildTableStructureInRawXml, 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, setChartAxis, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategories, setChartDataLabels, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartGrouping, setChartLegend, setChartSeriesChartType, setChartSeriesColor, setChartSeriesErrorBars, setChartSeriesMarker, setChartSeriesTrendline, setChartTitle, setChartType, setElementLocked, setSmartArtNodeStyle, shouldRenderFallbackLabel, shouldReturnToZoomSlide, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, unwrapOleEmbedding, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateChartDataPoint, updateChartSeriesValues, updateMergeAttrsInRawXml, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlPath, xmlText };
13678
+ 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, type ChartAxisEdit, type ChartAxisTitleStyleEdit, ChartBuilder, type ChartDataPointLabelEdit, type ChartGridlineStyleEdit, 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_TABLE_DIMENSION, MAX_ZIP_ENTRY_COUNT, MIN_ELEMENT_SIZE, MIN_TABLE_DIMENSION, 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 OleUnwrapResult, 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, type PptxChartAxisType, PptxChartChrome, PptxChartData, PptxChartDataLabel, PptxChartDataLabelOptions, PptxChartDataPoint, PptxChartDataTable, PptxChartErrBars, type PptxChartLegendPosition, PptxChartLineStyle, PptxChartMarker, PptxChartMarkerSymbol, 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, PptxSmartArtNodeStyle, PptxSmartArtQuickStyle, PptxSmartArtTextRun, 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, applyTableCellTextAndStyle, 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, createTableCellXml, createTableElement, createTableGraphicFrameRawXml, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, decodeOle10Native, decodeXmlEntities, 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, isOle2CompoundFile, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isXmlNode, isZoomElement$1 as isZoomElement, isZoomElement as isZoomElementUtil, layoutEngineShapesToDrawingShapes, lookupPresetShape, mailMerge, mergeShapes, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, mm, moveSlidesToSection, navigateCustomShow, normalizeHexColor, normalizeNamespaceUri, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, oleBytesToDataUrl, 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, rebuildTableStructureInRawXml, reconcileAnimationTargets, reflowSmartArtLayout, relativeLuminance, relayoutSmartArt, remapEditorAnimationsToShapeIds, 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, setChartAxis, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategories, setChartDataLabels, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartGrouping, setChartLegend, setChartSeriesChartType, setChartSeriesColor, setChartSeriesErrorBars, setChartSeriesMarker, setChartSeriesTrendline, setChartTitle, setChartType, setElementLocked, setSmartArtNodeStyle, shouldRenderFallbackLabel, shouldReturnToZoomSlide, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, unwrapOleEmbedding, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateChartDataPoint, updateChartSeriesValues, updateMergeAttrsInRawXml, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlPath, xmlText };