pptx-react-viewer 1.1.6 → 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.
- package/dist/{PowerPointViewer-CX0a7wz_.d.mts → PowerPointViewer-C5jGuKGB.d.mts} +3 -1
- package/dist/{PowerPointViewer-CX0a7wz_.d.ts → PowerPointViewer-C5jGuKGB.d.ts} +3 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1224 -454
- package/dist/index.mjs +1225 -455
- package/dist/pptx-viewer.css +1 -1
- package/dist/viewer/index.d.mts +6 -25
- package/dist/viewer/index.d.ts +6 -25
- package/dist/viewer/index.js +1224 -454
- package/dist/viewer/index.mjs +1225 -455
- package/node_modules/emf-converter/package.json +1 -1
- package/node_modules/mtx-decompressor/package.json +1 -1
- package/node_modules/pptx-viewer-core/dist/{SvgExporter-CTDG-t_z.d.ts → SvgExporter-BtZczTlB.d.ts} +1 -1
- package/node_modules/pptx-viewer-core/dist/{SvgExporter-BTkk4oNQ.d.mts → SvgExporter-D4mBWJHE.d.mts} +1 -1
- package/node_modules/pptx-viewer-core/dist/cli/index.d.mts +2 -2
- package/node_modules/pptx-viewer-core/dist/cli/index.d.ts +2 -2
- package/node_modules/pptx-viewer-core/dist/cli/index.js +0 -0
- package/node_modules/pptx-viewer-core/dist/cli/index.mjs +0 -0
- package/node_modules/pptx-viewer-core/dist/converter/index.d.mts +3 -3
- package/node_modules/pptx-viewer-core/dist/converter/index.d.ts +3 -3
- package/node_modules/pptx-viewer-core/dist/index.d.mts +108 -19
- package/node_modules/pptx-viewer-core/dist/index.d.ts +108 -19
- package/node_modules/pptx-viewer-core/dist/index.js +532 -306
- package/node_modules/pptx-viewer-core/dist/index.mjs +524 -307
- package/node_modules/pptx-viewer-core/dist/{presentation-4fhI3din.d.mts → presentation-nZxgWvXq.d.mts} +40 -1
- package/node_modules/pptx-viewer-core/dist/{presentation-4fhI3din.d.ts → presentation-nZxgWvXq.d.ts} +40 -1
- package/node_modules/pptx-viewer-core/dist/{text-operations-C89Jn6S0.d.mts → text-operations-DCTGMltY.d.mts} +1 -1
- package/node_modules/pptx-viewer-core/dist/{text-operations-B9EwbptL.d.ts → text-operations-DYmhoi7U.d.ts} +1 -1
- package/node_modules/pptx-viewer-core/package.json +1 -1
- 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 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-
|
|
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-
|
|
3
|
-
import { F as FindResult, M as MergeOptions } from './text-operations-
|
|
4
|
-
export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-
|
|
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.js';
|
|
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.js';
|
|
3
|
+
import { F as FindResult, M as MergeOptions } from './text-operations-DYmhoi7U.js';
|
|
4
|
+
export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-DYmhoi7U.js';
|
|
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.js';
|
|
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-
|
|
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-BtZczTlB.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Runtime type guards for narrowing the {@link PptxElement} union.
|
|
@@ -4418,6 +4418,24 @@ declare function getNativeAnimationPresetMetadata(args: {
|
|
|
4418
4418
|
*/
|
|
4419
4419
|
declare function relayoutSmartArt(smartArtData: PptxSmartArtData, containerWidth: number, containerHeight: number): PptxSmartArtDrawingShape[];
|
|
4420
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
|
+
|
|
4421
4439
|
/**
|
|
4422
4440
|
* Schema-order utilities for OpenXML serialization.
|
|
4423
4441
|
*
|
|
@@ -4428,7 +4446,8 @@ declare function relayoutSmartArt(smartArtData: PptxSmartArtData, containerWidth
|
|
|
4428
4446
|
* keys in their original insertion order. Keys whose values are
|
|
4429
4447
|
* `undefined` are skipped.
|
|
4430
4448
|
*/
|
|
4431
|
-
|
|
4449
|
+
|
|
4450
|
+
declare function reorderObjectKeys(obj: XmlObject, schemaOrder: readonly string[]): XmlObject;
|
|
4432
4451
|
/** Child order for `a:effectLst` (CT_EffectList §20.1.8.20) — alphabetical. */
|
|
4433
4452
|
declare const EFFECT_LST_ORDER: readonly string[];
|
|
4434
4453
|
/**
|
|
@@ -4446,6 +4465,74 @@ declare const TC_PR_BORDERS_ORDER: readonly string[];
|
|
|
4446
4465
|
/** Child order for `a:blipFill` (CT_BlipFillProperties). */
|
|
4447
4466
|
declare const BLIP_FILL_ORDER: readonly string[];
|
|
4448
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
|
+
|
|
4449
4536
|
interface IFactory<TResult, TInit = void> {
|
|
4450
4537
|
create(init: TInit): TResult;
|
|
4451
4538
|
}
|
|
@@ -7200,15 +7287,15 @@ declare class PptxHandlerRuntime$w extends PptxHandlerRuntime$x {
|
|
|
7200
7287
|
* </a:ruby>
|
|
7201
7288
|
* ```
|
|
7202
7289
|
*/
|
|
7203
|
-
protected parseRubyElement(rubyNode: XmlObject, runProps:
|
|
7290
|
+
protected parseRubyElement(rubyNode: XmlObject, runProps: XmlObject | undefined, paraAlign: TextStyle['align'], mergedDefaultRunStyle: TextStyle, slideRelationshipMap: Map<string, string> | undefined): TextSegment | undefined;
|
|
7204
7291
|
}
|
|
7205
7292
|
|
|
7206
7293
|
declare class PptxHandlerRuntime$v extends PptxHandlerRuntime$w {
|
|
7207
|
-
protected parseShape(shape:
|
|
7294
|
+
protected parseShape(shape: XmlObject, id: string, slidePath?: string): PptxElement | null;
|
|
7208
7295
|
}
|
|
7209
7296
|
|
|
7210
7297
|
declare class PptxHandlerRuntime$u extends PptxHandlerRuntime$v {
|
|
7211
|
-
protected parsePicture(pic:
|
|
7298
|
+
protected parsePicture(pic: XmlObject, id: string, slidePath: string): Promise<PptxElement | null>;
|
|
7212
7299
|
}
|
|
7213
7300
|
|
|
7214
7301
|
declare class PptxHandlerRuntime$t extends PptxHandlerRuntime$u {
|
|
@@ -7282,16 +7369,16 @@ declare class PptxHandlerRuntime$t extends PptxHandlerRuntime$u {
|
|
|
7282
7369
|
/**
|
|
7283
7370
|
* Forward declaration – implemented in PptxHandlerRuntimeGroupParsing.
|
|
7284
7371
|
*/
|
|
7285
|
-
protected parseGroupShapeAsGroup(_group:
|
|
7372
|
+
protected parseGroupShapeAsGroup(_group: XmlObject, _baseId: string, _slidePath: string, _rawXmlStr?: string): Promise<PptxElement | null>;
|
|
7286
7373
|
}
|
|
7287
7374
|
|
|
7288
7375
|
declare class PptxHandlerRuntime$s extends PptxHandlerRuntime$t {
|
|
7289
|
-
protected parseGroupShape(group:
|
|
7376
|
+
protected parseGroupShape(group: XmlObject, baseId: string, slidePath: string, rawXmlStr?: string, depth?: number): Promise<PptxElement[]>;
|
|
7290
7377
|
/**
|
|
7291
7378
|
* Parse a p:grpSp element into a GroupPptxElement with children.
|
|
7292
7379
|
* Children have coordinates relative to the group's position.
|
|
7293
7380
|
*/
|
|
7294
|
-
protected parseGroupShapeAsGroup(group:
|
|
7381
|
+
protected parseGroupShapeAsGroup(group: XmlObject, baseId: string, slidePath: string, rawXmlStr?: string): Promise<PptxElement | null>;
|
|
7295
7382
|
protected extractGradientFillColor(gradFill: XmlObject): string | undefined;
|
|
7296
7383
|
}
|
|
7297
7384
|
|
|
@@ -7302,7 +7389,7 @@ declare class PptxHandlerRuntime$r extends PptxHandlerRuntime$s {
|
|
|
7302
7389
|
* without placeholder inheritance (connectors don't have placeholders).
|
|
7303
7390
|
*/
|
|
7304
7391
|
protected parseConnectorTextBody(txBody: XmlObject | undefined, slidePath?: string): ConnectorTextResult | null;
|
|
7305
|
-
protected parseSlide(slideXml:
|
|
7392
|
+
protected parseSlide(slideXml: XmlObject, slidePath: string): Promise<PptxElement[]>;
|
|
7306
7393
|
}
|
|
7307
7394
|
|
|
7308
7395
|
declare class PptxHandlerRuntime$q extends PptxHandlerRuntime$r {
|
|
@@ -7340,8 +7427,8 @@ declare class PptxHandlerRuntime$q extends PptxHandlerRuntime$r {
|
|
|
7340
7427
|
}
|
|
7341
7428
|
|
|
7342
7429
|
declare class PptxHandlerRuntime$p extends PptxHandlerRuntime$q {
|
|
7343
|
-
protected extractBackgroundImage(slideXml:
|
|
7344
|
-
protected extractBackgroundColor(slideXml:
|
|
7430
|
+
protected extractBackgroundImage(slideXml: XmlObject, slidePath: string, rootElement?: string): Promise<string | undefined>;
|
|
7431
|
+
protected extractBackgroundColor(slideXml: XmlObject, rootElement?: string): string | undefined;
|
|
7345
7432
|
/**
|
|
7346
7433
|
* Resolve a `<p:bgRef>` element to a flat colour string.
|
|
7347
7434
|
*
|
|
@@ -7366,7 +7453,7 @@ declare class PptxHandlerRuntime$p extends PptxHandlerRuntime$q {
|
|
|
7366
7453
|
*
|
|
7367
7454
|
* ECMA-376 §20.1.8.47.
|
|
7368
7455
|
*/
|
|
7369
|
-
protected extractBackgroundPattern(slideXml:
|
|
7456
|
+
protected extractBackgroundPattern(slideXml: XmlObject, rootElement?: string): PptxSlideBackgroundPattern | undefined;
|
|
7370
7457
|
/**
|
|
7371
7458
|
* Extract the `<p:bgPr/@shadeToTitle>` boolean attribute from a slide
|
|
7372
7459
|
* background. Captured for round-trip — render-time semantics are a
|
|
@@ -7375,12 +7462,12 @@ declare class PptxHandlerRuntime$p extends PptxHandlerRuntime$q {
|
|
|
7375
7462
|
*
|
|
7376
7463
|
* ECMA-376 §19.3.1.2 (CT_BackgroundProperties).
|
|
7377
7464
|
*/
|
|
7378
|
-
protected extractBackgroundShadeToTitle(slideXml:
|
|
7465
|
+
protected extractBackgroundShadeToTitle(slideXml: XmlObject, rootElement?: string): boolean | undefined;
|
|
7379
7466
|
/**
|
|
7380
7467
|
* Extract a CSS gradient string from a slide/layout/master background.
|
|
7381
7468
|
* Handles `a:gradFill` within `p:bgPr` and gradient-based `p:bgRef`.
|
|
7382
7469
|
*/
|
|
7383
|
-
protected extractBackgroundGradient(slideXml:
|
|
7470
|
+
protected extractBackgroundGradient(slideXml: XmlObject, rootElement?: string): string | undefined;
|
|
7384
7471
|
protected getMasterBackgroundImage(layoutPath: string): Promise<string | undefined>;
|
|
7385
7472
|
protected getLayoutBackgroundImage(slidePath: string): Promise<string | undefined>;
|
|
7386
7473
|
protected getLayoutBackgroundColor(slidePath: string): Promise<string | undefined>;
|
|
@@ -8083,6 +8170,7 @@ declare class PptxHandlerRuntime$4 extends PptxHandlerRuntime$5 {
|
|
|
8083
8170
|
/** Convert Uint8Array to base64 string. */
|
|
8084
8171
|
private uint8ArrayToBase64;
|
|
8085
8172
|
getLayoutOptions(): PptxLayoutOption[];
|
|
8173
|
+
protected resolveMasterPathForLayout(layoutPath: string): string | undefined;
|
|
8086
8174
|
}
|
|
8087
8175
|
|
|
8088
8176
|
declare class PptxHandlerRuntime$3 extends PptxHandlerRuntime$4 {
|
|
@@ -8195,6 +8283,7 @@ declare class PptxHandlerRuntime$2 extends PptxHandlerRuntime$3 {
|
|
|
8195
8283
|
* known layouts.
|
|
8196
8284
|
*/
|
|
8197
8285
|
getAvailableLayoutsForSlide(slideIndex: number, slides: PptxSlide[]): Promise<PptxLayoutOption[]>;
|
|
8286
|
+
protected buildLayoutOption(path: string, xmlObj: XmlObject): PptxLayoutOption;
|
|
8198
8287
|
/**
|
|
8199
8288
|
* Apply a different layout to an existing slide.
|
|
8200
8289
|
*
|
|
@@ -12652,4 +12741,4 @@ type ThemePresetName = keyof typeof ThemePresets;
|
|
|
12652
12741
|
/** Get a theme preset by name string. */
|
|
12653
12742
|
declare function getThemePreset(name: ThemePresetName): ThemePreset;
|
|
12654
12743
|
|
|
12655
|
-
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 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, 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, 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 };
|