import { $ as PptxThemeFontScheme, $a as EffectDagBlend, $i as PptxChartRegionMapOptions, $n as ParsedTableStyleText, $r as PptxSmartArtNumericRule, $t as PptxAnimScaleBehavior, A as PptxNormalViewProperties, Aa as PptxChartDataPointPicture, Ai as PptxChartDataLabelOptions, An as PptxElementWithShapeStyle, Ao as ActionButtonPreset, Ar as PptxSmartArtNode, At as PptxAnimationPreset, B as PptxStripDirection, Ba as TextOrientationMatrix, Bi as PptxChartErrValType, Bn as TextPptxElement, Br as PptxSmartArtForEach, Bt as PptxGraphicBuild, C as PptxSlide, Ca as PptxChartPageMargins, Ci as PptxChartAxisNumFmt, Cn as Model3DPptxElement, Co as ConnectorConnectionPoint, Cr as PptxSmartArtDefinitionMetadata, Ct as PptxAfterAnimationAction, D as PptxSmartTagsReference, Da as PptxChartPivotSource, Di as PptxChartChrome, Dn as PptxAccessibilityProperties, Do as StrokeDashType, Dr as PptxSmartArtQuickStyleLabel, Dt as PptxAnimationIterate, E as PptxSlideSyncProperties, Ea as PptxChartPrintSettings, Ei as PptxChartBoxWhiskerOptions, En as PicturePptxElement, Eo as ShadowEffect, Er as PptxSmartArtQuickStyle, Et as PptxAnimationGraphicElementTarget, F as PptxViewScale, Fa as PlaceholderTextLevelStyle, Fi as PptxChartDateCategories, Fn as PptxPictureNonVisualProperties, Fr as SmartArtNodeCustomLayout, Ft as PptxAnimationTimingCurve, G as TRANSITION_PATTERN_OPTIONS, Ga as ShapeStyle, Gi as PptxChartLegendEntry, Gn as ParsedTableStyleBorders, Gr as PptxSmartArtLocalizedText, Gt as PptxSetAnimation, H as PptxTransitionDirection8, Ha as TextStyle, Hi as PptxChartGradientFill, Hn as ZoomPptxElement, Hr as PptxSmartArtLayoutAlgorithm, Ht as PptxMediaBookmarkTarget, I as PptxMorphOption, Ia as PptxElementBase, Ii as PptxChartDisplayUnitsLabel, In as ShapePptxElement, Ir as PptxSmartArtLayoutDefinition, It as PptxAnimationTrigger, J as PptxTheme, Ja as Pptx3DScene, Ji as PptxChartManualLayout, Jn as ParsedTableStyleGradient, Jr as PptxSmartArtConstraint, Jt as PptxTimingTemplate, K as TRANSITION_THRUBLK_TYPES, Ka as BevelPresetType, Ki as PptxChartLegendTextStyle, Kn as ParsedTableStyleEntry, Kr as PptxSmartArtShapeAdjustment, Kt as PptxTextAnimationTarget, L as PptxSlideTransition, La as PptxShapeProperties, Li as PptxChartErrBarDir, Ln as SmartArtPptxElement, Lr as PptxSmartArtLayoutNode, Lt as PptxAttributeAnimation, M as PptxViewGuide, Ma as PptxChartAxisLabelFormatting, Mi as PptxChartDataLabelsRange, Mn as PptxGraphicFrameExtension, Mo as ElementActionType, Mr as PptxSmartArtTextParagraph, Mt as PptxAnimationSequence, N as PptxViewOrigin, Na as PptxChartTickMark, Ni as PptxChartDataPoint, Nn as PptxImageLikeElement, No as PptxAction, Nr as PptxSmartArtTextParagraphItem, Nt as PptxAnimationTarget, O as PptxCommonSlideViewProperties, Oa as PptxChartPivotFormat, Oi as PptxChartData, On as PptxElement, Oo as UnderlineStyle, Or as PptxSmartArtResolvedStyleRef, Ot as PptxAnimationKeyframe, P as PptxViewProperties, Pa as PlaceholderDefaults, Pi as PptxChartDataTable, Pn as PptxNonVisualDescription, Pr as PptxSmartArtTextRun, Pt as PptxAnimationTimelineAnchor, Q as PptxThemeFontGroup, Qa as EffectDagAlphaOutset, Qi as PptxChartParentLabelLayout, Qn as ParsedTableStylePattern, Qr as PptxSmartArtConstraintTarget, Qt as PptxAnimRotBehavior, R as PptxSplitDirection, Ra as PptxTextProperties, Ri as PptxChartErrBarType, Rn as SummaryZoomTarget, Rr as PptxSmartArtAlgorithmParameter, Rt as PptxColorAnimation, S as PptxSection, Sa as PptxChartProtection, Si as PptxChartAxisFormatting, Sn as MediaPptxElement, So as ConnectorArrowType, Sr as PptxSmartArtDefinitionCategory, St as AnimationConditionEvent, T as PptxSlideSize, Ta as PptxChartPrintHeaderFooter, Ti as PptxChartBarDirection, Tn as OlePptxElement, To as PptxShapeLocks, Tr as PptxSmartArtHueDirection, Tt as PptxAnimationEffectFilter, U as PptxTransitionSpeed, Ua as PptxCustomDashSegment, Ui as PptxChartHistogramOptions, Un as ParsedTableBackground, Ur as PptxSmartArtLayoutCategory, Ut as PptxNativeAnimation, V as PptxTransitionDirection4, Va as TextSegment, Vi as PptxChartFilteredSeries, Vn as UnknownPptxElement, Vr as PptxSmartArtIteratorAttributes, Vt as PptxHslColorDelta, W as PptxTransitionType, Wa as ResolvedStyleMatrix, Wi as PptxChartLayouts, Wn as ParsedTableStyleBorder, Wr as PptxSmartArtLayoutNodeShape, Wt as PptxNativeAnimationKind, X as PptxThemeEffectStyle, Xa as PptxTextWarpPreset, Xi as PptxChartMarkerSymbol, Xn as ParsedTableStyleImage, Xr as PptxSmartArtConstraintPointType, Xt as PptxAnimEffectBehavior, Y as PptxThemeColorScheme, Ya as Pptx3DShape, Yi as PptxChartMarker, Yn as ParsedTableStyleGradientStop, Yr as PptxSmartArtConstraintOperator, Yt as PptxAnimBehavior, Z as PptxThemeFillStyle, Za as Text3DStyle, Zi as PptxChartOfPieOptions, Zn as ParsedTableStyleMap, Zr as PptxSmartArtConstraintRelationship, Zt as PptxAnimMotionBehavior, _ as PptxLayoutOption, _a as PptxChartUserShapeGroupTransform, _i as PptxImagePrerenderedCorrections, _n as ContentPartInkStroke, _o as CustomGeometryRawData, _r as SmartArtStyle, _t as PptxEmbeddedFontDataId, a as MergeOptions, aa as PptxChartTrendline, ai as Model3DTransformData, an as PptxHandoutMaster, ao as EffectDagPresetShadow, ar as PptxTableRow, at as PptxPrintColorMode, b as PptxPhotoAlbum, ba as PptxChartStyleDefinition, bi as PptxBubbleChartOptions, bn as ImagePptxElement, bo as GeometryAdjustmentHandle, br as PptxSmartArtColorStyleLabel, bt as PptxEmbeddedFontListEntry, c as PptxCustomShow, ca as PptxChartType, ci as MediaCaptionTrack, cn as PptxMasterTextStyles, co as EffectDagXfrm, cr as ParsedTableStyleEffect, ct as PptxComment, d as PptxData, da as PptxChartWaterfallOptions, di as PptxMediaReferenceKind, dn as PptxSlideLayout, do as THEME_COLOR_PALETTE_COLUMNS, dr as PptxSmartArtData, dt as PptxCoreProperties, ea as PptxChartScatterStyle, ei as PptxSmartArtChrome, en as PptxAnimationBehavior, eo as EffectDagBlendMode, er as PptxTableCell, et as PptxThemeFormatScheme, f as PptxEmbeddedFont, fa as PptxCxValueColorPosition, fi as PptxMediaType, fn as PptxSlideMaster, fo as AdjustHandlePolar, fr as PptxSmartArtDrawingShape, ft as PptxCustomProperty, g as PptxKinsoku, ga as PptxChartUserShapeGroupChild, gi as PptxImageEffects, gn as ConnectorPptxElement, go as CustomGeometryPoint, gr as SmartArtLayoutType, gt as PptxCommentMention, h as PptxHeaderFooter, ha as PptxChartUserShape, hi as PptxCropShape, hn as ChartPptxElement, ho as CustomGeometryPath, hr as SmartArtLayout, ht as PptxTagCollection, i as replaceTextInSlide, ia as PptxChartTreemapOptions, ii as Model3DSceneData, in as MasterViewTab, io as EffectDagNode, ir as PptxTableData, it as PptxPresentationPrintProperties, j as PptxRestoredRegion, ja as PptxChartPictureFormat, ji as PptxChartDataLabelPosition, jn as PptxElementWithText, jo as ElementAction, jr as PptxSmartArtNodeStyle, jt as PptxAnimationRepeatMode, k as PptxGridSpacing, ka as PptxChartPivotFormats, ki as PptxChartDataLabel, kn as PptxElementType, ko as XmlObject, kr as SmartArtRoleColorList, kt as PptxAnimationOleChartElementTarget, l as PptxCustomXmlPart, la as PptxChartUpDownBars, li as MediaMetadata, ln as PptxNotesMaster, lo as PptxThemeColorRef, lr as TableStyleSectionPatch, lt as PptxCommentAuthor, m as PptxExportOptions, ma as PptxExternalData, mi as PptxBackgroundRemovalMark, mn as PptxThemeOption, mo as ConnectionSite, mr as SmartArtColorScheme, mt as PptxTag, n as findText, na as PptxChartShapeProps, ni as Model3DCamera, nn as PptxBehaviorPoint, no as EffectDagContainer, nr as PptxTableCellStyle, nt as PptxThemeObjectDefaults, o as mergePresentation, oa as PptxChartTrendlineLabel, oi as Model3DVec3, on as PptxHeaderFooterFlags, oo as EffectDagRawLeaf, or as CreateTableStyleOptions, ot as PptxPrintOutput, p as PptxExportFormat, pa as PptxEmbeddedWorkbookData, pi as PptxBackgroundRemoval, pn as PptxTextStyleLevels, po as AdjustHandleXY, pr as PptxSmartArtPresLayoutVars, pt as PptxModernCommentAuthor, q as TRANSITION_VALID_DIRECTIONS, qa as MaterialPresetType, qi as PptxChartLineStyle, qn as ParsedTableStyleFill, qr as PptxSmartArtWhen, qt as PptxTextBuildType, r as replaceText, ra as PptxChartStyle, ri as Model3DLightData, rn as PptxSetBehavior, ro as EffectDagContainerType, rr as PptxTableCellTextRun, rt as THEME_COLOR_SCHEME_KEYS, s as PptxActiveXControl, sa as PptxChartTrendlineType, si as MediaBookmark, sn as PptxLayoutPreview, so as EffectDagRelOff, sr as ParsedTableFillRef, st as PptxAppProperties, t as FindResult, ta as PptxChartSeries, ti as PptxSmartArtRawBackgroundFill, tn as PptxAnimationBehaviorTiming, to as EffectDagBlur, tr as PptxTableCell3D, tt as PptxThemeLineStyle, u as PptxCustomerData, ua as PptxChartView3D, ui as PptxAudioCdPosition, un as PptxPlaceholderFrame, uo as PptxThemeColorSchemeName, ur as PptxSmartArtConnection, ut as PptxCompatibilityWarning, v as PptxModernCommentPart, va as PptxChartUserShapeParagraph, vi as PptxImageProperties, vn as ContentPartPptxElement, vo as CustomGeometrySegment, vr as PptxSmartArtColorApplicationMethod, vt as PptxEmbeddedFontDescriptor, w as PptxSlideBackgroundPattern, wa as PptxChartPageSetup, wi as PptxChartBandFmt, wn as OleObjectType, wo as PptxDrawingGuide, wr as PptxSmartArtDefinitionText, wt as PptxAnimationDirection, x as PptxPresentationProperties, xa as PptxChartStylePartEntry, xi as PptxChart3DSurface, xn as InkPptxElement, xo as PptxCustomPathProperties, xr as PptxSmartArtColorTransform, xt as AnimationCondition, y as PptxModifyVerifier, ya as PptxChartTitleRun, yi as PptxBar3DShape, yn as GroupPptxElement, yo as CustomGeometryTextRect, yr as PptxSmartArtColorListMetadata, yt as PptxEmbeddedFontList, z as PptxSplitOrientation, za as BulletInfo, zi as PptxChartErrBars, zn as TablePptxElement, zr as PptxSmartArtChoose, zt as PptxElementAnimation } from "./chunks/text-operations-IlJiffp7.js"; import { $ as duplicateLayout, $i as StrokeInput, $n as convertMetafileToDataUrl, $r as PptxNativeAnimationService, $t as PptxShapeStyleExtractorContext, A as SlideProcessor, Ai as PptxSlideBuilder, An as buildSlideReferenceRemap, Ar as DiagramRelationshipIds, At as PptxElementXmlBuilderOptions, B as generateMediaFilename, Bi as ChartInput, Bn as PptxPresentationSaveBuilder, Br as PptxRuntimeDependencyFactoryInput, Bt as PptxBuilderFactoryContext, C as PptxJsonAssetStats, Ci as IPptxHandlerRuntime, Cn as PptxCommentAuthorsXmlFactoryInit, Cr as parseSignatureXml, Ct as diffSlides, D as SvgExportOptions, Di as PptxSaveFormat, Dn as PptxSlideRelationshipRegistry, Dr as EncryptionOptions, Dt as createAutoNumberSequence, E as isPptxJsonText, Ei as PptxHandlerSaveOptions, En as PptxSlideCommentRelationshipInfo, Er as EncryptionInfo, Et as breakAutoNumberRun, F as deriveOutputPath, Fi as PresentationBuilderResult, Fn as PptxSaveMediaKind, Fr as applySections, Ft as IPptxXmlFactoryProvider, G as DuplicateMasterSuccess, Gi as FillInput, Gn as PptxContentTypesSlideMediaBuildInput, Gr as PRESET_TO_OOXML, Gt as IPptxMediaDataParser, H as ConversionResult, Hi as ChartSeriesInput, Hn as IPptxContentTypesBuilder, Hr as OOXML_TO_PRESET_EMPH, Ht as IPptxGraphicFrameParser, I as getDirectory, Ii as buildBlankPresentationArchive, In as PptxSaveState, Ir as parseCustomShows, It as ITextShapeXmlFactory, J as insertSlideMaster, Ji as MediaOptions, Jn as PptxConnectorParserContext, Jr as OoxmlPresetMapping, Jt as IPptxTableDataParser, K as deleteSlideMaster, Ki as GroupOptions, Kn as IPptxConnectorParser, Kr as ooxmlToPresetName, Kt as PptxMediaDataParser, L as normalizePath, Li as SlideBuilder, Ln as PptxSaveStateBuilder, Lr as IPptxRuntimeDependencyFactory, Lt as IXmlElementFactory, M as PptxConverterOptions, Mi as PptxSlideNotesBuilder, Mn as PptxPresentationSlidesReconciler, Mr as parseDiagramRelationshipIds, Mt as IConnectorXmlFactory, N as PptxMarkdownConverter, Ni as PptxXmlBuilder, Nn as PptxPresentationSlidesReconcilerInput, Nr as PptxSlideReferenceRemap, Nt as IMediaGraphicFrameXmlFactory, O as SvgExporter, Oi as ZipBombError, On as PptxSlideRelationshipRegistryOptions, Or as EncryptionScheme, Ot as nextAutoNumber, P as DocumentConverter, Pi as PresentationBuilder, Pn as PptxCommentAuthorDescriptor, Pr as applyCustomShows, Pt as IPictureXmlFactory, Q as deleteLayout, Qi as ShapeOptions, Qn as IFactory, Qr as IPptxNativeAnimationService, Qt as PptxShapeStyleExtractor, R as MediaContext, Ri as AnimationInput, Rn as IPptxPresentationSaveBuilder, Rr as PptxRuntimeDependencyBundle, Rt as MediaGraphicFrameXmlFactoryInit, S as PPTX_JSON_VERSION, Si as DEFAULT_MAX_UNCOMPRESSED_BYTES, Sn as IPptxSlideCommentsXmlFactory, Sr as getSignaturePathsToStrip, St as diffPresentations, T as decodePptxJsonText, Ti as PptxHandlerLoadOptions, Tn as IPptxSlideRelationshipRegistry, Tr as EncryptionAlgorithm, Tt as PptxHandlerRuntime, U as FileSystemAdapter, Ui as ConnectorOptions, Un as PptxContentTypesBuilder, Ur as OOXML_TO_PRESET_ENTR, Ut as PptxGraphicFrameParser, V as ConversionOptions, Vi as ChartOptions, Vn as PptxPresentationSaveBuilderOptions, Vr as IPptxAnimationWriteService, Vt as TextShapeXmlFactoryInit, W as DuplicateMasterResult, Wi as ElementPosition, Wn as PptxContentTypesCommentBuildInput, Wr as OOXML_TO_PRESET_EXIT, Wt as PptxGraphicFrameParserContext, X as DuplicateLayoutResult, Xi as PresentationThemeInput, Xn as PptxSaveConstantsFactory, Xr as PptxSlideTransitionService, Xt as PptxTableDataParserContext, Y as renameSlideMaster, Yi as PresentationOptions, Yn as PptxSaveConstants, Yr as IPptxSlideTransitionService, Yt as PptxTableDataParser, Z as DuplicateLayoutSuccess, Zi as ShadowInput, Zn as createPptxSaveConstants, Zr as PptxSlideTransitionServiceOptions, Zt as IPptxShapeStyleExtractor, _i as IPptxCompatibilityService, _n as PptxCommentAuthorsXmlFactory, _r as SignatureCertificateInfo, _t as TemplateData, a as deserializePptxFromJson, aa as TextSegmentInput, ai as PptxSlideLoaderService, an as PptxSlideBackgroundBuilderInput, ar as detectStrictConformance, at as LayoutCreationResult, b as PPTX_JSON_FORMAT, bi as PptxHandlerRuntimeFactory, bn as IPptxCommentAuthorsXmlFactory, br as SignatureStatus, bt as PropertyChange, c as pptxDataFromJsonDocument, ca as ChartGradientInput, ci as PptxMediaTimingMap, cn as PptxSlideNotesPartUpdaterInput, cr as normalizeNamespaceUri, ct as createLayout, d as serializePptxToJson, da as PptxThemePreset, di as PptxSlideNotesResult, dn as IPptxElementTransformUpdater, dr as AlternateContentBlock, dt as findLayoutByType, ea as TableCellInput, ei as IPptxEditorAnimationService, en as IPptxColorStyleCodec, er as ResolveChartColor, et as insertLayout, f as PRESENTATION_FIELD_KEYS, fa as THEME_PRESETS, fi as IPptxTemplateBackgroundService, fn as PptxElementTransformUpdater, fr as SHAPE_TREE_ELEMENT_TAGS, ft as generateLayoutXml, gi as CompatibilityWarningInput, gn as PptxCommentXmlFactoryProvider, gr as ParsedSignature, gt as mailMerge, hi as PptxDocumentPropertiesUpdater, hn as PptxSlideCommentPartWriterInput, hr as unwrapAlternateContent, ht as findPlaceholders, i as PptxJsonFormatError, ia as TextOptions, ii as PptxXmlLookupService, in as PptxSlideBackgroundBuilder, ir as convertXmlToStrict, it as MasterLayoutCrudSuccess, j as SlideProcessorOptions, ji as PptxSlideElementsBuilder, jn as IPptxPresentationSlidesReconciler, jr as applyDiagramRelationshipIds, jt as ConnectorXmlFactoryInit, ki as IPptxXmlBuilder, kn as SlideReferenceRemapInput, kr as StandardEncryptionInfo, kt as PptxElementXmlBuilder, l as PptxJsonSerializeOptions, la as ChartGradientStopInput, li as PptxSlideLoaderParams, ln as IPptxSlideMediaRelationshipBuilder, lr as normalizeStrictXml, lt as createLayouts, mi as PptxTemplateBackgroundState, mn as PptxSlideCommentPartWriter, mr as selectAlternateContentBranch, mt as applyTemplate, n as PptxJsonConverterOptions, na as TableOptions, ni as PptxEditorAnimationServiceOptions, nn as PptxColorStyleCodecContext, nr as OoxmlConformanceClass, nt as MasterLayoutCrudFailure, o as parsePptxJson, oa as TextStyleInput, oi as IPptxSlideLoaderService, on as IPptxSlideNotesPartUpdater, or as isStrictNamespaceUri, ot as LayoutDefinition, p as PRESENTATION_FIELD_NAMES, pi as PptxTemplateBackgroundService, pn as IPptxSlideCommentPartWriter, pr as reapplyAlternateContentToTree, pt as Presentation, q as duplicateSlideMaster, qi as ImageOptions, qn as PptxConnectorParser, qr as resolveOoxmlPresetMapping, qt as PptxMediaDataParserContext, r as applyImportedPptxData, ra as TableRowInput, ri as IPptxXmlLookupService, rn as IPptxSlideBackgroundBuilder, rr as containsConvertibleStrictNamespaceAttribute, rt as MasterLayoutCrudResult, s as parsePptxJsonDocument, sa as TransitionInput, si as PptxMediaTimingEntry, sn as PptxSlideNotesPartUpdater, sr as isTransitionalNamespaceUri, st as PlaceholderDefinition, t as PptxJsonConverter, ta as TableInput, ti as PptxEditorAnimationService, tn as PptxColorStyleCodec, tr as parsePresentationSmartTags, tt as renameLayout, u as buildPptxJsonDocument, ua as toChartGradientFill, ui as PptxSlideLoaderThemeOverride, un as PptxSlideMediaRelationshipBuilder, ur as toStrictNamespaceUri, ut as findLayoutByName, vi as PptxCompatibilityService, vn as PptxSlideCommentsXmlFactory, vr as SignatureDetectionResult, vt as ElementDiff, w as PptxJsonDocument, wi as MAX_ZIP_ENTRY_COUNT, wn as PptxSlideCommentsXmlFactoryInit, wr as verifySignatureDigests, wt as PptxHandler, x as PPTX_JSON_MIME_TYPE, xi as createDefaultPptxHandlerRuntime, xn as IPptxCommentXmlFactoryProvider, xr as detectDigitalSignatures, xt as SlideDiff, y as PPTX_JSON_FILE_EXTENSION, yi as IPptxHandlerRuntimeFactory, yn as ICoreXmlElementFactory, yr as SignatureReference, yt as PresentationDiff, z as dataUrlToMediaBytes, zi as BackgroundInput, zn as PptxPresentationSaveBuildInput, zr as PptxRuntimeDependencyFactory, zt as PictureXmlFactoryInit } from "./chunks/index-CojJtI77.js"; import { A as DIGITAL_SIGNATURE_REL_TYPE, B as XML_TRANSFORM_ENVELOPED_SIGNATURE, C as SignatureDetailStatus, D as DIGEST_ALGORITHM_TO_HASH, E as TimestampAuthorityStatus, F as ENTERPRISE_TRUST_ROOTS_PEM_ENV, I as OPC_RELATIONSHIP_TRANSFORM, L as PPTX_VIEWER_MANIFEST_NS, M as ENTERPRISE_REQUIRE_REVOCATION_ENV, N as ENTERPRISE_REQUIRE_TIMESTAMP_ENV, O as DIGEST_ALGORITHM_TO_WEB_CRYPTO, P as ENTERPRISE_TRUST_ROOTS_FILE_ENV, R as SUPPORTED_XML_CANON_TRANSFORMS, S as SignatureDetail, T as SignatureValidationPolicy, _ as ParsedReferenceTransform, a as resolveReferenceUriToPart, b as SignResult, c as extractAllTagText, d as isValidBase64, f as CertificateRevocationStatus, g as OfficeSignatureReference, h as LoadedSigningMaterial, i as normalizePartPath, j as ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, k as DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, l as extractFirstTagText, m as DigitalSignatureVerificationStatus, n as computeVerificationStatus, o as escapeXmlAttr, p as DigitalSignatureReport, r as computeDigestBase64, s as escapeXmlText, t as computeDetailStatus, u as extractTagAttribute, v as ReferenceTransformResult, w as SignatureReferenceCheck, x as SignatureCertificateInfo$1, y as SignOptions, z as XMLDSIG_NS } from "./chunks/signature-inspection-status-Bh2oap7B.js"; //#region src/pptx/core/types/smart-art-definition-header.d.ts /** The three DiagramML definition-header catalog families. */ type PptxSmartArtDefinitionHeaderKind = 'layout' | 'style' | 'color'; /** Localized CT_Name/CT_Description value. */ interface PptxSmartArtHeaderText { value: string; language?: string; /** Original element retained for foreign attribute preservation. */ rawXml?: XmlObject; } /** CT_Category, CT_SDCategory, or CT_CTCategory metadata. */ interface PptxSmartArtHeaderCategory { type: string; priority: number; /** Original element retained for foreign attribute preservation. */ rawXml?: XmlObject; } /** Typed common model for the three DiagramML definition header types. */ interface PptxSmartArtDefinitionHeader { uniqueId: string; minimumVersion?: string; /** CT_DiagramDefinitionHeader only. */ defaultStyle?: string; resourceId?: number; titles: PptxSmartArtHeaderText[]; descriptions: PptxSmartArtHeaderText[]; categories?: PptxSmartArtHeaderCategory[]; /** Original header retained for extension and foreign markup preservation. */ rawXml?: XmlObject; } /** A layoutDefHdrLst, styleDefHdrLst, or colorsDefHdrLst root. */ interface PptxSmartArtDefinitionHeaderList { kind: PptxSmartArtDefinitionHeaderKind; headers: PptxSmartArtDefinitionHeader[]; /** Original list root retained for namespace and foreign markup preservation. */ rawXml?: XmlObject; } /** OPC metadata for an actual DiagramML definition part. */ interface PptxSmartArtDefinitionPartDescriptor { kind: PptxSmartArtDefinitionHeaderKind; contentType: string; relationshipType: string; rootElement: 'layoutDef' | 'styleDef' | 'colorsDef'; targetName: 'layout' | 'quickStyle' | 'colors'; } //#endregion //#region src/pptx/core/types/type-guards.d.ts /** * Narrows a {@link PptxElement} to {@link TextPptxElement}. * * @param element - Any PPTX element. * @returns `true` when `element.type === "text"`. * * @example * ```ts * if (isTextElement(el)) { * // => true when el.type === "text" * console.log(el.text, el.textSegments); * } * ``` */ export declare function isTextElement(element: PptxElement): element is TextPptxElement; /** * Narrows a {@link PptxElement} to {@link ShapePptxElement}. * * @param element - Any PPTX element. * @returns `true` when `element.type === "shape"`. * * @example * ```ts * if (isShapeElement(el)) { * // => true when el.type === "shape" * console.log(el.shapeType, el.shapeStyle); * } * ``` */ export declare function isShapeElement(element: PptxElement): element is ShapePptxElement; /** * Narrows a {@link PptxElement} to {@link ConnectorPptxElement}. * * @param element - Any PPTX element. * @returns `true` when `element.type === "connector"`. * * @example * ```ts * if (isConnectorElement(el)) { * // => true when el.type === "connector" * console.log(el.connectionStart, el.connectionEnd); * } * ``` */ export declare function isConnectorElement(element: PptxElement): element is ConnectorPptxElement; /** * Narrows a {@link PptxElement} to {@link PptxImageLikeElement} * (image or picture). * * @param element - Any PPTX element. * @returns `true` when `element.type` is `"image"` or `"picture"`. * * @example * ```ts * if (isImageLikeElement(el)) { * // => true when el.type === "image" or "picture" * console.log(el.imagePath, el.altText); * } * ``` */ export declare function isImageLikeElement(element: PptxElement): element is PptxImageLikeElement; /** * Narrows a {@link PptxElement} to {@link InkPptxElement}. * * @param element - Any PPTX element. * @returns `true` when `element.type === "ink"`. * * @example * ```ts * if (isInkElement(el)) { * // => true when el.type === "ink" * console.log(el.inkSvg); * } * ``` */ export declare function isInkElement(element: PptxElement): element is InkPptxElement; /** * Narrows a {@link PptxElement} to {@link ZoomPptxElement}. * * @param element - Any PPTX element. * @returns `true` when `element.type === "zoom"`. * * @example * ```ts * if (isZoomElement(el)) { * // => true when el.type === "zoom" * console.log(el.zoomType, el.targetSlideIndex); * } * ``` */ export declare function isZoomElement(element: PptxElement): element is ZoomPptxElement; /** * Narrows to elements that have `text`, `textStyle`, and `textSegments` * properties (text, shape, or connector elements). * * @param element - Any PPTX element. * @returns `true` when the element carries text properties. * * @example * ```ts * if (hasTextProperties(el)) { * // => true for text, shape, or connector elements * console.log(el.text, el.textStyle, el.textSegments); * } * ``` */ export declare function hasTextProperties(element: PptxElement): element is PptxElementWithText; /** * Narrows to elements that have `shapeStyle`, `shapeType`, and * `shapeAdjustments` properties (text, shape, connector, image, or picture). * * @param element - Any PPTX element. * @returns `true` when the element carries shape-style properties. * * @example * ```ts * if (hasShapeProperties(el)) { * // => true for text, shape, connector, image, or picture elements * console.log(el.shapeStyle, el.shapeType); * } * ``` */ export declare function hasShapeProperties(element: PptxElement): element is PptxElementWithShapeStyle; //#endregion //#region src/pptx/core/types/collaboration-field-schema.d.ts /** Union of every key present on any `PptxElement` variant (not just the common base). */ type AnyElementKey = PptxElement extends (infer E) ? (E extends object ? keyof E : never) : never; /** * How a codec should carry a field across the wire: * - `scalar`: primitive-ish value written/read as-is (`ymap.set(key, value)`). * - `complex`: structured value serialized as a JSON-string blob. * - `asset`: binary/base64 payload that a live-collaboration transport * should route through a separate asset map instead of embedding inline * (see `pptx-viewer-shared`'s `collaboration-assets.ts`); a full-file * codec like `pptx-codec.ts` may still embed it as a JSON blob. * - `text`: rich text handled via a dedicated `Y.Text`/delta codec, not the * scalar/complex JSON path. * - `nested`: a nested collection (e.g. a slide's `elements`) built as its * own Y.Array of Y.Maps via the same codec, not a JSON blob. */ export type CollabFieldKind = 'scalar' | 'complex' | 'asset' | 'text' | 'nested'; export declare const ELEMENT_FIELD_KIND: Record; export declare const SLIDE_FIELD_KIND: Record; //#endregion //#region src/pptx/core/services/animation-target-reconcile.d.ts /** * Reconcile a slide's animation target references against its elements. * * Mutates `element.shapeId`, and mutates the animation arrays' shape-reference * fields in place, rewriting native cNvPr ids to positional `element.id`s. */ export declare function reconcileAnimationTargets(elements: readonly PptxElement[], nativeAnimations: PptxNativeAnimation[] | undefined, editorAnimations: PptxElementAnimation[] | undefined, timelineAnchors?: PptxAnimationTimelineAnchor[]): void; //#endregion //#region src/pptx/core/services/animation-shape-id-assign.d.ts /** * Remap a slide's editor animations so their shape references use native cNvPr * ids. Mutates `element.shapeId` for elements that need a freshly minted id. * * @param elements - The slide's elements (group children are traversed). * @param animations - Editor animations keyed by positional `element.id`. * @param reservedMaxId - Largest cNvPr id already reserved elsewhere in the * slide's shape tree (e.g. the implicit `` group's own * `p:cNvPr/@id`, conventionally `1`). Freshly minted ids start above both * this and any existing element `shapeId`, so a minted id can never * collide with a reserved id and survive the save-side id validator. * @returns A new animation array with `elementId` / `triggerShapeId` rewritten * to native cNvPr ids where the target element could be resolved. */ export declare function remapEditorAnimationsToShapeIds(elements: readonly PptxElement[], animations: readonly PptxElementAnimation[], reservedMaxId?: number): PptxElementAnimation[]; //#endregion //#region src/pptx/core/services/connector-shape-id-assign.d.ts /** * Assign missing native identities before any shape is serialized, then map * runtime references without changing the canvas model's connector bindings. * Allocating only targets lets an earlier unreferenced shape take their IDs. */ export declare function resolveConnectorShapeIds(elements: readonly PptxElement[], reservedMaxId: number): Map; /** Update only represented connector bindings, leaving unknown native endpoint data alone. */ export declare function applyConnectorShapeIds(shape: XmlObject, element: PptxElement, nativeIds: ReadonlyMap): void; //#endregion //#region src/pptx/core/services/animation-sound-merge.d.ts export declare function mergeNativeSoundIntoEditorAnimations(nativeAnimations: readonly PptxNativeAnimation[] | undefined, editorAnimations: readonly PptxElementAnimation[] | undefined): void; //#endregion //#region src/pptx/core/services/animation-write-mappings-motion.d.ts /** Maps editor timing curve to OOXML animation formula filter values. */ export declare function timingCurveToAccelDecel(curve: string | undefined): { accel: number; decel: number; }; //#endregion //#region src/pptx/core/services/PptxAnimationWriteService.d.ts /** * Service that serializes `PptxElementAnimation[]` into valid OOXML * `p:timing` XML structures for writing back to .pptx files. */ export declare class PptxAnimationWriteService implements IPptxAnimationWriteService { private nextId; /** * Build a complete `p:timing` XML object from editor animations. * * When `existingRawTiming` is provided, performs surgical updates on * the existing timing tree rather than regenerating it. This preserves * complex structures (endCondLst, nested sequences, etc.) that would * be destroyed by a full rebuild. * * Falls back to full regeneration when no existing tree is available. */ buildTimingXml(animations: PptxElementAnimation[], existingRawTiming: XmlObject | undefined): XmlObject | undefined; /** * Build animation sequence nodes -- each onClick trigger starts a new * click-group (p:par container), while afterPrevious/withPrevious * animations are nested within the current group. */ private buildAnimationSequence; private buildEffectNodesForAnimation; private allocateId; } //#endregion //#region src/pptx/core/services/animation-timing-surgical-behaviors.d.ts /** * The presetSubtype PowerPoint writes for `direction` on this preset: the * editor's direction when the preset has that variant, else the preset's * default (never a code PowerPoint would not write, like a diagonal Wipe). */ export declare function resolveDirectionSubtype(mapping: OoxmlPresetMapping, direction: PptxElementAnimation['direction']): number; //#endregion //#region src/pptx/core/services/animation-behavior-captured.d.ts /** A typed OOXML value (`p:strVal` / `p:fltVal` / ... / `p:clrVal`). */ interface CapturedValue { t: 'str' | 'flt' | 'int' | 'bool' | 'clr'; v: string; /** Colour element name for `t: 'clr'` (`schemeClr`, `srgbClr`). */ kind?: string; } /** One `p:tav` stop. */ interface CapturedTav { tm: string; fmla?: string; val?: CapturedValue; } /** One behaviour child of an effect's `p:childTnLst`, as PowerPoint wrote it. */ interface CapturedBehaviorNode { tag: 'set' | 'anim' | 'animEffect' | 'animScale' | 'animRot' | 'animMotion' | 'animClr'; /** Duration as a fraction of the preset duration. */ dur?: number; /** Absolute duration in ms (PowerPoint's 1 ms discrete toggles). */ absDurMs?: number; /** Start offset as a fraction of the preset duration. */ delay?: number; /** Start offset measured back from the effect's end (an exit's closing 1 ms toggle). */ delayFromEndMs?: number; /** Remaining `p:cTn` attributes (`fill`, `accel`, `decel`, `autoRev`, `tmFilter`...). */ ctn?: Record; /** `p:cBhvr` attributes (`additive`, `override`...). */ bhvr?: Record; /** `p:attrNameLst` entries. */ names?: string[]; /** The behaviour element's own attributes (`filter`, `from`, `by`, `path`...). */ attrs?: Record; /** `p:set/p:to`. */ setTo?: CapturedValue; /** `p:animEffect/p:progress`. */ progress?: CapturedValue; tav?: CapturedTav[]; /** `p:animScale` / `p:animMotion` `from`/`to`/`by` points. */ scale?: Partial>; } /** One preset id's capture: its trees and which subtype uses which tree. */ interface CapturedPreset { /** PowerPoint's default duration for the preset (what "fraction 1" means). */ durMs: number; /** The subtype `AddEffect` picks when no direction is set. */ defaultSubtype: number; /** Effect-level `accel`/`decel` PowerPoint writes on the preset's own `p:cTn`. */ effect?: { accel?: string; decel?: string; }; /** The preset's default `p:iterate` (e.g. Color Typewriter animates by letter). */ iterate?: { type: string; tmPct?: number; }; trees: CapturedBehaviorNode[][]; /** presetSubtype -> index into `trees`. */ subtypes: Record; } /** The captured preset for an entrance/exit id, or `undefined` when PowerPoint has none. */ export declare function getCapturedPreset(presetClass: 'entr' | 'exit', presetId: number): CapturedPreset | undefined; /** Every captured preset id for a class, ascending. */ export declare function capturedPresetIds(presetClass: 'entr' | 'exit'): number[]; /** The presetSubtypes PowerPoint accepted for a preset, in capture order. */ export declare function capturedSubtypes(presetClass: 'entr' | 'exit', presetId: number): number[]; /** * The tree PowerPoint writes for `(class, id, subtype)`. An unknown subtype * falls back to the preset's default subtype, never to a different preset. */ export declare function getCapturedTree(presetClass: 'entr' | 'exit', presetId: number, presetSubtype: number | undefined): { preset: CapturedPreset; subtype: number; nodes: CapturedBehaviorNode[]; } | undefined; //#endregion //#region src/pptx/core/services/animation-behavior-native.d.ts /** * The native animation PowerPoint's own tree for `(class, id, subtype)` * parses to, at `durationMs`. `undefined` when PowerPoint has no such * preset. Results are cached per key; callers get a fresh shallow copy. */ export declare function capturedPresetNativeAnimation(presetClass: 'entr' | 'exit', presetId: number, presetSubtype: number | undefined, durationMs?: number): PptxNativeAnimation | undefined; //#endregion //#region src/pptx/core/services/animation-after-effect-write.d.ts /** * Apply (or clear) PowerPoint's genuine "after animation" behaviour * (dim-to-colour, hide-after-animation, hide-on-next-click) as a `p:subTnLst` * sibling of the effect's own `p:childTnLst` (ECMA-376 S19.5.4 * CT_TLCommonBehaviorData's optional "child style" sub-timing list). * * Only entrance/emphasis effects carry this (an exit effect already ends by * hiding, and a motion path has no after-state); callers gate on * `presetClass` before calling this. * * COM-measured against PowerPoint 2016 (2026-09-06) via the legacy, * WRITABLE `Shape.AnimationSettings` object model (`.Animate`, * `.EntryEffect`, `.AfterEffect`, `.DimColor`): PowerPoint up-converts those * settings into a real `p:timing` tree on save, which is the only way to get * a genuine reference shape, since the modern `Effect.EffectInformation` * object is read-only (assigning `.AfterEffect` throws; the one assignable * member, `.Dim.RGB`, is a silent no-op that leaves no trace in the saved * file). All three variants below are pinned to that captured shape * (`e2e/fixtures/animation-after-effect.pptx`, provenance "powerpoint"), and * a round trip through COM (reopen -> `Effect.EffectInformation.AfterEffect`) * confirms PowerPoint recognises decks this function writes. See * `docs/guide/limitations.md`. * * The previous approach modelled the dim case on the unrelated "Change Fill * Color" EMPHASIS effect's `p:animClr` (attrName `fillcolor`, placed inside * `p:childTnLst`), which is a different OOXML construct entirely: PowerPoint * never recognised it as an after-effect. The genuine shape instead: * - lives in `p:subTnLst`, a SIBLING of `p:childTnLst`, not nested inside it; * - targets `ppt_c` (a generic "this object's colour"), not `fillcolor`; * - marks `p:cBhvr/@_override="childStyle"` and puts `@_afterEffect="1"` on * the behaviour's OWN `p:cTn` (not on the entrance effect's outer `p:cTn`, * where the old code and this project's own writer used to place it); * - has no `@_id` of its own (PowerPoint omits it; nothing references it); * - times itself via `@_masterRel` rather than a `@_delay`: `"nextClick"` * for dim and hide-on-next-click (no `p:stCondLst` at all), `"sameClick"` * for hide-after-animation, whose `p:stCondLst` fires on the `end` of the * entrance effect's own `p:cTn` id (``). */ export declare function applyAfterAnimationBehavior(effectCTn: XmlObject, anim: Pick, shapeId: string): void; //#endregion //#region src/pptx/core/services/animation-write-node-sound.d.ts /** * Apply (or clear) an effect's sound action onto its `p:cTn` * (CT_TLCommonTimeNodeData). Shared by the full-rebuild builders * (`animation-write-node-effect.ts` / `animation-write-node-motion.ts`) and * the surgical updater (`animation-timing-surgical.ts`) so an existing * effect's sound can be edited without rebuilding the whole node. * * Writes the MODERN form PowerPoint itself uses (COM-verified against * PowerPoint 2016): a `p:audio/p:cMediaNode/p:tgtEl/p:sndTgt` node inside * `p:subTnLst`, a sibling of `p:childTnLst`, referencing the effect's own * `p:cTn/@_id` from its start condition. The legacy `p:stSnd` (directly on * `p:cTn`) is never written (PowerPoint does not recognise it back: * reopening a deck carrying only that form reports an empty * `Effect.EffectInformation.SoundEffect.Name`/`.Type`), but any pre-existing * one is cleaned up so a surgically-patched node does not keep a stale copy * alongside the modern one. * * Only touches the `p:audio` entries `isEffectSoundAudioNode` recognises as * the sound picker's own (`p:sndTgt`-targeted): other `p:subTnLst` content * (the "after animation" dim/hide behaviours built by * `applyAfterAnimationBehavior`, or a genuine embedded-media `p:audio` * targeting a real shape via `p:spTgt`) is left exactly as it was. Callers * must therefore run `applyAfterAnimationBehavior` FIRST when both apply to * the same effect: it deletes and rebuilds the whole `p:subTnLst` from * scratch, which would otherwise erase whatever this function just wrote. */ export declare function applySoundToEffectCTn(effectCTn: XmlObject, anim: Pick): void; //#endregion //#region src/pptx/core/services/animation-write-node-effect.d.ts /** * Build a single effect p:par node containing the OOXML animation * elements (p:animEffect, p:set, p:anim, p:animRot, p:animScale, etc.). */ export declare function buildSingleEffectNode(anim: PptxElementAnimation, preset: PptxAnimationPreset, presetClass: 'entr' | 'exit' | 'emph', allocateId: () => number): XmlObject | undefined; //#endregion //#region src/pptx/core/services/native-animation-after-effect.d.ts /** What {@link extractAfterAnimationFromSubTnLst} found. */ interface ParsedAfterAnimation { action: PptxAfterAnimationAction; /** Present only for `action: 'dimToColor'`, as `#RRGGBB`. */ color?: string; /** Present only for `action: 'dimToColor'` when the target is a scheme colour (`a:schemeClr`) instead of `a:srgbClr`; see {@link color}. */ colorRef?: PptxThemeColorRef; } /** * Decode an entrance/emphasis effect's `p:cTn/p:subTnLst` into the typed * "after animation" action PowerPoint's UI shows for it, or `undefined` when * the node carries no recognised after-effect sub-behaviour (including when * it has no `p:subTnLst` at all). */ export declare function extractAfterAnimationFromSubTnLst(cTn: XmlObject): ParsedAfterAnimation | undefined; //#endregion //#region src/pptx/core/services/native-animation-helpers.d.ts /** * Parse a single `p:cond` XML element into a structured {@link AnimationCondition}. * * Extracts the event type (`@_evt`), delay (`@_delay`), target time node * (`@_tn`), and target element information (`p:tgtEl`). */ export declare function parseCondition(condXml: XmlObject): AnimationCondition; /** * Parse a `p:stCondLst` or `p:endCondLst` XML element into an array * of structured {@link AnimationCondition} objects. * * Returns `undefined` if the condition list is missing or empty. */ export declare function parseConditionList(condListXml: XmlObject | undefined): AnimationCondition[] | undefined; /** * Serialize a single {@link AnimationCondition} back to an OOXML `p:cond` * XML object for round-trip fidelity. */ export declare function serializeCondition(condition: AnimationCondition): XmlObject; /** * Serialize an array of {@link AnimationCondition} objects back to an * OOXML condition list XML object (`p:stCondLst` or `p:endCondLst`). * * Returns `undefined` if the array is empty or `undefined`. */ export declare function serializeConditionList(conditions: AnimationCondition[] | undefined): XmlObject | undefined; //#endregion //#region src/pptx/core/services/animation-target-build-helpers.d.ts /** Parse the schema choice inside `p:tgtEl`. */ export declare function parseTimeTargetElement(tgtEl: XmlObject | undefined): PptxAnimationTarget | undefined; /** Serialize a timing target while retaining unmodelled target XML. */ export declare function serializeTimeTargetElement(target: PptxAnimationTarget): XmlObject; interface PptxGraphicBuildEntry { shapeId: string; groupId: string; uiExpand?: boolean; build: PptxGraphicBuild; rawXml?: XmlObject; } /** Parse schema-accurate `p:bldGraphic` entries. */ export declare function extractGraphicBuilds(bldLst: XmlObject | undefined): PptxGraphicBuildEntry[]; /** Serialize one `p:bldGraphic` entry while preserving unknown XML. */ export declare function serializeGraphicBuild(entry: PptxGraphicBuildEntry): XmlObject; //#endregion //#region src/pptx/core/services/animation-effect-filter-parsing.d.ts /** * Parse one filter token (already split off any `;`-separated fallback * list) into a family name (lowercased) and an optional verbatim-case * subtype. Returns `undefined` when the token does not match the expected * `name` or `name(subtype)` shape. */ export declare function parseFilterToken(raw: string): { family: string; subtype?: string; } | undefined; /** * Parse the `p:animEffect` child of a `p:childTnLst` XML object into a * {@link PptxAnimationEffectFilter}. Returns `undefined` when there is no * `p:animEffect` node, or it carries no `@filter` attribute (an `@filter`- * less `p:animEffect` describes no recognisable transition family, so there * is nothing useful to fall back to). */ export declare function parseAnimEffectFilter(childTnList: XmlObject | undefined): PptxAnimationEffectFilter | undefined; //#endregion //#region src/pptx/core/utils/clone-utils.d.ts /** * Deep-copy a plain PPTX data value: every nested object and array is rebuilt, * primitives (including large base64 strings) are carried over by reference, * and the verbatim XML trees listed in {@link SHARED_RAW_XML_KEYS} stay shared. * * Repeated references to the same object are preserved as repeated references * to the same copy, so a self-referencing tree cannot recurse forever. */ export declare function deepCloneData(value: T): T; /** * Deep-clone a {@link TextStyle}. * * @param style - The text style to clone. * @returns A new TextStyle copy, or `undefined` if the input is falsy. */ export declare function cloneTextStyle(style?: TextStyle): TextStyle | undefined; /** * Deep-clone a {@link ShapeStyle}, including nested structure such as the * gradient stops array (each stop is its own object). * * @param style - The shape style to clone. * @returns A new ShapeStyle copy, or `undefined` if the input is falsy. */ export declare function cloneShapeStyle(style?: ShapeStyle): ShapeStyle | undefined; /** * Deep-clone a {@link PptxElement} of ANY variant in the union: nothing nested * inside the copy is shared with the original (see the module doc for the * per-variant accounting and the two deliberate exceptions, immutable strings * and preserved raw XML). * * @param element - The element to clone. * @returns A fully independent copy of the element. */ export declare function cloneElement(element: PptxElement): PptxElement; /** * Deep-clone a {@link PptxSlide}: its elements, comments, warnings, transition, * animations, notes shapes and every other nested field. * * @param slide - The slide to clone. * @returns A fully independent copy of the slide. */ export declare function cloneSlide(slide: PptxSlide): PptxSlide; /** * Deep-clone a mapping of slide IDs to template element arrays. * * Used when duplicating or resetting template element state so that * each slide gets its own independent element copies. * * @param templateElementsBySlideId - The mapping to clone. * @returns A new record with independently cloned element arrays. */ export declare function cloneTemplateElementsBySlideId(templateElementsBySlideId: Record): Record; /** * Deep-clone an {@link XmlObject} tree. * * Prefers the structured clone algorithm (faster, preserves more types) * with a JSON round-trip fallback for legacy runtimes that lack * {@link structuredClone}. Returns `undefined` if cloning fails * (e.g. circular references on the JSON path). * * @param value - The XML object tree to clone. * @returns A deep copy, or `undefined` on failure. */ export declare function cloneXmlObject(value: XmlObject | undefined): XmlObject | undefined; //#endregion //#region src/pptx/core/utils/group-ops.d.ts /** Result of {@link groupElements}. */ interface GroupResult { /** New element array for the slide (same length - N + 1). */ elements: PptxElement[]; /** * The id of the newly-created group element, or `null` when the operation * was a no-op (fewer than 2 matching ids found). */ groupId: string | null; } /** Result of {@link ungroupElements}. */ interface UngroupResult { /** New element array for the slide. */ elements: PptxElement[]; /** The child ids that were actually applied (one per child, in order). */ childIds: string[]; } /** Options for {@link ungroupElements}. */ interface UngroupOptions { /** * Whether the promoted children land in the template (master/layout) store, * so their whole subtree must keep a template id prefix. Edits route by that * prefix, so a descendant left on the other store's prefix is edited into the * wrong store and dropped on save. Defaults to the group's own id prefix. */ intoTemplate?: boolean; } /** Whether an element id routes to the template (layout / master) store. */ export declare function isTemplateElementId(elementId: string): boolean; /** * Build an id for a promoted / pasted element so it routes to the store it is * being inserted into: inside the template store it must keep the source's * `master-` / `layout-` prefix, because edits route by that prefix. */ export declare function makeStoreAwareId(intoTemplate: boolean, sourceId: string): string; /** * Re-id the DESCENDANTS of an already-cloned element, in place. * * `mintId` returns the replacement id for a descendant, or `undefined` to leave * it alone. The root's own id is left to the caller. Mutates `element`, so it * must only be handed a tree the caller has just cloned. */ export declare function reassignDescendantIds(element: PptxElement, mintId: (descendant: PptxElement) => string | undefined): void; /** * Gather the elements whose `id` is in `ids` (preserving their existing array * order), compute the union bounding box, build a new `group` element whose * `children` are positioned relative to the group's top-left corner, remove * the originals, and insert the group where the topmost (lowest-index) grouped * element was. * * Requires >= 2 ids that actually exist in `elements`; otherwise returns the * original array unchanged and `groupId: null`. * * The caller supplies `groupId` for determinism. */ export declare function groupElements(elements: readonly PptxElement[], ids: readonly string[], groupId: string): GroupResult; /** * Replace the group identified by `groupId` with its children IN PLACE, each * converted back to slide-absolute coordinates and assigned a fresh id from * `childIds` (one per child, in order; a missing entry keeps the child's id). * * A promoted child is deep-cloned, so the group left behind in an undo snapshot * keeps its own copy of the subtree, and a promoted NESTED group's descendants * are re-ided when their ids route to the wrong store: only the top level was * ever renamed, which was invisible while a group could hold nothing but leaves. * * If the element is not found or is not a group, returns the inputs unchanged. */ export declare function ungroupElements(elements: readonly PptxElement[], groupId: string, childIds: readonly string[], options?: UngroupOptions): UngroupResult; //#endregion //#region src/pptx/core/utils/element-utils.d.ts /** * Check whether an element is a template element (from a slide layout * or slide master). Template elements have IDs prefixed with * `"layout-"` or `"master-"`. * * @param element - The element to check. * @returns `true` if the element originates from a layout or master slide. */ export declare function isTemplateElement(element: PptxElement): boolean; /** * Type guard that checks whether an element supports text editing. * * Only `"text"` and `"shape"` elements can contain editable text. * A shape qualifies if it has a `text` property or non-empty `textSegments`. * * @param element - The element to check. * @returns `true` if the element is a text-bearing element. */ export declare function isEditableTextElement(element: PptxElement): element is PptxElementWithText; /** * Return a human-readable label for an element based on its type. * Used in the UI for selection panes, accessibility labels, etc. * * @param element - The element to label. * @returns A display string such as `"Text"`, `"Image"`, `"Chart"`, etc. */ export declare function getElementLabel(element: PptxElement): string; /** * Determine whether an element should show a fallback type label * on the canvas (e.g. "Chart", "SmartArt") because it cannot be * rendered natively. * * Text elements, shapes, connectors, images, and tables have their * own renderers and never need a fallback label. * * @param element - The element to check. * @param isTextElement - Whether this element is a text element (pre-computed for performance). * @returns `true` if a fallback label should be displayed. */ export declare function shouldRenderFallbackLabel(element: PptxElement, isTextElement: boolean): boolean; /** * Extract the plain-text content of an element by concatenating * all text segments. Returns an empty string for non-text elements. * * @param element - The element to extract text from. * @returns The concatenated text content. */ export declare function getElementTextContent(element: PptxElement): string; /** * Create a single-segment text segments array with the given text * and a cloned copy of the style. * * Useful when replacing all text in an element with new uniform content. * * @param text - The text content. * @param style - The text style to apply (will be cloned). * @returns An array containing one TextSegment. */ export declare function createUniformTextSegments(text: string, style: TextStyle | undefined): TextSegment[]; /** * Generate a unique editor element ID using a prefix, timestamp, and * random suffix. The format is `"{prefix}-{timestamp}-{random}"`. * * The suffix is base-36 (~2 billion values), not a four-digit number. Ids * minted in the same millisecond share the timestamp, so the suffix is the only * thing separating them, and a four-digit one is not enough: minting 1000 ids * in a loop produced ~46 duplicates. That matters because element ids are * written back out as `p:cNvPr/@id`, and a duplicate makes an animation's * `p:spTgt/@spid` name two shapes at once. Pasting or ungrouping a group mints * one id per descendant in a single tick, which is exactly the burst case. * * Randomness alone still collides: 5000 ids in one tick clash about once in * 200 runs (the birthday bound over 36^6), which is what made the burst test * flaky in CI. A per-process counter is appended to the suffix so ids minted * here can never repeat; the random part keeps separating ids minted at the * same moment by different collaborators. * * @param prefix - A human-readable prefix (e.g. `"shape"`, `"text"`). * @returns A unique ID string. */ export declare function createEditorId(prefix: string): string; /** * Mint a fresh `p:cNvPr/@id` for a newly created shape, connector, picture or * graphic frame. * * The id must be unique within a slide's `p:spTree`. This used to be * `Math.floor(Math.random() * 10000) + 1000`: 9,000 possible values, so a deck * gaining a few dozen new shapes collided routinely (the birthday bound puts an * even chance of a clash at about 112 shapes). `validateAndDeduplicateIds` * caught the collision on the way out, but its repair RENUMBERS one of the two * shapes, and an animation's `p:spTgt/@spid` still points at the old number, so * the fix silently detached the animation from its target. * * A monotonic counter cannot collide with itself at all, which removes the * renumbering rather than relying on it. The counter is per module instance, * i.e. per loaded viewer, which is the scope in which new shapes are created. * * @returns A strictly increasing integer id, safely inside `ST_DrawingElementId` * (`xsd:unsignedInt`): 2 billion mints in one session would be needed to * approach the limit. */ export declare function createDrawingObjectId(): number; /** * Create a detached copy of a `Uint8Array` as a new `ArrayBuffer`. * * This is needed when the source bytes come from a shared buffer * (e.g. a memory-mapped file) that may be invalidated later. * * @param bytes - The source byte array. * @returns A new `ArrayBuffer` containing a copy of the bytes. */ export declare function createArrayBufferCopy(bytes: Uint8Array): ArrayBuffer; /** * Normalise a value that may be a single item, an array, `undefined`, * or `null` into a guaranteed array. Useful for handling OOXML nodes * that may be a single object or an array depending on child count. * * @param value - The value to normalise. * @returns An array (possibly empty). */ export declare function ensureArrayValue(value: T | T[] | undefined | null): T[]; /** * Format a comment timestamp string into a short localised display * format (e.g. "Mar 7, 02:30 PM"). Returns an empty string for * missing or unparseable timestamps. * * @param value - An ISO timestamp string or undefined. * @returns A formatted date string for display. */ export declare function formatCommentTimestamp(value: string | undefined): string; /** * Compute the canvas position for a comment marker icon. * * Uses the comment's stored position if available, otherwise falls * back to a grid layout based on the comment's index. The position * is clamped to stay within 8px of the slide edges. * * @param comment - Object with optional x/y coordinates. * @param index - The comment's index (for fallback grid positioning). * @param width - Slide width in pixels. * @param height - Slide height in pixels. * @returns The clamped `{ x, y }` position for the marker. */ export declare function getCommentMarkerPosition(comment: { x?: number; y?: number; }, index: number, width: number, height: number): { x: number; y: number; }; /** * Read a `File` object as a base64 data URL using the FileReader API. * * @param file - The file to read. * @returns A promise that resolves to the file's data URL string. * @throws {Error} If the file read fails or produces a non-string result. */ export declare function readFileAsDataUrl(file: File): Promise; //#endregion //#region src/pptx/core/utils/element-xml-builders.d.ts export declare function createTemplateShapeRawXml(element: PptxElementWithText): XmlObject; export declare function createTemplateConnectorRawXml(element: ConnectorPptxElement): XmlObject; //#endregion //#region src/pptx/core/utils/color-xml-preservation.d.ts /** * Extract the inner colour-choice node from a parent that wraps one (e.g. * ``, ``, ``, gradient stop). Returns the * single-key wrapper object suitable for re-emitting verbatim. */ export declare function extractColorChoiceXml(parent: XmlObject | undefined): XmlObject | undefined; /** * Compare two resolved colour values using normalised hex form. * Used to decide whether the original XML still represents the current * in-memory colour or whether the user edited it. */ export declare function colorsEqual(left: string | undefined, right: string | undefined): boolean; /** * Build a ``-shaped child object for a given hex colour, with * an optional `` transform. */ export declare function buildSrgbColorChoice(hex: string, opacity?: number): XmlObject; interface SerializeColorOptions { /** * When true and an `originalColorXml` is being re-emitted, the optional * `opacity` override is *ignored* — we trust the original XML's transforms * (which may already contain `a:alpha`). When false, opacity is not * applied either way (only the canonical fallback path uses opacity). */ readonly preserveAlphaFromOriginal?: boolean; } /** * Decide whether to re-emit the preserved original colour-choice XML or to * synthesise a fresh ``. * * Behaviour: * - If `originalColorXml` is present *and* `currentResolvedHex` matches * `fallbackHex`, return the original (verbatim — preserves scheme/sys/prst * identity and all colour transforms). * - Otherwise return a fresh `` with optional ``. * * Comparison uses a resolved-hex check (case-insensitive, `#` agnostic). * Callers are responsible for resolving `originalColorXml` through the * theme codec to produce `currentResolvedHex` — deep-object equality on * the XML would not survive theme switches. */ export declare function serializeColorChoice(originalColorXml: XmlObject | undefined, currentResolvedHex: string | undefined, fallbackHex: string, opacity?: number, options?: SerializeColorOptions): XmlObject; /** * Like {@link serializeColorChoice}, but a typed theme colour reference * (`ref`) wins over everything else: a colour picked from the theme palette * is stored as `...` * instead of a canonical ``, so it keeps following the theme * after a later theme change. A hex edit that cleared the ref (or a colour * kind a ref cannot express) falls through to the existing XML-preservation * behaviour unchanged. */ export declare function serializeColorChoiceWithRef(ref: PptxThemeColorRef | undefined, originalColorXml: XmlObject | undefined, currentResolvedHex: string | undefined, fallbackHex: string, opacity?: number, options?: SerializeColorOptions): XmlObject; //#endregion //#region src/pptx/core/utils/element-actions.d.ts /** * Derive a high-level {@link ElementAction} from a low-level * {@link PptxAction}. Inspects the `action` URI string to determine * the action type (slide jump, show jump, or external URL). * * @param pptxAction - The low-level PPTX action from the XML model. * @param trigger - Whether this action fires on `"click"` or `"hover"`. * @returns A high-level {@link ElementAction} for the editor UI. */ export declare function pptxActionToElementAction(pptxAction: PptxAction, trigger: 'click' | 'hover'): ElementAction; /** * Convert a high-level {@link ElementAction} back to a low-level * {@link PptxAction} for serialisation into OOXML. * * Returns `undefined` when the action type is `"none"` (no action configured). * * @param ea - The high-level element action. * @returns A {@link PptxAction} for XML serialisation, or `undefined`. */ export declare function elementActionToPptxAction(ea: ElementAction): PptxAction | undefined; /** * Check if an element has any configured interactive action * (either click or hover). * * @param element - The element to check. * @returns `true` if the element has a click or hover action. */ export declare function elementHasAction(element: PptxElement): boolean; //#endregion //#region src/pptx/core/utils/stroke-utils.d.ts /** * Normalize a raw dash-type string (possibly from OpenXML) into a typed `StrokeDashType`. */ export declare function normalizeStrokeDashType(value: StrokeDashType | string | undefined): StrokeDashType | undefined; /** * Map a `StrokeDashType` to the equivalent CSS `borderStyle`. */ export declare function getCssBorderDashStyle(dashType: StrokeDashType | undefined): string | undefined; /** * Map a `StrokeDashType` to an SVG `stroke-dasharray` value. * When `dashType` is `"custom"` and `customDashSegments` are provided, * the dash-array is built from the actual segment data rather than * using a hardcoded fallback. */ export declare function getSvgStrokeDasharray(dashType: StrokeDashType | undefined, strokeWidth: number, customDashSegments?: Array<{ dash: number; space: number; }>): string | undefined; //#endregion //#region src/pptx/core/utils/gradient-angle.d.ts /** * OOXML gradient angle -> CSS gradient angle conversion. * * ECMA-376 Part 1 §20.1.8.41 (`a:lin/@ang`) measures the linear-gradient * vector clockwise from the positive x-axis (3 o'clock, y pointing down), * running from the FIRST gradient stop towards the last: * * - `ang="0"` -> left to right * - `ang="5400000"` -> top to bottom (90 deg) * - `ang="10800000"` -> right to left (180 deg) * * CSS `linear-gradient(, ...)` measures clockwise from "to top" * (12 o'clock): * * - `0deg` -> bottom to top * - `90deg` -> left to right * - `180deg` -> top to bottom * * The two conventions sit a quarter turn apart, so an OOXML angle piped * straight into a CSS gradient string renders the fill rotated 90 degrees. * Every CSS gradient built from an authored `a:lin` angle must go through * {@link ooxmlGradientAngleToCssDegrees}. * * SVG/Canvas renderers do NOT use these helpers: their coordinate system * already matches OOXML (clockwise from +x with y down), so they consume * `fillGradientAngle` directly. */ /** * Convert an OOXML linear-gradient angle (in degrees, i.e. `a:lin/@ang` already * divided by 60000) to the equivalent CSS `linear-gradient()` angle in degrees, * normalised to [0, 360). */ export declare function ooxmlGradientAngleToCssDegrees(angleDegrees: number): number; /** * Inverse of {@link ooxmlGradientAngleToCssDegrees}: convert a CSS gradient * angle back to the OOXML convention, normalised to [0, 360). */ export declare function cssDegreesToOoxmlGradientAngle(cssDegrees: number): number; //#endregion //#region src/pptx/core/utils/positive-fixed-angle.d.ts /** * `ST_PositiveFixedAngle` helpers (ECMA-376 Part 1 S20.1.10.53). * * Every OOXML effect angle attribute (`a:outerShdw/@dir`, `a:innerShdw/@dir`, * `a:prstShdw/@dir`, `a:reflection/@dir`, ...) is typed * `ST_PositiveFixedAngle`: a value in 60000ths of a degree constrained to * `0 <= v < 21600000`. A NEGATIVE value is not "the same angle measured the * other way", it is schema-invalid, and PowerPoint rejects the entire package * (the file-repair dialog, or a flat refusal to open) rather than clamping it. * * The trap is that the natural way to derive a shadow direction from a shadow * offset is `Math.atan2(offsetY, offsetX)`, whose range is `(-pi, pi]`. Half of * the unit circle - every direction in the lower half plane, e.g. a * conventional 225 degree "up and to the left" drop shadow - therefore comes * back negative and, written out unmodified, poisons the document. Angles that * reach the model from a UI control (a spinner, a drag handle) can be out of * range in the same way, and by more than one turn. * * Serializers must route every such attribute through * {@link positiveFixedAngleAttribute}, or at minimum normalise the degree value * with {@link normalizePositiveFixedAngleDegrees} first. */ /** * Fold an arbitrary degree value into the `[0, 360)` range that * `ST_PositiveFixedAngle` permits. Non-finite input degrades to `0` rather than * emitting `NaN` into the document. */ export declare function normalizePositiveFixedAngleDegrees(degrees: number): number; /** * Serialize a degree value as a schema-valid `ST_PositiveFixedAngle` attribute * string (60000ths of a degree, normalised into `[0, 21600000)`). */ export declare function positiveFixedAngleAttribute(degrees: number): string; /** * Convert a shadow offset (in px, y pointing down) into the OOXML pair of * distance (px) and direction (degrees, normalised into `[0, 360)`). * * Callers scale `distance` by the EMU-per-px constant themselves; the direction * is unit-free and ready for {@link positiveFixedAngleAttribute}. */ export declare function shadowOffsetToDistanceAndDirection(offsetX: number, offsetY: number): { distance: number; directionDegrees: number; }; //#endregion //#region src/pptx/core/utils/data-url-utils.d.ts export declare function parseDataUrlToBytes(dataUrl: string): { bytes: Uint8Array; extension: string; } | null; /** * Options for {@link fetchUrlToBytes}. * * `allowExternalFetch` (default `false`) gates `http:`/`https:` URLs to * prevent SSRF during save: a deck whose mediaData was populated by an * untrusted source could otherwise force the host to issue arbitrary HTTP * requests (e.g. to cloud-metadata endpoints). * * `allowedSchemes` further constrains the accepted URL schemes. The default * permits only `pptx-resource:`, `blob:`, and `data:` — schemes that cannot * reach a remote network. */ interface FetchUrlToBytesOptions { allowExternalFetch?: boolean; allowedSchemes?: ReadonlySet; } /** * Resolve a media source URL (pptx-resource://, blob:, http(s)://) to raw * bytes by fetching it. Returns null on failure or when the URL scheme is * not permitted by {@link FetchUrlToBytesOptions}. * * This is used during PPTX save to embed media that was streamed from disk * (via pptx-resource:// URLs) rather than stored as base64 data URLs. */ export declare function fetchUrlToBytes(url: string, options?: FetchUrlToBytesOptions): Promise<{ bytes: Uint8Array; extension: string; } | null>; //#endregion //#region src/pptx/core/utils/inkml-ink-space.d.ts /** * The bridge between an InkML part's own coordinate system and the box the * `p:contentPart` occupies on the slide. * * PowerPoint stores ink in device units that have nothing to do with the slide * (its `traceFormat` channels are typically `units="cm"` with a `resolution` * channelProperty), and places the strokes with `p14:xfrm`. Measured against * PowerPoint's own render of `e2e/fixtures/ink-contentpart.pptx`, exported at * 120 px/in: a stroke whose raw X spans 100..1780 and Y spans 60..340 lands * exactly on the `p14:xfrm` box, filling it in BOTH axes independently. So the * mapping is a non-uniform stretch of the union bounding box of all traces onto * the element box, not a fit that preserves aspect. Re-saving the deck from * PowerPoint leaves `p14:xfrm` untouched however different the trace geometry * is, which confirms the xfrm is authoritative and the traces are normalised * into it. * * Brush widths are the exception: they are absolute physical measurements and * are NOT scaled by that stretch (the 0.05 cm stroke renders ~2.4 px at 120 * px/in whatever the box), so they convert straight to CSS pixels. * * @module core/utils/inkml-ink-space */ /** * Convert an InkML measurement to CSS pixels. An unknown or absent unit is * treated as pixels, which is what the library's own authored ink emits. */ export declare function inkLengthToPx(value: number, units: string | undefined): number; /** Axis-aligned bounds of a point cloud, or `undefined` when there are none. */ interface InkBounds { minX: number; minY: number; maxX: number; maxY: number; } /** Union bounds over several decoded traces, in the ink part's own units. */ export declare function inkBounds(traces: readonly (readonly (readonly number[])[])[]): InkBounds | undefined; /** The target box a content part's strokes are normalised into, in CSS px. */ interface InkTargetBox { width: number; height: number; } /** * Build the point mapper for one ink part. A degenerate axis (every point on * the same line) is centred rather than divided by zero. */ export declare function inkPointMapper(bounds: InkBounds, box: InkTargetBox): (x: number, y: number) => [number, number]; //#endregion //#region src/pptx/core/utils/inkml-content-part-writer.d.ts /** Build schema-shaped InkML while retaining unknown nodes from a loaded part. */ export declare function buildInkMlContent(strokes: readonly ContentPartInkStroke[], rawXml?: XmlObject): XmlObject; //#endregion //#region src/pptx/core/utils/inkml-content-part.d.ts interface ParsedInkMlContent { strokes: ContentPartInkStroke[]; rawXml: XmlObject; } /** * Parse authored InkML trace/brush metadata while tolerating plain legacy traces. * * `box` is the `p:contentPart` extent in CSS pixels. When it is supplied, every * trace decoded from raw channel data is normalised into that box (see * `inkml-ink-space`), because a real PowerPoint InkML part is written in its own * device units and would otherwise land thousands of pixels off-element. Strokes * carrying the library's own authored `@pva:path` are already in element space * and pass through untouched. */ export declare function parseInkMlContent(data: XmlObject, box?: InkTargetBox): ParsedInkMlContent; //#endregion //#region src/pptx/core/utils/ink-element-strokes.d.ts /** * Build the `ContentPartInkStroke[]` an `InkPptxElement`'s paths decode to, * skipping any path with no geometry. Empty (whitespace-only or all-blank) * elements yield an empty array. */ export declare function inkElementToStrokes(el: InkPptxElement): ContentPartInkStroke[]; //#endregion //#region src/pptx/core/utils/strip-parent-dir-segments.d.ts /** * Remove every `../` segment from `path`, looping until no more remain. * * A single non-overlapping global-regex pass is not enough to fully * sanitize this: removing a match can splice its neighbouring characters * together into a *new* `../` sequence (e.g. `....//` has one `../` in the * middle; deleting it leaves the surrounding `..` and `/` adjacent, forming * a fresh `../`). Looping to a fixed point closes that reconstruction gap, * so no `../` can survive no matter how the input is crafted. */ export declare function stripParentDirSegments(path: string): string; //#endregion //#region src/pptx/core/utils/ole-utils.d.ts /** * Detect OLE object type and file extension from progId and/or clsId. */ export declare function detectOleObjectType(progId: string | undefined, clsId: string | undefined): { oleObjectType: OleObjectType; oleFileExtension: string; }; /** * Infer file extension from an OLE target path inside the PPTX zip. * Returns undefined if no extension can be determined. */ export declare function inferOleExtensionFromTarget(oleTarget: string | undefined): string | undefined; /** * Resolve a MIME type for an embedded OLE payload from its file name or * extension. Falls back to `application/octet-stream` when unknown. */ export declare function mimeTypeForOleFile(fileNameOrExtension: string | undefined): string; /** * Return a human-readable label for an OLE object type. */ export declare function getOleObjectTypeLabel(oleObjectType: OleObjectType | undefined): string; //#endregion //#region src/pptx/core/utils/ole-embedded-extract.d.ts /** * Recover the real embedded payload from an OLE object's binary. * * PowerPoint stores an embedded OLE object's bytes in the package, usually as * either a plain modern file (e.g. an `.xlsx`/`.docx` saved straight into * `ppt/embeddings/`) or an OLE2 compound file (`oleObject*.bin`). When the * object is a generic "Package" (ProgID `Package`, the form Insert > Object > * Create from File produces for arbitrary files), the original file is wrapped * inside the compound file using one of two MS-OLEDS structures: * * - `Ole10Native`: a length-prefixed legacy wrapper that carries the * original file name, a working path, and the raw file bytes. * - a `CONTENTS` / native data stream (used by some hosts, e.g. PDF). * * This module unwraps those forms so callers can offer the real inner file for * download / open, falling back to the raw compound-file bytes when the payload * cannot be identified. It never throws: malformed input yields a best-effort * result (often just the raw bytes) so the loader can stay lazy and safe. * * Reference: [MS-OLEDS] Object Linking and Embedding Data Structures, * sections 2.2 (OLEStream) and 2.3.1 (Ole10Native). * @see https://learn.microsoft.com/openspecs/windows_protocols/ms-oleds * * @module ole-embedded-extract */ /** * Build a base64 `data:` URL from raw bytes. Used for embedded OLE payloads * (download / open-in-new-tab) where a stable, serialization-safe string is * preferable to a revocable Blob URL. Chunks the encode to avoid blowing the * argument limit of `String.fromCharCode` on large buffers. */ export declare function oleBytesToDataUrl(bytes: Uint8Array, mimeType: string): string; /** The result of unwrapping an OLE embedding to its real inner file. */ interface OleUnwrapResult { /** Original file name when recoverable (e.g. from an Ole10Native header). */ fileName?: string; /** The recovered inner file bytes (or the raw input when not unwrappable). */ data: Uint8Array; } /** Whether the given bytes start with the OLE2 compound-file magic signature. */ export declare function isOle2CompoundFile(bytes: Uint8Array): boolean; /** * Decode an `Ole10Native` stream into its original file name and bytes. * * Layout (little-endian): 4-byte total size, 2-byte flags (usually 0x0002), * NUL-terminated ASCII label, NUL-terminated source path, 4 unknown bytes, * 4-byte temp-path length, temp path (ASCII), 4-byte native-data size, then * the native data. Older/variant writers omit the flags+label section, so we * fall back to treating the body after the size prefix as the native data. */ export declare function decodeOle10Native(stream: Uint8Array): OleUnwrapResult | undefined; /** * Unwrap an OLE embedding's raw bytes to the real inner file. * * - Plain modern files (not OLE2 compound) pass through unchanged. * - OLE2 "Package" wrappers are unwrapped via the `Ole10Native` stream * (recovering the original file name) when present. * - Otherwise the most useful native stream (`CONTENTS`) is returned when * identifiable; failing that, the raw compound-file bytes are returned. * * Never throws: any parse failure falls back to the raw input. */ export declare function unwrapOleEmbedding(bytes: Uint8Array): OleUnwrapResult; //#endregion //#region src/pptx/core/utils/ole-embedded-replace.d.ts /** * Build a fresh `Ole10Native` stream (MS-OLEDS SS2.3.1) wrapping `data` under * `fileName`. Mirrors the layout `decodeOle10Native` reads: 4-byte total * size, 2-byte flags, NUL-terminated label + source path, 4 unknown bytes, a * 4-byte temp-path length + temp path, a 4-byte native-data size, then the * native data itself. */ export declare function encodeOle10Native(fileName: string, data: Uint8Array): Uint8Array; /** Options for {@link replaceOleEmbedding}. */ interface ReplaceOleEmbeddingOptions { /** File name to record when re-wrapping a generic "Package" (`Ole10Native`). */ fileName?: string; } /** * Re-wrap an edited payload into the same container shape `originalBytes` * used, so the result can replace the original embedding part in the saved * package. * * - `originalBytes` not an OLE2 compound file (a plain modern file, e.g. an * embedded `.xlsx`): the container itself IS the payload, so the new * payload bytes are returned unchanged. * - `originalBytes` is OLE2 and carries an `Ole10Native` or `CONTENTS` * stream (a generic "Package" wrapper): every other stream (`\1CompObj`, * etc.) is preserved verbatim and only the native-data stream is replaced, * rebuilt through the existing `buildOle2` writer. * - `originalBytes` is OLE2 but neither stream is present (a native OLE2 * document format, e.g. legacy `.xls`/`.doc`, where the compound file IS * the document): the payload editor for that format already produces a * complete replacement compound file, so it is returned unchanged. * * Never throws: a parse failure on `originalBytes` falls back to returning * `newPayloadBytes` as-is, matching `unwrapOleEmbedding`'s own * never-throws contract. */ export declare function replaceOleEmbedding(originalBytes: Uint8Array, newPayloadBytes: Uint8Array, options?: ReplaceOleEmbeddingOptions): Uint8Array; //#endregion //#region src/pptx/core/utils/ole-payload-kind.d.ts /** Which in-place editor (if any) applies to a recovered OLE payload. */ type OlePayloadEditorKind = 'sheet-xlsx' | 'sheet-xls' | 'document-docx' | 'document-doc' | 'deck-pptx' | 'file'; /** * Detect the editor kind for a recovered OLE payload's bytes. * * Never throws: any parse failure falls back to `'file'` (replace-file-only), * which is always a safe, fully-supported action. */ export declare function detectOlePayloadEditorKind(bytes: Uint8Array): Promise; //#endregion //#region src/pptx/core/utils/ole-sheet-xlsx-editor.d.ts /** One cell in a preview/edit grid. */ interface OleSheetCell { /** Display text (already resolved from any shared-string reference). */ value: string; isNumeric: boolean; } /** One row of an {@link OleSheetGrid}. */ interface OleSheetRow { cells: OleSheetCell[]; } /** A read-only snapshot of an embedded workbook's first sheet for editing UI. */ interface OleSheetGrid { sheetName: string; rows: OleSheetRow[]; } /** * Read the first worksheet of an embedded `.xlsx` payload as a bounded grid * suitable for a spreadsheet-style edit dialog. * * Returns `undefined` when the payload is not a readable xlsx workbook. */ export declare function readOleSheetGrid(xlsxBytes: Uint8Array, maxRows?: number, maxCols?: number): Promise; /** * Apply a single cell edit to the first worksheet of an embedded `.xlsx` * payload and return the updated workbook bytes. * * `value` is written as a numeric cell when it parses as a finite number and * the caller has not forced text; otherwise as a self-contained * `inlineStr` cell (never touching the shared-string table, so other cells * that reference the same shared string are unaffected). Returns the * original bytes unchanged if the edit could not be applied (corrupt * payload, missing worksheet). */ export declare function writeOleSheetCellEdit(xlsxBytes: Uint8Array, edit: { row: number; col: number; value: string; forceText?: boolean; }): Promise; //#endregion //#region node_modules/.bun/@christophervr+ole2@0.3.0/node_modules/@christophervr/ole2/dist/legacy-excel-types.d.ts /** A displayed cell value from a legacy BIFF8 worksheet preview. */ interface OleSheetCell$1 { value: string; isNumeric: boolean; } /** One bounded preview row. */ interface OleSheetRow$1 { cells: OleSheetCell$1[]; } /** A read-only snapshot of one legacy workbook worksheet. */ interface OleSheetGrid$1 { sheetName: string; rows: OleSheetRow$1[]; } //#endregion //#region node_modules/.bun/@christophervr+ole2@0.3.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8.d.ts /** * Read a bounded preview grid from a legacy `.xls` (BIFF8) payload's first * worksheet. Best-effort: a shared string table split across `CONTINUE` * records may not resolve every `LABELSST` cell's text. Returns `undefined` * when no worksheet substream can be located. */ export declare function readOleXlsGrid(inputBytes: Uint8Array, maxRows?: number, maxCols?: number): OleSheetGrid$1 | undefined; /** * Overwrite an existing `NUMBER` or `RK` cell's value in place within a * legacy `.xls` payload's first worksheet. Returns the original bytes * unchanged when the target cell does not already hold a `NUMBER`/`RK` * record (this module does not resize the stream) or the value is not a * finite number. */ export declare function writeOleXlsNumericCellEdit(inputBytes: Uint8Array, edit: { row: number; col: number; value: number; }): Uint8Array; //#endregion //#region node_modules/.bun/@christophervr+ole2@0.3.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-writer.d.ts /** * Write a STRING value into a legacy `.xls` (BIFF8) payload's first * worksheet, at `[row, col]`. Handles the SST (adding the string if not * already present) and converts an existing short cell record in place * when possible; otherwise rebuilds the worksheet's row/cell/DBCELL region * (only when the file has exactly one worksheet - see module doc). Returns * the original bytes unchanged on any structural surprise this module does * not recognise, rather than risk emitting a corrupt file. */ export declare function writeOleXlsStringCellEdit(inputBytes: Uint8Array, edit: { row: number; col: number; value: string; }): Uint8Array; //#endregion //#region src/pptx/core/utils/ole-document-docx-editor.d.ts /** * Read every paragraph's plain text from an embedded `.docx` payload's main * document part, in document order. * * Returns `undefined` when the payload is not a readable Word document. */ export declare function readOleDocumentParagraphs(docxBytes: Uint8Array): Promise; /** * Replace one paragraph's text in an embedded `.docx` payload's main * document part, preserving paragraph properties and the first run's * formatting (see module doc for the exact scope). Returns the original * bytes unchanged if the edit could not be applied. */ export declare function writeOleDocumentParagraphEdit(docxBytes: Uint8Array, paragraphIndex: number, text: string): Promise; //#endregion //#region node_modules/.bun/@christophervr+ole2@0.3.0/node_modules/@christophervr/ole2/dist/ole-document-doc-editor.d.ts /** Read every main-body paragraph's plain text (paragraph mark excluded) from an embedded `.doc` payload. */ export declare function readOleDocParagraphs(docBytes: Uint8Array): string[] | undefined; /** * Replace one main-body paragraph's text in an embedded `.doc` payload, * preserving that paragraph's own paragraph/character formatting (see module * doc). Returns the original bytes unchanged if the edit could not be safely * applied (unreadable payload, out-of-range paragraph index, or a document * feature this editor does not support around, per module doc). */ export declare function writeOleDocParagraphEdit(docBytes: Uint8Array, paragraphIndex: number, text: string): Uint8Array; //#endregion //#region src/pptx/core/utils/ole-nested-deck-editor.d.ts /** One text-bearing shape on a nested slide, addressable for editing. */ interface OleNestedDeckTextElement { elementId: string; text: string; } /** One nested slide's full text-element inventory. */ interface OleNestedDeckSlideDetail { index: number; elements: OleNestedDeckTextElement[]; } /** * Read every slide's full text-element inventory from an embedded nested * deck: each slide's index and every text-bearing shape's id + current * plain text (in document order, including shapes inside groups). Returns * `undefined` when the bytes cannot be loaded as a presentation. */ export declare function readOleNestedDeckDetail(pptxBytes: Uint8Array): Promise; /** * The plain text of every text-bearing shape on the nested deck's FIRST * slide, in document order. Used to regenerate the OLE object's preview * image after an edit (`ole-content-preview-raster.ts`'s * `renderOleDeckPreviewPng`) so the thumbnail reflects the actual current * content rather than a placeholder. */ export declare function readOleNestedDeckFirstSlideTextLines(pptxBytes: Uint8Array): Promise; /** * Replace ONE text-bearing shape's plain text (found by slide index + * element id, recursing into groups) and re-save the nested deck through * its own full `PptxHandler.save` pipeline. Clears any rich `textSegments` * on that shape so the plain overwrite is not immediately overridden by * stale styled runs, the same rule a plain-text edit anywhere else in this * codebase follows. Returns the original bytes unchanged when the slide * index is out of range or no such element exists on that slide. */ export declare function writeOleNestedDeckElementText(pptxBytes: Uint8Array, slideIndex: number, elementId: string, text: string): Promise; //#endregion //#region node_modules/.bun/@christophervr+ole2@0.3.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.d.ts /** * Encode an RGBA pixel buffer as a PNG file. * * @param width - Image width in pixels. * @param height - Image height in pixels. * @param rgba - Pixel data, `width * height * 4` bytes, row-major, RGBA8. * @returns The complete PNG file bytes. */ export declare function encodePng(width: number, height: number, rgba: Uint8Array | Uint8ClampedArray): Uint8Array; /** Decode a PNG's `IHDR` width/height without decompressing pixel data. */ export declare function decodePngDimensions(png: Uint8Array): { width: number; height: number; } | undefined; //#endregion //#region src/pptx/core/utils/png-encoder-compressed.d.ts /** * RGBA -> PNG encoder with a DEFLATE-compressed `IDAT` and per-row adaptive * scanline filters (None / Sub / Up). `encodePng` (from `@christophervr/ole2`) * only emits stored blocks, which is fine for small icon rasters but makes a * large picture (a GIF frame in a `.ppt`) many times bigger than necessary. * * @module png-encoder-compressed */ /** Encode `width * height * 4` RGBA bytes as a PNG with a compressed `IDAT`. */ export declare function encodeCompressedPng(width: number, height: number, rgba: Uint8Array): Uint8Array; //#endregion //#region src/pptx/core/utils/deflate-encode.d.ts /** * Small, dependency-free, synchronous zlib (RFC 1950) compressor: LZ77 with a * hash-chain match finder, emitted as a single fixed-Huffman DEFLATE block * (RFC 1951 SS3.2.6). It is not as tight as zlib's dynamic-Huffman output, but * it shrinks flat or repetitive data (screenshots, GIF frames) by orders of * magnitude versus stored blocks, with no `node:zlib` (browser-safe) and no * extra dependency. * * @module deflate-encode */ /** Compress `data` into a zlib stream (2-byte header, fixed-Huffman DEFLATE, Adler-32). */ export declare function zlibDeflate(data: Uint8Array): Uint8Array; //#endregion //#region src/pptx/core/utils/raster-canvas.d.ts /** * Tiny DOM-free raster canvas: an RGBA pixel buffer plus rect / line / text * primitives, backing the OLE icon-caption and content-preview regeneration * (`ole-icon-raster.ts`, `ole-content-preview-raster.ts`). Runs identically * in the browser and in Node (MCP tools), which rules out `` / * `OffscreenCanvas`. * * Text uses a built-in 5x7 bitmap font covering ASCII 0x20-0x7E; anything * outside that range renders as a placeholder box glyph so a caption never * silently disappears. * * @module raster-canvas */ /** RGBA colour as four 0-255 bytes. */ interface RasterColor { r: number; g: number; b: number; a: number; } export declare function rgb(r: number, g: number, b: number, a?: number): RasterColor; /** A DOM-free RGBA canvas with basic drawing primitives. */ export declare class RasterCanvas { readonly width: number; readonly height: number; readonly pixels: Uint8ClampedArray; constructor(width: number, height: number, background: RasterColor); private setPixel; fillRect(x: number, y: number, w: number, h: number, color: RasterColor): void; strokeRect(x: number, y: number, w: number, h: number, color: RasterColor, lineWidth?: number): void; drawLine(x1: number, y1: number, x2: number, y2: number, color: RasterColor, lineWidth?: number): void; /** Draw text at (x, y) as the top-left corner, scaled by `scale` (default 1 = 5x7px per glyph). */ drawText(text: string, x: number, y: number, color: RasterColor, scale?: number): void; /** Measured pixel width of `text` at the given scale, matching {@link drawText}. */ static measureText(text: string, scale?: number): number; /** Truncate `text` with a trailing ellipsis so it fits within `maxWidth` px at `scale`. */ static truncateToWidth(text: string, maxWidth: number, scale?: number): string; } //#endregion //#region src/pptx/core/utils/ole-icon-raster.d.ts /** The six OLE application glyphs the placeholder icon can render. */ type OleIconGlyph = 'excel' | 'word' | 'powerpoint' | 'pdf' | 'visio' | 'mathtype' | 'unknown'; /** Options controlling the rasterised icon image. */ interface OleIconRasterOptions { /** Overall image width in pixels (default 128). */ width?: number; /** Overall image height in pixels (default 96). */ height?: number; /** Which glyph to draw (default `'unknown'`). */ glyph?: OleIconGlyph; /** Caption text drawn under the icon (typically the object name). */ caption?: string; } /** * Render an OLE "show as icon" placeholder (glyph + caption) as a PNG. * * Deterministic and DOM-free: safe to call from a browser binding or from * the Node-hosted MCP tools. The caption is truncated with an ellipsis when * it would otherwise overflow the image width. */ export declare function renderOleIconPng(options?: OleIconRasterOptions): Uint8Array; /** Map a resolved OLE object type (see `ole-utils.ts`) onto an icon glyph. */ export declare function oleObjectTypeToGlyph(oleObjectType: string | undefined): OleIconGlyph; //#endregion //#region src/pptx/core/utils/ole-content-preview-raster.d.ts /** Render a spreadsheet grid preview (rows/columns of cell text) as a PNG. */ export declare function renderOleSheetPreviewPng(grid: OleSheetGrid): Uint8Array; /** Render a word-processing document preview (wrapped paragraph text) as a PNG. */ export declare function renderOleDocumentPreviewPng(paragraphs: readonly string[]): Uint8Array; /** * Render a simplified preview of a nested PPTX deck's first slide: its * title and body text lines, stacked top to bottom. Not a visual replica of * the slide's real layout/design (that would require the full renderer, * which lives in each viewer binding, not core) -- just enough to show that * the preview reflects the edited deck's actual current text content. */ export declare function renderOleDeckPreviewPng(firstSlideTextLines: readonly string[]): Uint8Array; //#endregion //#region src/pptx/core/utils/ole-edit-api.d.ts /** * Resolve which in-place editor applies to an OLE element's current * payload. `'file'` covers both a genuinely unsupported format and a * missing/unreadable payload (both fall back to Replace File). */ export declare function resolveOleEditorKindFromPayload(element: OlePptxElement): Promise; /** Read the spreadsheet grid for an Excel-payload OLE element (xlsx or legacy xls). */ export declare function getOleSheetGrid(element: OlePptxElement): Promise; /** Read the paragraph text for a Word-payload OLE element (`.docx` or legacy binary `.doc`). */ export declare function getOleDocumentParagraphs(element: OlePptxElement): Promise; /** Read the raw payload bytes of a nested-deck (embedded PowerPoint) OLE element, for `PptxHandler.load`. */ export declare function getOleNestedDeckBytes(element: OlePptxElement): Promise; /** * Read every slide's full text-element inventory for a nested-deck OLE * element: each slide's index and every text-bearing shape's id + current * text (including shapes inside groups), not just a "title" slot. */ export declare function getOleNestedDeckDetail(element: OlePptxElement): Promise; /** * Replace ONE text-bearing shape's text on a nested-deck OLE element's * given slide (identified by its element id, per {@link getOleNestedDeckDetail}), * re-saving the nested deck through its own full `PptxHandler.save` and * writing the result back onto the OLE element. */ export declare function applyOleNestedDeckElementTextEdit(element: OlePptxElement, slideIndex: number, elementId: string, text: string): Promise; /** Apply one cell edit to an Excel-payload OLE element's first worksheet. */ export declare function applyOleSheetCellEdit(element: OlePptxElement, edit: { row: number; col: number; value: string; }): Promise; /** Replace one paragraph's text in a Word-payload (`.docx` or legacy binary `.doc`) OLE element. */ export declare function applyOleDocumentParagraphEdit(element: OlePptxElement, paragraphIndex: number, text: string): Promise; /** Replace a nested-deck OLE element's payload with a re-saved presentation's bytes. */ export declare function applyOleNestedDeckBytes(element: OlePptxElement, savedDeckBytes: Uint8Array): Promise; /** * Replace an OLE element's payload wholesale with an arbitrary file (the * "Replace File" action available for every payload kind, and the only * edit available for a generic Packager object or an unsupported format). */ export declare function replaceOleFile(element: OlePptxElement, fileBytes: Uint8Array, fileName?: string): Promise; /** * Rename an OLE object's Object Name (`p:oleObj/@name`) and, when it is * displayed `showAsIcon`, regenerate the baked-in icon caption so the new * name is visible when the deck is reopened in real PowerPoint (which * renders the icon's `p:pic` blip as a static image, not a live label). */ export declare function setOleObjectName(element: OlePptxElement, name: string): Promise; //#endregion //#region src/pptx/core/utils/smartart-decompose-dispatch.d.ts /** The bounding box of the SmartArt graphic frame on the slide. */ interface DrawingBounds { x: number; y: number; width: number; height: number; } //#endregion //#region src/pptx/core/utils/smartart-decompose.d.ts /** * Decompose a SmartArt data model into an array of standard PptxElements. * * @param smartArtData Parsed SmartArt data model from the PptxHandler. * @param containerBounds The bounding box of the SmartArt graphic frame on the slide. * @param themeColorMap Optional theme colour map (accent1-accent6 keys) for colour cycling. * @returns An array of PptxElements (shapes + connectors), or `undefined` when decomposition is not possible. */ export declare function decomposeSmartArt(smartArtData: PptxSmartArtData, containerBounds: DrawingBounds, themeColorMap?: Record): PptxElement[] | undefined; /** * Compute SmartArt shapes WITHOUT consulting `smartArtData.drawingShapes`: * the DiagramML interpreter when a recognised `layoutDefinition` is present, * falling back through the named/algorithmic/heuristic family approximation. * * Split out of {@link decomposeSmartArt} so `relayoutSmartArt` (recomputing * after a node is added/removed/reordered) can reuse the exact same * interpretation + fallback chain without also reprojecting whatever stale * `drawingShapes` happen to be on the data - `decomposeSmartArt`'s * drawing-shape branch is a REPROJECTION of cached geometry, not a "nothing * else worked" fallback, so `relayoutSmartArt` needs this narrower function * to keep its own "return the untouched existing shapes" fallback meaningful. */ export declare function computeSmartArtElementsWithoutCache(smartArtData: PptxSmartArtData, containerBounds: DrawingBounds, themeColorMap?: Record): PptxElement[] | undefined; //#endregion //#region src/pptx/core/utils/smartart-helpers.d.ts interface ContainerBounds { x: number; y: number; width: number; height: number; } /** Reset the counter — useful in tests. */ export declare function resetDecomposeCounter(): void; interface TreeNode { node: PptxSmartArtNode; children: TreeNode[]; } export declare function buildForest(nodes: PptxSmartArtNode[]): TreeNode[]; /** * Build a forest from a node array, accepting either input shape: * - A flat list with `parentId` pointers (the format the parser emits for * flat `` elements) - handled by delegating to {@link buildForest}. * - An already-nested list where every root node carries a `children` array. * * The DiagramML interpreter's hierarchy arranger receives either shape * depending on the caller, so it needs both branches; `buildForest` alone * only handles the flat case. */ export declare function buildTree(nodes: PptxSmartArtNode[]): TreeNode[]; export declare function treeWidth(t: TreeNode, depth?: number): number; export declare function treeDepth(t: TreeNode, depth?: number): number; //#endregion //#region src/pptx/core/utils/smartart-layout-types.d.ts /** * SmartArt DiagramML interpreter - pure geometry types. * * Describes the styled view-model geometry produced by the interpreter * (`smartart-layout-interpreter.ts` and its arrangers). No framework code, no * DOM. Consumed by: * - the SVG-fallback preview path (re-exported from `pptx-viewer-shared` for * the React/Vue/Angular/Svelte/Vanilla bindings), and * - the save/decompose pipeline in this package (`smartart-decompose.ts`, * `smartart-interpreter-drawing-bridge.ts`), which converts this geometry * into `PptxElement[]` / `PptxSmartArtDrawingShape[]` for the fabricated * cached diagram drawing. * * Moved here from `pptx-viewer-shared` so the same interpreter can be shared * by the save pipeline: `pptx-viewer-core` cannot import `pptx-viewer-shared` * (shared depends on core, not the other way around), so the single * interpreter now lives in core and shared re-exports it. */ /** Axis-aligned rectangle. */ interface LayoutRect { x: number; y: number; width: number; height: number; } /** * Per-node label styling resolved from `PptxSmartArtNode.style` (the overrides * the inspector's node style bar writes). * * Every field is optional and every field has a documented binding default, so * a renderer that ignores them keeps its historic output: * `fontColor` -> `white`, `fontWeight` / `fontStyle` -> unset. */ interface RenderedNodeTextStyle { /** Label colour. Default `white`. */ fontColor?: string; /** SVG `font-weight` (`700` when the node is bold). Default unset. */ fontWeight?: number; /** SVG `font-style`. Default unset. */ fontStyle?: 'italic'; } /** * Fields shared by every rendered node kind, carrying the source data-model * node identity and a final-transform rotation. * * `nodeId` lets a consumer (the manual `cust*`-override pass, or the * save-pipeline bridge that needs the node's full untruncated text) join a * rendered shape back to its `PptxSmartArtNode`. `rotation` is additive * degrees applied by a `dgm:pt/dgm:prSet/@custAng` manual override; it is * `undefined` (no rotation) unless such an override is present. */ interface RenderedNodeIdentity { /** The `PptxSmartArtNode.id` this shape represents. */ nodeId?: string; /** Additional rotation in degrees from a `custAng` manual override. */ rotation?: number; /** * Explicit DrawingML preset geometry name (`rect`, `roundRect`, ...) for * the save-pipeline bridge (`smartart-interpreter-drawing-bridge.ts`) to * use verbatim instead of its own kind-based default. Set by * `smartart-layout-interpreter-item-roles.ts` when a per-item role * template (e.g. a list layout's `childText`) declares its own `dgm:shape` * distinct from the arranger's hardcoded family shape. `undefined` keeps * the bridge's pre-existing behaviour. */ presetOverride?: string; /** * Additional `PptxSmartArtNode.id`s whose text folds into THIS shape as * extra paragraphs (see `projectFoldedNodeText` in the drawing bridge), * pre-resolved by `smartart-layout-interpreter-item-roles.ts` for a * `des`/`ch`-axis role that combines more than one descendant's text into * one box. `undefined` keeps the bridge's own descendant-folding * inference (nearest rendered ancestor absorbs any node without a box). */ foldedNodeIds?: string[]; /** * Pre-resolved, verbatim display text for a role bound to a TRANSITION * point (`dgm:presOf ptType="sibTrans"|"parTrans"`) rather than a real * data node - e.g. a numbered-badge layout's ordinal "1"/"2"/"3" text, * which PowerPoint stores on the `sibTrans` point of the item's own * `parOf` edge (`PptxSmartArtConnection.label`), not on any * `PptxSmartArtNode` `nodeId` can resolve. Set by * `smartart-layout-interpreter-item-roles.ts`. When present, the * save-pipeline bridge (`smartart-interpreter-drawing-bridge.ts`) uses it * verbatim instead of resolving `nodeId` against the node array (which * would find nothing and render blank text). */ literalText?: string; /** * The `dgm:layoutNode/@name` of the per-item text role this entry was * split from (e.g. a pyramid's `level` vs `acctTx`), set by * `smartart-layout-interpreter-item-role-shared.ts`'s `stackRoleContent` * for EVERY split entry (rect or polygon), not only ones an arranger * needs to distinguish. A `polygon` split (`arrangePyramid`'s * parent+child pyramid accent) starts as an unchanged copy of the * original geometry per role - this is the one field an arranger-specific * geometry pass can key off to reposition/resize each entry by name, * since `stackRoleContent` itself has no generic way to split a * polygon's own `points`. `undefined` on an unsplit node. */ itemRoleName?: string; /** * The font size (px) a FOLDED descendant paragraph (`collectFoldedDescendants` * in the drawing bridge) should render at, when it differs from this * shape's own `fontSize` - see `smartart-layout-item-font-tier.ts`'s * module doc comment for why a folded descendant renders SMALLER than its * ancestor's own top-level text. `undefined` keeps the bridge's * pre-existing behaviour of reusing `fontSize` for every folded paragraph. */ descendantFontSize?: number; /** * The presentation style label (`presStyleLbl`) of the layout node this * shape was laid out from (`node1`, `revTx`, `sibTrans2D1`, ...), when the * engine knows it. A regenerated shape takes its quick-style 3D from this * label (`smartart-quick-style-3d.ts`), so a decorative or transition shape * that presents no node is not styled as `node1`. */ styleLabel?: string; /** Preset adjustments (`a:avLst`) to cache, e.g. a connector arrow's `adj1`/`adj2`. */ shapeAdjustments?: Record; } /** A node rendered as an SVG rect (rounded or flat). */ interface RenderedRectNode extends RenderedNodeTextStyle, RenderedNodeIdentity { kind: 'rect'; key: string; x: number; y: number; width: number; height: number; rx: number; fill: string; stroke: string; strokeWidth: number; opacity: number; text: string; fontSize: number; /** Centre x for text anchor. */ textX: number; /** Centre y for text anchor. */ textY: number; } /** A node rendered as an SVG circle. */ interface RenderedCircleNode extends RenderedNodeTextStyle, RenderedNodeIdentity { kind: 'circle'; key: string; cx: number; cy: number; r: number; /** * Optional independent horizontal/vertical radii for a genuinely elliptical * node (e.g. the `cycle` arranger's "Basic Cycle" ring, whose real * PowerPoint output is a non-circular ellipse - see * `smartart-layout-interpreter-cycle.ts`). Additive: every existing * producer that never sets these keeps rendering as the plain circle `r` * always described; a consumer that does not know about `rx`/`ry` still * gets a sensible circle (`r`) rather than an error. Only * `smartart-interpreter-drawing-bridge.ts`'s geometry conversion currently * reads them. */ rx?: number; ry?: number; fill: string; stroke: string; strokeWidth: number; opacity: number; text: string; fontSize: number; /** * Label anchor x. Defaults to `cx`; set when the label sits away from the * circle (target leader labels, timeline captions). */ textX?: number; /** Label anchor y. Defaults to `cy`. */ textY?: number; /** SVG `text-anchor` for the label. Defaults to `middle`. */ textAnchor?: 'start' | 'middle' | 'end'; /** * How the label block sits relative to `textY`: `middle` centres it (the * default), `bottom` puts the last baseline on `textY` (label above the * node), `top` puts the first line's top on `textY` (label below). */ textBaseline?: 'top' | 'middle' | 'bottom'; } /** A node rendered as an SVG polygon (chevron, trapezoid, etc.). */ interface RenderedPolygonNode extends RenderedNodeTextStyle, RenderedNodeIdentity { kind: 'polygon'; key: string; points: string; fill: string; stroke: string; strokeWidth: number; opacity: number; text: string; fontSize: number; /** Centre x for text anchor. */ textX: number; /** Centre y for text anchor. */ textY: number; } type RenderedNode = RenderedRectNode | RenderedCircleNode | RenderedPolygonNode; /** * A connector line between two rendered nodes. * * The paint fields are optional and carry the values every binding already * hardcodes, so a renderer that ignores them is unchanged: * `stroke` -> `#94a3b8`, `strokeWidth` -> `1.5`, `opacity` -> `0.5`, * `dash` -> solid. */ interface RenderedConnector { key: string; /** SVG path data string. */ d: string; /** Stroke colour. Default `#94a3b8`. */ stroke?: string; /** Stroke width. Default `1.5`. */ strokeWidth?: number; /** Stroke opacity. Default `0.5`. */ opacity?: number; /** SVG `stroke-dasharray`. Default solid. */ dash?: string; /** * Connector label text, from a `dgm:pt/@type="parTrans"` transition * point's `dgm:t` (`PptxSmartArtConnection.label`). PowerPoint's own * diagram editor lets a user type text directly onto an org-chart * relationship connector. `undefined` when the connector carries no text * (the overwhelming majority). */ text?: string; } /** The layout family applied to a SmartArt element. */ type LayoutFamily = 'list' | 'process' | 'cycle' | 'hierarchy' | 'matrix' | 'radial' | 'pyramid' | 'venn' | 'funnel' | 'target' | 'gear' | 'timeline' | 'bending'; /** Complete layout output for a single SmartArt family. */ interface SmartArtLayoutResult { /** Rendered geometry nodes. */ nodes: RenderedNode[]; /** Connector lines (may be empty). */ connectors: RenderedConnector[]; /** SVG filter string for drop shadows, e.g. `"drop-shadow(…)"`. */ shadowFilter: string | undefined; /** * Suggested viewBox string `"0 0 W H"`. * Callers should use the element's actual pixel dimensions. */ viewBox: string; /** The layout family that was applied. */ family: LayoutFamily; } /** Bounding box passed to every layout function. */ interface BoundingBox { width: number; height: number; } //#endregion //#region src/pptx/core/utils/smartart-layout-style-helpers.d.ts /** Pick a colour from the palette, cycling for any index. */ export declare function colour(index: number, palette: string[]): string; /** * Resolve the effective fill for a node: an explicit per-node * `node.style.fillColor` override wins, otherwise the cycled palette colour. */ export declare function nodeFill(node: PptxSmartArtNode, index: number, palette: string[]): string; /** * Resolve the effective outline stroke for a node: an explicit per-node * `node.style.lineColor` override wins, otherwise the style-derived default. */ export declare function nodeStroke(node: PptxSmartArtNode, defaultStroke: string): string; /** * Resolve the per-node label styling from an explicit `node.style` override. * * Returns only the fields the node actually overrides, so spreading the result * into a `RenderedNode` leaves the binding defaults (white, no weight, no * italic) in place for an unstyled node. */ export declare function nodeTextStyle(node: PptxSmartArtNode): RenderedNodeTextStyle; /** Compute a fading opacity for progressive nodes. */ export declare function nodeOpacity(index: number, total: number, style: SmartArtStyle): number; /** Drop-shadow filter string for the given style. */ export declare function styleShadow(style: SmartArtStyle): string | undefined; /** Stroke width for node outlines. */ export declare function styleStroke(style: SmartArtStyle): number; /** Truncate text at `max` chars, appending an ellipsis. */ export declare function truncate(text: string, max: number): string; /** * Fit font size to available space. * Uses a 0.6 char-width heuristic; clamps to `minSize` (6pt by default). */ export declare function fitFontSize(text: string, maxWidth: number, maxHeight: number, baseSize: number, minSize?: number): number; /** * SVG polygon `points` for a chevron / arrow inscribed in the box at (`x`, `y`) * sized `w` x `h`: a notch on the left edge and a tip on the right. * * @param x - Left edge. * @param y - Top edge. * @param w - Box width. * @param h - Box height. * @returns Space-separated `"x,y"` pairs. */ export declare function chevronPoints(x: number, y: number, w: number, h: number): string; /** * SVG polygon `points` for a cog wheel centred at (`cx`, `cy`). * * Vertices alternate between `outerR` (tooth tip) and `innerR` (tooth valley), * two vertices per tooth. Emitted as polygon points rather than a path so the * gear rides the existing `RenderedPolygonNode` contract every binding already * renders; the outline is identical either way because the teeth are straight * segments. * * @param cx - Centre x. * @param cy - Centre y. * @param outerR - Tooth-tip radius. * @param innerR - Tooth-valley radius. * @param teeth - Number of teeth. * @returns Space-separated `"x,y"` pairs. */ export declare function gearPoints(cx: number, cy: number, outerR: number, innerR: number, teeth: number): string; /** Outline-stroke colour for a node given its computed stroke width. */ export declare function strokeFor(sw: number): string; /** Depth-first flatten of a nested node forest. */ export declare function flattenNodes(roots: PptxSmartArtNode[]): PptxSmartArtNode[]; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-render.d.ts /** Resolved stroke width / colour / shadow for a SmartArt style. */ interface StyleContext { strokeWidth: number; stroke: string; shadow: string | undefined; } /** Derive the reusable stroke/shadow context for a style once per layout. */ export declare function styleContext(style: SmartArtStyle): StyleContext; interface RectParams { key: string; x: number; y: number; width: number; height: number; node: PptxSmartArtNode; index: number; total: number; palette: string[]; style: SmartArtStyle; ctx: StyleContext; /** A font size shared by every item in the arranged set; see `presetBoxNode`. */ fontSizeOverride?: number; /** See `RenderedNodeIdentity.descendantFontSize`'s doc comment. */ descendantFontSize?: number; } /** Build a styled rounded-rect node covering `[x,y,width,height]`. */ export declare function rectNode(params: RectParams): RenderedRectNode; interface CircleParams { key: string; cx: number; cy: number; r: number; /** Independent horizontal/vertical radii for a genuine ellipse; see `RenderedCircleNode.rx`/`.ry`'s doc comment. */ rx?: number; ry?: number; node: PptxSmartArtNode; index: number; total: number; palette: string[]; style: SmartArtStyle; ctx: StyleContext; /** A font size shared by every item in the arranged set; see `presetBoxNode`. */ fontSizeOverride?: number; /** See `RenderedNodeIdentity.descendantFontSize`'s doc comment. */ descendantFontSize?: number; } /** Build a styled circle node centred at `[cx,cy]`. */ export declare function circleNode(params: CircleParams): RenderedCircleNode; interface PolygonParams { key: string; points: string; textX: number; textY: number; fontWidth: number; fontHeight: number; node: PptxSmartArtNode; index: number; total: number; palette: string[]; style: SmartArtStyle; ctx: StyleContext; /** A font size shared by every item in the arranged set; see `presetBoxNode`. */ fontSizeOverride?: number; /** See `RenderedNodeIdentity.descendantFontSize`'s doc comment. */ descendantFontSize?: number; } /** Build a styled polygon node from an SVG points string. */ export declare function polygonNode(params: PolygonParams): RenderedPolygonNode; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-arrangement-kind.d.ts /** Arrangement families the interpreter can execute. */ type ArrangementKind = 'linear' | 'cycle' | 'hierarchy' | 'pyramid' | 'snake' | 'composite' | 'conn' | 'spacer' | 'text'; /** The arranger `layoutNode` plus the resolved arrangement family. */ interface ArrangementPlan { kind: ArrangementKind; /** The `layoutNode` carrying the arrangement algorithm + its constraints. */ node: PptxSmartArtLayoutNode; } //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-constraints.d.ts /** Find the first constraint of `type`, optionally restricted to a relationship. */ export declare function findConstraint(constraints: PptxSmartArtConstraint[] | undefined, type: string, forRel?: PptxSmartArtConstraint['for']): PptxSmartArtConstraint | undefined; /** Clamp a ratio to a matching `dgm:ruleLst` numeric rule's `max`, when present. */ export declare function clampByRules(value: number, rules: PptxSmartArtNumericRule[] | undefined, type: string): number; /** * Resolve a spacing/padding constraint to a *ratio* of the item extent. * * DiagramML commonly expresses sibling spacing and padding as a factor of a * referenced dimension, e.g. ``. * We surface that factor directly. When only a small absolute `val` (< 1) is * present we treat it as a ratio too; otherwise the caller's default is used. * * A `for="ch"` constraint (the child-scoped form real diagrams use for sibling * spacing / padding) is preferred over an unscoped one, and the result is capped * by any matching `dgm:ruleLst` numeric rule `max` when `rules` is supplied. */ export declare function ratioConstraint(constraints: PptxSmartArtConstraint[] | undefined, types: readonly string[], fallback: number, rules?: PptxSmartArtNumericRule[]): number; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-flow-direction.d.ts /** The first nested item `layoutNode` under an arranger (the per-point shape). */ export declare function itemNode(arranger: PptxSmartArtLayoutNode): PptxSmartArtLayoutNode | undefined; /** Read an algorithm parameter value by its `dgm:param` type. */ export declare function algorithmParam(node: PptxSmartArtLayoutNode, type: string): string | undefined; /** Read a numeric algorithm parameter, returning `fallback` when absent/invalid. */ export declare function numericParam(node: PptxSmartArtLayoutNode, type: string, fallback: number): number; /** Orientation + ordering resolved from `linDir` and presentation variables. */ interface FlowDirection { orientation: 'horizontal' | 'vertical'; reverse: boolean; } /** * Resolve linear flow direction from the arranger's `linDir` param and the * data model's `dgm:dir` (`presLayoutVars.direction`). `fromR`/`fromB` and a * reversed direction both flip the placement order. */ export declare function resolveFlowDirection(arranger: PptxSmartArtLayoutNode, presLayoutVars: PptxSmartArtPresLayoutVars | undefined): FlowDirection; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-model.d.ts /** * Determine which arrangement algorithm drives the diagram. * * Precedence (highest first): * 1. hierarchy - any `hierRoot`/`hierChild` (org-chart / tree) always wins. * 2. choose - a `dgm:choose` decidable from `nodeCount` selects its branch's * structural algorithm instead of the blind first-found one (never a * pos-guarded child - see `smartart-layout-interpreter-position- * family.ts`). Undecidable chooses fall through, EXCEPT: (a) when the * node also independently qualifies as its own genuine composite (see * (3)) AND the result was found by tunnelling 2+ `dgm:layoutNode` levels * into one of its own child slots - `tunnelsPastOwnCompositeSlot` * (`smartart-layout-interpreter-choose-depth.ts`, corpus-measured, * monotonic) - the node's own composite identity wins instead; (b) when * the resolved branch's own subtree contains a REAL `hierChild`/ * `hierRoot` construct - `hasHierarchyDescendant` (`smartart-layout- * interpreter-hierarchy-descendant.ts`, SESSION 24) - a shallow packing * wrapper (e.g. a labelled-hierarchy's own `hierFlow`) must not claim * the diagram away from the REAL nested hierarchy, found LATER in the * same walk but with no chance to compete once `chosen` is already set. * 3. composite - a `composite` whose child slots carry positioning * constraints (maps data points into fixed slots). A passive composite * wrapper is skipped so its inner arrangement wins. * 4. structural - the first `lin`/`cycle`/`pyra`/`snake` in document order. * 5. conn/sp/tx - only when they are the dominant/only algorithm (no * structural or slot-mapping composite present) and carry * constraints/children. * * `nodeCount` (the flat data-point count) is optional; when omitted the choose * step is skipped and the blind first-alg behaviour is preserved. Returns * `undefined` when nothing is recognised, so the caller keeps the legacy * family approximation. * * `presLayoutVars`, when supplied, lets a `func="var"` `dgm:if` decide its * branch. Every `dgm:choose` visited also gets its declaring node's sibling * position/count/depth/tree-max-depth, so `"pos"`/`"revPos"`/`"posEven"`/ * `"posOdd"`/`"depth"`/`"maxDepth"` are decidable here too, not just `"cnt"`/ * `"var"`. `flatNodes`, when supplied, additionally lets a `func="cnt"` * `dgm:if` whose `@axis` needs real compound navigation decide too (ECMA-376 * 21.4.7.5 - see `smartart-layout-interpreter-when.ts`'s `resolveAxisCount`). * Each omitted parameter keeps the coarser pre-existing fallback. * * ROUND 42: a `dgm:choose`-flattened branch reached through one of an * ALREADY-resolved `compositeSlot`'s own named `dgm:forEach` children never * sets `chosen` - see `isMappedSlotAlternative`'s own doc comment. */ export declare function discoverArrangement(definition: PptxSmartArtLayoutDefinition, nodeCount?: number, presLayoutVars?: PptxSmartArtPresLayoutVars, flatNodes?: PptxSmartArtNode[]): ArrangementPlan | undefined; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-when.d.ts /** * Extra evaluation context beyond the node count, letting {@link evaluateWhen} * decide the `func` values ECMA-376 defines against a specific point's * position/depth or the diagram's own `presLayoutVars`, when a caller has that * context available. Every field is optional: `discoverArrangement` * (`smartart-layout-interpreter-model.ts`) supplies the declaring layout * node's own tree location (position among siblings, sibling count, depth, * the tree's max depth) for every `choose` it walks, so `pos`/`revPos`/ * `posEven`/`posOdd`/`depth`/`maxDepth` are decidable in production, not just * in unit tests. A caller with no tree location to offer (e.g. a bare * `chooseAlgType` call from a test) simply omits these fields and those * functions stay undecidable, exactly as before - no regression. */ interface WhenContext { /** 1-based ordinal position of the point being evaluated, for `pos`/`revPos`/`posEven`/`posOdd`. */ position?: number; /** Sibling count the position is measured against, for `revPos`. */ total?: number; /** Depth of the point/node being evaluated, for `func="depth"`. */ depth?: number; /** Maximum depth of the tree, for `func="maxDepth"`. */ maxDepth?: number; /** Diagram presentation layout variables, for `func="var"` (`@arg` names the variable). */ presLayoutVars?: PptxSmartArtPresLayoutVars; /** * The diagram's own flat data-model node array (`parentId`-linked), for a * `func="cnt"` `dgm:if` whose `@axis` is declared at all - a single bare * hop (`axis="ch"`, "the context point's own children"), a sub-range * select (`@st`/`@cnt`), or a compound multi-hop chain (`axis="ch ch"`, * "my first child's own children") - see {@link resolveAxisCount}. * Omitted by a caller with no data-model tree to offer keeps the older, * coarser `nodeCount`-only behaviour for `cnt` exactly as before (no * regression for a caller that never had this). */ nodes?: PptxSmartArtNode[]; /** * The point(s) a `dgm:if`'s own enclosing `dgm:forEach` bound (its * `PptxSmartArtLayoutNode.forEachOrigin`, already resolved to real data * nodes), for a `func="maxDepth"` `dgm:if` whose `@axis` needs anchor- * relative navigation rather than the diagram root - see {@link * resolveAxisMaxDepth}'s own doc comment (`smartart-layout-interpreter- * axis-depth.ts`) for the derivation. Omitted by a caller with no anchor * to offer keeps the older `context.maxDepth`-only behaviour for * `maxDepth` exactly as before (no regression for a caller that never had * this - no existing caller populates this field yet). */ anchor?: PptxSmartArtNode[]; } //#endregion //#region src/pptx/core/utils/smartart-constraint-resolve.d.ts /** * Resolve the value a role's constraint of `type` ultimately carries, walking * any `refType`/`refFor`/`refForName` chain. Returns `undefined` when nothing * declares it, a reference cannot be resolved, or resolution would cycle - the * caller is expected to fall back to its own default in every such case. */ export declare function resolveConstraint(index: ConstraintIndex, role: string, type: string): number | undefined; //#endregion //#region src/pptx/core/utils/smartart-constraint-solver.d.ts /** One `dgm:constr` plus the role that declared it. Exposed for * `smartart-constraint-declared-by.ts`, which needs to filter candidates by * `declaringRole` before running the same reference-walking logic. */ interface IndexedConstraint { constraint: PptxSmartArtConstraint; /** Name of the layoutNode whose `constrLst` declared this entry ("self"). */ declaringRole: string; } /** One-shot index over every `dgm:constr` in a layout definition. */ interface ConstraintIndex { entries: Map; rootRole: string; } /** True when a constraint carries any `ref*` attribute (a relative constraint). */ export declare function hasReference(constraint: PptxSmartArtConstraint): boolean; /** The role name a layoutNode's own constraints/references resolve under. */ export declare function roleOf(node: PptxSmartArtLayoutNode | undefined): string; /** * An index over no constraints at all. Every arranger that consults a * `ConstraintIndex` accepts this as its default, so adding the parameter * never breaks an existing caller that arranges without one (it just gets * exactly the pre-existing scalar-only behaviour: every lookup degrades). */ export declare const EMPTY_CONSTRAINT_INDEX: ConstraintIndex; /** * Build a resolvable index of every `dgm:constr` in the whole layout tree. * * `nodeCount`/`context` (round 39) enable choose-AWARE selection for a node * whose `constrLst` is genuinely branched (`node.constraintCandidates`, see * `smartart-constraint-branch-index.ts`'s `selectConstraints`): when the * live branch decides, only ITS constraints are indexed for that node, * instead of blindly unioning every branch. Omit both (every pre-existing * caller) to keep the old blind-union behaviour exactly as before - a * caller with no diagram to evaluate against cannot decide a branch anyway. */ export declare function buildConstraintIndex(definition: PptxSmartArtLayoutDefinition, nodeCount?: number, context?: WhenContext): ConstraintIndex; //#endregion //#region src/pptx/core/utils/smartart-constraint-declared-by.d.ts /** * Resolve a role's constraint of `type`, considering ONLY declarations made * by `declaringRole` (typically the ARRANGER itself, via its own `for="ch" * forName=""`/`ptType=""` entries) - a role's OWN self-scoped * constrLst entry for the same `type` is ignored at this top level (though a * reference chain from an accepted candidate still resolves normally, with no * such restriction, once underway). * * This distinction is measured, not incidental: real PowerPoint output honours * an ARRANGER-declared per-item aspect (verified against `animation-builds- * color.pptx` in `smartart-relative-constraint-roundtrip.test.ts`, a genuine * `for="ch" forName="node" refType="w" refFor="ch" refForName="node" fact= * "0.6"` declaration), but does NOT apply an item's OWN self-scoped `h`/`w` * (e.g. "Basic Process"'s `tx` item template's own ``, and "Vertical Process"'s roundRect item's own * ``) to the outer box at all - * both are genuinely full-cross-axis boxes in the cached drawing regardless. * Applying the item's own declaration as if it were arranger-declared * regressed both from ~2-4% deviation to over 70-90% * (`smartart-gallery-ground-truth.test.ts`). */ export declare function resolveConstraintDeclaredBy(index: ConstraintIndex, role: string, type: string, declaringRole: string): number | undefined; //#endregion //#region src/pptx/core/utils/smartart-constraint-ratio-fallback.d.ts /** * Drop-in replacement for a bare `ratioConstraint(...)` call: tries the exact * same literal scan first (so every already-passing behaviour is unchanged), * then falls back to resolving a relative constraint declared for `role` * before giving up to `fallback`. */ export declare function resolveRatioConstraint(constraints: PptxSmartArtConstraint[] | undefined, index: ConstraintIndex, role: string, types: readonly string[], fallback: number, rules?: PptxSmartArtNumericRule[]): number; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-choose-algorithm.d.ts /** * Resolve a decidable `dgm:choose` on `node` to the structural algorithm type * it selects, or `undefined` when no choose is decidable (in which case the * caller keeps the blind first-recognised-alg behaviour). Decidable on * `func="cnt"` from `nodeCount` alone, or on `func="var"` when `context` * carries `presLayoutVars`; `pos`/`revPos`/`posEven`/`posOdd`/`depth`/ * `maxDepth` are decidable too when `context` supplies the declaring layout * node's own tree location (`discoverArrangement` in * `smartart-layout-interpreter-model.ts` now supplies it for every `choose` * it walks). `context` defaults to `{}` for source compatibility with * existing callers that don't have a tree location to offer (in which case * those functions stay undecidable, exactly as before). */ export declare function chooseAlgType(node: PptxSmartArtLayoutNode, nodeCount: number, context?: WhenContext): string | undefined; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-flow.d.ts /** * Apply the driving `dgm:forEach` selection semantics (`st` / `cnt` / `step`) to * the flat data-model points and, when the iterator declares `hideLastTrans`, * drop the trailing slot. `st` is 1-based (DiagramML default 1); `cnt` of 0 * means "all"; `step` defaults to 1. Returns `flat` unchanged when the arranger * node carries no iterator. * * When `node` declares MORE THAN ONE qualifying iterator ({@link * qualifyingIterators}), or nests a `followSib`/`ptType="node"` iterator * inside one iterator's own item template ({@link * collectFollowSibNodeCounts}), the result is the UNION of every iterator's * own selection, in data order - `Target List`'s 7 independent single-point * ring iterators, and `Alternating Flow`'s `step="2"` primary paired with a * nested `followSib` "next point" secondary, both resolve this way. The * common case (exactly one iterator, no nested pairing) is unaffected: the * union of one iterator's own indices is exactly its own selection, same as * before this generalisation. * * @param roots The original (un-flattened) top-level nodes. When EVERY * qualifying iterator's axis is exactly `ch` (see {@link isChildOnlyAxis}), * selection runs over `roots` instead of the depth-first-flattened `flat`, * so a node with children gets exactly one box; the caller * (`interpretedLayoutToElements`) folds each unrendered descendant's text * into its ancestor's box as additional paragraphs. Omit `roots` (or pass * it equal to `flat`) to keep the previous flat-only behaviour, e.g. for * callers with no tree to offer. */ export declare function selectArrangedNodes(node: PptxSmartArtLayoutNode, flat: PptxSmartArtNode[], roots?: PptxSmartArtNode[]): PptxSmartArtNode[]; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-snake.d.ts /** Execute the `snake` algorithm: a grid honouring `grDir`/`flowDir`/`contDir`/`bkpt`. */ export declare function arrangeSnake(plan: ArrangementPlan, nodes: PptxSmartArtNode[], box: BoundingBox, palette: string[], style: SmartArtStyle, elementId: string, index?: ConstraintIndex, childrenOf?: Map, fontName?: string): SmartArtLayoutResult; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-linear.d.ts /** Execute the `lin` algorithm: a single row/column honouring constraints. */ export declare function arrangeLinear(plan: ArrangementPlan, flow: FlowDirection, nodes: PptxSmartArtNode[], box: BoundingBox, palette: string[], style: SmartArtStyle, elementId: string, index?: ConstraintIndex, childrenOf?: Map, fontName?: string, presLayoutVars?: PptxSmartArtPresLayoutVars): SmartArtLayoutResult; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-cycle.d.ts /** Execute the `cycle` algorithm: points on a ring around the box centre. */ export declare function arrangeCycle(plan: ArrangementPlan, nodes: PptxSmartArtNode[], box: BoundingBox, palette: string[], style: SmartArtStyle, elementId: string, index?: ConstraintIndex, hubAlreadyStripped?: boolean, childrenOf?: Map, fontName?: string, declaringRoleChain?: readonly string[], sizeBox?: BoundingBox): SmartArtLayoutResult; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-hierarchy.d.ts /** Execute the hierarchy algorithm over the data-model node tree. */ export declare function arrangeHierarchy(nodes: PptxSmartArtNode[], box: BoundingBox, palette: string[], style: SmartArtStyle, elementId: string, presLayoutVars: PptxSmartArtPresLayoutVars | undefined, connectorLabels?: Map, algorithmNode?: PptxSmartArtLayoutNode, index?: ConstraintIndex, childOrder?: Map, fontName?: string): SmartArtLayoutResult; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-pyramid.d.ts /** Execute the `pyra` algorithm: stacked trapezoid bands (apex at top). */ export declare function arrangePyramid(plan: ArrangementPlan, nodes: PptxSmartArtNode[], box: BoundingBox, palette: string[], style: SmartArtStyle, elementId: string, index?: ConstraintIndex, childrenOf?: Map, fontName?: string): SmartArtLayoutResult; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-composite.d.ts /** * Execute the `composite` algorithm: map data points into the fixed child slots. * * Returns `undefined` when the composite has no child that positions itself, so * the caller can fall back to its legacy family approximation. * * @param nodes The arranged top-level points (see the module doc comment for * how `self`/`des` slots consume them). * @param childrenOf Full data-model parent/child map (`smartArtChildrenOf`), * for folding a `des`-axis slot's content. Omit (defaults to empty) when * the caller has no tree to offer - `des` slots then simply render empty. * @param flat The diagram's full flat (depth-first) node list, for a * `dgm:choose`-guarded composite with no `self`-axis slot anywhere (see * {@link arrangeByChooseAwareSlots}). Omit (defaults to `nodes`) when the * caller has no fuller list to offer - a composite that never needs * root-relative resolution is unaffected either way. * @param presLayoutVars ROUND 42: threaded to `renderChildRepeaterOrNestedCycle` * so a choose-wrapped nested-cycle slot's `func="var"` can decide. Omit * when absent - a composite with no such slot is unaffected either way. */ export declare function arrangeComposite(plan: ArrangementPlan, nodes: PptxSmartArtNode[], box: BoundingBox, palette: string[], style: SmartArtStyle, elementId: string, index?: ConstraintIndex, childrenOf?: Map, flat?: PptxSmartArtNode[], fontName?: string, presLayoutVars?: PptxSmartArtPresLayoutVars): SmartArtLayoutResult | undefined; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-aux.d.ts /** * Execute the `conn` algorithm: arrange the points linearly and draw a * connector between each consecutive pair (N nodes -> N-1 connectors), honouring * `begSty`/`endSty` (arrowhead presence), `connRout` (straight/bend/curve), * `dim` (facing-edge vs centre-to-centre routing), and `linDir` ordering. * * Limitation: this is a standalone best-effort pass. A real `conn` node draws * against positions computed by the sibling arranger; without that shared * geometry we re-run the linear arrangement here. `presLayoutVars` direction is * not threaded through this signature, so only `linDir` reversal is honoured. * `bendPt`'s finer corner-routing variants collapse to one fixed midpoint elbow * (see `smartart-layout-interpreter-conn-path.ts`'s module doc). */ export declare function arrangeConn(plan: ArrangementPlan, nodes: PptxSmartArtNode[], box: BoundingBox, palette: string[], style: SmartArtStyle, elementId: string, index?: ConstraintIndex): SmartArtLayoutResult | undefined; /** * Execute the `sp` algorithm: a spacer that reserves layout space but draws * nothing. * * Choice: we return a valid, empty `SmartArtLayoutResult` (no nodes, no * connectors) rather than a transparent placeholder rect or `undefined`. The * spacer is genuinely "applicable" (it is a recognised algorithm), so declining * with `undefined` would wrongly send the caller to the legacy family * approximation; emitting an invisible placeholder would add a stray hit-target * and complicate node indexing. An empty result cleanly represents "consumed * space, nothing drawn". */ export declare function arrangeSpacer(_plan: ArrangementPlan, _nodes: PptxSmartArtNode[], box: BoundingBox, _palette: string[], style: SmartArtStyle, _elementId: string): SmartArtLayoutResult | undefined; /** * Execute the `tx` algorithm: a single node filling the parent region with the * point's text. Only the first point is placed (composite `tx` leaves describe * one region). Returns `undefined` when there is no point to render. */ export declare function arrangeText(plan: ArrangementPlan, nodes: PptxSmartArtNode[], box: BoundingBox, palette: string[], style: SmartArtStyle, elementId: string, index?: ConstraintIndex, childrenOf?: Map, fontName?: string): SmartArtLayoutResult | undefined; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter-custom.d.ts /** * Apply every node's manual `cust*` layout override (if any) as a final * transform over an already-computed layout result. A no-op when no node in * `nodes` carries a `customLayout`, returning `result` unchanged (same * reference) so callers can cheaply skip re-deriving anything downstream. */ export declare function applyCustomLayoutOverrides(result: SmartArtLayoutResult, nodes: PptxSmartArtNode[], box: BoundingBox): SmartArtLayoutResult; //#endregion //#region src/pptx/core/utils/smartart-node-role-colors.d.ts /** Per-styleLbl-role resolved colour lists (from a diagram colour transform). */ type SmartArtColorRoleMap = Record; /** * Overlay each node's own quick-style role fill colour onto the interpreter * output. Returns `result` unchanged when `colorRoles` is empty/absent. */ export declare function applySmartArtRoleColors(result: SmartArtLayoutResult, flat: PptxSmartArtNode[], colorRoles: SmartArtColorRoleMap | undefined): SmartArtLayoutResult; //#endregion //#region src/pptx/core/utils/smartart-layout-interpreter.d.ts /** Inputs for a single interpreter run. */ interface InterpretLayoutInput { /** Parsed layout definition (from `PptxSmartArtData.layoutDefinition`). */ layoutDefinition: PptxSmartArtLayoutDefinition | undefined; /** Original (possibly nested) data-model nodes - used for hierarchy. */ nodes: PptxSmartArtNode[]; /** Depth-first flattened nodes - used for flat arrangements. */ flat: PptxSmartArtNode[]; box: BoundingBox; palette: string[]; style: SmartArtStyle; elementId: string; /** Presentation layout variables (direction / hierBranch / orgChart). */ presLayoutVars?: PptxSmartArtPresLayoutVars; /** * Per-styleLbl-role resolved colour lists (from * `PptxSmartArtColorTransform.roleColors`): a node whose {@link * PptxSmartArtNode.styleRole} matches a key gets that role's own cycled * fill colour instead of the generic `palette` cycling - see * `smartart-node-role-colors.ts`. */ colorRoles?: SmartArtColorRoleMap; /** * Data-model connections (from `PptxSmartArtData.connections`): labels a * hierarchy `parOf` edge's connector from its `parTrans` text, and * resolves a transition-bound item role's ordinal text (a numbered badge) * from its `sibTrans`/`parTrans` text - via `connection.label`. */ connections?: PptxSmartArtConnection[]; /** * The deck's own theme minor-Latin font (`PptxSmartArtData.themeMinorFont`), * threaded through to every arranger's font-fit so text is measured * against the REAL font PowerPoint renders it in. `undefined` falls back * to the default in `smartart-layout-item-font-size.ts`. */ fontName?: string; } /** * Interpret the layout definition, or return `undefined` when it is not * understood (no recognised arrangement algorithm, or no nodes to place). * * When an arrangement is produced, every node's manual `dgm:pt/dgm:prSet` * `cust*` override (drag/resize/rotate/flip performed in PowerPoint's own * diagram editor) is applied as a final transform, so a manually-placed node * does not revert to its algorithmic position. */ export declare function interpretSmartArtLayout(input: InterpretLayoutInput): SmartArtLayoutResult | undefined; //#endregion //#region src/pptx/core/utils/smartart-data-model-attributes.d.ts /** * Parse the manual layout override attributes (`cust*`) from a `dgm:pt`'s * `dgm:prSet` element, or `undefined` when `prSet` is absent or carries none of * them. These capture a drag/resize/rotate/flip the user performed on a * `type="pres"` presentation point in PowerPoint's own diagram editor. */ export declare function parseSmartArtPointCustomLayout(prSet: XmlObject | undefined): SmartArtNodeCustomLayout | undefined; //#endregion //#region src/pptx/core/utils/smartart-interpreter-drawing-bridge.d.ts /** * Convert the interpreter's result into `PptxElement[]` shapes offset into * `containerBounds`, using each rendered node's original data-model node for * its full (untruncated, per-run-styled) text. * * @param result - Interpreter output (`interpretSmartArtLayout`). * @param nodes - The full node set the interpreter arranged from * (used to resolve each `RenderedNode.nodeId`). * @param containerBounds - The SmartArt graphic frame's bounds on the slide; * the interpreter's own geometry is already sized to * the frame, so only an offset is needed (no scale). * @param connections - `PptxSmartArtData.connections`, when available: * orders each `smartArtChildrenOf` group by its own * `dgm:cxn` `srcOrd` rather than raw `dgm:ptLst` * declaration order (see that function's own doc * comment) - the SAME general rule the interpreter's * own live path already applies, so a fabricated * cached drawing's folded descendant text joins in * the same order. Omitted keeps the pre-existing * declaration-order behaviour. */ export declare function interpretedLayoutToElements(result: SmartArtLayoutResult, nodes: PptxSmartArtNode[], containerBounds: { x: number; y: number; }, bulletEnabled?: boolean, connections?: PptxSmartArtConnection[]): PptxElement[]; //#endregion //#region src/pptx/core/utils/smartart-node-style-role.d.ts type LocalName$7 = (key: string) => string; /** * Resolve `contentNodeId -> presStyleLbl` for every content point that has a * `presOf` association with a `styleLbl`-carrying presentation point. * * @param points Every parsed `dgm:pt` (unfiltered - `pres` points must * be present alongside content points). * @param connections Parsed `dgm:cxn` list (from {@link parseSmartArtConnection}). * @param localName Local-name resolver for prefixed XML keys. */ export declare function resolveSmartArtNodeStyleRoles(points: XmlObject[], connections: PptxSmartArtConnection[], localName: LocalName$7): Map; /** * Resolve the set of content node ids whose presentation point declares * `dgm:prSet/@coherent3DOff="1"` (`CT_ElemPropSet`): PowerPoint lets a * SmartArt author break one node out of the diagram's overall coherent-3D * scene rotation (used with `dgm:scene3d`/`dgm:sp3d` bevel quick styles). See * `smartart-effect-intensity.ts`'s theme-resolved style refs, which honour * this flag when applying a quick style's `scene3d`/`sp3d` variation. * * Mirrors {@link resolveSmartArtNodeStyleRoles}'s presOf resolution (a * content point carries no attributes of its own; PowerPoint always writes * this on the presentation point instead), kept as a separate pass so the * (far more common) style-role resolution never pays for it. */ export declare function resolveSmartArtNodeCoherent3DOff(points: XmlObject[], connections: PptxSmartArtConnection[], localName: LocalName$7): Set; //#endregion //#region src/pptx/core/utils/smartart-effect-intensity.d.ts type LocalName$6 = (key: string) => string; /** Resolved effect-intensity levels, matching {@link SmartArtStyle}. */ type SmartArtEffectIntensity = 'intense' | 'moderate' | 'subtle'; /** * Derive the quick style's effect intensity from its primary node * `styleLbl`'s actual `dgm:sp3d` / `a:lnRef` / `a:fillRef` / `a:effectRef` * content, or `undefined` when no recognisable node label is present. */ export declare function resolveSmartArtEffectIntensity(styleLbls: XmlObject[], localName: LocalName$6): SmartArtEffectIntensity | undefined; //#endregion //#region src/pptx/core/utils/smartart-color-lists.d.ts /** Injected XML/colour accessors so this module needs no runtime instance. */ interface SmartArtColorListDeps { /** First child element by local name. */ getChild: (node: XmlObject | undefined, name: string) => XmlObject | undefined; /** * Resolve a single DrawingML colour container (e.g. `{ 'a:schemeClr': … }`) * to a hex string, applying lum/shade/tint transforms. Mirrors the runtime * `parseColor` / `parseColorChoice`. */ parseColorChoice: (colorChoice: XmlObject | undefined) => string | undefined; /** Fallback: resolve a bare `schemeClr`/`srgbClr` node against the theme map. */ resolveScheme: (colorNode: XmlObject | undefined) => string | undefined; } /** Resolved colour lists + interpolation metadata for the primary node styleLbl. */ interface SmartArtColorLists { fillColors: string[]; lineColors: string[]; textFillColors?: string[]; textLineColors?: string[]; effectColors?: string[]; textEffectColors?: string[]; fillInterpolation?: PptxSmartArtColorListMetadata; lineInterpolation?: PptxSmartArtColorListMetadata; } /** * Resolve every colour entry of a `dgm:*ClrLst` node, in document order, to a * hex string. Unlike the legacy single-colour read, this keeps the full list so * multi-colour ("colorful") schemes spread instead of collapsing. */ export declare function parseSmartArtColorListHexes(list: XmlObject | undefined, deps: SmartArtColorListDeps): string[]; /** * Resolve the SmartArt colour palette from a colour-transform part's styleLbls. * * The primary node styleLbl's FULL fill list becomes the cycling palette (so a * 3-colour "colorful" list spreads across 3 nodes instead of collapsing). When * no node styleLbl is recognised, falls back to the legacy behaviour of taking * the first colour of each styleLbl's list. */ export declare function buildSmartArtColorLists(styleLbls: XmlObject[], deps: SmartArtColorListDeps): SmartArtColorLists; /** * Resolve EVERY `styleLbl`'s own fill/line colour list, keyed by name. * * Unlike {@link buildSmartArtColorLists} (which collapses every label down to * ONE "primary" node-role palette), this keeps each role's own list so a node * can be coloured from ITS OWN role (`node1`, `asst0`, `bgShp`, `revTx`, ...) * instead of the generic cycled palette. A label with no fill, line or text * fill colour is omitted. */ export declare function buildSmartArtColorRoleMap(styleLbls: XmlObject[], deps: SmartArtColorListDeps): Record; //#endregion //#region src/pptx/core/utils/smartart-editing-node-ops.d.ts /** No-op kept for API compatibility; id generation no longer needs a counter. */ export declare function resetSmartArtEditCounter(): void; /** * Add a new node to a SmartArt diagram after a given sibling. * If `afterNodeId` is undefined, the node is appended at the end. * * Returns a new PptxSmartArtData with the node inserted and * connections / drawing shapes cleared (to trigger layout reflow). */ export declare function addSmartArtNode(data: PptxSmartArtData, text: string, afterNodeId?: string): PptxSmartArtData; /** * Remove a node from a SmartArt diagram by ID. * Also removes any connections referencing the node and * clears drawing shapes to trigger layout reflow. */ export declare function removeSmartArtNode(data: PptxSmartArtData, nodeId: string): PptxSmartArtData; /** * Update the text of a SmartArt node by ID. * * When drawing shapes exist, updates the matching shape's text in-place so the * renderer path does not change (avoids polygon-to-chevron downgrade that makes * a pyramid look like stacked bars). When no drawing shapes are present the * family renderer reads text directly from the node array. */ export declare function updateSmartArtNodeText(data: PptxSmartArtData, nodeId: string, newText: string): PptxSmartArtData; /** * Move a node to a different position within its sibling group. * `direction` of 1 moves the node down/right, -1 moves it up/left. */ export declare function reorderSmartArtNode(data: PptxSmartArtData, nodeId: string, direction: 1 | -1): PptxSmartArtData; /** * Promote a child node to be a sibling of its parent. */ export declare function promoteSmartArtNode(data: PptxSmartArtData, nodeId: string): PptxSmartArtData; /** * Demote a node to become a child of its preceding sibling. */ export declare function demoteSmartArtNode(data: PptxSmartArtData, nodeId: string): PptxSmartArtData; /** * Add a new node as a child of a given parent. * * If `parentId` is undefined, the node is added as a root-level item, using * the diagram's own root/doc id (inferred from an existing top-level node) * so it ends up as a sibling of the other top-level items rather than an * unparented node the save pipeline can't anchor into the diagram XML. * If `text` is undefined, a default label is generated. * * Returns a new PptxSmartArtData with the node inserted and * drawing shapes cleared (to trigger layout reflow). */ export declare function addSmartArtNodeAsChild(data: PptxSmartArtData, parentId?: string, text?: string): PptxSmartArtData; /** * Move a node to a specific index within its sibling group. * * Siblings are all nodes sharing the same `parentId`. * The node is removed from its current position among siblings and * re-inserted at `newIndex` (clamped to valid range). */ export declare function reorderSmartArtNodeToIndex(data: PptxSmartArtData, nodeId: string, newIndex: number): PptxSmartArtData; //#endregion //#region src/pptx/core/utils/smartart-editing-node-style.d.ts /** * Set (merge) a per-node visual override on a SmartArt node by id. * * The `style` partial is shallow-merged onto the node's existing * {@link PptxSmartArtNodeStyle}: present keys overwrite, keys explicitly set to * `undefined` are removed. When the resulting style has no keys, the `style` * field is dropped from the node entirely. `drawingShapes` is cleared so the * renderer reflows and the new colours take effect. * * Returns a new `PptxSmartArtData`; the input is never mutated. When `nodeId` * matches no node, the original `data` reference is returned unchanged. * * @example * ```ts * const next = setSmartArtNodeStyle(data, "node-2", { fillColor: "#FF0000", bold: true }); * ``` */ export declare function setSmartArtNodeStyle(data: PptxSmartArtData, nodeId: string, style: Partial): PptxSmartArtData; //#endregion //#region src/pptx/core/utils/smartart-editing-reflow.d.ts /** * Position data for a single node produced by the reflow engine. */ interface ReflowedNodePosition { /** Unique identifier of the SmartArt node. */ nodeId: string; /** Horizontal position in pixels. */ x: number; /** Vertical position in pixels. */ y: number; /** Width of the node in pixels. */ width: number; /** Height of the node in pixels. */ height: number; } /** * Recalculate positions for all SmartArt nodes based on the current * layout type and node structure. * * This function computes visually reasonable positions for the 5 most * common layout types. It does not aim for pixel-perfect PowerPoint * fidelity, but produces clean, well-spaced layouts. * * Returns an array of `PptxSmartArtDrawingShape` entries that can be * set on `data.drawingShapes` to update the visual layout, or returns * `undefined` if the layout type is not supported for reflow. * * @param data - SmartArt data model with nodes, connections, and layout type. * @param bounds - Container bounding box on the slide. * @returns Array of positioned drawing shapes, or undefined. */ export declare function reflowSmartArtLayout(data: PptxSmartArtData, bounds: ContainerBounds): PptxSmartArtDrawingShape[] | undefined; //#endregion //#region src/pptx/core/utils/font-deobfuscation.d.ts /** * OOXML Embedded Font Obfuscation / De-obfuscation * * Implements the font obfuscation algorithm from ISO/IEC 29500-2 §14.2.1. * Embedded fonts in OOXML packages are XOR-obfuscated using a GUID key derived * from the font part's file name. * * Because the algorithm is XOR-based, obfuscation and de-obfuscation are the * same operation (XOR is self-inverse). Both {@link obfuscateFont} and * {@link deobfuscateFont} are provided for clarity of intent. */ /** * Extract a GUID string from a font part path. * Returns the GUID (without braces) or `null` if none found. */ export declare function extractGuidFromPartName(partName: string): string | null; /** * Convert a GUID string to a 16-byte XOR key. * * Per ECMA-376 Part 4 §2.8.1 (font obfuscation), the key is formed by: * 1. Removing '{', '}', and '-' from the GUID string. * 2. Converting consecutive pairs of hex characters to bytes, in order. * 3. Reversing the resulting 16-byte array. * * The reversal is required for interop with real PowerPoint-embedded fonts * (and reference implementations, e.g. docx4j's `ObfuscatedFontPart`, which * XORs against `guidByteArray[15 - i]`). Without it, this is invisible on a * round-trip of our own obfuscated output (XOR with any consistent key is * self-inverse) but breaks reading a real deck's embedded fonts and produces * fonts real PowerPoint cannot de-obfuscate. */ export declare function guidToKey(guid: string): Uint8Array; /** * De-obfuscate an OOXML embedded font binary. * * The first 32 bytes of the font data are XOR'd with the 16-byte GUID key * repeated twice. The rest of the data is left unchanged. * * @param fontData - The obfuscated font binary (`.fntdata` file contents). * @param guid - The GUID extracted from the font part name. * @returns A new `Uint8Array` containing the de-obfuscated font data (TTF/OTF). */ export declare function deobfuscateFont(fontData: Uint8Array, guid: string): Uint8Array; /** * Obfuscate a font binary for embedding in an OOXML package. * * The algorithm is identical to {@link deobfuscateFont} because XOR is * self-inverse: `obfuscate(deobfuscate(data, guid), guid) === data`. * * @param fontData - The clear-text font binary (TTF/OTF). * @param guid - The GUID that will be used as the font part file name. * @returns A new `Uint8Array` containing the obfuscated font data. */ export declare function obfuscateFont(fontData: Uint8Array, guid: string): Uint8Array; /** * Generate a random GUID string suitable for use as a font part name. * * The format follows the standard 8-4-4-4-12 hex GUID pattern: * `XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX` * * Uses `crypto.getRandomValues` when available, otherwise falls back * to `Math.random`. */ export declare function generateFontGuid(): string; /** Detect font format from magic bytes for the CSS `format()` hint. */ export declare function detectFontFormat(data: Uint8Array): 'truetype' | 'opentype' | 'woff' | 'woff2'; //#endregion //#region src/pptx/core/utils/theme-override-utils.d.ts /** * The 12 logical colour-map alias keys used in `p:clrMap` and * `a:overrideClrMapping`. Each alias maps to a theme colour slot * (e.g. `bg1` → `lt1`). */ export declare const COLOR_MAP_ALIAS_KEYS: readonly ["bg1", "tx1", "bg2", "tx2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"]; type ColorMapAliasKey = (typeof COLOR_MAP_ALIAS_KEYS)[number]; /** * The default colour-map used by PowerPoint when no override is * present. Alias → theme colour slot. */ export declare const DEFAULT_COLOR_MAP: Record; /** * Build a `p:clrMapOvr` XML object from a colour-map override record. * * - When `override` is `null` or empty, returns `` * (inherit from master — the OOXML default). * - When keys are provided, returns `` with * all 12 alias attributes populated. Missing keys fall back to the * standard default mapping. * * @returns An `XmlObject` suitable for assigning to `slideNode["p:clrMapOvr"]`. */ export declare function buildClrMapOverrideXml(override: Record | null | undefined): XmlObject; /** * Merge a colour-map override into a base theme colour scheme to * produce the effective per-slide colour scheme. * * The override maps logical aliases (e.g. `bg1`) to theme colour * slots (e.g. `dk1`), effectively re-wiring which colour each alias * resolves to. * * @param base The presentation-level theme colour scheme. * @param override Per-slide `clrMapOverride` record (`alias → slot`). * @returns A new `PptxThemeColorScheme` with overrides applied. */ export declare function mergeThemeColorOverride(base: PptxThemeColorScheme, override: Record | null | undefined): PptxThemeColorScheme; /** * Check whether an override record represents a non-identity mapping * (i.e., at least one alias maps to a different slot than the default). */ export declare function hasNonTrivialOverride(override: Record | null | undefined): boolean; /** Compare two complete theme colour schemes using normalised hex values. */ export declare function themeColorSchemesEqual(left: PptxThemeColorScheme | null | undefined, right: PptxThemeColorScheme | null | undefined): boolean; //#endregion //#region src/pptx/core/utils/encryption-detection.d.ts /** * Detect whether an ArrayBuffer contains an OLE Compound Binary File * (which indicates an encrypted OOXML package) rather than a normal ZIP. * * Encrypted OOXML files are wrapped in OLE structured storage format. * The OLE magic bytes are: D0 CF 11 E0 A1 B1 1A E1 * Normal PPTX files start with ZIP magic: 50 4B (PK) */ type FileFormatDetection = { format: 'zip'; encrypted: false; } | { format: 'ole'; encrypted: true; } | { format: 'unknown'; encrypted: false; }; /** * Detect the file format and whether it's encrypted. * Must be called BEFORE attempting to parse as ZIP. */ export declare function detectFileFormat(data: ArrayBuffer): FileFormatDetection; /** * Custom error thrown when an encrypted PPTX file is detected. * Callers can check `instanceof EncryptedFileError` to distinguish * this from generic parse failures. */ export declare class EncryptedFileError extends Error { readonly isEncrypted = true; constructor(message: string); } //#endregion //#region src/pptx/core/utils/ooxml-crypto-errors.d.ts /** * Error classes for OOXML encryption operations. * * @module ooxml-crypto-errors */ /** * Error thrown when a password is incorrect. * * Indicates that the supplied password did not match the password verifier * stored in the encrypted file's EncryptionInfo stream. */ export declare class IncorrectPasswordError extends Error { constructor(message?: string); } /** * Error thrown when data integrity verification fails. * * This indicates the encrypted file may be corrupted or tampered with. * The HMAC computed over the encrypted package data did not match * the HMAC stored in the EncryptionInfo stream. */ export declare class DataIntegrityError extends Error { constructor(message?: string); } //#endregion //#region src/pptx/core/utils/ooxml-crypto.d.ts /** * Decrypt a password-protected PPTX file. * * The input must be an OLE2 compound file containing EncryptionInfo * and EncryptedPackage streams (standard OOXML encryption). * * @param encryptedBuffer - Raw bytes of the encrypted OLE2 file. * @param password - The document password. * @returns The decrypted PPTX ZIP buffer. * @throws IncorrectPasswordError if the password is wrong. * @throws DataIntegrityError if the encrypted data has been tampered with. * @throws Error if the file format is invalid. */ export declare function decryptPptx(encryptedBuffer: ArrayBuffer, password: string): Promise; /** * Encrypt a PPTX file with a password. * * Creates an OLE2 compound file with EncryptionInfo and EncryptedPackage * streams. Defaults to the OOXML agile encryption scheme (Office 2010+, * matching PowerPoint's own default); pass `options.encryptionScheme: * 'standard'` to write the ECMA-376 Standard scheme instead * (Office 2007-compatible), which real PowerPoint can also open. * * @param pptxBuffer - Raw bytes of the unencrypted PPTX ZIP file. * @param password - The password to protect the file with. * @param options - Optional encryption settings. * @returns ArrayBuffer of the encrypted OLE2 file. */ export declare function encryptPptx(pptxBuffer: ArrayBuffer, password: string, options?: EncryptionOptions): Promise; /** * Check if a password is correct for a given encrypted file without * performing the full decryption. * * @param encryptedBuffer - Raw bytes of the encrypted OLE2 file. * @param password - The password to verify. * @returns True if the password is correct. */ export declare function verifyPassword(encryptedBuffer: ArrayBuffer, password: string): Promise; //#endregion //#region node_modules/.bun/@christophervr+ole2@0.3.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.d.ts /** * Parsed OLE2 directory entry. */ interface Ole2DirectoryEntry { /** Entry name (UTF-16LE decoded). */ name: string; /** Object type (ENTRY_TYPE_* constant). */ type: number; /** Starting sector for this entry's data. */ startSector: number; /** Size of the entry's data in bytes. */ size: number; /** Index of the child directory entry (-1 if none). */ childId: number; /** Index of the left sibling directory entry (-1 if none). */ leftSiblingId: number; /** Index of the right sibling directory entry (-1 if none). */ rightSiblingId: number; /** * Storage CLSID (16 bytes), read from directory-entry offset 80. Present * on every entry (all-zero when the host set no CLSID); callers that * round-trip a container through `buildOle2` pass the root entry's value * through as `rootClsid` so a re-serialized file keeps its original * application identity (see `ole-sheet-xls-biff8.ts`'s CFB-rewrap helper). */ clsid: Uint8Array; } /** * Parsed OLE2 compound file with stream access. */ interface Ole2File { /** All parsed directory entries. */ entries: Ole2DirectoryEntry[]; /** * Retrieve a named stream's binary data. * * @param name - The stream name to look up. * @returns The stream data, or undefined if not found. */ getStream(name: string): Uint8Array | undefined; } /** * Error thrown when OLE2 parsing fails. */ export declare class Ole2ParseError extends Error { constructor(message: string); } //#endregion //#region node_modules/.bun/@christophervr+ole2@0.3.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.d.ts /** * Parse an OLE2 compound binary file from an ArrayBuffer. * * @param buffer - Raw bytes of the OLE2 file. * @returns Parsed OLE2 file with stream access. * @throws Ole2ParseError if the file is not a valid OLE2 container. */ export declare function parseOle2(buffer: ArrayBuffer): Ole2File; //#endregion //#region node_modules/.bun/@christophervr+ole2@0.3.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.d.ts /** * OLE2 compound binary file writer. * * Creates a minimal v3 OLE2 container from named streams, * suitable for encrypted OOXML packages. * * Split across three files to stay under the repo's ~300 LOC convention: * `ole2-parser-write-helpers.ts` (pure name/sector-chain helpers) and * `ole2-parser-write-serialize.ts` (header/directory/stream serialization) * hold everything this file's `buildOle2` orchestrates. * * Reference: [MS-CFB] Compound Binary File Format * @see https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-cfb * * @module ole2-parser-write */ /** * Build an OLE2 compound binary file from named streams. * * Creates a minimal v3 OLE2 container suitable for encrypted OOXML packages * (or, with `rootClsid`, for a document format such as legacy `.ppt` whose * host application identifies the storage by its root entry's CLSID). * * @param streams - Map of stream names to their binary data. * @param rootClsid - Optional 16-byte storage CLSID for the root entry. See * `DirEntry.clsid` in `ole2-parser-write-helpers.ts`. Omit to keep the * previous all-zero behaviour. * @param miniStreamCutoff - Minimum size (bytes) a stream must reach to be * allocated from the regular FAT instead of the mini FAT/mini stream. * Defaults to the [MS-CFB] convention (0x1000 = 4096). Pass 0 to disable * the mini stream entirely (every stream goes through the regular FAT * regardless of size): real PowerPoint COM-authored `.ppt` files always do * this in practice (`Current User` and `\5DocumentSummaryInformation` are * padded to exactly 4096 bytes specifically so they never dip under the * cutoff), and a from-scratch `.ppt` whose tiny `Current User` / * `PowerPoint Document` streams instead landed in a spec-correct mini * stream (this writer's mini-FAT implementation matches * `ole2-parser-read.ts`'s reader byte-for-byte) was rejected by real * PowerPoint ("the file or directory is corrupted and unreadable", * 0x80070570, confirmed distinct from Office File Validation by retrying * with `Application.FileValidation` set to skip) while the same content * routed through the regular FAT opened. See `ppt/writer/write-ppt.ts`'s * caller for the `.ppt`-specific override, and * `ppt/writer/document-stream-layout.ts`'s `ensureMinimumDocumentStreamSize` * for the SECOND half of that same requirement: even routed through the * regular FAT, `Current User` must stay in a strictly smaller CFB sector * count than "PowerPoint Document" itself, confirmed by a from-scratch * deck small enough to tie them failing to open the same way. * @returns ArrayBuffer of the complete OLE2 file. */ export declare function buildOle2(streams: Map, rootClsid?: Uint8Array, miniStreamCutoff?: number): ArrayBuffer; //#endregion //#region src/pptx/core/utils/digests/algorithm-names.d.ts /** * Canonicalise a `p:modifyVerifier` hash algorithm name to the exact spelling * {@link digest} (`./digest.ts`) and `SubtleCrypto.digest` understand. * * A verifier can name its algorithm in several equivalent spellings: the * `algorithmName`/`algIdExt` attributes are free-form strings (ECMA-376 * 19.2.1.22 gives examples like `"SHA-512"` and `"SHA512"`), and this * module has also seen hyphen-less and lower-case forms in the wild * (`"sha1"`, `"ripemd160"`). Normalising here, once, means every caller * (`resolveModifyVerifierAlgorithmName`, `digest`) agrees on one spelling * instead of each re-implementing its own case/hyphen handling. * * @module digests/algorithm-names */ /** The hash algorithm names this module can compute a digest for. */ type DigestAlgorithmName = 'SHA-1' | 'SHA-256' | 'SHA-384' | 'SHA-512' | 'MD2' | 'MD4' | 'MD5' | 'RIPEMD-128' | 'RIPEMD-160' | 'WHIRLPOOL'; //#endregion //#region src/pptx/core/utils/modify-verifier.d.ts /** * Resolve a `p:modifyVerifier`'s effective hash algorithm name, preferring an * explicit `algorithmName` (or legacy `algIdExt`) and falling back to the * `cryptAlgorithmSid` CAPI identifier PowerPoint itself writes. The result is * always normalised (see `./digests/algorithm-names.ts`), so a caller never * has to separately handle `"SHA1"` vs `"SHA-1"` vs `"sha-1"`. * * Returns undefined when none of these resolve to a known algorithm (e.g. an * unrecognised `cryptAlgorithmSid`, or an `algorithmName` this viewer does * not implement), in which case the verifier cannot be checked here. */ export declare function resolveModifyVerifierAlgorithmName(verifier: Pick): DigestAlgorithmName | undefined; /** * Verify a modify-protection password against the verifier stored * in `presentation.xml`. * * The algorithm follows ECMA-376 Part 1, Section 19.2.1.22 (see * {@link iteratedHash}). The hash algorithm is resolved via * {@link resolveModifyVerifierAlgorithmName}: an explicit * `algorithmName`/`algIdExt`, or (the form PowerPoint itself writes) * `cryptAlgorithmSid`. `saltData` and `spinValue`/`spinCount` are both * optional per the schema; a missing `saltData` is treated as a zero-length * salt and a missing spin count defaults to 100000 (see the module doc * comment's "Salt-less verifiers" section for the citation and the COM * evidence backing both defaults). * * @param verifier - The parsed `PptxModifyVerifier` from the presentation. * @param password - The password to check. * @returns True if the password matches. */ export declare function verifyModifyPassword(verifier: PptxModifyVerifier, password: string): Promise; /** * Create a modify verifier from a password. * * Generates the hash and salt data needed for `p:modifyVerifier` * in `presentation.xml`. Always writes a real random salt, matching what * real PowerPoint itself produces (COM-confirmed, see the module doc * comment); use {@link createSaltlessModifyVerifierForTesting} to build the * salt-less shape for fixtures/tests. * * @param password - The modify protection password. * @param options - Optional hash algorithm and spin count. * @returns A PptxModifyVerifier object ready to be saved. */ export declare function createModifyVerifier(password: string, options?: { algorithmName?: string; spinCount?: number; }): Promise; /** * Test/fixture-only: build a `p:modifyVerifier` with NO `saltData` attribute * at all (a zero-length salt is hashed in, per ECMA-376 19.2.1.22's optional * `saltData`; see the module doc comment). * * Real PowerPoint always writes a salt (COM-confirmed); this helper exists * solely to generate the salt-less fixtures `scripts/make-saltless-verifier- * fixture.mjs` produces and to unit-test the salt-less code path * {@link verifyModifyPassword} supports for robustness against any legal * `p:modifyVerifier` shape. No save/write path a user can trigger should ever * call this; `createModifyVerifier` (always salted) is the one every * "Set Password to Modify" UI must keep using. * * @param password - The modify protection password. * @param options - Optional hash algorithm and spin count. * @returns A PptxModifyVerifier object with no `saltData`, ready to be saved. */ export declare function createSaltlessModifyVerifierForTesting(password: string, options?: { algorithmName?: string; spinCount?: number; }): Promise; //#endregion //#region src/pptx/core/utils/xml-entities.d.ts /** * XML predefined-entity + numeric-character-reference decoding for parsed text. * * The OOXML parser runs with fast-xml-parser `processEntities: false` as a * security hardening (PPTX never uses DOCTYPE / DTD entity definitions, so * disabling entity processing removes the billion-laughs / external-entity * attack surface). The side effect is that the five predefined XML entities and * numeric character references in element text are left ENCODED in the parsed * model, e.g. `Tom & Jerry` parses to the literal string * `"Tom & Jerry"`, which then renders as `Tom & Jerry` instead of * `Tom & Jerry`, and double-encodes to `&amp;` on save. * * This helper decodes only the five predefined entities and numeric references * (which cannot trigger entity expansion, so the security guarantee is kept). It * is wired into the parser's `tagValueProcessor` so text nodes hold their real * characters; the builder then re-encodes them symmetrically on save, fixing * both the display and the round-trip. * * @module utils/xml-entities */ /** * Decode the five predefined XML entities (`< > " ' &`) and * decimal / hexadecimal numeric character references in `value`. Non-string * input and strings without an `&` are returned unchanged (fast path). * * `&` is decoded LAST so an already-escaped sequence such as `&lt;` * decodes to the literal text `<` rather than to `<`. */ export declare function decodeXmlEntities(value: string): string; export declare function decodeXmlEntities(value: unknown): unknown; /** * Encode `value` for use as ELEMENT TEXT. * * This reproduces fast-xml-parser's own default `entities` list (`&` first, then * `>`, `<`, `'`, `"`) so switching the builder to `processEntities: false` is * byte-for-byte neutral for text nodes, and adds `\r`. A literal carriage return * in content is destroyed by XML line-ending normalisation (the reader rewrites * `\r\n` and `\r` to `\n` before parsing), so it is the one character that has * to be written as a numeric reference to survive a round trip. */ export declare function encodeXmlTextValue(value: string): string; /** * Encode `value` for use as an ATTRIBUTE value. * * `"` and `'` are deliberately NOT handled here: fast-xml-parser escapes the * quote delimiters itself, unconditionally, immediately after this processor * runs, so doing it twice would emit `&quot;`. * * Tab, line feed and carriage return MUST be numeric references. XML attribute * -value normalisation (spec 3.3.3) replaces every literal whitespace character * in an attribute with a space on read-back, so writing a raw `\n` inside * `descr="…"` silently turns the alt text's line breaks into spaces. Only the * ` ` form survives. */ export declare function encodeXmlAttributeValue(value: string): string; //#endregion //#region src/pptx/core/utils/xml-whitespace.d.ts /** * Which OOXML elements carry text whose leading / trailing whitespace is * CONTENT, and must therefore survive the parse verbatim. * * ## Why this exists * * The OOXML parser runs with fast-xml-parser `trimValues: false` and re-applies * the trim itself in `tagValueProcessor` (see * `PptxRuntimeDependencyFactory.createParser`). Trimming cannot simply be turned * off wholesale: with it off, the indentation of a pretty-printed part becomes a * `#text` node on every container, so `\n 10\n` * parses with a bogus `"#text": "\n \n"` sibling. Trimming to `""` is what makes * fast-xml-parser drop that node again. * * So the rule has to be per element, and the correct split is the schema's: an * element whose content type is a string (`ST_Xstring` / `xsd:string`) carries * whitespace as data, while an element whose content is a number, a token, an * enum or a child sequence does not. * * ## What was losing whitespace * * Only `a:t` was exempt (GitHub issue #52: PowerPoint splits a sentence across * runs and a word boundary often becomes a run whose whole text is one space, so * trimming glued the words together). Every other string element was still * trimmed, which is why `, ` loaded as `","` and a * combined data label rendered `Direct,40%` instead of `Direct, 40%`. * * That class of defect is self-concealing: we trimmed on read and wrote the * trimmed value back, so comparing our model against our own re-parse always * agreed. Only a comparison against the ORIGINAL bytes shows the loss. `core.xml` * and `app.xml` are re-parsed and rebuilt on EVERY save (revision bump, modified * timestamp, slide counts), so a title or company name ending in a space lost it * silently on any save at all. * * ## Why not `xml:space="preserve"` * * It is not a usable signal. It appears zero times across the 49 decks in this * repository, including the ones PowerPoint itself wrote, because XML preserves * text-node whitespace by DEFAULT; `xml:space="preserve"` only overrides an * `xml:space="default"` that is in scope. Our own writer emits it on `a:t` as a * courtesy to consumers that normalise, not because the parse depends on it. * * ## Why qualified names, not local names * * Matching the local name would be wrong in both directions. `title` would match * `c:title`, which is a chart-title CONTAINER whose indentation would become * content, and `t` would match `dgm:t`, a SmartArt text BODY that holds `a:p` * children. Every entry below is a leaf element, which is what makes preserving * its text safe. * * @module utils/xml-whitespace */ /** * Leaf elements whose text content is schema-typed as a string, keyed by the * qualified name as written in the part. */ export declare const WHITESPACE_PRESERVING_TAGS: ReadonlySet; /** * True when `tagName`'s text content must be kept verbatim rather than trimmed. * * Anything not listed keeps the historical trimmed behaviour, so numeric and * enum values stay clean and pretty-printed indentation never becomes content. */ export declare function preservesXmlWhitespace(tagName: string): boolean; /** True when `tagName` is SpreadsheetML text whose whitespace is content. */ export declare function preservesSpreadsheetXmlWhitespace(tagName: string): boolean; //#endregion //#region src/pptx/core/utils/chart-advanced-parser.d.ts interface XmlLookupLike$6 { getChildByLocalName(parent: XmlObject | undefined, name: string): XmlObject | undefined; getChildrenArrayByLocalName(parent: XmlObject | undefined, name: string): XmlObject[]; } interface ColorParserLike$6 { parseColor(fillNode: XmlObject | undefined, placeholderColor?: string): string | undefined; } export declare function parseSeriesTrendlines(seriesNode: XmlObject, xmlLookup: XmlLookupLike$6, colorParser: ColorParserLike$6): PptxChartTrendline[]; export declare function parseSeriesErrBars(seriesNode: XmlObject, xmlLookup: XmlLookupLike$6, extractPointValues: (container: XmlObject | undefined, preferNumeric: boolean) => string[], colorParser?: ColorParserLike$6): PptxChartErrBars[]; export declare function parseLineStyle(container: XmlObject | undefined, elementName: string, xmlLookup: XmlLookupLike$6, colorParser: ColorParserLike$6): PptxChartLineStyle | undefined; //#endregion //#region src/pptx/core/utils/chart-data-table-parser.d.ts interface XmlLookupLike$5 { getChildByLocalName: (parent: XmlObject | undefined, name: string) => XmlObject | undefined; getChildrenArrayByLocalName: (parent: XmlObject | undefined, name: string) => XmlObject[]; } interface ColorParserLike$5 { parseColor: (fillNode: XmlObject | undefined, placeholderColor?: string) => string | undefined; } /** * Parse `c:plotArea/c:dTable`. `colorParser` is optional so callers that only * need the boolean flags (e.g. layout-reservation checks) can omit it; when * provided, `spPr` (border/fill) and `txPr` (cell text defaults) are parsed * too. `resolveTypeface` resolves a theme-font placeholder token (`+mn-lt`, * ...) on `txPr`'s typeface to the deck's concrete theme face. */ export declare function parseDataTable(plotArea: XmlObject, xmlLookup: XmlLookupLike$5, colorParser?: ColorParserLike$5, resolveTypeface?: (raw: string) => string): PptxChartDataTable | undefined; //#endregion //#region src/pptx/core/utils/chart-series-detail-parser.d.ts interface XmlLookupLike$4 { getChildByLocalName: (parent: XmlObject | undefined, name: string) => XmlObject | undefined; getChildrenArrayByLocalName: (parent: XmlObject | undefined, name: string) => XmlObject[]; } interface ColorParserLike$4 { parseColor: (fillNode: XmlObject | undefined, placeholderColor?: string) => string | undefined; } /** Parse shape properties (c:spPr) into a flat object. */ export declare function parseShapeProps(spPrNode: XmlObject | undefined, xmlLookup: XmlLookupLike$4, colorParser: ColorParserLike$4): PptxChartShapeProps | undefined; /** Parse a marker element (c:marker). */ export declare function parseMarker(markerNode: XmlObject | undefined, xmlLookup: XmlLookupLike$4, colorParser: ColorParserLike$4): PptxChartMarker | undefined; /** * Parse per-data-point formatting overrides (c:dPt). `parseGradient`, when * supplied, reads each point's `c:spPr/a:gradFill` into * {@link PptxChartDataPoint.gradientFill}. */ export declare function parseSeriesDataPoints(seriesNode: XmlObject, xmlLookup: XmlLookupLike$4, colorParser: ColorParserLike$4, parseGradient?: (spPr: XmlObject | undefined) => PptxChartGradientFill | undefined): PptxChartDataPoint[]; /** Parse series-level explosion attribute (c:explosion). */ export declare function parseSeriesExplosion(seriesNode: XmlObject, xmlLookup: XmlLookupLike$4): number | undefined; //#endregion //#region src/pptx/core/utils/chart-data-label-parser.d.ts interface XmlLookupLike$3 { getChildByLocalName: (parent: XmlObject | undefined, name: string) => XmlObject | undefined; getChildrenArrayByLocalName: (parent: XmlObject | undefined, name: string) => XmlObject[]; getScalarChildByLocalName?: (parent: XmlObject | undefined, name: string) => string | undefined; } interface ColorParserLike$3 { parseColor: (fillNode: XmlObject | undefined, placeholderColor?: string) => string | undefined; } /** Parse individual `c:dLbl` overrides and validate their simple-type values. */ export declare function parseSeriesDataLabels(seriesNode: XmlObject, xmlLookup: XmlLookupLike$3, colorParser?: ColorParserLike$3, resolveTypeface?: (raw: string) => string): PptxChartDataLabel[]; /** Parse the common typed children of a chart-type `c:dLbls`. */ export declare function parseChartDataLabelOptions(group: XmlObject, xmlLookup: XmlLookupLike$3, colorParser?: ColorParserLike$3, resolveTypeface?: (raw: string) => string): PptxChartDataLabelOptions; //#endregion //#region src/pptx/core/utils/chart-axis-parser.d.ts interface XmlLookupLike$2 { getChildByLocalName: (parent: XmlObject | undefined, name: string) => XmlObject | undefined; getChildrenArrayByLocalName: (parent: XmlObject | undefined, name: string) => XmlObject[]; } interface ColorParserLike$2 { parseColor: (fillNode: XmlObject | undefined, placeholderColor?: string) => string | undefined; } /** Parse all axes (c:catAx, c:valAx, c:dateAx, c:serAx) from plot area. */ export declare function parseChartAxes(plotArea: XmlObject, xmlLookup: XmlLookupLike$2, colorParser: ColorParserLike$2, getLocalName: (key: string) => string, resolveTypeface?: (raw: string) => string): PptxChartAxisFormatting[]; /** Parse 3D chart surfaces (c:floor, c:sideWall, c:backWall). */ export declare function parseChart3DSurfaces(chartRoot: XmlObject, xmlLookup: XmlLookupLike$2, colorParser: ColorParserLike$2): { floor?: PptxChart3DSurface; sideWall?: PptxChart3DSurface; backWall?: PptxChart3DSurface; }; //#endregion //#region src/pptx/core/utils/chart-cx-parser.d.ts /** Minimal xml-lookup interface needed by the cx: parser. */ interface XmlLookupLike$1 { getChildByLocalName(parent: XmlObject | undefined, localName: string): XmlObject | undefined; getChildrenArrayByLocalName(parent: XmlObject | undefined, localName: string): XmlObject[]; getScalarChildByLocalName(parent: XmlObject | undefined, localName: string): string | number | boolean | undefined; } /** * Minimal colour-resolver interface, matching the `ColorParserLike` pattern * classic chart parsers (`chart-axis-parser.ts`, `chart-series-detail-parser.ts`) * thread through: resolves a colour-choice wrapper node (`a:solidFill`, a * gradient stop, a pattern's `fgClr`, ...) against the deck's theme. * Optional throughout the cx: parser so callers that only have raw XML (no * theme) keep the original srgbClr-only behaviour. */ interface ColorParserLike$1 { parseColor(fillNode: XmlObject | undefined, placeholderColor?: string): string | undefined; } /** * Parse series data from a cx: namespace plotArea. * * @param chartRoot - The `cx:chart` element (parent of `plotArea`), needed to * resolve the chart-level `cx:title`. Omit when the caller doesn't need * `chartData.title`/`chartData.axes` populated (they simply won't be). * @param colorParser - Resolves theme colours (`a:schemeClr` etc.) for series * fills, axis chrome, and region-map value-color scales; omit to fall back to * literal `a:srgbClr` only. * @param resolveTypeface - Resolves a theme-font placeholder token * (`+mn-lt`, `+mj-lt`, ...) on axis/data-label `cx:txPr` fonts to the deck's * concrete theme face (C2-G1 data-label/axis half); omit to keep a literal * placeholder token as-is. * @returns categories and series arrays, or `undefined` if no series found. */ export declare function parseCxChartSeries(plotArea: XmlObject, xmlLookup: XmlLookupLike$1, chartSpace?: XmlObject, chartRoot?: XmlObject, colorParser?: ColorParserLike$1, resolveTypeface?: (raw: string) => string): { categories: string[]; categoryLevels?: string[][]; series: PptxChartData['series']; hasDataLabels?: boolean; /** * Chart-level fields this module can also resolve for a cx: chart * (axes, title): spread onto the caller's `PptxChartData` result. */ chartData?: Partial; } | undefined; //#endregion //#region src/pptx/core/utils/chart-user-shapes-parser.d.ts /** A leaf overlay shape produced by {@link flattenChartUserShapes}: never `grpSp`. */ type FlattenedChartUserShape = Omit & { kind: Exclude; /** * Set only for a leaf that came from a group nested inside an * `absSizeAnchor` WHEN {@link flattenChartUserShapes} was not given a * `chartBox`: an additional position offset in EMU to add (after dividing * by a pixel's EMU size) to the pixel position computed from {@link * PptxChartUserShape.from}. An `absSizeAnchor`'s `from` is a chart-relative * fraction but its `ext` is an absolute EMU size (ECMA-376 21.4.2.1), so a * group child's offset within that box (itself a fraction of the group's * own EMU-scaled extent, see {@link childFraction}) composes as an EMU * delta. Without knowing the chart's own EMU size that delta cannot be * re-expressed as a further fraction of `from`, so it is carried * separately instead; see `chart-user-shape-overlay.ts`'s `shapeBox` for * where this is applied. When `chartBox` IS given, this delta is folded * directly into `from` instead (see {@link flattenChartUserShapes}'s doc), * and this field is left unset. */ absGroupOffsetEmu?: { x: number; y: number; }; }; /** * The chart's own rendered box: the same box a `relSizeAnchor`'s `from`/`to` * (0..1) fractions span. Passing it to {@link flattenChartUserShapes} lets it * resolve two group-composition values exactly instead of approximating them: * * 1. A top-level `relSizeAnchor` group's own rotation composes around its * REAL aspect ratio, `(to.x - from.x) * width : (to.y - from.y) * height`, * instead of isotropically (1:1). Only the `width`:`height` RATIO is used * for this, so any consistent unit works (chart pixels, EMU, points, ...). * 2. A leaf nested inside an `absSizeAnchor` group has its own EMU offset * within the group folded into `from` as a further chart-fraction, * instead of being carried separately as `absGroupOffsetEmu`. THIS case * divides that EMU offset by `width`/`height` directly, so they must be in * EMU here: pass the chart's real EMU size when known (e.g. the chart * element's own `width`/`height`), or a pixel size multiplied by * `EMU_PER_PIXEL` (9525) when only that is available. * * Omitting this parameter keeps the previous, chart-size-agnostic * approximation for both cases unchanged (isotropic top-level rotation; * `absGroupOffsetEmu` carried as a separate field). */ interface ChartUserShapesChartBox { width: number; height: number; } /** * Flatten a chart's overlay shapes into a leaf list ready for rendering: a * `grpSp` entry is expanded into its grouped children with the group's * transform (`chOff`/`chExt` vs. each child's own `off`/`ext`) already * applied to their position, so a consumer that only draws positioned shapes * never needs to know about groups at all. Non-group entries pass through * unchanged. * * The cumulative position/size is resolved as a fraction of the outermost * anchor's own box (see {@link childFraction}), which composes correctly * across arbitrary nesting depth. For a `relSizeAnchor` this maps exactly * onto `from`/`to`. For an `absSizeAnchor` the fraction maps exactly onto the * anchor's absolute EMU `ext` (size); shifting the anchor's own `from` (a * fraction of the whole chart) by a group child's EMU offset needs the * chart's own size, so it is exact when `chartBox` is given (folded directly * into `from`) and otherwise an approximation (the anchor's own `from` is * left unshifted, with the shift instead carried on the leaf as * `absGroupOffsetEmu` for a caller that can apply it itself, e.g. by * converting an EMU delta straight to pixels without needing the chart's * size at all). * * @param shapes - The chart's `userShapes` list, as parsed/edited. * @param chartBox - The chart's own rendered box, when known; see {@link * ChartUserShapesChartBox}'s doc for the two approximations it resolves and * the unit each one needs. * @returns A flat list of leaf shapes (never `kind: 'grpSp'`), in the same * relative order as `shapes`. */ export declare function flattenChartUserShapes(shapes: ReadonlyArray | undefined, chartBox?: ChartUserShapesChartBox): FlattenedChartUserShape[]; //#endregion //#region src/pptx/core/utils/chart-xlsx-parser.d.ts /** * Parse an embedded xlsx workbook binary into structured chart data. * * The xlsx is itself a ZIP containing XML files. This function: * 1. Unzips the xlsx using JSZip * 2. Parses `xl/sharedStrings.xml` for the string table * 3. Parses `xl/worksheets/sheet1.xml` for cell values * 4. Interprets the data as: first row = headers, first column = categories, * remaining cells = numeric series values * * @param xlsxData - The raw binary content of the embedded xlsx file * @returns Structured workbook data with categories and series, or undefined on failure * * @example * ```ts * const result = await parseEmbeddedXlsx(xlsxBytes); * // result = { * // categories: ["Q1", "Q2", "Q3"], * // series: [ * // { name: "Revenue", values: [100, 120, 140] }, * // { name: "Costs", values: [80, 90, 95] }, * // ], * // } * ``` */ export declare function parseEmbeddedXlsx(xlsxData: Uint8Array): Promise; //#endregion //#region src/pptx/core/utils/chart-data-utils.d.ts /** * Add a new data series to chart data, returning a new `PptxChartData`. * * If the series' `values` array length does not match the category count, * values are padded with `0` or truncated to match. * * @param chartData - The current chart data. * @param series - The new series to add. * @returns A new `PptxChartData` with the series appended. * * @example * ```ts * const updated = chartDataAddSeries(chartData, { * name: "Revenue", * values: [100, 200, 300], * color: "#4472C4", * }); * ``` */ export declare function chartDataAddSeries(chartData: PptxChartData, series: { name: string; values: number[]; color?: string; }): PptxChartData; /** * Remove a data series by index, returning a new `PptxChartData`. * * @param chartData - The current chart data. * @param seriesIndex - Zero-based index of the series to remove. * @returns A new `PptxChartData` without the specified series. * @throws {RangeError} If `seriesIndex` is out of bounds. * * @example * ```ts * const updated = chartDataRemoveSeries(chartData, 1); * ``` */ export declare function chartDataRemoveSeries(chartData: PptxChartData, seriesIndex: number): PptxChartData; /** * Update a single data point value, returning a new `PptxChartData`. * * @param chartData - The current chart data. * @param seriesIndex - Zero-based series index. * @param pointIndex - Zero-based point (category) index. * @param value - The new numeric value. * @returns A new `PptxChartData` with the updated value. * @throws {RangeError} If either index is out of bounds. * * @example * ```ts * const updated = chartDataUpdatePoint(chartData, 0, 2, 42); * ``` */ export declare function chartDataUpdatePoint(chartData: PptxChartData, seriesIndex: number, pointIndex: number, value: number): PptxChartData; /** * Change the chart type, adapting grouping and data format as needed. * * - When switching to a type that does not support grouping, the grouping * field is cleared. * - When switching between category-based and XY types, data is preserved * as-is (categories become X labels or vice versa). * * @param chartData - The current chart data. * @param newType - The target chart type. * @returns A new `PptxChartData` with the updated type and adapted fields. * * @example * ```ts * const lineChart = chartDataChangeType(barChartData, "line"); * ``` */ export declare function chartDataChangeType(chartData: PptxChartData, newType: PptxChartType): PptxChartData; /** * Add a new category (data point column) to the chart. * * A default value of `0` is appended to each series' values array so that * data dimensions remain consistent. * * @param chartData - The current chart data. * @param categoryName - The label for the new category. * @returns A new `PptxChartData` with the category appended. * * @example * ```ts * const updated = chartDataAddCategory(chartData, "Q4"); * ``` */ export declare function chartDataAddCategory(chartData: PptxChartData, categoryName: string): PptxChartData; /** * Remove a category (data point column) by index. * * The corresponding value is also removed from each series. * * @param chartData - The current chart data. * @param categoryIndex - Zero-based index of the category to remove. * @param followDataPoint - File > Options > Advanced > "Properties follow * chart data point for current workbook". When `true` (PowerPoint's * default), each series' per-point manual formatting (`c:dPt`, keyed by * `idx`) is re-indexed along with the removed column: the override for the * removed point is dropped, and every override past it shifts down by one * so it stays attached to the same logical point. When `false`, overrides * stay pinned to their original numeric position instead of following the * point they were authored for. * @returns A new `PptxChartData` without the specified category. * @throws {RangeError} If `categoryIndex` is out of bounds. * * @example * ```ts * const updated = chartDataRemoveCategory(chartData, 0); * ``` */ export declare function chartDataRemoveCategory(chartData: PptxChartData, categoryIndex: number, followDataPoint?: boolean): PptxChartData; //#endregion //#region src/pptx/core/utils/chart-pareto-detect.d.ts /** The narrow slice of `PptxChartData` this detector needs. */ type ParetoDetectableChartData = Pick; /** * True when `data` is the shape this SDK models as "Pareto": `chartType: * 'histogram'` with at least one series whose `histogramOptions.layout` is * `'pareto'` (the cumulative-percentage line the Pareto conversion appends). */ export declare function isParetoChartData(data: ParetoDetectableChartData): boolean; /** * The chart type a reader (UI inspector, MCP tool output) should report as * "current". `data.chartType` alone reads a Pareto chart back as * `'histogram'` because Pareto is a display-only overlay on the histogram * shape (see {@link isParetoChartData}); this restores the round trip for * display purposes only. It never changes what is stored or serialized, and * introduces no `PptxChartType` of `'pareto'`. */ export declare function resolveDisplayedChartTypeName(data: ParetoDetectableChartData): PptxChartData['chartType'] | 'pareto'; //#endregion //#region src/pptx/core/utils/guide-utils.d.ts /** Extension URI for Office 2010 slide guide list. */ export declare const P14_GUIDE_URI = "{72B1D4B2-8646-4E06-B1EF-53B0C71A9B0A}"; /** Extension URI for Office 2013 slide guide list (unused but recognized). */ export declare const P15_GUIDE_URI = "{2D200454-25E2-4014-A478-2F8E8D3F5837}"; /** * Parse drawing guides from a slide's XML object. * * Looks in `p:sld > p:extLst > p:ext` for guide list extensions. */ export declare function parseSlideDrawingGuides(slideXml: XmlObject): PptxDrawingGuide[]; /** * Parse drawing guides from the presentation-level XML. * * Looks in `p:presentation > p:extLst > p:ext`. */ export declare function parsePresentationDrawingGuides(presentationXml: XmlObject): PptxDrawingGuide[]; /** * Convert a guide position in EMU to CSS pixels. */ export declare function guideEmuToPx(emu: number): number; /** * Convert a CSS pixel position to guide position in EMU. */ export declare function guidePxToEmu(px: number): number; /** * Build OOXML extension element for guide list serialization. * * Returns an XML object representing `...`. */ export declare function buildGuideListExtension(guides: PptxDrawingGuide[]): XmlObject; //#endregion //#region src/pptx/core/utils/smartart-layout-switch.d.ts /** * Supported layout types for the visual layout switcher. * * These are the layout categories that have a working reflow implementation in * `reflowSmartArtLayout` (see `smartart-editing-reflow*`), so switching to any * of them re-lays-out the diagram while preserving node data and connections. * Every entry below has a matching `case` in the reflow dispatcher: * list, process, hierarchy, cycle, matrix, pyramid, funnel, target, gear, * venn, timeline, relationship, chevron, bending. * * `unknown` is intentionally excluded (it has no meaningful target layout). */ export declare const SWITCHABLE_LAYOUT_TYPES: readonly SmartArtLayoutType[]; /** * Switch a SmartArt diagram to a new layout type while preserving node data. * * This function creates a new `PptxSmartArtData` with the layout type changed * but all node content, connections, colours, and styles intact. * * @param currentData The existing SmartArt data * @param newLayoutType The target layout category * @returns Updated SmartArt data with the new layout applied */ export declare function switchSmartArtLayout(currentData: PptxSmartArtData, newLayoutType: SmartArtLayoutType): PptxSmartArtData; /** * Check whether a layout type is one of the supported switchable types. */ export declare function isSwitchableLayoutType(layoutType: SmartArtLayoutType): boolean; //#endregion //#region src/pptx/core/utils/mc-capabilities.d.ts export declare function areNamespacesSupported(requires: string): boolean; export declare function isAlternateContentChoiceSupported(choice: XmlObject): boolean; export declare function isAlternateContentChoiceXmlSupported(requires: string, branchXml: string): boolean; export declare function isNamespaceSupported(ns: string): boolean; export declare function getSupportedNamespaces(): ReadonlySet; //#endregion //#region src/pptx/core/utils/model3d-scene-parser.d.ts /** * Parse the authored camera, model transform and lights of an * `am3d:model3d` node. Returns `undefined` when none of them are present. */ export declare function parseModel3DScene(model3d: XmlObject): Model3DSceneData | undefined; //#endregion //#region src/pptx/core/utils/model3d-parser.d.ts interface Model3DTransform { x: number; y: number; width: number; height: number; rotation?: number; } /** * Extract position and size from a p16:model3D element's shape properties. */ export declare function extractModel3DTransform(model3d: XmlObject): Model3DTransform; /** * Resolve the MIME type for a 3D model based on file extension. */ export declare function resolveModel3DMimeType(modelPath: string): string | undefined; //#endregion //#region src/pptx/core/utils/vml-parser.d.ts /** VML element tag names we recognise as renderable shapes. */ export declare const VML_SHAPE_TAGS: Set; /** * Parse a single VML shape element into a {@link PptxElement}. * * @param tag - The VML tag name (e.g. "v:shape", "v:rect") * @param node - The parsed XML node * @param idPrefix - ID prefix for the generated element * @param index - Index within this tag type (for unique IDs) */ export declare function parseVmlElement(tag: string, node: XmlObject, idPrefix: string, index: number): PptxElement | null; /** * Scan a parsed XML container (such as a shape tree) for any VML * shape elements and convert them to {@link PptxElement} instances. * * This is called from the shape tree parsing code to pick up VML * shapes that exist alongside (or instead of) DrawingML shapes. * * @param container - The parsed XML object to scan for VML elements * @param idPrefix - ID prefix for generated element IDs * @returns Array of parsed VML elements */ export declare function parseVmlElements(container: Record, idPrefix?: string): PptxElement[]; //#endregion //#region src/pptx/core/utils/activex-parser.d.ts /** * Parse `p:controls > p:control` entries from a slide XML object. * Extracted from PptxHandlerRuntimeDocProperties for testability. */ export declare function parseActiveXControlsFromSlide(slideXml: XmlObject): PptxActiveXControl[]; //#endregion //#region src/pptx/core/utils/activex-serializer.d.ts /** * Build a single `` node (CT_Control, ISO/IEC 29500-1 §19.3.1.2) * from the typed model. Typed attributes (`r:id`, `name`, `spid`, * `showAsIcon`, `imgW`, `imgH`) are written from the model so edits * round-trip; any unmodeled children (the placeholder ``, * ``) and extra attributes carried on `rawXml` are preserved * verbatim for a lossless save. */ export declare function buildActiveXControlNode(control: PptxActiveXControl): XmlObject; /** * Serialize typed ActiveX controls back into a slide's * `p:cSld > p:controls > p:control` (CT_ControlList, §19.3.1.3). Mutates * `slideXml` in place. * * `` must follow ``/`` and precede * `` inside CT_CommonSlideData (§19.3.1.16). When the container is * freshly introduced we re-append any existing `` after it to keep * that schema order; a round-tripped container already sits in the right slot, * so an in-place value update leaves ordering untouched. */ export declare function applyActiveXControlsToSlide(slideXml: XmlObject, controls: readonly PptxActiveXControl[] | undefined): void; //#endregion //#region src/pptx/core/utils/shape-ids.d.ts /** * Helpers around DrawingML shape IDs (`p:cNvPr/@id`), which are UInt32 * values (ECMA-376 `ST_DrawingElementId`), not editor UUIDs or timestamps. */ export declare const MAX_SHAPE_ID = 4294967295; /** Parse a raw `@_id` attribute value as a valid DrawingML shape ID. */ export declare function parseShapeId(value: unknown, allowZero?: boolean): number | undefined; /** Depth-first visit of every object node in a parsed XML tree. */ export declare function visitXmlObjects(value: unknown, visit: (node: XmlObject, tag: string) => void, tag?: string): void; /** * Rewrite shape-ID *references* (not the `p:cNvPr/@id` declarations * themselves) after a repair has reassigned one or more shape IDs. * * Only attributes documented to hold a shape ID are touched: `a:stCxn` / * `a:endCxn` `@_id`, the `@_spid` of timing targets, build nodes and * `p:control`, and the `pptx:animation` extension's `@_elementId` / * `@_triggerShapeId`. Relationship ids, slide ids and timing-node * (`p:cTn/@id`) ids are never shape ids and are left alone. A reassignment * that updates `p:cNvPr/@id` without also updating these leaves a connector * or animation pointing at whichever shape happens to hold the old ID now (or * at nothing), which desktop PowerPoint treats as a detached endpoint or a * silently dropped effect. * * Idempotent: a fresh ID is never itself a key of `ids`, so replaying the map * over an already-rewritten tree changes nothing. */ export declare function remapShapeIdReferences(root: unknown, ids: ReadonlyMap): void; /** The `p:cNvPr` (or `p14:cNvPr`) declaration node of a raw shape, if any. */ export declare function findCnvPrNode(rawXml: XmlObject | undefined): XmlObject | undefined; /** * Keep the LIVE element model consistent with a shape-ID reassignment so the * next save of the same handler (no reload) re-emits the repaired ids rather * than the stale ones: `element.shapeId`, the `p:cNvPr/@id` inside * `element.rawXml`, every reference inside `rawXml`, and a connector's * `connectorStartConnection` / `connectorEndConnection` `shapeId`. Group * children are visited recursively. * * `rawXml` normally IS the node the validator just renumbered in place (the * parser stores the parsed node itself on the element, and the writer emits * that same node), in which case its declaration already carries the fresh id * and only `shapeId` needs to follow it. When the two are detached (a cloned * `rawXml`, or an SDK element with no `rawXml` at all) a lone holder of a * remapped id is renumbered, and among several holders of one duplicated id * the first keeps it, exactly as the validator did, and the rest take the * fresh one. * * @returns The number of elements whose `shapeId` or raw declaration changed. */ export declare function remapElementShapeIds(elements: readonly PptxElement[], ids: ReadonlyMap): number; //#endregion //#region src/pptx/core/utils/kinsoku-parser.d.ts /** Parse PresentationML `CT_Kinsoku` independently of namespace prefixes. */ export declare function parseKinsoku(presentationXml: XmlObject | null | undefined): PptxKinsoku | undefined; /** Apply, preserve, or remove `p:kinsoku` while retaining unknown XML. */ export declare function applyKinsokuToXml(presentation: XmlObject, kinsoku: PptxKinsoku | null | undefined): XmlObject; //#endregion //#region src/pptx/core/utils/header-footer-placeholder.d.ts /** * The four `ST_PlaceholderType` values the Header & Footer dialog owns, and the * inheritance rules that are special to them. * * Verified against PowerPoint through COM (see `header-footer-parts.ts`): the * footer / date / slide-number TEXT lives in the slide MASTER's `ftr` / `dt` / * `sldNum` placeholder shapes, and PowerPoint leaves each slide's copy of the * placeholder EMPTY so it inherits. Per-slide visibility is expressed by the * presence or absence of the shape, and no `p:hf` is written on `p:sld` at all. * * Two consequences drive everything in this module: * * - These placeholders exist at most ONCE per part, so PowerPoint does not * keep their `@idx` aligned down the chain. A deck it authors typically * numbers them 10 / 11 / 12 on the layout and 2 / 3 / 4 on the master, so * matching a slide's `ftr` to the master by `idx` finds nothing and the * placeholder resolves neither its transform nor its text. They must be * matched by TYPE across the inheritance chain. * - An EMPTY body on one of them is an instruction to render the ancestor's * string, not an empty footer. That is the opposite of a `title` or `body` * placeholder, whose ancestor text is prompt text ("Click to edit Master * title style") and must never be rendered as content. * * @module header-footer-placeholder */ /** Whether `type` is one of the four placeholders the dialog owns. */ export declare function isHeaderFooterPlaceholder(type: string | undefined): boolean; /** * The field type to stamp on text inherited by `type`, or `undefined` when the * inherited runs already carry their own (`dt`, `sldNum`). */ export declare function inheritedPlaceholderFieldType(type: string | undefined): string | undefined; //#endregion //#region src/pptx/core/utils/body-properties-parser.d.ts /** * Parse additional boolean body properties from a:bodyPr attributes. * * Handles the boolean / numeric attributes defined on * CT_TextBodyProperties that aren't mapped elsewhere in the runtime: * `compatLnSpc`, `forceAA`, `upright`, `fromWordArt`, * `spcFirstLastPara`, `anchorCtr`, `rtlCol`, and `rot` (degrees). */ export declare function parseBodyPrBooleanAttrs(bodyPr: XmlObject, textStyle: TextStyle): void; /** * Write body property boolean attributes to bodyPr XML object. * * Mirrors {@link parseBodyPrBooleanAttrs} — only emits attributes that the * caller explicitly authored. `rtlCol` is intentionally not defaulted here * so callers can preserve the loaded value when the model is undefined. */ export declare function writeBodyPrBooleanAttrs(bodyPr: XmlObject, textStyle: TextStyle | undefined): void; //#endregion //#region src/pptx/core/utils/linked-text-box-utils.d.ts /** A single member of a linked text box chain, with its sequence number. */ interface LinkedTextBoxChainMember { element: PptxElementWithText; seq: number; } /** A complete chain of linked text boxes, sorted by sequence number. */ interface LinkedTextBoxChain { chainId: number; members: LinkedTextBoxChainMember[]; } /** * Result of distributing text segments across a linked text box chain. * Maps element IDs to the text segments that element should render. */ type LinkedTextBoxSegmentMap = Map; /** * Scan a flat list of slide elements and group them into linked text box * chains keyed by `linkedTxbxId`. * * Elements without a `linkedTxbxId` are ignored. Each chain's members * are sorted ascending by `linkedTxbxSeq`. * * @param elements - All elements on a single slide. * @returns A map from chain ID to the ordered chain descriptor. */ export declare function buildLinkedTextBoxChains(elements: readonly PptxElement[]): Map; /** * Estimate how many characters of text can fit inside a text box, * given its dimensions, body insets, and the dominant font size. * * This uses a simple area-based heuristic: * availableArea = (width - hInsets) * (height - vInsets) * charsPerLine = availableWidth / (fontSize * avgCharWidthRatio) * lines = availableHeight / (fontSize * lineHeight) * capacity = charsPerLine * lines * * @param element - The text-bearing element to estimate capacity for. * @returns The estimated number of characters that fit in the box. */ export declare function estimateTextBoxCapacity(element: PptxElementWithText): number; /** * Distribute text segments from the head element of a linked text box * chain across all members based on estimated character capacity. * * The first element (seq 0) is the "source" — it typically holds all * the text. Segments are consumed greedily by each box in sequence * order until its estimated capacity is reached, then the remainder * flows to the next box. * * @param chain - The linked text box chain (must be sorted by seq). * @returns A map from element ID to the text segments that element * should display. */ export declare function distributeSegmentsAcrossChain(chain: LinkedTextBoxChain): LinkedTextBoxSegmentMap; /** * For a given element on a slide, determine the text segments it should * actually render, accounting for linked text box chains. * * If the element is not part of a chain, returns `undefined` to signal * the caller should use the element's own segments as-is. * * If the element is part of a chain, returns the slice of segments * that belong to this particular box after overflow distribution. * * @param element - The element to query. * @param allElements - All elements on the same slide. * @returns The distributed segments for this element, or `undefined` * if the element is not in a linked chain. */ export declare function getLinkedTextBoxSegments(element: PptxElement, allElements: readonly PptxElement[]): TextSegment[] | undefined; //#endregion //#region src/pptx/core/utils/zoom-utils.d.ts /** * Returns `true` when the element is a zoom element. */ declare function isZoomElement$1(element: PptxElement): element is ZoomPptxElement; /** * Collects all zoom elements from a slide's element list. */ export declare function getZoomElements(slide: PptxSlide): ZoomPptxElement[]; /** * Detects whether a slide is a "Summary Zoom" slide. * * A summary zoom slide contains multiple zoom elements that reference * different target slides (covering different sections of the deck). * * @param slide - The slide to inspect. * @returns `true` when the slide qualifies as a summary zoom slide. */ export declare function isSummaryZoomSlide(slide: PptxSlide): boolean; /** * Returns the set of distinct target slide indices referenced by zoom * elements on the given slide. */ export declare function getZoomTargetSlideIndexes(slide: PptxSlide): number[]; /** * Given a zoom element, determines whether navigation should "return" * to the summary zoom slide after viewing the target section. * * For section zoom elements on a summary zoom slide, the user is expected * to return to the overview after finishing the section. For single slide * zoom elements the return behaviour depends on context. * * @param zoomElement - The zoom element being activated. * @param sourceSlide - The slide that contains the zoom element. * @returns `true` when the viewer should track a "return" destination. */ export declare function shouldReturnToZoomSlide(zoomElement: ZoomPptxElement, sourceSlide: PptxSlide): boolean; /** * For a section zoom, finds the range of slide indices belonging to that * section. When the user navigates past the last slide in the section, * they should return to the summary zoom slide. * * @param zoomElement - A section zoom element. * @param slides - All slides in the presentation. * @returns An array of slide indices in the section, or an empty array * if the section cannot be determined. */ export declare function getSectionSlideRange(zoomElement: ZoomPptxElement, slides: PptxSlide[]): number[]; //#endregion //#region src/pptx/core/utils/font-substitution.d.ts /** * PANOSE-based font substitution for PPTX rendering. * * When a font referenced in a PPTX presentation is not available (neither * embedded nor installed on the user's system), this module provides * intelligent fallback selection based on: * * 1. **Direct substitution map** — maps common Office font names to * web-safe alternatives with ordered preference. * 2. **PANOSE classification** — uses the 10-digit PANOSE classification * system to determine the font's visual family (serif, sans-serif, etc.) * and select an appropriate generic CSS family. * 3. **PANOSE weight mapping** — maps PANOSE weight digits to CSS * font-weight-aware alternatives for better visual fidelity. * * For the common Office fonts (Calibri/Cambria/Arial/Times New Roman/Courier * New/Georgia), the first fallback in the chain is chosen for being a * METRIC-COMPATIBLE clone, not merely a visually similar font: Carlito, * Caladea, Arimo, Tinos, Cousine and Gelasio were each built by copying the * original's per-glyph advance widths (hmtx table), so substituting one for * the other reflows text with the same line breaks PowerPoint itself would * produce. `pptx-viewer-shared`'s `google-webfonts.ts` uses this same chain to * decide which Google-Fonts-hosted family to actually download when the deck * font is unavailable, so the metric match holds even on a machine that has * neither the original font nor the Liberation family installed. * * PANOSE byte layout (ISO/IEC 14496-22, OpenType §5.2.8.1): * ``` * [0] bFamilyType — 0=Any, 2=Latin Text, 3=Latin Hand Written, 4=Latin Decorative, 5=Latin Symbol * [1] bSerifStyle — serif classification (0–15) * [2] bWeight — visual weight (0–11+) * [3] bProportion — proportional vs monospace (0–9) * [4] bContrast — stroke contrast * [5] bStrokeVariation — stroke variation * [6] bArmStyle — arm/terminal style * [7] bLetterform — letterform * [8] bMidline — midline position * [9] bXHeight — x-height * ``` * * @module font-substitution */ /** * Map of common PowerPoint / Office font names to web-safe alternatives. * * The alternatives are listed in preference order — the first available * font on the user's system will be used. Each chain ends with a * CSS generic family keyword as the ultimate fallback. */ export declare const FONT_SUBSTITUTION_MAP: Record; /** * PANOSE byte 0 (bFamilyType) → CSS generic font family. * * The PANOSE family type classifies the overall visual group of a typeface. * Value 0 ("Any") and 1 ("No Fit") are treated as unknown / sans-serif. */ export declare const PANOSE_FAMILY_MAP: Record; /** * PANOSE byte 1 (bSerifStyle) → whether the font is actually sans-serif. * * Within PANOSE family type 2 ("Latin Text"), the serif style byte * distinguishes serif from sans-serif faces. Values 11–13 indicate * sans-serif (Flared, Rounded, Normal Sans). * * This allows correct classification of sans-serif fonts like Arial * that have bFamilyType=2 but are clearly not serif fonts. */ export declare const PANOSE_SANS_SERIF_STYLES: Set; /** * PANOSE byte 3 (bProportion) → monospace detection. * * A bProportion value of 9 indicates a monospaced font. */ export declare const PANOSE_MONOSPACE_PROPORTION = 9; /** * PANOSE byte 2 (bWeight) → approximate CSS font-weight mapping. * * PANOSE weight values range from 1 (very light) to 11 (extra black). * This maps them to standard CSS font-weight values. */ export declare const PANOSE_WEIGHT_MAP: Record; /** * Parse a PANOSE string (hex-encoded, 20 characters / 10 bytes) into * an array of 10 numeric values. * * The PANOSE string appears in OOXML font elements, e.g.: * ```xml * * ``` * * @param panoseStr The hex-encoded PANOSE string (20 hex characters). * @returns Array of 10 PANOSE byte values, or `undefined` if invalid. */ export declare function parsePanoseString(panoseStr: string | undefined | null): number[] | undefined; /** * Parse a raw PANOSE byte array (10 bytes from a font binary or EOT header) * into a typed numeric array. * * @param data Raw byte array (must be exactly 10 bytes). * @returns Array of 10 PANOSE byte values, or `undefined` if invalid. */ export declare function parsePanoseBytes(data: Uint8Array | number[] | undefined | null): number[] | undefined; /** * Classify a PANOSE value array into a CSS generic font family. * * The classification logic considers: * 1. bFamilyType (byte 0) — the primary family classification * 2. bSerifStyle (byte 1) — distinguishes serif from sans-serif within Latin Text * 3. bProportion (byte 3) — detects monospaced fonts * * @param panose Array of 10 PANOSE byte values. * @returns CSS generic font family string. */ export declare function classifyPanose(panose: number[]): string; /** * Get the approximate CSS font-weight from a PANOSE classification. * * @param panose Array of 10 PANOSE byte values. * @returns CSS font-weight number (100–900) or `undefined` if not determinable. */ export declare function getPanoseWeight(panose: number[] | undefined): number | undefined; /** * Build a CSS `font-family` fallback string for a given font name. * * The resolution strategy (in order of priority): * * 1. **Direct substitution** — if the font name is in the known * substitution map, use the predefined fallback chain. * 2. **PANOSE classification** — if PANOSE data is available, classify * the font and build a fallback chain using the generic family. * 3. **Default fallback** — returns the font name quoted with a * `sans-serif` generic fallback. * * The returned string is ready for use in CSS `font-family` declarations. * * @param fontName The font family name as referenced in the PPTX. * @param panose Optional PANOSE classification array (10 bytes). * @returns A CSS font-family value string with fallbacks. * * @example * ```ts * getSubstituteFontFamily("Calibri"); * // => '"Calibri", "Carlito", "Liberation Sans", "Arial", sans-serif' * * getSubstituteFontFamily("Unknown Font", [2, 11, 5, 2, 2, 2, 2, 2, 2, 4]); * // => '"Unknown Font", "Arial", "Helvetica", sans-serif' * * getSubstituteFontFamily("Another Font"); * // => '"Another Font", sans-serif' * ``` */ export declare function getSubstituteFontFamily(fontName: string, panose?: number[]): string; /** * Get only the fallback fonts for a given font name (without the * original font name itself). Useful when building font-family chains * where the primary font is already included. * * @param fontName The font family name as referenced in the PPTX. * @param panose Optional PANOSE classification array (10 bytes). * @returns Array of fallback font names (may include generic CSS families). */ export declare function getSubstituteFonts(fontName: string, panose?: number[]): readonly string[]; /** * Check whether a font name has a known direct substitution. * * @param fontName The font family name. * @returns `true` if the font is in the direct substitution map. */ export declare function hasDirectSubstitution(fontName: string): boolean; /** * Build a CSS `font-family` value string from a primary font name * and an ordered list of fallback fonts. * * Generic CSS family keywords (serif, sans-serif, etc.) are not quoted. * All other font names are wrapped in double quotes. * * @param primary The primary font family name. * @param fallbacks Ordered array of fallback font names / generic families. * @returns A properly formatted CSS font-family string. */ export declare function buildFontFamilyString(primary: string, fallbacks: readonly string[]): string; //#endregion //#region src/pptx/core/utils/pptx-validator-types.d.ts /** * Public types and shared constants for PPTX validation and repair. * * This module defines the interfaces returned by {@link validatePptx} and * {@link repairPptx}, as well as the constant tables used by both the * validation and repair pipelines. * * @module utils/pptx-validator-types */ /** A single issue discovered during PPTX validation. */ interface ValidationIssue { severity: 'error' | 'warning' | 'info'; code: string; message: string; /** Internal ZIP path the issue relates to, if applicable. */ path?: string; } /** Aggregate result of a PPTX validation pass. */ interface ValidationResult { /** True when no errors were found by the package and rule-based checks. */ valid: boolean; issues: ValidationIssue[]; /** Scope and dialect detected by the rule-based ECMA-376 checks. */ conformance: ValidationConformance; } /** This validator is substantive but does not replace validation against every ECMA XSD. */ interface ValidationConformance { level: 'rule-checked' | 'not-checked'; dialect: 'strict' | 'transitional' | 'mixed' | 'unknown'; description: string; } /** Result of a PPTX repair operation. */ interface RepairResult { repaired: ArrayBuffer; repairs: string[]; } //#endregion //#region src/pptx/core/utils/pptx-validator-checks.d.ts /** Rule-backed OPC and selected ECMA-376 validation, not exhaustive XSD validation. */ export declare function validatePptx(buffer: ArrayBuffer): Promise; //#endregion //#region src/pptx/core/utils/pptx-validator-repair.d.ts /** * Attempt to repair common PPTX issues. * * Repair operations: * 1. Rebuild `[Content_Types].xml` from actual ZIP contents * 2. Remove dangling relationship references * 3. Add missing relationships for discovered parts * 4. Fix malformed XML (close unclosed tags -- basic) */ export declare function repairPptx(buffer: ArrayBuffer): Promise; //#endregion //#region src/pptx/core/utils/theme-switching.d.ts /** * Build the new colour map from a PptxThemeColorScheme, including aliases. */ export declare function buildThemeColorMap(colorScheme: PptxThemeColorScheme): Record; /** * Re-resolve all theme-derived colours across all slides when * switching from one colour scheme to another. * * This function does NOT modify its inputs — it returns new slide * objects with the colours patched. * * @param slides - Current slides with colours resolved from the old theme. * @param oldColorMap - The colour map from the old/current theme * (typically `pptxData.themeColorMap`). * @param newColorScheme - The new colour scheme to apply. * @returns New slides array with all scheme-derived colours re-resolved. * * @example * ```ts * import { reResolveSlideColors, THEME_PRESETS } from "pptx-viewer-core"; * * const ion = THEME_PRESETS.find(p => p.id === "ion")!; * const newSlides = reResolveSlideColors( * data.slides, * data.themeColorMap ?? {}, * ion.colorScheme, * ); * ``` */ export declare function reResolveSlideColors(slides: PptxSlide[], oldColorMap: Record, newColorScheme: PptxThemeColorScheme): PptxSlide[]; /** * Re-resolve all theme-derived colours across a flat element list (not a * full slide) when switching colour schemes. * * Master/layout shapes rendered as a separate template-elements layer are * NOT part of `PptxSlide.elements` (see `templateElementsBySlideId` in the * React binding and its counterparts), so a live in-place colour-scheme * change that only walks `reResolveSlideColors` over `slides` leaves that * layer painted with the old scheme until a full reload. Callers that keep * such a layer must re-resolve it too, using the SAME old/new colour maps * passed to `reResolveSlideColors` so both layers land on identical hex * values. * * This function does NOT modify its input — it returns a new element array. */ export declare function reResolveElementColors(elements: PptxElement[], oldColorMap: Record, newColorScheme: PptxThemeColorScheme): PptxElement[]; /** * Apply a theme switch to a full PptxData object. * * Updates: * 1. All element colours across all slides * 2. The `themeColorMap` on the PptxData * 3. The `theme` object on the PptxData (colorScheme and optionally fontScheme + name) * * This function does NOT modify its input — it returns a new PptxData. * * @param data - The current parsed presentation data. * @param newColorScheme - The new colour scheme. * @param newFontScheme - Optional new font scheme. * @param themeName - Optional new theme name. * @returns A new PptxData with the theme applied. * * @example * ```ts * import { applyThemeToData, THEME_PRESETS } from "pptx-viewer-core"; * * const facet = THEME_PRESETS.find(p => p.id === "facet")!; * const newData = applyThemeToData(data, facet.colorScheme, facet.fontScheme, facet.name); * ``` */ export declare function applyThemeToData(data: PptxData, newColorScheme: PptxThemeColorScheme, newFontScheme?: PptxThemeFontScheme, themeName?: string): PptxData; //#endregion //#region src/pptx/core/utils/theme-font-switching.d.ts /** * Re-resolve theme-linked fonts across a flat element list (a slide's * elements, or the separately rendered master/layout layer some bindings keep * per slide). Returns the input array when nothing changed. */ export declare function reResolveElementFonts(elements: PptxElement[], oldFontScheme: PptxThemeFontScheme | undefined, newFontScheme: PptxThemeFontScheme): PptxElement[]; /** * Re-resolve theme-linked fonts across all slides (elements, speaker notes * and notes shapes) when the font scheme changes. Slides whose fonts are * unaffected are returned as the same object. */ export declare function reResolveSlideFonts(slides: PptxSlide[], oldFontScheme: PptxThemeFontScheme | undefined, newFontScheme: PptxThemeFontScheme): PptxSlide[]; //#endregion //#region src/pptx/core/utils/slide-theme-override.d.ts /** * Apply a colour-map override to one slide and immediately re-resolve its * theme-derived colours. The current override is used as the old effective * scheme so repeated edits and disabling the override remain reversible. */ export declare function applyThemeOverrideToSlide(slide: PptxSlide, baseColorScheme: PptxThemeColorScheme, nextOverride: Record | undefined): PptxSlide; //#endregion //#region src/pptx/core/utils/smartart-layout-definition.d.ts type LocalName$5 = (key: string) => string; /** Parse CT_DiagramDefinition without relying on the producer's prefix. */ export declare function parseSmartArtLayoutDefinition(layoutDef: XmlObject | undefined, localName: LocalName$5): PptxSmartArtLayoutDefinition | undefined; export declare function validateSmartArtLayoutDefinition(value: PptxSmartArtLayoutDefinition): string[]; /** Surgically merge editable fields while preserving unknown XML and extLst. */ export declare function applySmartArtLayoutDefinition(target: XmlObject, value: PptxSmartArtLayoutDefinition, localName: LocalName$5): boolean; //#endregion //#region src/pptx/core/utils/smartart-definition-metadata.d.ts type LocalName$4 = (key: string) => string; export declare function parseSmartArtDefinitionMetadata(node: XmlObject, localName: LocalName$4): PptxSmartArtDefinitionMetadata; export declare function parseSmartArtQuickStyleLabels(node: XmlObject, localName: LocalName$4): PptxSmartArtQuickStyleLabel[] | undefined; /** A `dgm:styleLbl/dgm:style`'s raw `a:*Ref` children (`CT_ShapeStyle`), before theme resolution. */ interface SmartArtStyleLabelRefs { lnRef?: XmlObject; fillRef?: XmlObject; effectRef?: XmlObject; fontRef?: XmlObject; } /** * Parse a `dgm:styleLbl`'s `dgm:style/a:lnRef|a:fillRef|a:effectRef|a:fontRef` * raw XML (G13: the same `CT_ShapeStyle` an ordinary shape's `p:style` uses), * or `undefined` when the label carries no `dgm:style` refs at all. Kept raw * (not resolved here) because resolving against the theme's `fmtScheme` * needs the runtime's theme-loaded state (`this.themeFormatScheme`), which * this pure module has no access to - see * `PptxHandlerRuntimeSmartArtParsing.ts`'s `resolveSmartArtStyleLabelRefs`. */ export declare function parseSmartArtStyleLabelRefs(styleLbl: XmlObject, localName: LocalName$4): SmartArtStyleLabelRefs | undefined; export declare function parseSmartArtColorStyleLabels(node: XmlObject, localName: LocalName$4): PptxSmartArtColorStyleLabel[] | undefined; /** Validate the typed subset of CT_StyleDefinition or CT_ColorTransform. */ export declare function validateSmartArtDefinitionMetadata(metadata: PptxSmartArtDefinitionMetadata): string[]; /** Validate CT_CTStyleLabel required names and CT_Colors enum attributes. */ export declare function validateSmartArtColorStyleLabels(labels: PptxSmartArtColorStyleLabel[]): string[]; //#endregion //#region src/pptx/core/utils/accessibility-checker.d.ts type AccessibilityIssueType = 'missingAltText' | 'missingSlideTitle' | 'lowContrast' | 'complexTable' | 'duplicateTitle' | 'blankSlide'; type AccessibilityIssueSeverity = 'error' | 'warning' | 'tip'; interface AccessibilityIssue { type: AccessibilityIssueType; severity: AccessibilityIssueSeverity; slideIndex: number; elementId?: string; message: string; suggestion: string; } interface AccessibilityCheckOptions { /** Minimum WCAG contrast ratio (default 4.5 for AA normal text). */ minContrastRatio?: number; /** Skip contrast checks (useful when background can't be resolved). */ skipContrast?: boolean; /** Skip blank slide checks. */ skipBlankSlide?: boolean; } /** * Parse a hex colour string into [R, G, B] in 0–255. * Accepts `#RGB`, `#RRGGBB`, `RGB`, `RRGGBB`. */ export declare function parseHexColor(hex: string): [number, number, number] | null; /** * WCAG 2.1 relative luminance of an sRGB colour. * @see https://www.w3.org/TR/WCAG21/#dfn-relative-luminance */ export declare function relativeLuminance(r: number, g: number, b: number): number; /** * WCAG 2.1 contrast ratio between two hex colours. * Returns a value in [1, 21]. */ export declare function computeContrastRatio(fg: string, bg: string): number; export declare function checkMissingAltText(slide: PptxSlide, slideIndex: number): AccessibilityIssue[]; export declare function checkMissingSlideTitle(slide: PptxSlide, slideIndex: number): AccessibilityIssue[]; export declare function checkLowContrast(slide: PptxSlide, slideIndex: number, minRatio: number, slideBg?: string): AccessibilityIssue[]; export declare function checkComplexTables(slide: PptxSlide, slideIndex: number): AccessibilityIssue[]; export declare function checkDuplicateTitles(slides: PptxSlide[]): AccessibilityIssue[]; export declare function checkBlankSlide(slide: PptxSlide, slideIndex: number): AccessibilityIssue[]; /** * Run all accessibility checks on a presentation. * * @param data - The parsed presentation data. * @param options - Optional configuration for checks. * @returns Array of accessibility issues sorted by slide index. */ export declare function checkPresentation(data: PptxData, options?: AccessibilityCheckOptions): AccessibilityIssue[]; //#endregion //#region src/pptx/core/utils/custom-show-utils.d.ts /** * Find a custom show by name (case-insensitive) or by id. */ export declare function findCustomShow(customShows: PptxCustomShow[] | undefined, nameOrId: string): PptxCustomShow | undefined; /** * Resolve a custom show's `slideRIds` to 0-based slide indices. * * @param customShow - The custom show definition. * @param slides - The full ordered slide list from `PptxData.slides`. * @returns Ordered array of 0-based indices into `slides`, preserving the * custom show's slide order. Unresolvable rIds are skipped. */ export declare function resolveCustomShowSlideIndices(customShow: PptxCustomShow, slides: PptxSlide[]): number[]; /** * Get the list of available custom show names. */ export declare function getCustomShowNames(customShows: PptxCustomShow[] | undefined): string[]; /** * Navigate within a custom show's filtered slide list. * * @param currentSlideIndex - Current 0-based index into the full slide array. * @param direction - Navigation direction: 1 for next, -1 for previous. * @param filteredIndices - The custom show's resolved slide indices. * @param wrap - Whether to wrap around (default false). * @returns The next slide index in the full slide array, or `currentSlideIndex` if at boundary. */ export declare function navigateCustomShow(currentSlideIndex: number, direction: 1 | -1, filteredIndices: number[], wrap?: boolean): number; /** * Get the 1-based position label within a custom show (e.g. "3 of 8"). */ export declare function getCustomShowPositionLabel(currentSlideIndex: number, filteredIndices: number[]): string; //#endregion //#region src/pptx/core/utils/table-style-resolver.d.ts /** Fill descriptor for a single table style part. */ interface TableStylePartFill { /** Solid colour hex (e.g. "#FF0000"). */ color?: string; /** Gradient fill definition (opaque — passed through to the renderer). */ gradient?: unknown; /** Pattern fill definition (opaque — passed through to the renderer). */ pattern?: unknown; } /** Per-edge border descriptor. */ interface TableStylePartBorder { width?: number; color?: string; dash?: string; } /** Border set for a single table style part. */ interface TableStylePartBorders { top?: TableStylePartBorder; bottom?: TableStylePartBorder; left?: TableStylePartBorder; right?: TableStylePartBorder; } /** Text formatting for a single table style part. */ interface TableStylePartText { bold?: boolean; italic?: boolean; color?: string; fontSize?: number; } /** * Parsed visual data for one of the 12 table style sections. * * All fields are optional — only set properties participate in the cascade. */ interface ParsedTableStylePart { fill?: TableStylePartFill; borders?: TableStylePartBorders; text?: TableStylePartText; } /** * Complete parsed table style with all 12 optional parts. */ interface ParsedTableStyle { wholeTbl?: ParsedTableStylePart; band1H?: ParsedTableStylePart; band2H?: ParsedTableStylePart; band1V?: ParsedTableStylePart; band2V?: ParsedTableStylePart; firstRow?: ParsedTableStylePart; lastRow?: ParsedTableStylePart; firstCol?: ParsedTableStylePart; lastCol?: ParsedTableStylePart; seCell?: ParsedTableStylePart; swCell?: ParsedTableStylePart; neCell?: ParsedTableStylePart; nwCell?: ParsedTableStylePart; } /** * Boolean flags on the table that control which style parts are active. */ interface TableStyleFlags { bandedRows?: boolean; bandedColumns?: boolean; firstRow?: boolean; lastRow?: boolean; firstCol?: boolean; lastCol?: boolean; /** Number of rows per band group (default 1). */ bandRowCycle?: number; /** Number of columns per band group (default 1). */ bandColCycle?: number; } /** * Deep-merge two `ParsedTableStylePart` objects. Properties from `override` * win when set; unset properties fall through to `base`. */ export declare function mergeStyleParts(base: ParsedTableStylePart | undefined, override: ParsedTableStylePart | undefined): ParsedTableStylePart | undefined; /** * Resolve the effective style for a specific table cell by applying the full * 12-part OOXML table style cascade. * * Layer priority (lowest → highest): * 1. wholeTbl * 2. band1H / band2H (horizontal banding) * 3. band1V / band2V (vertical banding) * 4. lastRow * 5. firstRow * 6. lastCol * 7. firstCol * 8. corner cells (seCell, swCell, neCell, nwCell) * * @param rowIndex Zero-based row index of the cell. * @param colIndex Zero-based column index of the cell. * @param totalRows Total number of rows in the table. * @param totalCols Total number of columns in the table. * @param flags Boolean table flags controlling which parts are active. * @param style The parsed table style with up to 12 parts. * @returns Partial cell style with effective values from the cascade. */ export declare function resolveTableCellStyle(rowIndex: number, colIndex: number, totalRows: number, totalCols: number, flags: TableStyleFlags, style: ParsedTableStyle): Partial; //#endregion //#region src/pptx/core/utils/animation-preset-catalog-entr-exit.d.ts export declare const ENTRANCE_PRESETS: AnimationPresetInfo[]; export declare const EXIT_PRESETS: AnimationPresetInfo[]; //#endregion //#region src/pptx/core/utils/animation-preset-catalog.d.ts type AnimationCategory = 'entrance' | 'exit' | 'emphasis' | 'motionPath'; interface AnimationPresetInfo { /** Unique preset key. For entr/exit/emph this is `.`. */ presetId: string; /** Human-readable label for the UI. */ label: string; /** Animation category. */ category: AnimationCategory; /** Default duration in milliseconds. */ defaultDurationMs: number; /** Whether direction options are available. */ hasDirection: boolean; /** Available directions (if applicable). */ directions?: string[]; /** Whether text build options are available. */ hasTextBuild: boolean; } export declare const EMPHASIS_PRESETS: AnimationPresetInfo[]; export declare const MOTION_PATH_PRESETS: AnimationPresetInfo[]; export declare const ALL_ANIMATION_PRESETS: AnimationPresetInfo[]; /** * Look up a preset by its ID. */ export declare function getAnimationPresetInfo(presetId: string): AnimationPresetInfo | undefined; /** * Get all presets for a given category. */ export declare function getPresetsByCategory(category: AnimationCategory): AnimationPresetInfo[]; /** * Resolve native OOXML preset metadata from a parsed `(presetClass, presetId)` * pair to the typed catalog entry. Returns `undefined` for unknown * combinations — callers should fall back to the raw `presetID` for * round-trip preservation. * * @example * ```ts * getNativeAnimationPresetMetadata({ presetClass: "entr", presetId: 10 }); * // => { presetId: "entr.10", label: "Fade", category: "entrance", ... } * ``` */ export declare function getNativeAnimationPresetMetadata(args: { presetClass: 'entr' | 'exit' | 'emph' | 'path'; presetId: number; }): AnimationPresetInfo | undefined; //#endregion //#region src/pptx/core/utils/smartart-relayout.d.ts /** * Re-evaluate SmartArt layout after an editing operation. * * Delegates to `computeSmartArtElementsWithoutCache`, then converts its * shapes back to `PptxSmartArtDrawingShape[]` for the rendering pipeline. * Non-shape elements (connectors) are dropped, matching the existing * convention for cached drawing shapes. Falls back to the existing * `drawingShapes`, unchanged, when nothing can be computed (e.g. every node * has empty text, or the layout type is unrecognised). * * The recomputed shapes carry the quick style's per-label 3D * ({@link applySmartArtQuickStyle3d}), so a bevel / scene styled diagram * stays 3D after a node is added, removed or reordered. * * @param smartArtData - The SmartArt data model (nodes, layout type, etc.). * @param containerWidth - Width of the container on the slide (pixels). * @param containerHeight - Height of the container on the slide (pixels). * @returns Array of drawing shapes with recalculated positions. */ export declare function relayoutSmartArt(smartArtData: PptxSmartArtData, containerWidth: number, containerHeight: number): PptxSmartArtDrawingShape[]; /** * The drawing shapes the save pipeline caches for a SmartArt whose cached * drawing was dropped (a structural edit) or never existed (SDK-created): * the decompose/layout output, plus the quick style's per-label 3D the way * PowerPoint bakes it onto each shape when it re-lays out a diagram. */ export declare function regenerateSmartArtDrawingShapes(smartArtData: PptxSmartArtData, containerWidth: number, containerHeight: number): PptxSmartArtDrawingShape[]; //#endregion //#region src/pptx/core/utils/smartart-quick-style-3d.d.ts /** * Whether a label scene is the implicit default (front camera, top `threePt` * light, no rotation / zoom / fov / backdrop), which PowerPoint does not * write onto a cached shape. */ export declare function isDefaultSmartArtLabelScene(scene: Pptx3DScene): boolean; /** Whether a quick style carries any per-label 3D at all (bevel / scene styles). */ export declare function smartArtQuickStyleHas3d(quickStyle: PptxSmartArtQuickStyle | undefined): boolean; /** * Apply the diagram's quick-style per-label 3D to regenerated drawing shapes. * Returns the input untouched when the quick style is flat (or absent). */ export declare function applySmartArtQuickStyle3d(shapes: PptxSmartArtDrawingShape[], data: Pick): PptxSmartArtDrawingShape[]; //#endregion //#region src/pptx/core/utils/layout-display-name.d.ts /** * Resolve a human-friendly display label for a slide layout. * * Order of preference: * 1. The cSld `@name` attribute, if it is non-empty and not just the * raw ZIP path. * 2. The OOXML `@type` attribute mapped to its standard English label * (e.g. `"obj"` → `"Title and Content"`). * 3. `"Slide Layout N"` parsed from the ZIP path (`slideLayoutN.xml`), * or plain `"Slide Layout"` if no number can be found. */ interface LayoutDisplayNameInput { name?: string; type?: string; path: string; } export declare function resolveLayoutDisplayName(input: LayoutDisplayNameInput): string; //#endregion //#region src/pptx/core/utils/xml-reorder.d.ts export declare function reorderObjectKeys(obj: XmlObject, schemaOrder: readonly string[]): XmlObject; /** * Like {@link reorderObjectKeys}, but a child matches a `schemaOrder` entry by * LOCAL NAME, so a part that binds the PresentationML namespace to a prefix * other than `p:` (or mixes prefixes, e.g. an `x:kinsoku` among `p:` siblings) * is still put in schema order instead of having its foreign-prefixed children * pushed to the end. Attributes and text nodes are never reordered. */ export declare function reorderObjectKeysByLocalName(obj: XmlObject, schemaOrder: readonly string[]): XmlObject; /** Child order for `a:effectLst` (CT_EffectList §20.1.8.20) — alphabetical. */ export declare const EFFECT_LST_ORDER: readonly string[]; /** * Child order for `a:spPr` (CT_ShapeProperties §20.1.2.2.35). * Geometry choice (custGeom XOR prstGeom) and fill choice * (noFill XOR solidFill XOR gradFill XOR blipFill XOR pattFill XOR grpFill) * are flattened — at most one of each appears in any valid document. */ export declare const SP_PR_ORDER: readonly string[]; /** * Child order for `a:tcPr` (CT_TableCellProperties §21.1.4.2). * Fill choice is flattened. */ export declare const TC_PR_BORDERS_ORDER: readonly string[]; /** Child order for `a:blipFill` (CT_BlipFillProperties). */ export declare const BLIP_FILL_ORDER: readonly string[]; /** * Child order for `p:presentation` (CT_Presentation, ECMA-376 S19.2.1.26). * `reorderObjectKeys` pushes any key not in this list (attributes, and * genuinely unknown extension children) after the recognised ones, in their * original relative order; `@_`-prefixed attribute keys always serialize as * attributes on the opening tag regardless of their position in the object, * so this only affects the sequence of CHILD ELEMENTS, which is what the * schema actually constrains. */ export declare const PRESENTATION_CHILD_ORDER: readonly string[]; //#endregion //#region src/pptx/core/utils/xml-access.d.ts /** * Get a single child element by tag name. If the tag repeats, returns the * first occurrence. Returns `undefined` when the node is absent or not an * object. */ export declare function xmlChild(node: unknown, key: string): XmlObject | undefined; /** * Get all children with the given tag name, normalized to an array. fast-xml-parser * emits a single object when an element appears once and an array when it * repeats; this helper collapses that distinction. */ export declare function xmlChildren(node: unknown, key: string): XmlObject[]; /** * Get a child element as a WRITABLE node, healing the empty-element case. * * fast-xml-parser materialises an element with no attributes, no children and * no text as the string `''`, not `{}`. `` is the commonest spelling * of an unstyled shape, `` is bare in all 45 committed decks, * and `p:nvPr`, `a:pPr`, `a:effectLst`, `a:bodyPr` and `a:lstStyle` are bare in * most of them. {@link xmlChild} and {@link xmlPath} deliberately return * `undefined` for such a node, which is the right answer when READING (a bare * element has nothing to read) but the wrong one when the caller needs the * container in order to WRITE into it: the write silently goes nowhere, and * because our own builder re-emits `''` as ``, a round-trip * test never notices. That is how setting a fill on a shape authored * `` failed to reach the saved file at all. * * This helper draws the distinction the writers actually need: * - child is an object -> returned as-is, contents intact; * - child is PRESENT but empty (`''`) -> replaced in `parent` with `{}` and * returned, which is lossless because a bare element holds nothing, and * byte-neutral because both forms serialize to ``; * - child is ABSENT -> `undefined`, so callers keep deciding for themselves * whether creating the element is schema-valid at that position. * * Use {@link xmlChild} for reads and this for writes. */ export declare function ensureXmlChild(parent: unknown, key: string): XmlObject | undefined; /** * Read an attribute value. Pass the unprefixed name (e.g. `"id"` or * `"r:embed"`); the `@_` prefix is added internally. */ export declare function xmlAttr(node: unknown, name: string): string | undefined; /** * Read an attribute as a number, returning `undefined` when missing or * unparseable. */ export declare function xmlAttrNumber(node: unknown, name: string): number | undefined; /** * Read an attribute as a boolean using OOXML's `"1" | "true"` truthy convention. * Returns `undefined` when the attribute is absent. */ export declare function xmlAttrBool(node: unknown, name: string): boolean | undefined; /** * Read the text content of an element (`#text` key) or the element itself if * fast-xml-parser collapsed it to a bare value. Alternate parser configurations * may produce numbers or booleans, which use the same coercion as attributes. */ export declare function xmlText(node: unknown): string | undefined; /** * Walk a path of child element tag names. Equivalent to chained * {@link xmlChild} calls. Useful for the deep optional-chain accesses that * dominate OOXML parsing. * * @example * ```ts * const blip = xmlPath(slideXml, 'p:sld', 'p:cSld', 'p:bg', 'p:bgPr', 'a:blipFill', 'a:blip'); * const rEmbed = xmlAttr(blip, 'r:embed'); * ``` */ export declare function xmlPath(node: unknown, ...keys: string[]): XmlObject | undefined; /** * `true` when `value` is an {@link XmlObject} — non-null, non-array object. * Exposed for the few call sites that need to narrow a raw `unknown` before * passing it through other helpers. */ export declare function isXmlNode(value: unknown): value is XmlObject; //#endregion //#region src/pptx/core/utils/chart-layout.d.ts type LocalName$3 = (key: string) => string; /** Parse one `c:layout/c:manualLayout` subtree. */ export declare function parseChartManualLayout(parent: XmlObject | undefined, localName: LocalName$3): PptxChartManualLayout | undefined; /** Parse title, plot-area, and legend layouts from a chart root. */ export declare function parseChartLayouts(chartRoot: XmlObject | undefined, localName: LocalName$3): PptxChartLayouts | undefined; /** Apply or remove one typed manual layout while retaining extension data. */ export declare function applyChartManualLayout(parent: XmlObject | undefined, layout: PptxChartManualLayout | null | undefined, localName: LocalName$3): void; /** Apply all explicitly supplied chart-region layouts. */ export declare function applyChartLayouts(chartRoot: XmlObject, layouts: PptxChartLayouts, localName: LocalName$3): void; //#endregion //#region src/pptx/core/utils/chart-bubble-options.d.ts type LocalName$2 = (key: string) => string; export declare function parseBubbleChartOptions(container: XmlObject | undefined, localName: LocalName$2): PptxBubbleChartOptions | undefined; export declare function applyBubbleChartOptions(container: XmlObject, options: PptxBubbleChartOptions, localName: LocalName$2): void; //#endregion //#region src/pptx/core/utils/smartart-definition-header.d.ts export declare const SMART_ART_DEFINITION_PARTS: Readonly>; /** Parse any of the three definition-header list roots, regardless of prefix. */ export declare function parseSmartArtDefinitionHeaderList(xml: XmlObject): PptxSmartArtDefinitionHeaderList; /** Build an XML object in schema order while retaining foreign markup. */ export declare function serializeSmartArtDefinitionHeaderList(list: PptxSmartArtDefinitionHeaderList): XmlObject; /** Validate required values and XML Schema integer ranges. */ export declare function validateSmartArtDefinitionHeaderList(list: PptxSmartArtDefinitionHeaderList): string[]; //#endregion //#region src/pptx/core/utils/smartart-constraint-rules.d.ts type LocalName$1 = (key: string) => string; /** Parse the constraint and numeric-rule children of CT_LayoutNode. */ export declare function parseSmartArtConstraintRules(node: XmlObject, localName: LocalName$1): Pick; export declare function validateSmartArtConstraintRules(value: PptxSmartArtLayoutNode): string[]; /** Merge typed constraints and rules without dropping foreign attributes or extension content. */ export declare function applySmartArtConstraintRules(node: XmlObject, value: PptxSmartArtLayoutNode, localName: LocalName$1): boolean; //#endregion //#region src/pptx/core/utils/chart-up-down-bars.d.ts interface XmlLookupLike { getChildByLocalName: (parent: XmlObject | undefined, name: string) => XmlObject | undefined; getChildrenArrayByLocalName: (parent: XmlObject | undefined, name: string) => XmlObject[]; } interface ColorParserLike { parseColor: (node: XmlObject | undefined, placeholder?: string) => string | undefined; } type LocalName = (key: string) => string; /** Parse `c:upDownBars`, including both bars' DrawingML shape properties. */ export declare function parseChartUpDownBars(chartContainer: XmlObject | undefined, xmlLookup: XmlLookupLike, colorParser: ColorParserLike): PptxChartUpDownBars | undefined; /** Apply, insert, or explicitly remove `c:upDownBars`. */ export declare function applyChartUpDownBars(chartContainer: XmlObject, options: PptxChartUpDownBars | null | undefined, localName: LocalName, resolveColor?: ResolveChartColor): void; //#endregion //#region src/pptx/core/utils/drawing-media-reference.d.ts interface ParsedDrawingMediaReference { kind: PptxMediaReferenceKind; mediaType: 'audio' | 'video'; relationshipId?: string; isLinked?: boolean; name?: string; contentType?: string; audioCdStart?: PptxAudioCdPosition; audioCdEnd?: PptxAudioCdPosition; rawXml: XmlObject; } export declare function parseDrawingMediaReference(container: XmlObject | undefined, externalRelIds?: ReadonlySet): ParsedDrawingMediaReference | undefined; export declare function applyDrawingMediaReference(container: XmlObject, element: MediaPptxElement, relationshipId?: string): void; //#endregion //#region src/pptx/core/utils/drawing-line-dash.d.ts export declare function parseDrawingLineDash(lineNode: XmlObject, normalizePreset: (value: unknown) => StrokeDashType | undefined): Pick; export declare function applyDrawingLineDash(lineNode: XmlObject, style: ShapeStyle): void; //#endregion //#region src/pptx/core/utils/theme-style-reference.d.ts /** Preserve the verbatim colour choice from a DrawingML style reference. */ export declare function extractStyleReferenceColorXml(refNode: XmlObject | undefined): XmlObject | undefined; /** Run an operation with the style reference colour temporarily bound to `phClr`. */ export declare function withThemePlaceholderColor(themeColorMap: Record, placeholderColor: string, operation: () => T): T; //#endregion //#region src/pptx/core/utils/slide-title.d.ts /** * Derive a single slide's title. Returns the title placeholder's text, or an * empty string when the slide has no title placeholder with text. */ export declare function deriveSlideTitle(slide: PptxSlide): string; /** Derive the ordered list of slide titles for an entire deck. */ export declare function deriveSlideTitles(slides: PptxSlide[]): string[]; //#endregion //#region src/pptx/core/utils/image-first-pixel.d.ts /** * Decode `bytes`' pixel (0,0) synchronously with no DOM. Returns `undefined` * for an unrecognised/unsupported format, a fully transparent pixel, or a * decode failure - the caller's existing fallback colour is always used in * that case, never a crash. */ export declare function sampleFirstPixelColorFromBytes(bytes: Uint8Array): string | undefined; //#endregion //#region src/pptx/core/utils/media-duration.d.ts /** * Estimate a media file's duration in milliseconds, purely from its bytes. * Returns `undefined` when the format is unrecognised or the relevant * duration/rate fields could not be read - callers should fall back to * whatever estimate they already had (the OOXML-authored delay, or a * runtime-measured `HTMLMediaElement.duration` once one exists). */ export declare function estimateMediaDurationMs(bytes: Uint8Array): number | undefined; //#endregion //#region src/pptx/core/utils/crop-shape-geometry.d.ts /** * Crop shape a picture's preset geometry expresses. * @returns The matching crop shape, or `undefined` when the preset is `rect`, * absent, or a shape the crop gallery does not offer. */ export declare function cropShapeForPresetGeometry(preset: string | undefined): PptxCropShape | undefined; /** * Preset geometry to write for a crop shape. * @returns The `a:prstGeom/@prst` value, or `undefined` for `'none'`/absent. */ export declare function presetGeometryForCropShape(cropShape: PptxCropShape | undefined): string | undefined; /** * Bring `element.shapeType` in line with a changed `cropShape` before the * geometry is written. * * The save path writes `a:prstGeom/@prst` from `shapeType`, so a crop chosen in * the inspector has to land there. But `cropShape` is ALSO derived from the * preset on load, so a picture loaded as an ellipse carries `cropShape: * 'ellipse'` forever; if the user then changes `shapeType` directly, the stale * crop must not drag it back. The rule is therefore: rewrite `shapeType` only * when `cropShape` differs from what the picture's PREVIOUS preset (the * baseline, read from `rawXml` unless given) expressed, i.e. when the crop * itself changed. * * Custom geometry is never touched: a crop shape cannot be expressed on top of * `a:custGeom`, and clobbering the paths would lose the drawing. * * @returns `true` when `shapeType` was rewritten. */ export declare function syncPictureShapeTypeWithCropShape(element: PptxImageLikeElement, baselinePreset?: string | undefined): boolean; //#endregion //#region src/pptx/core/utils/auto-number-format.d.ts /** * The single implementation of OOXML auto-numbered bullet markers * (`ST_TextAutonumberScheme`, ECMA-376 §20.1.10.61 - all 41 values). * * Both the load path and the render layer need the SAME marker string for a * paragraph: core stamps it onto the parsed bullet segment, and the renderer * resolves it again from `BulletInfo`. While the two carried separate tables * they disagreed for every non-Latin scheme and painted a double marker * (`一.1. Item`). `pptx-viewer-shared` therefore re-exports this module rather * than keeping a second copy (core cannot import shared: shared depends on * core). * * The returned marker carries NO trailing space; callers that need one (the * bullet marker segment stamped at parse time) append it. * * @module auto-number-format */ /** * Convert a positive integer to a Roman numeral string (upper-case). * Input is clamped to [1, 3999]. * * @example * romanNumeral(4) // "IV" * romanNumeral(2024) // "MMXXIV" */ export declare function romanNumeral(n: number): string; /** * PowerPoint's Latin alphabetic label (lower-case), COM-verified: past `z` the * letter repeats rather than counting spreadsheet-style * (1 -> "a", 26 -> "z", 27 -> "aa", 52 -> "zz", 53 -> "aaa"). */ export declare function alphaLabel(n: number): string; /** * Render the n-th (1-based) marker for an OOXML auto-numbering scheme. * * Suffix conventions: `…Period` -> `label.`, `…ParenR` -> `label)`, * `…ParenBoth` -> `(label)`, `…Minus` -> `label-`, `…Plain` -> bare numeral. * Unrecognised schemes fall back to `"."`. */ export declare function formatAutoNumberMarker(autoNumType: string | undefined, n: number): string; /** * Every `ST_TextAutonumberScheme` value, for exhaustiveness tests and pickers. * Order follows the schema's enumeration. */ export declare const TEXT_AUTONUMBER_SCHEMES: ReadonlyArray; //#endregion //#region src/pptx/core/utils/auto-number-alphabets.d.ts /** * Ordered alphabets and the label/numeral builders PowerPoint uses for the * alphabetic `ST_TextAutonumberScheme` families (Latin, Arabic, Hebrew, Hindi, * Thai) and the East-Asian `ea1*` numerals. * * Every table and rule here is COM-verified: a PowerPoint export of every * scheme at startAt 1..45 plus 99/100/101/110/1000/10000/12345 (the * 2026-09 limitations wave). Two findings shaped this module: * * - PowerPoint's alphabetic labels past the end of the alphabet REPEAT the * letter (`z`, `aa`, `zz`, `aaa`), they are not spreadsheet-style bijective * (`aa`, `ab`, ...). The same rule holds for the Arabic, Hindi and Thai * letter schemes, and `hebrew2Minus` prefixes one `ת` per completed pass. * - The alphabets are not the naive Unicode blocks: Thai omits the obsolete * `ฃ`/`ฅ` and also `ฆ`; Hindi vowels are the contiguous U+0905..U+0914 * (incl. `ऌ ऍ ऎ ऑ ऒ`); Hindi consonants include `ळ`; `arabic1Minus` * starts at `أ`, and `arabic2Minus` walks the abjadi letter order rather * than computing abjad numerals. * * @module auto-number-alphabets */ /** Devanagari independent vowels U+0905..U+0914, for `hindiAlphaPeriod`. */ export declare const HINDI_VOWELS: ReadonlyArray; /** Devanagari consonants (with `ळ` after `ल`), for `hindiAlpha1Period`. */ export declare const HINDI_CONSONANTS: ReadonlyArray; /** The 41 Thai consonants PowerPoint counts for the `thaiAlpha*` schemes. */ export declare const THAI_CONSONANTS: ReadonlyArray; /** The 28 Arabic letters in hija'i order (starting at `أ`), for `arabic1Minus`. */ export declare const ARABIC_HIJAI_LETTERS: ReadonlyArray; /** The 28 Arabic letters in abjadi order, as PowerPoint walks them for `arabic2Minus`. */ export declare const ARABIC_ABJADI_LETTERS: ReadonlyArray; /** The 22 Hebrew letters, for `hebrew2Minus`. */ export declare const HEBREW_LETTERS: ReadonlyArray; /** * PowerPoint's repeated-letter label: the letter at `(n-1) % len`, written * `floor((n-1) / len) + 1` times (`a`..`z`, `aa`..`zz`, `aaa`, ...). */ export declare function repeatedLabel(n: number, alphabet: ReadonlyArray): string; /** * `hebrew2Minus` label: one `ת` per completed pass of the 22 letters, then * the letter for the remainder (23 -> `תא`, 100 -> `תתתתל`). */ export declare function hebrewAlphaLabel(n: number): string; /** Digit-by-digit CJK numeral with `〇` for zero (10 -> `一〇`, 12345 -> `一二三四五`). */ export declare function toCjkDigitString(n: number): string; /** * `ea1Cht*` numeral: 10..19 use the `十` form (`十`, `十一`, `十九`), every * other value is digit-by-digit (`二〇`, `九九`, `一〇一`). */ export declare function toEa1ChtNumeral(n: number): string; //#endregion //#region src/pptx/core/utils/auto-number-scripts.d.ts /** * Script-specific numeral converters for the OOXML `ST_TextAutonumberScheme` * families that are not plain Latin: East-Asian (`ea1*`), Hebrew, Hindi * (Devanagari), Thai and Arabic (`arabic1Minus` / `arabic2Minus`). * * Lives in core rather than in `pptx-viewer-shared` because BOTH the load path * (which stamps the marker onto the parsed bullet segment) and the render layer * need the identical string: when the two disagreed, every East-Asian / Thai / * Hindi / Hebrew numbered list painted a DOUBLE marker (`一.1. Item`). Core is * the only package both sides can depend on, so it owns the single copy and * `pptx-viewer-shared` re-exports it. * * @module auto-number-scripts */ /** Devanagari (Hindi) digits `०१२…` (U+0966). */ export declare function toDevanagariDigits(n: number): string; /** Thai digits `๐๑๒…` (U+0E50). */ export declare function toThaiDigits(n: number): string; /** Full-width Arabic digits `012…` (U+FF10), used by JPN/KOR schemes. */ export declare function toFullWidthDigits(n: number): string; /** * Bijective (spreadsheet-style) label over an arbitrary ordered alphabet: * 1 -> a, len -> last, len+1 -> aa. Reused for Hindi/Thai/Arabic alphabetic * schemes. */ export declare function bijectiveLabel(n: number, alphabet: ReadonlyArray): string; /** * Hebrew alphabetic (gematria) numeral for the `hebrew2Minus` scheme. * Handles the 15/16 special-casing (`טו`/`טז`) that avoids spelling the divine * name. Clamped to [1, 999]. */ export declare function toHebrewNumeral(n: number): string; /** * Abjad numeral (the Arabic counterpart of Hebrew gematria) for the * `arabic2Minus` scheme. Clamped to [1, 999]. */ export declare function toArabicAbjadNumeral(n: number): string; /** * Convert `n` to a Chinese numeral string. `traditional` selects the * traditional myriad glyph (`萬`) over the simplified (`万`); the 0-9 digit and * 十/百/千 unit glyphs are shared. Clamped below 100,000,000. Leading `一十` * (10-19) collapses to `十`, matching PowerPoint. */ export declare function toChineseNumeral(n: number, traditional: boolean): string; /** * `ea1Chs*` numeral (COM-verified): below 100 the `十` form (`十一`, * `四十五`, `九十九`); from 100 up PowerPoint switches to digit-by-digit * (`一〇〇`, `一〇一`, `一二三四五`). */ export declare function toEa1ChsNumeral(n: number): string; /** * Format the n-th (1-based) marker for the East-Asian / Hebrew / Hindi / Thai / * Arabic `ST_TextAutonumberScheme` families. Returns `undefined` for any scheme * this module does not handle, so the caller can fall back to its Arabic * default. */ export declare function formatScriptAutoNumber(autoNumType: string, n: number): string | undefined; //#endregion //#region src/pptx/core/core/builders/table-cell-runs.d.ts interface TableCellRunsContext { ensureArray: (value: unknown) => unknown[]; parseColor: (colorNode: XmlObject | undefined, placeholderColor?: string) => string | undefined; } /** * Parse a cell's `a:txBody` into an ordered run list. * * @returns The runs, or `undefined` when the cell has no text-bearing runs at * all (so the renderer keeps using the plain string and no memory is spent on * an array of one trivial entry). */ export declare function extractTableCellTextRuns(tableCell: XmlObject | undefined, context: TableCellRunsContext): PptxTableCellTextRun[] | undefined; //#endregion //#region src/pptx/core/core/builders/PptxLoadDataBuilder.d.ts export declare class PptxLoadDataBuilder { private width; private height; private widthEmu; private heightEmu; private notesWidthEmu; private notesHeightEmu; private slides; private layoutOptions; private headerFooter; private presentationProperties; private viewProperties; private customShows; private sections; private warnings; private themeColorMap; private theme; private tableStyleMap; private tableStylesDefaultId; private embeddedFonts; private embeddedFontList; private mruColors; private notesMaster; private handoutMaster; private slideMasters; private tags; private customProperties; private coreProperties; private appProperties; private themeOptions; private hasMacros; private hasDigitalSignatures; private digitalSignatureCount; private presentationGuides; private customXmlParts; private photoAlbum; private kinsoku; private modifyVerifier; private smartTags; private customerData; private slideSizeType; private thumbnailData; private commentAuthors; private modernCommentAuthors; private conformance; private embedTrueTypeFonts; private defaultTextStyle; withDimensions(width: number, height: number, widthEmu: number, heightEmu: number): this; withNotesDimensions(notesWidthEmu: number, notesHeightEmu: number): this; withSlides(slides: PptxSlide[]): this; withLayoutOptions(layoutOptions: PptxLayoutOption[]): this; withHeaderFooter(headerFooter: PptxHeaderFooter | undefined): this; withPresentationProperties(presentationProperties: PptxPresentationProperties | undefined): this; withViewProperties(viewProperties: PptxViewProperties | undefined): this; withCustomShows(customShows: PptxCustomShow[] | undefined): this; withSections(sections: PptxSection[] | undefined): this; withWarnings(warnings: PptxData['warnings']): this; withThemeColorMap(themeColorMap: Record): this; withTheme(theme: PptxTheme | undefined): this; withTableStyleMap(tableStyleMap: ParsedTableStyleMap | undefined): this; withTableStylesDefaultId(tableStylesDefaultId: string | undefined): this; withEmbeddedFonts(embeddedFonts: PptxEmbeddedFont[] | undefined): this; withEmbeddedFontList(embeddedFontList: PptxData['embeddedFontList']): this; withMruColors(mruColors: string[] | undefined): this; withNotesMaster(notesMaster: PptxNotesMaster | undefined): this; withHandoutMaster(handoutMaster: PptxHandoutMaster | undefined): this; withSlideMasters(slideMasters: PptxSlideMaster[] | undefined): this; withTags(tags: PptxTagCollection[] | undefined): this; withCustomProperties(customProperties: PptxCustomProperty[] | undefined): this; withCoreProperties(coreProperties: PptxCoreProperties | undefined): this; withAppProperties(appProperties: PptxAppProperties | undefined): this; withThemeOptions(themeOptions: PptxThemeOption[] | undefined): this; withHasMacros(hasMacros: boolean | undefined): this; withHasDigitalSignatures(hasDigitalSignatures: boolean | undefined): this; withDigitalSignatureCount(digitalSignatureCount: number | undefined): this; withPresentationGuides(presentationGuides: PptxDrawingGuide[] | undefined): this; withCustomXmlParts(customXmlParts: PptxCustomXmlPart[] | undefined): this; withPhotoAlbum(photoAlbum: PptxPhotoAlbum | undefined): this; withKinsoku(kinsoku: PptxKinsoku | undefined): this; withModifyVerifier(modifyVerifier: PptxModifyVerifier | undefined): this; withSmartTags(smartTags: PptxSmartTagsReference | undefined): this; withCustomerData(customerData: PptxCustomerData[] | undefined): this; withSlideSizeType(slideSizeType: string | undefined): this; withThumbnailData(thumbnailData: Uint8Array | undefined): this; withCommentAuthors(commentAuthors: PptxCommentAuthor[] | undefined): this; withModernCommentAuthors(authors: PptxModernCommentAuthor[] | undefined): this; withConformance(conformance: 'strict' | 'transitional' | undefined): this; withEmbedTrueTypeFonts(embedTrueTypeFonts: boolean | undefined): this; withDefaultTextStyle(defaultTextStyle: PptxTextStyleLevels | undefined): this; build(): PptxData; } //#endregion //#region src/pptx/core/core/builders/PptxShapeIdValidator.d.ts /** Outcome of one shape-tree repair. */ interface ShapeIdRepairResult { /** Number of `p:cNvPr/@id` declarations that were rewritten. */ reassigned: number; /** * Old raw id text -> fresh id, one entry per rewritten declaration. A * later duplicate of the same old id overwrites the earlier entry, so a * reference to a duplicated id follows the LAST shape renumbered (the one * a paste brought in alongside its connector). */ ids: Map; } interface IPptxShapeIdValidator { validateAndDeduplicateIds(spTree: XmlObject, ensureArray: (value: unknown) => unknown[], referenceRoot?: XmlObject): number; repairShapeIds(spTree: XmlObject, ensureArray: (value: unknown) => unknown[], referenceRoot?: XmlObject): ShapeIdRepairResult; } /** * Validates shape IDs in a slide's spTree and reassigns duplicates. * Returns the number of IDs that were reassigned. */ export declare class PptxShapeIdValidator implements IPptxShapeIdValidator { validateAndDeduplicateIds(spTree: XmlObject, ensureArray: (value: unknown) => unknown[], referenceRoot?: XmlObject): number; /** * Same repair, but also returns the old-id -> new-id map so a caller can * replay it onto state that lives outside `referenceRoot` (the live element * model, a cached `rawTiming`, typed ActiveX controls). */ repairShapeIds(spTree: XmlObject, ensureArray: (value: unknown) => unknown[], referenceRoot?: XmlObject): ShapeIdRepairResult; } //#endregion //#region src/pptx/core/core/runtime/table-create-xml.d.ts /** * Build the XML object for a single table cell (``) containing the * given text, with default border lines and top anchoring. * * @param text - The text content for the cell. * @returns An XML object representing the table cell. */ export declare function createTableCellXml(text: string): XmlObject; /** * Build the raw XML object for a table graphic frame (``) * sized and positioned from the given element, with the requested number of * rows and columns. Row/column counts are clamped to the supported range. * * @param element - The element supplying position/size and flip/rotation. * @param rowCount - Desired number of rows (clamped). * @param columnCount - Desired number of columns (clamped). * @returns An XML object representing the table graphic frame. */ export declare function createTableGraphicFrameRawXml(element: PptxElement, rowCount: number, columnCount: number): XmlObject; /** * Mutate the given cell XML in place, replacing its text body with a single * paragraph/run carrying the supplied text and inline style patch. * * @param cellXml - The cell (``) XML object to update. * @param text - The new text content. * @param stylePatch - Optional bold/italic/underline/align/fontSize overrides. */ export declare function applyTableCellTextAndStyle(cellXml: XmlObject, text: string, stylePatch: { bold?: boolean; italic?: boolean; underline?: boolean; align?: TextStyle['align']; fontSize?: number; }): void; //#endregion //#region src/pptx/core/core/runtime/table-structure-edit-xml.d.ts /** Absolute source-grid position of a single structural edit. */ interface TableStructureEdit { axis: 'row' | 'column'; action: 'insert' | 'delete'; index: number; } //#endregion //#region src/pptx/core/core/runtime/table-structure-rawxml.d.ts /** * Deep-clone an element's rawXml and rebuild the table XML structure to match * the given `PptxTableData`. This handles adding/removing rows and columns * by rebuilding `` and `` elements. * * Pass the resolved `edit` position for an insert/delete command so surviving * rich cells and opaque row/grid properties move with their logical cells. * Without that provenance, retain the legacy destination-index rebuild for * arbitrary model replacement; it cannot infer which source cells survived. * * Returns the new rawXml object, or `undefined` if the element doesn't contain * an XML-based table. */ export declare function rebuildTableStructureInRawXml(element: PptxElement, tableData: PptxTableData, edit?: TableStructureEdit): XmlObject | undefined; //#endregion //#region src/pptx/core/core/runtime/table-cell-rawxml-ops.d.ts /** * Deep-clone an element's rawXml and update the text of a specific table cell. * Returns the new rawXml object, or `undefined` if the element doesn't contain * an XML-based table or the indices are out of range. */ export declare function updateCellTextInRawXml(element: PptxElement, rowIndex: number, colIndex: number, text: string): XmlObject | undefined; /** * Deep-clone an element's rawXml and apply text style updates to a specific * table cell's run properties (`a:rPr`). This enables applying bold, italic, * underline, strikethrough, color, etc. from the toolbar to individual table * cells. * * Returns the new rawXml object, or `undefined` if the element doesn't contain * an XML-based table or the indices are out of range. */ export declare function updateCellTextStyleInRawXml(element: PptxElement, rowIndex: number, colIndex: number, styleUpdates: Record): XmlObject | undefined; /** * Deep-clone an element's rawXml and apply merge attributes from PptxTableData. * This synchronises the in-memory rawXml so that the XML-based rendering path * reflects merge/split changes immediately (without a save→reload cycle). * * Returns the new rawXml object, or `undefined` if the element doesn't contain * an XML-based table. */ export declare function updateMergeAttrsInRawXml(element: PptxElement, tableData: PptxTableData): XmlObject | undefined; //#endregion //#region src/pptx/core/core/runtime/table-style-defaults.d.ts /** * Default table style GUID that PowerPoint's "Insert > Table" UI applies * when the user hasn't picked a specific style. This is "Medium Style 2 - * Accent 1" (a blue header row with banded white rows) and is defined in * PowerPoint's built-in `ppt/tableStyles.xml`. A table with no * `` renders unstyled (no borders, no fill) in PowerPoint, * so every table CREATION path (SDK factory, raw-XML insert builder) seeds * this id explicitly. * * The save pipeline deliberately does NOT inject it: a loaded table that * legitimately carries no style ("No Style, No Grid") must round-trip * without one. See `serializeTablePropertyFlags`. * * @module runtime/table-style-defaults */ export declare const DEFAULT_POWERPOINT_TABLE_STYLE_ID = "{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"; //#endregion //#region src/pptx/core/core/runtime/table-style-editor.d.ts /** * Generate a fresh, braced-and-uppercased GUID for a new table style, unique * within `existingIds`. Prefers `crypto.randomUUID()`; falls back to a * timestamp+random construction (collision-checked against `existingIds`, * retried) on a runtime without it. */ export declare function generateTableStyleGuid(existingIds?: ReadonlySet): string; /** * Build a brand-new {@link ParsedTableStyleEntry}: a fresh GUID (or the * caller's explicit one), the given display name, and, when {@link * CreateTableStyleOptions.basedOn} is supplied, a deep clone of every * fill/text/border/cell3D/background section from that entry as the starting * point. Does NOT mutate any map; combine with {@link addTableStyleToMap}. */ export declare function createTableStyleEntry(existingMap: ParsedTableStyleMap, options: CreateTableStyleOptions): ParsedTableStyleEntry; /** * Add (or replace) an entry on a {@link ParsedTableStyleMap} in place, keyed * by its normalised `styleId`. Returns the same map for chaining. */ export declare function addTableStyleToMap(map: ParsedTableStyleMap, entry: ParsedTableStyleEntry): ParsedTableStyleMap; /** * Remove a style from a {@link ParsedTableStyleMap} in place. Returns whether * an entry was actually present (and removed). This only edits the in-memory * map the way any other section edit does; the caller must ALSO pass the * GUID via `PptxSaveOptions.tableStylesToDelete` at save time for the removal * to reach `ppt/tableStyles.xml` (map omission alone is deliberately treated * as "untouched", not "deleted" - see `PptxSaveOptions.tableStylesToDelete`'s * docs for why). */ export declare function deleteTableStyleFromMap(map: ParsedTableStyleMap, styleId: string): boolean; //#endregion //#region src/pptx/core/core/runtime/table-style-entry-parse.d.ts /** * The 13 `CT_TableStyle` part names, in the sequence ECMA-376 Part 1 * §21.1.3.14 declares them. That sequence IS the application order, lowest to * highest precedence, so the renderer walks this list to decide which section * wins. Row emphasis therefore beats column emphasis (`firstRow` after * `firstCol`), and the corner cells beat everything. */ export declare const TABLE_STYLE_PART_SEQUENCE: readonly ["wholeTbl", "band1H", "band2H", "band1V", "band2V", "lastCol", "firstCol", "lastRow", "seCell", "swCell", "firstRow", "neCell", "nwCell"]; type TableStylePartName = (typeof TABLE_STYLE_PART_SEQUENCE)[number]; /** Normalise a table style GUID to uppercase with braces. */ export declare function normalizeTableStyleGuid(guid: string): string; //#endregion //#region src/pptx/core/constants-colors.d.ts /** * OOXML preset colour map — ISO/IEC 29500 §20.1.10.48 * and Windows system colour map — ISO/IEC 29500 §20.1.10.58. * * Extracted from constants.ts for file-size compliance. */ /** * Complete OOXML preset colour map. * Includes both long-form (`darkBlue`) and abbreviated (`dkBlue`) names, * as well as `Gray` / `Grey` variants. */ export declare const PRESET_COLOR_MAP: Record; export declare const SYSTEM_COLOR_MAP: Record; //#endregion //#region src/pptx/core/constants.d.ts /** EMU (English Metric Units) per pixel -- approximate at 96 DPI. */ export declare const EMU_PER_PX: number; /** * DrawingML angle units per degree: `ST_Angle` / `ST_PositiveFixedAngle` * (e.g. `a:lin/@ang`) count 60,000ths of a degree, so 90 degrees is 5400000. */ export declare const OOXML_ANGLE_UNITS_PER_DEGREE = 60000; /** * DrawingML percentage units for 100%: `ST_PositiveFixedPercentage` and * friends (`a:gs/@pos`, `a:alpha/@val`, `a:fillToRect/@l`) count 1,000ths of a * percent, so 100% is 100000. */ export declare const OOXML_PERCENT_UNITS = 100000; export declare const DEFAULT_CANVAS_WIDTH = 1280; export declare const DEFAULT_CANVAS_HEIGHT = 720; export declare const MIN_ELEMENT_SIZE = 12; export declare const DEFAULT_TEXT_COLOR = "#111827"; export declare const DEFAULT_FILL_COLOR = "#3b82f6"; export declare const DEFAULT_STROKE_COLOR = "#1f2937"; export declare const DEFAULT_FONT_FAMILY = "\"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif"; export declare const DEFAULT_TEXT_FONT_SIZE = 24; /** Minimum allowed number of rows/columns when creating a table. */ export declare const MIN_TABLE_DIMENSION = 1; /** Maximum allowed number of rows/columns when creating a table. */ export declare const MAX_TABLE_DIMENSION = 100; export declare const POWERPOINT_PRESENCE_KEY = "pptx-presence-v1"; export declare const DEFAULT_SCHEME_COLOR_MAP: Record; export type SupportedShapeType = 'rect' | 'roundRect' | 'ellipse' | 'triangle' | 'diamond' | 'cylinder' | 'line' | 'rtArrow' | 'leftArrow' | 'upArrow' | 'downArrow' | 'connector'; export type ConnectorGeometryType = 'straightConnector1' | 'bentConnector2' | 'bentConnector3' | 'bentConnector4' | 'bentConnector5' | 'curvedConnector2' | 'curvedConnector3' | 'curvedConnector4' | 'curvedConnector5'; export declare const CONNECTOR_GEOMETRY_OPTIONS: Array<{ value: ConnectorGeometryType; label: string; }>; export declare const CONNECTOR_ARROW_OPTIONS: Array<{ value: ConnectorArrowType; label: string; }>; export declare const STROKE_DASH_OPTIONS: Array<{ value: StrokeDashType; label: string; }>; //#endregion //#region src/color/color-primitives.d.ts /** * Low-level colour primitives: hex/rgb conversion, clamping, * HSL conversion, and OOXML percent/fraction/angle parsers. * * These are the foundational colour operations used throughout the PPTX * editor. Higher-level colour parsing (from OOXML colour-choice nodes) * lives in `./color-utils.ts`; transforms in `./color-transforms.ts`. * * @module color-primitives */ /** * Clamp a numeric value to the [0, 1] interval. * * Used extensively when converting OOXML percentage values to normalised * fractions for opacity, saturation, luminance, etc. * * @param value - The number to clamp. * @returns The value clamped to [0, 1]. */ export declare function clampUnitInterval(value: number): number; /** * Normalise a hex colour string, ensuring it starts with `#` and * contains exactly 6 hex digits. Returns the fallback colour when * the input is missing, `"transparent"`, or malformed. * * @param value - Raw colour string (with or without leading `#`). * @param fallback - Colour to return when `value` is invalid. Defaults to `"#111827"` (dark grey). * @returns A valid `#RRGGBB` hex colour string. */ export declare function normalizeHexColor(value: string | undefined, fallback?: string): string; /** * Parse a `#RRGGBB` (or `RRGGBB`) hex colour into its individual * red, green, and blue channels (0-255 each). * * @param color - Hex colour string. * @returns An object with `r`, `g`, `b` channels, or `null` if the string is invalid. */ export declare function hexToRgbChannels(color: string): { r: number; g: number; b: number; } | null; /** * Convert a hex colour to an `rgba()` CSS colour string with the * given opacity. If `opacity` is `undefined`, the original hex * string is returned unchanged. * * @param color - A `#RRGGBB` hex colour string. * @param opacity - Opacity value in [0, 1], or `undefined` for full opacity. * @returns A CSS colour string (either the original hex or an `rgba(...)` string). */ export declare function colorWithOpacity(color: string, opacity: number | undefined): string; /** * Parse an OOXML percentage value in either lexical form and return it as an * unclamped fraction, without assuming a scale from the caller's context. * * @param value - Raw attribute value from XML (string or number). * @returns Fraction (1 = 100%), or `undefined` if unparseable. */ export declare function parseOoxmlPercent(value: unknown): number | undefined; /** * Parse an OOXML percentage value and return it as a normalised * fraction in [0, 1]. Both the transitional thousandths form (`50000`) * and the strict literal form (`50%`) are accepted. * * The result is clamped to [0, 1]; use {@link parseDrawingFraction} * when unclamped values are needed (e.g. `lumMod` > 100%). * * @param value - Raw attribute value from XML (string or number). * @returns Normalised fraction in [0, 1], or `undefined` if unparseable. */ export declare function parseDrawingPercent(value: unknown): number | undefined; /** * Convert a numeric colour channel value (0-255) to a two-character * uppercase hex string. Values outside [0, 255] are clamped. * * @param value - Colour channel value. * @returns Two-character uppercase hex string (e.g. `"0A"`, `"FF"`). */ export declare function toHex(value: number): string; /** * Represents a colour in the HSL (Hue, Saturation, Lightness) colour space. */ interface HslColor { /** Hue in degrees [0, 360). */ h: number; /** Saturation [0, 1]. */ s: number; /** Lightness [0, 1]. */ l: number; } /** * Convert an RGB colour (each channel 0-255) to HSL. * * Uses the standard algorithm: * 1. Normalise RGB channels to [0, 1]. * 2. Find min/max channels and their delta. * 3. Lightness = average of min and max. * 4. Saturation depends on lightness and delta. * 5. Hue is derived from which channel is dominant. * * @param r - Red channel (0-255). * @param g - Green channel (0-255). * @param b - Blue channel (0-255). * @returns HSL colour with h in [0, 360), s and l in [0, 1]. */ export declare function rgbToHsl(r: number, g: number, b: number): HslColor; /** * Convert an HSL colour back to RGB (each channel 0-255). * * Uses the standard HSL-to-RGB algorithm with chroma, secondary * component, and match value. The hue determines which 60-degree * sector of the colour wheel the colour falls in. * * @param h - Hue in degrees (will be normalised to [0, 360)). * @param s - Saturation in [0, 1]. * @param l - Lightness in [0, 1]. * @returns An object with `r`, `g`, `b` channels (0-255 each). */ export declare function hslToRgb(h: number, s: number, l: number): { r: number; g: number; b: number; }; /** * Parse an OOXML percentage value as a fraction. * Unlike {@link parseDrawingPercent}, this does **not** clamp to [0, 1], * allowing mod values above 100 % and negative offset values. * * This is needed for colour transforms like `lumMod` (which can exceed * 100%) and `satOff` / `lumOff` (which can be negative). * * @param value - Raw attribute value from XML. * @returns Unclamped fraction, or `undefined` if unparseable. */ export declare function parseDrawingFraction(value: unknown): number | undefined; /** * Parse an OOXML angle value given in 60 000ths of a degree and return * the result in degrees (e.g. `5400000` becomes `90`). * * OOXML stores angles as positive integers in 60 000ths of a degree * to avoid floating-point issues in the XML representation. * * @param value - Raw attribute value from XML. * @returns Angle in degrees, or `undefined` if unparseable. */ export declare function parseDrawingHueDegrees(value: unknown): number | undefined; //#endregion //#region src/pptx/core/color/color-transforms.d.ts /** * Apply every OOXML colour transform found on {@link colorNode} to * {@link baseColor} and return the resulting `#RRGGBB` hex string. * * Transform application order (matches PowerPoint behaviour): * 1. Structural — `comp` (complement), `inv` (inverse), `gray` (greyscale) * 2. Linear-light mixing — `shade` (darken toward black), `tint` (lighten toward white) * 3. HSL transforms — `hue`/`hueMod`/`hueOff`, `sat`/`satMod`/`satOff`, * `lum`/`lumMod`/`lumOff` (single RGB-to-HSL round-trip) * 4. Direct RGB channels — `red`/`redMod`/`redOff`, `green`/..., `blue`/... * * @param baseColor - The starting `#RRGGBB` hex colour string. * @param colorNode - The OOXML colour XML node containing transform child elements. * @returns The transformed `#RRGGBB` hex colour string. */ export declare function applyDrawingColorTransforms(baseColor: string, colorNode: XmlObject): string; //#endregion //#region src/pptx/core/color/theme-color-ref.d.ts /** Narrow an arbitrary string to a scheme slot name. */ export declare function isThemeColorSchemeName(value: unknown): value is PptxThemeColorSchemeName; /** * Build the `` node for a ref, children in schema order * (`tint`, `shade`, `lumMod`, `lumOff`, `alpha`), ready to sit under * `a:solidFill` / `a:ln/a:solidFill` / `a:rPr/a:solidFill`. */ export declare function themeColorRefToXml(ref: PptxThemeColorRef): XmlObject; /** Wrap a ref as a full `a:solidFill` object: `{ 'a:schemeClr': {...} }`. */ export declare function themeColorRefToSolidFill(ref: PptxThemeColorRef): XmlObject; /** * Wrap a ref as a full `a:solidFill` object, folding in an opacity fraction * (0..1, 1 = opaque) from the surrounding style's own opacity field when the * ref does not already carry an explicit `a:alpha`. * * Fill/line/text colour is stored as a separate `*Opacity` number alongside * the ref rather than always on `ref.alpha` (the ref is set once at parse * time from the plain `a:schemeClr`, while opacity can be edited afterwards * through the existing opacity fields), so save has to combine the two. */ export declare function themeColorRefToSolidFillWithOpacity(ref: PptxThemeColorRef, opacity?: number): XmlObject; /** * Read a typed ref back from a parsed `a:schemeClr` node (the object stored * under the `'a:schemeClr'` key). Returns `undefined` when the node is not a * scheme colour or carries a transform this typed model does not express * (e.g. `a:satMod`), so the caller keeps the raw XML instead of lossy typing. */ export declare function themeColorRefFromSchemeClr(node: XmlObject | undefined): PptxThemeColorRef | undefined; /** * Read a typed ref from a colour-choice container (a parsed `a:solidFill`), * i.e. `{ 'a:schemeClr': {...} }`. */ export declare function themeColorRefFromColorChoice(choice: XmlObject | undefined): PptxThemeColorRef | undefined; /** * Resolve a ref to a `#rrggbb` hex against a theme colour map (the loaded * deck's `themeColorMap`, which already carries `bg1`/`tx1`/`bg2`/`tx2` * aliases when a `p:clrMap` was applied). Returns `undefined` when the scheme * slot is unknown to the map. */ export declare function resolveThemeColorRef(ref: PptxThemeColorRef, themeColorMap: Readonly> | undefined): string | undefined; //#endregion //#region src/pptx/core/color/color-utils.d.ts /** * Parse an OOXML colour-choice group node and resolve it to a * `#RRGGBB` hex string. Supports all six OOXML colour-choice types: * * - `a:scrgbClr` — ScRGB (percentage-based RGB channels) * - `a:srgbClr` — sRGB (6-digit hex) * - `a:sysClr` — Windows system colour (with `lastClr` fallback) * - `a:schemeClr` — Theme scheme colour reference * - `a:hslClr` — HSL colour specification * - `a:prstClr` — Named preset colour (e.g. "red", "cornflowerBlue") * * After resolving the base colour, any child colour transforms * (shade, tint, lumMod, etc.) are applied via {@link applyDrawingColorTransforms}. * * @param colorNode - The XML node containing a colour-choice child element. * @returns The resolved `#RRGGBB` hex colour string, or `undefined` if parsing fails. */ export declare function parseDrawingColorChoice(colorNode: XmlObject | undefined): string | undefined; /** * Parse a drawing colour from an XML node, checking both direct * colour-choice children and an `a:solidFill` wrapper. * * This is the primary colour-parsing entry point for most OOXML * elements (shapes, lines, text runs) where the colour may be * specified either directly or inside a solid fill. * * @param colorNode - The XML node that may contain colour information. * @returns The resolved `#RRGGBB` hex colour string, or `undefined`. */ export declare function parseDrawingColor(colorNode: XmlObject | undefined): string | undefined; /** * Extract the opacity (alpha) value from an OOXML colour node. * * Checks all six colour-choice types for `a:alpha`, `a:alphaMod`, * and `a:alphaOff` child elements, and combines them: * - `alpha` sets the base opacity (default 1.0 if absent) * - `alphaMod` multiplies the opacity * - `alphaOff` adds an offset to the opacity * * @param colorNode - The XML node containing a colour-choice child. * @returns Opacity in [0, 1], or `undefined` if no alpha attributes are present. */ export declare function parseDrawingColorOpacity(colorNode: XmlObject | undefined): number | undefined; //#endregion //#region src/pptx/core/geometry/shape-geometry.d.ts /** * Map an OpenXML preset geometry name to a supported internal shape type. * * Unknown shapes that have a known clip-path in the preset library are * mapped to `"rect"` so clip-path rendering handles their visual appearance. * * @param shapeType - The OpenXML `prst` attribute value (e.g. `"roundRect"`, `"ellipse"`). * @returns The normalised {@link SupportedShapeType} to use for rendering. */ export declare function getShapeType(shapeType: string | undefined): SupportedShapeType; /** * Retrieve the CSS `clip-path` value for a given OpenXML preset geometry name. * * Delegates to the comprehensive preset library. Returns `undefined` when * the shape does not require clipping (e.g. plain rectangles) or when the * shape requires more complex SVG rendering. * * @param shapeType - The OpenXML preset geometry name. * @returns A CSS `clip-path` string, or `undefined` if no clipping is needed. */ export declare function getShapeClipPath(shapeType: string | undefined): string | undefined; /** * Like {@link getShapeClipPath} but consults the adjustment-aware table * first. Falls back to the static preset clip-path when the shape isn't * in the adjustment-aware table or no adjustments are supplied. * * Use this entry point from renderers that have access to the element's * `shapeAdjustments` and dimensions; the result varies with adjustments * for shapes like `pie`, `donut`, `wedgeRectCallout`, etc. * * @param shapeType The OOXML preset geometry name. * @param width Element width in pixels. * @param height Element height in pixels. * @param adjustments Optional adjustment record (`adj`, `adj1`, `adj2`, …). * @returns A CSS `clip-path` value, or `undefined` if no clipping is needed. */ export declare function getAdjustmentAwareShapeClipPath(shapeType: string | undefined, width: number, height: number, adjustments?: Record): string | undefined; /** * Return a high-DPI cubic-Bezier `clip-path: path('…')` expression for * `cloud` / `cloudCallout` shapes when actual pixel dimensions are known. * * Static polygon entries in {@link PRESET_SHAPE_CLIP_PATHS} remain the * lookup-table fallback for non-renderer consumers (e.g. shape pickers, * SSR previews) that don't yet know the element's pixel size. Renderers * that have measured the element should prefer this helper -- it produces * smooth Bezier lobes that stay sharp at any DPI / zoom. * * @param shapeType - The OOXML preset geometry name. Case-insensitive. * @param width - Element width in pixels (must be > 0). * @param height - Element height in pixels (must be > 0). * @returns A CSS `path('M…Z')` expression for cloud/cloudCallout, or * `undefined` for any other shape (callers should fall back to * {@link getShapeClipPath}). */ export declare function getCloudPathForRendering(shapeType: string | undefined, width: number, height: number): string | undefined; /** * Build a CSS `clip-path: path('…')` expression from the spec-correct ECMA-376 * preset shape evaluator. This consults * {@link evaluatePresetShape} (which evaluates the preset's `gdLst` formulas * against the shape dimensions and any `shapeAdjustments`) and wraps the * resulting SVG path data in `path(...)` so it can be used as a CSS * `clip-path`. * * The legacy {@link getShapeClipPath} / {@link getAdjustmentAwareShapeClipPath} * helpers — which read from the static polygon table — remain in place and * are still the preferred fallback for any shape this evaluator does not * yet cover. Callers that want spec-correct, formula-driven geometry should * try this helper first and fall through to the static helpers when it * returns `undefined`. * * @param shapeType The OOXML preset geometry name (e.g. `"roundRect"`). * Lookup is case-sensitive but tolerant of common casings. * @param width Element width in pixels (must be > 0 to produce a * meaningful path). * @param height Element height in pixels. * @param adjustments Optional adjustment record from `shapeAdjustments`. * @returns A CSS `clip-path` value (e.g. `path('M 0 0 …')`), or `undefined` * when the shape isn't in the populated preset table or the * evaluation produced no path commands. */ export declare function getShapeClipPathFromPreset(shapeType: string | undefined, width: number, height: number, adjustments?: Record): string | undefined; /** * Calculate the border-radius in pixels for a rounded-rectangle shape. * * The OOXML `adj` value ranges from 0 to 50000 (representing 0% to 100% * of the maximum possible radius). The maximum radius is half the shorter * side of the element. If no adjustment is specified, the default OOXML * value of 16667/50000 (~1/3) is used. * * @param element - The element whose dimensions and `shapeAdjustments.adj` are read. * @returns The border-radius in pixels. */ export declare function getRoundRectRadiusPx(element: PptxElementWithShapeStyle): number; /** * CSS properties to apply shape-based clipping to an image element. * Exactly one of `borderRadius` or `clipPath` will be set, depending * on whether the shape is best expressed via border-radius or clip-path. */ interface ImageMaskStyle { /** CSS `border-radius` value (number in px or string like `"9999px"`). */ borderRadius?: string | number; /** CSS `clip-path` value (e.g. a `polygon(...)` expression). */ clipPath?: string; } /** * Determine the CSS mask style to apply shape-based clipping to an image. * * Rounded rectangles and similar variants use `border-radius`, ellipses * and cylinders use predefined border-radius strings, and all other * shapes delegate to the preset clip-path library. * * @param element - The element whose `shapeType` and dimensions are inspected. * @returns An {@link ImageMaskStyle} with either `borderRadius` or `clipPath`, * or `undefined` if no masking is needed. */ export declare function getImageMaskStyle(element: PptxElementWithShapeStyle): ImageMaskStyle | undefined; //#endregion //#region src/geometry/preset-shape-definitions-table.d.ts /** * ECMA-376 ST_ShapeType preset geometry definitions table. * * Each entry encodes the canonical `presetShapeDefinitions.xml` data shipped by * Microsoft as part of the DrawingML reference implementation * (ISO/IEC 29500-1 §20.1.10.55 / §20.1.9 series): the default adjustment list * (`avLst`), the ordered guide list (`gdLst`), the text rectangle (`rect`), and * the path commands (`pathLst`) — all expressed using OOXML guide-formula * tokens, ready to be evaluated by `guide-formula-eval`. * * Naming note: the existing barrel already exports a `PresetShapeDefinition` * type (shape-picker metadata) and a `PRESET_SHAPE_DEFINITIONS` constant. To * avoid colliding with those public symbols, this module exports its analogues * as `PresetShapeGeometryDefinition` / `PRESET_SHAPE_GEOMETRY_TABLE`. * * # Adding a new preset * * 1. Open `presetShapeDefinitions.xml` (Microsoft Open Specifications) and * locate the `` block. * 2. Copy the `avLst` defaults into `avLst` here (each `a:gd` `name`/`val`). * 3. Copy each `a:gd` from `gdLst` into the `gdLst` array verbatim — the * `formula` field is the entire `@_fmla` string (operator first, operands * after) and `args` is the formula split by whitespace minus the operator. * Both are stored to keep the data introspectable; the evaluator uses the * `formula` string directly via `parseFormula`. * 4. Copy `` attributes into the `rect` field as raw token strings * (e.g. `'l'`, `'t'`, `'r'`, `'b'`). * 5. Copy each `a:path` into a `pathLst` entry, translating its child commands * into the `commands` discriminated union. All coordinate / radius / angle * arguments are raw token strings — they will be resolved against the guide * context by the evaluator. * * Only 30 high-impact presets are populated for the first cut. Additional * presets are tracked as future work; until they ship, the legacy * polygon-based clip-path table in `preset-shape-paths.ts` remains the * fallback for unknown names. */ /** * A single command inside a preset path. Coordinates / radii / angles are * stored as raw OOXML guide tokens (numeric literal strings or guide names) * and resolved at evaluation time. */ type PresetPathCommand = { kind: 'moveTo'; x: string; y: string; } | { kind: 'lnTo'; x: string; y: string; } | { kind: 'arcTo'; wR: string; hR: string; stAng: string; swAng: string; } | { kind: 'quadBezTo'; x1: string; y1: string; x2: string; y2: string; } | { kind: 'cubicBezTo'; x1: string; y1: string; x2: string; y2: string; x3: string; y3: string; } | { kind: 'close'; }; /** A single sub-path, mirroring `` in OOXML. */ interface PresetPath { /** Coordinate-space width (`@_w`); defaults to the shape width if absent. */ w?: number; /** Coordinate-space height (`@_h`); defaults to the shape height if absent. */ h?: number; /** `@_fill` attribute (`'none' | 'norm' | 'lighten' | ...`). */ fill?: string; /** `@_stroke` attribute. */ stroke?: boolean; /** `@_extrusionOk` attribute. */ extrusionOk?: boolean; /** Ordered command list. */ commands: PresetPathCommand[]; } /** A complete preset geometry (`` payload). */ interface PresetShapeGeometryDefinition { /** ECMA-376 ST_ShapeType name, e.g. `"roundRect"`, `"blockArc"`. */ name: string; /** `avLst` defaults, e.g. `{ adj1: 16667 }`. */ avLst?: Record; /** `gdLst` formula list (ordered). */ gdLst?: Array<{ name: string; formula: string; args: string[]; }>; /** Text-bounds rectangle expressed as guide-formula tokens. */ rect?: { l: string; t: string; r: string; b: string; }; /** `pathLst` — at least one path. */ pathLst: PresetPath[]; } /** * Master table of populated preset geometries. Keyed by ECMA-376 ST_ShapeType * name (camelCase). Lookups are case-sensitive; callers should normalise * unknown casings (e.g. `'roundrect'` → `'roundRect'`) before consulting it. * * Inline definitions for ~30 shapes live above. Additional batches authored * by parallel agents are imported from sibling files and spread last so they * cannot accidentally shadow the inline canonical shapes. */ export declare const PRESET_SHAPE_GEOMETRY_TABLE: Record; //#endregion //#region src/geometry/preset-geometry-names.d.ts /** * The closed `ST_ShapeType` enumeration and the alias table that folds this * repository's internal / UI-facing shape identifiers onto it. * * `a:prstGeom/@prst` is typed `ST_ShapeType` (ISO/IEC 29500-1 section * 20.1.10.55 / A.4.1), a **closed 187-value enumeration**. Emitting anything * else produces a package PowerPoint rejects at schema-validation time, so * every writer that fills `@prst` must pass its identifier through * {@link normalizeStShapeType} first. * * Two families of non-spec identifier exist in this codebase and both are * resolved here rather than at the call sites: * * - **UI / legacy aliases** the shape picker and the shared insert catalogue * offer under friendlier names (`rightTriangle`, `cross`, `flowChartData`, * ...). Each maps to the real preset it draws. * - **Internal `SupportedShapeType` tokens** (`cylinder`, `rtArrow`, * `connector`) which are render-layer classifications, not OOXML names. * * Lookup is exact-match first (deck-authored values are already canonical), * then case-insensitive, then the alias table. Unknown identifiers resolve to * `undefined` so the caller can substitute a safe default instead of writing * an invalid token. */ /** * The canonical `ST_ShapeType` enumeration, in ISO/IEC 29500-1 declaration * order. Exactly 187 values. */ export declare const ST_SHAPE_TYPE_VALUES: readonly string[]; /** * Non-spec identifier (lower-cased) to the `ST_ShapeType` value it draws. * * Every entry is a shape this repository can produce but OOXML cannot name: * UI labels from the shape picker, PowerPoint UI names that differ from the * schema name, and internal `SupportedShapeType` render classifications. */ export declare const PRESET_GEOMETRY_ALIASES: Readonly>; /** * Whether `name` is one of the 187 `ST_ShapeType` values, spelled exactly as * the schema declares it. */ export declare function isStShapeType(name: string | undefined): boolean; /** * Resolve any shape identifier this codebase can produce to the exact * `ST_ShapeType` spelling that belongs in `a:prstGeom/@prst`. * * @param name - A preset name, picker label, or internal shape token. * @returns The canonical `ST_ShapeType` value, or `undefined` when the * identifier is not a preset at all (callers should fall back to a * safe default such as `'rect'` rather than writing it out). */ export declare function normalizeStShapeType(name: string | undefined): string | undefined; //#endregion //#region src/pptx/core/geometry/preset-shape-evaluator.d.ts /** * One evaluated sub-path of a preset shape: its own SVG `d` string plus the * `@fill`/`@stroke` flags declared on the ``. Lets a renderer honour * open, stroke-only presets (e.g. `arc`) instead of flood-filling them. */ interface PresetSubpathResult { /** SVG path data for this single sub-path. */ d: string; /** `/@fill` (`'none' | 'norm' | ...`); `undefined` means default. */ fill?: string; /** `/@stroke`; `undefined`/`true` means stroked, `false` unstroked. */ stroke?: boolean; } /** * Result of evaluating a preset shape: the merged SVG path data and an * optional text rectangle (in the shape's coordinate space, i.e. pixels). */ interface PresetShapeEvaluationResult { svgPath: string; textRect?: { l: number; t: number; r: number; b: number; }; /** * Per-sub-path geometry with fill/stroke flags. `svgPath` is these `d` * strings concatenated; this array additionally preserves the paint intent. */ paths: PresetSubpathResult[]; /** * `true` when *every* sub-path declares `fill="none"` (an open, stroke-only * geometry such as `arc`). Renderers should suppress the shape fill in this * case rather than painting a filled wedge. */ fillNone: boolean; } /** * Look up a preset shape definition. Performs a case-sensitive lookup first, * then falls back to a small lower-case index so `roundrect` (a common typo * casing) still resolves to `roundRect`. */ export declare function lookupPresetShape(name: string): PresetShapeGeometryDefinition | undefined; /** * Evaluate an ECMA-376 preset geometry against the given dimensions and * (optional) adjustment overrides. Returns `undefined` when the shape is not * present in the populated table so callers can fall back to the legacy * polygon-based clip-path data. * * Behaviour: * 1. Resolve the definition from `PRESET_SHAPE_GEOMETRY_TABLE`. * 2. Build an adjustment map from `def.avLst` overlaid with `adjustments`. * 3. Evaluate `def.gdLst` in order (each guide may reference earlier guides * and any built-in / adjustment variable). * 4. Walk every path in `def.pathLst`, converting each command into SVG * path data. Multiple paths are concatenated separated by spaces; every * `arcTo` is routed through `ooxmlArcToSvg` for byte-identical output * with `custom-geometry.ts`. * 5. Resolve the optional `rect` reference into pixel coordinates. */ export declare function evaluatePresetShape(name: string, width: number, height: number, adjustments?: Record): PresetShapeEvaluationResult | undefined; //#endregion //#region src/pptx/core/geometry/preset-adjustment-validation.d.ts /** * Filter a `shapeAdjustments` record down to `[name, value]` entries that are * safe to serialize as `` children of a given preset's ``. * * - Drops empty/whitespace names and non-finite values (pre-existing rule). * - When `presetGeometry` resolves to a known ECMA-376 preset (the common * case: the table has 187/187 spec coverage), also drops any name that is * not one of that preset's real guide names - including every name when * the preset defines none (e.g. `rect`). * - When the preset does not resolve (e.g. a connector geometry, or a name * outside the closed `ST_ShapeType` enumeration that normalisation could * not fix), no guide-name filtering is applied: there is nothing to * validate against, so entries pass through unchanged (pre-existing, * permissive behaviour). * * @param presetGeometry - The normalised `a:prstGeom/@prst` value the shape * will be saved with (post `normalizePresetGeometry`/`normalizeStShapeType`). * @param adjustments - The element's `shapeAdjustments` record, if any. * @returns Entries safe to map straight into ``. */ export declare function filterValidShapeAdjustmentEntries(presetGeometry: string, adjustments: Record | undefined): Array<[string, number]>; //#endregion //#region src/geometry/preset-connection-sites-types.d.ts /** * Shared vocabulary for the preset connection-site tables * (`preset-connection-sites-*.ts`). * * ECMA-376's `presetShapeDefinitions.xml` gives most non-rectangular presets an * explicit `` of `` entries, * distinct from the shape's own `pathLst`/`rect` geometry (which this repo * already transcribes in `preset-shape-definitions-*.ts`). No preset in that * table carries a `cxnLst`, so `a:cxn/@idx` on ANY preset always fell back to * the four bounding-box edge midpoints, wrong for anything but a plain * rectangle. These tables close that gap without touching the existing * `pathLst` tables: each entry lists only the `avLst`/`gdLst` a shape's OWN * `cxnLst` formulas need (frequently a strict subset of what `pathLst` needs, * since a connection site is usually a vertex the path already visits), plus * the `cxn` tokens themselves, verbatim from the spec. * * @module render/preset-connection-sites-types */ /** One `` entry: an approach angle plus a formula-token position. */ interface PresetConnectionSiteToken { /** `@_ang`, a builtin angle guide (`0`, `cd4`, `cd2`, `3cd4`) or literal. */ ang: string; /** `a:pos/@_x` formula token (guide name or numeric literal). */ x: string; /** `a:pos/@_y` formula token. */ y: string; } /** * The `avLst`/`gdLst`/`cxnLst` slice of one preset's `presetShapeDefinition`, * transcribed only as far as evaluating its `cxnLst` requires. */ interface PresetConnectionSiteDefinition { /** `avLst` defaults (`adj`, `adj1`, `hf`, `vf`, ...), overridable at call time. */ avLst?: Record; /** `gdLst` guides the `cxnLst` position formulas reference, in order. */ gdLst?: Array<{ name: string; formula: string; }>; /** The preset's connection sites, in `@idx` order. */ sites: PresetConnectionSiteToken[]; } //#endregion //#region src/geometry/preset-connection-sites-table.d.ts /** A preset connection site evaluated to pixel coordinates in the shape's own box. */ interface EvaluatedPresetConnectionSite { x: number; y: number; } /** * Look up a preset's `cxnLst` definition, exact name first, then normalised * (`oval` -> `ellipse`, `rtArrow` -> `rightArrow`, a deck's own casing) - * mirrors `lookupPresetShape`'s own fallback order for the same reason. */ export declare function lookupPresetConnectionSites(name: string): PresetConnectionSiteDefinition | undefined; /** * Evaluate `prst`'s ECMA-376 connection sites at the given box size and * adjustment values, in the shape's own (unrotated, unflipped) local pixel * space - the same space `getUnrotatedShapeConnectionSites` (shared) already * works in for an authored `a:custGeom/a:cxnLst`. * * Returns `undefined` when `prst` has no transcribed `cxnLst`, so the caller * can fall back to the 4 cardinal edge midpoints exactly as before. */ export declare function getPresetConnectionSites(prst: string, width: number, height: number, adjustments?: Record): EvaluatedPresetConnectionSite[] | undefined; //#endregion //#region src/geometry/preset-text-rect-types.d.ts /** * Shared vocabulary for the preset text-rect override tables * (`preset-text-rect-*.ts`). * * `PresetShapeGeometryDefinition.rect` (`preset-shape-definitions-*.ts`) is the * ORIGINAL per-preset `a:rect` transcription, and most of it predates any COM * verification (see gap G1: 117/194 were found wrong, some catastrophically). * `packages/shared/src/render/text-body-rect.ts`'s `VERIFIED_TEXT_RECT_PRESETS` * allowlist now gates rendering to the entries a COM measurement pass has * actually confirmed (181 as of wave 2, i.e. every ECMA-transcribed preset in * this table except `sun`, which keeps its own considered-but-unverified * rect); everything else still falls back to the full bounding box there * rather than trust an unverified formula. * * This module is the other half of closing that gap for the presets ECMA-376 * itself gives an unambiguous `` for (verbatim `l`/`t`/`r`/`b` formulas, * not re-derived): `getPresetTextRect` (`preset-text-rect-table.ts`) is * consulted by `preset-shape-evaluator.ts` ahead of the original * `PresetShapeGeometryDefinition.rect`, so `evaluatePresetShape(...).textRect` * reflects the corrected value immediately. The shared allowlist is a * SEPARATE, deliberately conservative gate (COM-verified only) that a * different owner extends per preset; this table's evidence is the ECMA spec * text itself, not a COM measurement, which is why it lands as an * independent, additive override rather than editing that allowlist. * * @module render/preset-text-rect-types */ /** One preset's `avLst`/`gdLst`/`rect` slice, transcribed only as far as * evaluating its `` formula requires. */ interface PresetTextRectDefinition { /** `avLst` defaults (`adj`, `adj1`, ...), overridable at call time. */ avLst?: Record; /** `gdLst` guides the `rect` formula references, in order. */ gdLst?: Array<{ name: string; formula: string; }>; /** The preset's ``, verbatim. */ rect: { l: string; t: string; r: string; b: string; }; } //#endregion //#region src/geometry/preset-text-rect-table.d.ts /** * Look up a preset's text-rect override, exact name first, then normalised * (`oval` -> `ellipse`, a deck's own casing) - mirrors * `lookupPresetConnectionSites`'s own fallback order for the same reason. */ export declare function lookupPresetTextRectOverride(name: string): PresetTextRectDefinition | undefined; /** * Evaluate `prst`'s ECMA-376 `` override at the given box size and * adjustment values. Returns `undefined` when `prst` has no override here, so * the caller falls back to `PresetShapeGeometryDefinition.rect` exactly as * before. */ export declare function getPresetTextRect(prst: string, width: number, height: number, adjustments?: Record): { l: number; t: number; r: number; b: number; } | undefined; //#endregion //#region src/pptx/core/geometry/custom-geometry.d.ts /** * One sub-path of a custom geometry, emitted as its own SVG `d` string plus the * OOXML fill/stroke flags that decide how it should be painted. Produced by * {@link customGeometryPathsToSvgSubpaths}. */ interface CustomGeometrySubpathSvg { /** SVG path data for this single sub-path (already in the target space). */ d: string; /** `a:path/@fill`; `undefined` means the default (`norm`, i.e. filled). */ fillMode?: CustomGeometryPath['fillMode']; /** `a:path/@stroke`; `undefined`/`true` means stroked, `false` unstroked. */ stroke?: boolean; } /** * Convert structured custom geometry paths to one SVG `d` string *per* sub-path, * preserving each sub-path's `@fill`/`@stroke` flags. * * Unlike {@link customGeometryPathsToSvg} (which concatenates every sub-path * into a single `d` that must be painted with one uniform fill), this keeps * sub-paths separate so a renderer can honour per-sub-path fill modes: a * `fill="none"` open stroke, a filled outer contour, etc. * * Each sub-path is scaled from its own `@w`/`@h` coordinate space into the * shared `targetWidth`/`targetHeight` space (that of the first path, i.e. the * viewBox), so multi-`@w`/`@h` geometries line up. * * @param paths Structured sub-paths. * @param targetWidth Shared coordinate-space width (viewBox width). * @param targetHeight Shared coordinate-space height (viewBox height). */ export declare function customGeometryPathsToSvgSubpaths(paths: CustomGeometryPath[], targetWidth: number, targetHeight: number): CustomGeometrySubpathSvg[]; //#endregion //#region src/pptx/core/geometry/custom-geometry-guides.d.ts /** * Rebuild the guide variable map a custom geometry's `a:avLst`/`a:gdLst` * evaluate to, at the given box size, with `overrides` (a live drag's * `shapeAdjustments`-style patch) taking precedence over the `avLst` * defaults - the same override order `evaluatePresetShape` uses for a preset. */ export declare function resolveCustomGeometryGuideContext(rawData: CustomGeometryRawData | undefined, width: number, height: number, overrides?: Record): Map; /** * Resolve one `a:ahXY`/`a:ahPolar` formula token (a numeric literal, a guide * name, or - rarely - a full inline formula with its own operator) against a * guide context, falling back to `fallback` when the token is absent. */ export declare function resolveCustomGeometryToken(token: string | undefined, vars: Map, fallback: number): number; //#endregion //#region src/pptx/core/geometry/custom-geometry-guide-writeback.d.ts /** * Return `custGeom` with its `a:avLst/a:gd` entries patched from `overrides` * (each `{name: value}` becomes ``), * adding a new entry when `overrides` names a guide `a:avLst` did not already * declare (an `a:ahXY`/`a:ahPolar` handle's `gdRef` is conventionally an * `a:avLst` guide, but nothing enforces that). A no-op that returns * `custGeom` unchanged when `overrides` is empty, so a shape with no drag * history re-emits its original `a:avLst` byte-for-byte. */ export declare function applyCustomGeometryGuideOverrides(custGeom: XmlObject, overrides: Record | undefined): XmlObject; //#endregion //#region src/pptx/core/geometry/custom-geometry-live-eval.d.ts /** * Re-evaluate a custom geometry's `a:pathLst` into a single, already-scaled * SVG `d` string plus its coordinate-space dimensions, at `overrides` on top * of the geometry's own `a:avLst` defaults. * * Reuses {@link evaluateGeometryPaths}, the exact evaluator * `PptxHandlerRuntimeGeometryParsing.parseCustomGeometry` uses at parse time * (correct multi-`@w`/`@h` sub-path rescaling into one shared viewBox; see * that module's "Verified OK" note on why the simpler * `customGeometryPathsToSvg` must NOT be used here), so a live re-evaluation * produces byte-identical output to a fresh parse when `overrides` is empty. * * Returns `undefined` when `rawData` carries no preserved `a:pathLst` (an * older parse, or a shape with no raw data at all) or either dimension is * non-positive; the caller should fall back to the element's static * `pathData`/`pathWidth`/`pathHeight`. */ export declare function evaluateCustomGeometryPathData(rawData: CustomGeometryRawData | undefined, pathWidth: number, pathHeight: number, overrides: Record | undefined): { pathData: string; pathWidth: number; pathHeight: number; } | undefined; /** * Re-evaluate a custom geometry's `a:pathLst` into structured, per-sub-path * {@link CustomGeometryPath} data (segments as concrete numbers, one entry * per `a:path`), at `overrides` on top of the geometry's own `a:avLst` * defaults. The structured counterpart to * {@link evaluateCustomGeometryPathData}: use this when per-sub-path * `@fill`/`@stroke` intent must survive (feeds * `customGeometryPathsToSvgSubpaths`), use the other for a single merged * outline (a CSS `clip-path`). * * Returns `undefined` under the same conditions as * {@link evaluateCustomGeometryPathData}. */ export declare function evaluateCustomGeometryPaths(rawData: CustomGeometryRawData | undefined, pathWidth: number, pathHeight: number, overrides: Record | undefined): CustomGeometryPath[] | undefined; //#endregion //#region src/geometry/adjustment-aware-shapes.d.ts /** * Build a CSS `clip-path` value for {@link shapeType} that incorporates * the supplied `shapeAdjustments`. Returns `undefined` for shapes that * are not in the adjustment-aware table — callers should fall back to * the static preset polygon. * * @param shapeType The OOXML preset geometry name (e.g. `"pie"`). * @param width The element width in pixels. * @param height The element height in pixels. * @param adjustments Optional adjustment record from `PptxElement.shapeAdjustments`. * Keys are `adj`, `adj1`, `adj2`, etc. * @returns A CSS `clip-path` polygon expression, or `undefined`. */ export declare function getAdjustmentAwareClipPath(shapeType: string, width: number, height: number, adjustments?: Record): string | undefined; //#endregion //#region src/geometry/cloud-bezier-paths.d.ts /** * High-DPI Bezier-curve clip-paths for `cloud` and `cloudCallout` presets. * * The static polygon entries in {@link CLIP_PATHS_EXTENDED} approximate the * cumulus silhouette with 32 vertices, which becomes visibly faceted on * Retina/4K displays. These helpers return CSS `path('M…Z')` expressions * built from cubic-Bezier lobes, so the outline stays smooth at any DPI. * * `path()` in CSS does not accept percentage units, so callers must supply * pixel dimensions and re-compute on resize. Use {@link getCloudPathForRendering} * (in `shape-geometry.ts`) for the shape-aware wrapper. * * Browser support: Chrome 109+, Safari 15.4+, Firefox 105+. * * @module cloud-bezier-paths */ /** * Produce a CSS `clip-path: path('…')` expression for the `cloud` preset. * * The body centre is the bounding-box centre. 8 cubic-Bezier lobes are * walked clockwise; each lobe is rendered as a near-circular bump using * two cubic-Bezier segments connected by a transition arc back toward the * next lobe's start. The path is closed with `Z`. * * @param width - Element width in pixels. * @param height - Element height in pixels. * @returns A CSS `path('M…Z')` expression suitable for `clip-path`. */ export declare function getCloudClipPath(width: number, height: number): string; /** * Produce a CSS `clip-path: path('…')` expression for the `cloudCallout` * preset. Combines the 8-lobe cumulus body with the spec-default 3-bump * tail trailing toward the lower-left. * * The body is shrunk to ~75% of the bounding box (centred slightly toward * the upper-right) so the tail bumps fit within the 100% box. Adjustment- * driven repositioning of the pointer tip is handled by Agent B in * `adjustment-aware-shapes.ts`; this helper uses the spec defaults. * * @param width - Element width in pixels. * @param height - Element height in pixels. * @returns A CSS `path('M…Z')` expression suitable for `clip-path`. */ export declare function getCloudCalloutClipPath(width: number, height: number): string; /** * Lobe count exposed for tests and downstream consumers that want to * verify the spec-correct number of cumulus piles. */ export declare const CLOUD_LOBE_COUNT: number; /** * Tail bump count exposed for tests; matches the spec default for the * `cloudCallout` pointer trail. */ export declare const CLOUD_CALLOUT_TAIL_COUNT: number; //#endregion //#region src/pptx/core/geometry/connector-geometry.d.ts /** * Result of computing a connector's SVG path geometry. * * Contains the SVG `d` attribute path data and the absolute start/end * coordinates within the element's local coordinate space. */ interface ConnectorPathGeometry { /** SVG path data string (e.g. `"M 0 0 L 100 100"`). */ pathData: string; /** X coordinate of the path starting point. */ startX: number; /** Y coordinate of the path starting point. */ startY: number; /** X coordinate of the path ending point. */ endX: number; /** Y coordinate of the path ending point. */ endY: number; } /** * Read a connector adjustment value from an element, normalizing it to [0, 1]. * * OOXML stores connector adjustments in units of 1/100000 (e.g. 50000 = 50%). * This function looks up the named key in `shapeAdjustments`, falling back to * the generic `adj` key, and finally to the provided `fallback` value. * * @param element - The connector element whose adjustments are read. * @param key - The specific adjustment key (e.g. `"adj1"`, `"adj2"`). * @param fallback - Default value in the [0, 1] range if no adjustment is found. * @returns A clamped value in the [0, 1] range. */ export declare function getConnectorAdjustment(element: PptxElementWithShapeStyle, key: string, fallback: number): number; /** * Compute the SVG path geometry for a connector element. * * Bent and curved connector variants are evaluated from their normative * OOXML preset path definitions. Unknown connector types fall back to a * straight line. * * Adjustment values (adj1, adj2, adj3) control the midpoint positions * of the intermediate segments as fractions of width or height. * * @param element - The connector element with `shapeType`, `width`, `height`, and `shapeAdjustments`. * @returns The computed {@link ConnectorPathGeometry} with SVG path data. */ export declare function getConnectorPathGeometry(element: PptxElementWithShapeStyle): ConnectorPathGeometry; //#endregion //#region src/pptx/core/geometry/transform-utils.d.ts export declare const TEXT_ORIENTATION_IDENTITY: TextOrientationMatrix; export declare function isTextOrientationMatrix(value: unknown): value is TextOrientationMatrix; export declare function multiplyTextOrientationMatrices(left: TextOrientationMatrix, right: TextOrientationMatrix): TextOrientationMatrix; export declare function getElementOrientationMatrix(element: Pick): TextOrientationMatrix; /** * Build a CSS `transform` string combining an element's flip and rotation. * * The order is rotation THEN flips (`rotate(θ) scaleX(-1) scaleY(-1)`). With * CSS `transform-origin: center`, transforms apply right-to-left, so the flips * run first and the rotation second - matching OOXML `a:xfrm`, which mirrors the * shape within its box before rotating it. Emitting the flips first would * reflect the rotation direction for any flipped + rotated shape. * * @param element - The element whose `flipHorizontal`, `flipVertical`, and `rotation` are read. * @returns A CSS `transform` value (e.g. `"rotate(45deg) scaleX(-1)"`), or `undefined` if no transforms apply. */ export declare function getElementTransform(element: PptxElement): string | undefined; /** * Build a CSS `transform` string to compensate for element flipping on text. * * When a shape is flipped, the text inside it should remain readable (not * mirrored). This function generates the inverse flip transform to apply * to the text layer so it appears right-side-up. Unlike {@link getElementTransform}, * this does not include rotation, which should only apply to the element itself. * * @param element - The element whose `flipHorizontal` and `flipVertical` are read. * @returns A CSS `transform` value to counteract flipping, or `undefined` if no flips are present. */ export declare function getTextCompensationTransform(element: PptxElement): string | undefined; //#endregion //#region src/geometry/preset-shape-types.d.ts /** * Types for preset shape definitions used in the shape picker UI. * * These types describe the metadata for each OOXML preset geometry, * including its canonical name, display label, optional CSS clip-path, * and the category used to organize shapes in the picker UI. */ /** * Describes a single OOXML preset geometry shape for the shape picker. * * Each definition maps a canonical OOXML name to a human-readable label * and a category. An optional `clipPath` provides a CSS `clip-path` value * for simple rendering without full SVG path calculation. */ interface PresetShapeDefinition { /** Canonical OOXML preset geometry name (e.g. `"rect"`, `"roundRect"`, `"star5"`). */ name: string; /** Human-readable label shown in the shape picker UI (e.g. `"Rounded Rectangle"`). */ label: string; /** CSS `clip-path` value for quick rendering, or `undefined` when full SVG rendering is required. */ clipPath?: string; /** Category grouping for the shape picker UI. */ category: PresetShapeCategory; } /** * Shape categories for organizing preset shapes in the picker UI. * * Maps to the groupings displayed in the shape selection panel: * basic shapes, rectangle variants, arrows, stars/banners, callouts, * flowchart symbols, math operators, action buttons, and other. */ type PresetShapeCategory = 'basic' | 'rectangles' | 'arrows' | 'stars' | 'callouts' | 'flowchart' | 'math' | 'action' | 'other'; //#endregion //#region src/geometry/preset-shape-clip-paths.d.ts /** * Master lookup: lowercase OOXML preset name → CSS `clip-path` value. * Returns `undefined` for shapes that need SVG rendering. */ export declare const PRESET_SHAPE_CLIP_PATHS: Record; /** * Lookup a clip-path for any OOXML preset geometry name. * Returns `undefined` when the shape should be rendered as a * full rectangle (no clipping) or when a more complex SVG * rendering is needed. */ export declare function getPresetShapeClipPath(presetName: string | undefined): string | undefined; //#endregion //#region src/geometry/preset-shape-definitions.d.ts /** * Complete list of all preset shape definitions, combining primary and extended sets. * * This merged array contains every shape available in the shape picker UI, * ordered by category (basic, rectangles, stars, math, other, arrows, * callouts, flowchart, action buttons). */ export declare const PRESET_SHAPE_DEFINITIONS: PresetShapeDefinition[]; /** * Human-readable labels for each shape category, used as section headers * in the shape picker UI. */ export declare const PRESET_SHAPE_CATEGORY_LABELS: Record; //#endregion //#region src/geometry/guide-formula-eval.d.ts /** * OOXML DrawingML guide formula evaluator — core types and evaluation. * * Implements the formula system defined in ISO/IEC 29500-1 §20.1.9.11 (fmla) * for `a:gd` guide definitions used in preset and custom geometries. */ /** * A single guide definition parsed from an `a:gd` XML element. * * Guides are named variables whose values are computed by evaluating * a formula expression against the current variable context. */ interface GeometryGuide { /** Guide variable name (e.g. `"adj"`, `"g0"`, `"x1"`). */ name: string; formula: string; } /** Shape dimensions used as built-in variables for formula evaluation. */ interface GeometryContext { /** Shape width in EMU. */ w: number; /** Shape height in EMU. */ h: number; } //#endregion //#region src/geometry/guide-formula-api.d.ts /** * Seed the built-in variables for a shape of the given dimensions. * * Built-in variables are defined by the OOXML spec (ISO/IEC 29500-1 section 20.1.9): * - **Position/size:** `w`, `h`, `l`, `t`, `r`, `b`, `hc` (horizontal center), `vc` (vertical center) * - **Width fractions:** `wd2` through `wd32` (width divided by the standard divisors) * - **Height fractions:** `hd2` through `hd32` (height divided by the standard divisors) * - **Short/long side:** `ss`, `ls`, `ssd2` through `ssd32` * - **Angular constants:** `cd2` (180 degrees), `cd4` (90 degrees), `cd8` (45 degrees), etc. * * All angular values are in OOXML angle units (60,000ths of a degree). * * @param ctx - Shape dimensions (width and height). * @returns A Map of built-in variable names to their computed values. */ export declare function createBuiltinVariables(ctx: GeometryContext): Map; /** * Evaluate a list of geometry guides in order, resolving each guide's * formula against the accumulated variable context. * * @param guides - Ordered list of guide definitions from `a:gdLst` or `a:avLst`. * @param ctx - Shape dimensions for built-in variables. * @param adjustments - Optional adjustment values (from `a:avLst`), pre-seeded. * @returns A Map of all resolved variable names → numeric values. */ export declare function evaluateGuides(guides: GeometryGuide[], ctx: GeometryContext, adjustments?: Map): Map; /** * Parse `a:gd` XML elements into GeometryGuide array. * * @param gdNodes - Array of guide definition XML objects with `@_name` and `@_fmla` attributes. * @returns Ordered list of parsed guide definitions. */ export declare function parseGuideDefinitions(gdNodes: ReadonlyArray>): GeometryGuide[]; /** * Parse adjustment values from `a:avLst/a:gd` into a Map. * * Each adjustment guide has a formula typically of the form `val `. * This extracts the adjustment name and its numeric value. */ export declare function parseAdjustmentValues(gdNodes: ReadonlyArray>): Map; /** * Resolve a coordinate value that may be a guide name or a numeric literal. * * In OOXML geometry paths, coordinates like `x` and `y` in `a:pt` can be * either numeric literals or references to guide variable names. */ export declare function resolveCoordinate(value: string | number | undefined, variables: Map): number; //#endregion //#region src/pptx/core/geometry/guide-formula-paths.d.ts /** * OOXML DrawingML geometry path evaluation. * * Evaluates custom geometry definitions (a:custGeom) with formula-resolved * coordinates, producing SVG path data strings. */ /** * Evaluate a complete custom geometry definition (a:custGeom) with * formula-resolved coordinates, producing an SVG path data string. * * This handles the case where path coordinates reference guide names * instead of being plain numbers. * * @param pathNodes - Array of `a:path` XML objects from `a:pathLst`. * @param variables - Fully resolved variable context from evaluateGuides. * @param ensureArray - Helper to normalize XML nodes to arrays. * @returns SVG path data string and coordinate-space dimensions. */ export declare function evaluateGeometryPaths(pathNodes: ReadonlyArray>, variables: Map, ensureArray: (val: unknown) => unknown[]): { pathData: string; pathWidth: number; pathHeight: number; } | null; /** * Result of converting an OOXML `a:arcTo` command to SVG arc notation. */ interface ArcToResult { /** SVG arc path segment string (e.g. `"A 50 30 0 1 1 100 75"`). */ svg: string; /** X coordinate of the arc endpoint. */ endX: number; /** Y coordinate of the arc endpoint. */ endY: number; } /** * Convert an OOXML `a:arcTo` command to an SVG arc path segment. * * OOXML arcTo: the current pen position lies on an implicit ellipse at * angle `stAng`. The arc sweeps `swAng` degrees (in 60000ths). The * implicit ellipse center is derived from the current position and stAng. * * @param wR - Horizontal radius of the ellipse. * @param hR - Vertical radius of the ellipse. * @param stAng - Start angle in 60000ths of a degree. * @param swAng - Sweep angle in 60000ths of a degree. * @param penX - Current pen X position. * @param penY - Current pen Y position. */ export declare function ooxmlArcToSvg(wR: number, hR: number, stAng: number, swAng: number, penX: number, penY: number): ArcToResult | null; //#endregion //#region src/pptx/core/geometry/custom-geometry-parser.d.ts type EnsureArray = (value: unknown) => unknown[]; /** * Build structured `CustomGeometryPath[]` from already-parsed `a:path` nodes * against an already-resolved guide variable context. * * Factored out of {@link parseStructuredCustomGeometry} so a LIVE re-evaluation * (a `shapeAdjustments` drag in progress, before it commits) can reuse the * exact same per-path/per-segment logic against a variable context built from * OVERRIDDEN guide values instead of the `a:avLst` defaults; see * `custom-geometry-live-eval.ts`. * * @param pathNodes The `a:pathLst/a:path` nodes. * @param contextWidth Fallback coordinate-space width for a path with no own `@w`. * @param contextHeight Fallback coordinate-space height for a path with no own `@h`. * @param variables Fully resolved guide variable context (builtins + adjustments + guides). * @param ensureArray Helper to normalize XML nodes to arrays. */ export declare function buildCustomGeometryPathsFromNodes(pathNodes: XmlObject[], contextWidth: number, contextHeight: number, variables: Map, ensureArray: EnsureArray): CustomGeometryPath[]; /** Parse formula-backed DrawingML custom paths without lossy SVG conversion. */ export declare function parseStructuredCustomGeometry(custGeom: XmlObject, shapeWidth: number, shapeHeight: number, ensureArray: EnsureArray): CustomGeometryPath[]; //#endregion //#region src/pptx/core/geometry/custom-geometry-command-order.d.ts /** Create an internal ordered key for a repeated non-adjacent XML element. */ export declare function orderedXmlKey(baseName: string, order: number): string; /** Strip the internal order marker before emitting XML. */ export declare function stripXmlOrderSuffix(tagName: string): string; //#endregion //#region src/geometry/shape-boolean-types.d.ts /** A 2D point for polygon operations. */ interface Vec2 { x: number; y: number; } //#endregion //#region src/geometry/shape-boolean-svg.d.ts /** * Parse an SVG path data string into an array of polygon vertex arrays. * * Only absolute M, L, H, V, and Z commands (and their relative lower-case * variants) are supported. Each sub-path (delimited by M..Z) becomes a * separate polygon. * * @param pathData - SVG path data string. * @returns Array of polygons (each polygon is an array of Vec2). */ export declare function svgPathToPolygons(pathData: string): Vec2[][]; /** * Convert polygon vertex arrays to an SVG path data string. * * Each polygon becomes an M ... L ... Z sub-path. * * @param polygons - Array of polygons (each an array of Vec2). * @returns SVG path data string. */ export declare function polygonsToSvgPath(polygons: Vec2[][]): string; //#endregion //#region src/geometry/shape-boolean-ops.d.ts /** * Public API for shape boolean operations on SVG path strings and polygon * arrays. * * Provides {@link unionShapes}, {@link intersectShapes}, * {@link subtractShapes}, {@link fragmentShapes}, {@link combineShapes}, * and the dispatcher {@link mergeShapes}, plus their polygon-array and * SVG-path alias counterparts. * * @module geometry/shape-boolean-ops */ /** * Compute the union of two SVG path shapes. * * Merges the outer boundaries of both shapes into a single path. * For non-overlapping shapes, returns a multi-sub-path result. * * @param paths1 - First SVG path data string. * @param paths2 - Second SVG path data string. * @returns SVG path data string of the union. */ export declare function unionShapes(paths1: string, paths2: string): string; /** * Compute the intersection of two SVG path shapes. * * Keeps only the overlapping region of both shapes. * * @param paths1 - First SVG path data string. * @param paths2 - Second SVG path data string. * @returns SVG path data string of the intersection. */ export declare function intersectShapes(paths1: string, paths2: string): string; /** * Compute the subtraction of two SVG path shapes (paths1 - paths2). * * Removes the overlapping region of paths2 from paths1. * * @param paths1 - Subject SVG path data string. * @param paths2 - Clip SVG path data string to subtract. * @returns SVG path data string of the difference. */ export declare function subtractShapes(paths1: string, paths2: string): string; /** * Fragment two SVG path shapes into non-overlapping pieces. * * Splits the shapes into up to 3 regions: * - Parts of paths1 not overlapping paths2 * - Parts of paths2 not overlapping paths1 * - The overlapping region * * @param paths1 - First SVG path data string. * @param paths2 - Second SVG path data string. * @returns Array of SVG path data strings, one per fragment. */ export declare function fragmentShapes(paths1: string, paths2: string): string[]; /** * Compute the symmetric difference (XOR / Combine) of two SVG path shapes. * * Returns the regions that belong to exactly one of the two shapes, * excluding the overlap. This is the PowerPoint "Combine" operation. * * @param paths1 - First SVG path data string. * @param paths2 - Second SVG path data string. * @returns SVG path data string of the combined (XOR) result. */ export declare function combineShapes(paths1: string, paths2: string): string; /** Supported merge shape operations (matching PowerPoint's Merge Shapes menu). */ type MergeShapeOperation = 'union' | 'intersect' | 'subtract' | 'fragment' | 'combine'; /** * Apply a merge shape operation to two SVG path strings. * * @param operation - The boolean operation to perform. * @param paths1 - First SVG path data string. * @param paths2 - Second SVG path data string. * @returns Result SVG path string(s). Fragment returns multiple strings; others return one. */ export declare function mergeShapes(operation: MergeShapeOperation, paths1: string, paths2: string): string | string[]; /** * Compute the union of two polygons. * * Merges the outer boundaries of both polygons. For non-overlapping polygons, * returns the concatenation of both polygon point arrays. * * @param poly1 - First polygon as array of [x, y] points. * @param poly2 - Second polygon as array of [x, y] points. * @returns Union polygon(s) as array of [x, y] points. When the union is a * single polygon it is the first (and only) element; disjoint polygons * produce multiple elements which are concatenated into a single flat array. */ export declare function unionPolygons(poly1: number[][], poly2: number[][]): number[][]; /** * Compute the intersection of two polygons. * * Keeps only the overlapping region of both polygons using * Sutherland-Hodgman clipping. * * @param poly1 - First polygon as array of [x, y] points. * @param poly2 - Second polygon as array of [x, y] points. * @returns Intersection polygon as array of [x, y] points, or empty array * if no overlap. */ export declare function intersectPolygons(poly1: number[][], poly2: number[][]): number[][]; /** * Compute the subtraction of two polygons (poly1 - poly2). * * Removes the overlapping region of poly2 from poly1 using * Sutherland-Hodgman clipping. * * @param poly1 - Subject polygon as array of [x, y] points. * @param poly2 - Clip polygon to subtract as array of [x, y] points. * @returns Difference polygon(s) as array of [x, y] points, or empty array * if nothing remains. */ export declare function subtractPolygons(poly1: number[][], poly2: number[][]): number[][]; /** * Compute the union of two SVG path strings. * Alias for {@link unionShapes}. * * @param path1 - First SVG path data string. * @param path2 - Second SVG path data string. * @returns SVG path data string of the union. */ export declare function unionSvgPaths(path1: string, path2: string): string; /** * Compute the intersection of two SVG path strings. * Alias for {@link intersectShapes}. * * @param path1 - First SVG path data string. * @param path2 - Second SVG path data string. * @returns SVG path data string of the intersection. */ export declare function intersectSvgPaths(path1: string, path2: string): string; /** * Compute the subtraction of two SVG path strings (path1 - path2). * Alias for {@link subtractShapes}. * * @param path1 - First SVG path data string. * @param path2 - Second SVG path data string. * @returns SVG path data string of the difference. */ export declare function subtractSvgPaths(path1: string, path2: string): string; //#endregion //#region src/pptx/core/geometry/freeform-builder.d.ts /** * Douglas-Peucker polyline simplification. * * Iteratively removes points that lie within `tolerance` of the line * segment connecting their neighbours, preserving overall shape while * dramatically reducing point count for freeform drawing input. * * Implemented with an explicit stack of `[lo, hi]` index ranges (rather * than recursion) so deep inputs cannot blow the JS call stack. Inputs * larger than {@link MAX_DOUGLAS_PEUCKER_POINTS} are short-circuited to * just the two endpoints. * * @param points - Input polyline points (at least 2). * @param tolerance - Maximum perpendicular distance for a point to be * removed. Larger values produce fewer points. Default: `2`. * @returns A new array containing only the retained points. */ export declare function douglasPeucker(points: CustomGeometryPoint[], tolerance: number): CustomGeometryPoint[]; /** * Convert a sequence of points to smooth cubic Bezier curves using * Catmull-Rom spline interpolation. * * For each interior span between consecutive points, this computes * two cubic Bezier control points that approximate the Catmull-Rom * spline through the surrounding four points. The `factor` parameter * (default 6) controls the tangent magnitude — higher values produce * gentler curves; lower values produce tighter curves. * * @param points - Input polyline (minimum 2 points). * @param factor - Catmull-Rom tension divisor. Default: `6`. * @returns Array of cubic Bezier curve segments. Each entry is a tuple * of `[cp1, cp2, endPt]` where `cp1`/`cp2` are the control points. */ export declare function catmullRomToBezier(points: CustomGeometryPoint[], factor?: number): Array<[CustomGeometryPoint, CustomGeometryPoint, CustomGeometryPoint]>; /** * Fluent builder for constructing freeform drawing paths from * pen/mouse input. * * Typical usage: * ```ts * const builder = new FreeformPathBuilder() * .addPoint(0, 0) * .addPoint(10, 5) * .addPoint(20, 3) * // ... many points from mouse events * .simplify(2) * .smooth(6); * * const svgPath = builder.toSvgPath(); * const geomPaths = builder.toCustomGeometryPaths(); * ``` */ export declare class FreeformPathBuilder { private points; private closed; private smoothed; private bezierCurves; /** * Append a point to the path. * * @param x - X coordinate. * @param y - Y coordinate. * @returns `this` for chaining. */ addPoint(x: number, y: number): this; /** * Mark the path as closed (a Z command will be appended). * * @returns `this` for chaining. */ close(): this; /** * Return a shallow copy of the current points. */ getPoints(): CustomGeometryPoint[]; /** * Return whether the path has been closed. */ isClosed(): boolean; /** * Return whether the path has been smoothed. */ isSmoothed(): boolean; /** * Simplify the path using Douglas-Peucker algorithm. * * Reduces the number of points while preserving the overall shape. * This is critical for freeform mouse/pen input which generates * many closely-spaced points. * * @param tolerance - Maximum perpendicular distance for a point to * be removed. Larger values discard more points. Default: `2`. * @returns `this` for chaining. */ simplify(tolerance?: number): this; /** * Convert the polyline points to smooth cubic Bezier curves using * Catmull-Rom spline fitting. * * After smoothing, {@link toSvgPath} and {@link toCustomGeometryPaths} * will emit cubic Bezier curve commands instead of straight line * segments. * * @param factor - Catmull-Rom tension divisor. Higher values produce * gentler curves. Default: `6`. * @returns `this` for chaining. */ smooth(factor?: number): this; /** * Convert the current path to an SVG path data string. * * If the path has been smoothed, emits `M` followed by `C` (cubic * Bezier) commands. Otherwise emits `M` followed by `L` (line) * commands. Appends `Z` if the path was closed. * * @returns SVG path data string (e.g. `"M 0 0 L 10 5 L 20 3"`). */ toSvgPath(): string; /** * Convert the current path to structured {@link CustomGeometryPath} * arrays suitable for OOXML serialization. * * Automatically computes the bounding dimensions from the point data. * * @returns Array containing a single {@link CustomGeometryPath}. */ toCustomGeometryPaths(): CustomGeometryPath[]; } //#endregion //#region src/geometry/callout-geometry.d.ts /** A 2D point in pixel coordinates relative to the shape's top-left origin. */ interface CalloutPoint { x: number; y: number; } /** The result of computing callout leader line geometry. */ interface CalloutLeaderLineGeometry { /** * Ordered list of points forming the callout leader line. * For callout1: 2 points (start, end). * For callout2: 3 points (start, bend, end). * For callout3: 4 points (start, bend1, bend2, end). */ points: CalloutPoint[]; /** Whether the shape variant has a visible border (bordercallout, accentbordercallout). */ hasBorder: boolean; /** Whether the shape variant has an accent bar (accentcallout, accentbordercallout). */ hasAccent: boolean; } /** * Returns true if the given shape type name is a callout shape with a leader line. * * @param shapeType - The OOXML preset geometry name (case-insensitive). */ export declare function isCalloutShape(shapeType: string | undefined): boolean; /** * Returns the tier (1, 2, or 3) for the callout shape, indicating the number * of line segments. Returns 0 if the shape type is not a callout. */ export declare function getCalloutTier(shapeType: string): 0 | 1 | 2 | 3; /** * Computes the callout leader line geometry for a given callout shape element. * * @param shapeType - The OOXML preset geometry name. * @param width - Shape width in pixels. * @param height - Shape height in pixels. * @param adjustments - Shape adjustment values record (from `shapeAdjustments`). * @returns The computed leader line geometry, or `null` if not a callout shape. */ export declare function getCalloutLeaderLineGeometry(shapeType: string, width: number, height: number, adjustments?: Record): CalloutLeaderLineGeometry | null; /** * Builds an SVG path `d` attribute string for the callout leader line. * * @param geometry - The computed callout leader line geometry. * @returns An SVG path data string (e.g. "M 10 20 L 30 40 L 50 60"). */ export declare function buildCalloutLeaderLineSvgPath(geometry: CalloutLeaderLineGeometry): string; /** * Computes the SVG viewBox bounds for a callout shape including the leader line. * The leader line can extend beyond the shape boundary (negative coordinates * or coordinates > width/height), so the viewBox must be expanded. * * @param width - Shape width in pixels. * @param height - Shape height in pixels. * @param geometry - The callout leader line geometry. * @param padding - Extra padding in pixels around the bounds (default 2). * @returns The viewBox bounds as `{ minX, minY, viewWidth, viewHeight }`. */ export declare function getCalloutViewBoxBounds(width: number, height: number, geometry: CalloutLeaderLineGeometry, padding?: number): { minX: number; minY: number; viewWidth: number; viewHeight: number; }; //#endregion //#region src/pptx/core/builders/factories/ConnectorXmlFactory.d.ts /** * Factory that produces OpenXML `p:cxnSp` (connection shape) XML objects. * * Generates the full connector shape tree including: * - `p:nvCxnSpPr` (non-visual properties with unique ID) * - `p:spPr` (shape properties with transform, geometry, and line style) * - Start/end connection bindings (`a:stCxn` / `a:endCxn`) * - Stroke color, width, dash pattern, and arrowheads */ export declare class ConnectorXmlFactory implements IConnectorXmlFactory { private readonly context; /** @param context - Shared factory context providing ID generation and unit conversion. */ constructor(context: PptxBuilderFactoryContext); /** * Create a `p:cxnSp` XML object from a connector element model. * @param init - Initialization data containing the connector element. * @returns A complete OpenXML connector shape XML object. */ createXmlElement(init: ConnectorXmlFactoryInit): XmlObject; } //#endregion //#region src/pptx/core/builders/factories/MediaGraphicFrameXmlFactory.d.ts /** * Factory that produces OpenXML `p:graphicFrame` XML objects for audio and video media. * * Generates graphic frame XML including: * - `p:nvGraphicFramePr` with a unique ID * - `p:xfrm` with position, size, rotation, and flip attributes * - `a:graphic` / `a:graphicData` referencing the media file via `r:link` */ export declare class MediaGraphicFrameXmlFactory implements IMediaGraphicFrameXmlFactory { private readonly context; /** @param context - Shared factory context providing ID generation and unit conversion. */ constructor(context: PptxBuilderFactoryContext); /** * Create a `p:graphicFrame` XML object from a media element model. * @param init - Initialization data containing the media element and its relationship ID. * @returns A complete OpenXML graphic frame XML object for audio/video. */ createXmlElement(init: MediaGraphicFrameXmlFactoryInit): XmlObject; } //#endregion //#region src/pptx/core/builders/factories/PictureXmlFactory.d.ts /** * Factory that produces OpenXML `p:pic` (picture) XML objects. * * Generates picture XML including: * - `p:nvPicPr` with a unique ID * - `p:blipFill` referencing the image via an `r:embed` relationship * - `p:spPr` with transform and rectangular preset geometry */ export declare class PictureXmlFactory implements IPictureXmlFactory { private readonly context; /** @param context - Shared factory context providing ID generation and unit conversion. */ constructor(context: PptxBuilderFactoryContext); /** * Create a `p:pic` XML object from a picture element model. * @param init - Initialization data containing the image element and its relationship ID. * @returns A complete OpenXML picture XML object. */ createXmlElement(init: PictureXmlFactoryInit): XmlObject; } //#endregion //#region src/pptx/core/builders/factories/PptxXmlFactoryProvider.d.ts /** * Default implementation of {@link IPptxXmlFactoryProvider}. * * Creates concrete factory instances for each supported PPTX element type * (text shape, connector, picture, media graphic frame). Consumers can * substitute a custom provider to override XML generation behavior. */ export declare class PptxXmlFactoryProvider implements IPptxXmlFactoryProvider { /** @inheritdoc */ createTextShapeFactory(context: PptxBuilderFactoryContext): ITextShapeXmlFactory; /** @inheritdoc */ createConnectorFactory(context: PptxBuilderFactoryContext): IConnectorXmlFactory; /** @inheritdoc */ createPictureFactory(context: PptxBuilderFactoryContext): IPictureXmlFactory; /** @inheritdoc */ createMediaGraphicFrameFactory(context: PptxBuilderFactoryContext): IMediaGraphicFrameXmlFactory; } //#endregion //#region src/pptx/core/builders/factories/TextShapeXmlFactory.d.ts /** * Factory that produces OpenXML `p:sp` (shape) XML objects for text boxes and rectangles. * * Generates shape XML including: * - `p:nvSpPr` with a unique ID and `txBox` flag * - `p:spPr` with transform (`a:xfrm`), preset geometry, and shape adjustments * - `p:txBody` with body properties, list style, and a single text run */ export declare class TextShapeXmlFactory implements ITextShapeXmlFactory { private readonly context; /** @param context - Shared factory context providing ID generation and unit conversion. */ constructor(context: PptxBuilderFactoryContext); /** * Create a `p:sp` XML object from a text/shape element model. * @param init - Initialization data containing the element with text. * @returns A complete OpenXML shape XML object with text body. */ createXmlElement(init: TextShapeXmlFactoryInit): XmlObject; } //#endregion //#region src/pptx/core/builders/sdk/ElementFactory.d.ts /** Reset the ID counter (useful for tests). */ export declare function resetIdCounter(): void; /** * Create a text box element. * * @param text - Plain string or rich text segments. * @param options - Position, size, and text styling. * @returns A valid {@link TextPptxElement}. * * @example * ```ts * const el = createTextElement("Hello World", { fontSize: 36, bold: true }); * ``` */ export declare function createTextElement(text: string | TextSegmentInput[], options?: TextOptions): TextPptxElement; /** * Create a shape element with optional text overlay. * * @param shapeType - Preset geometry name (e.g. "rect", "ellipse", "roundRect"). * @param options - Position, styling, and optional text. * @returns A valid {@link ShapePptxElement}. * * @example * ```ts * const el = createShapeElement("roundRect", { * fill: { type: "solid", color: "#4472C4" }, * text: "Click me", * }); * ``` */ export declare function createShapeElement(shapeType: string, options?: ShapeOptions): ShapePptxElement; /** * Create a connector (line) element. * * @param options - Connector type, stroke, arrows, and connection endpoints. * @returns A valid {@link ConnectorPptxElement}. */ export declare function createConnectorElement(options?: ConnectorOptions): ConnectorPptxElement; /** * Create an image element. * * @param source - Data URL (`data:image/...;base64,...`) or archive path. * @param options - Position, alt text, and crop settings. * @returns A valid {@link ImagePptxElement}. */ export declare function createImageElement(source: string, options?: ImageOptions): ImagePptxElement; /** * Create a table element. * * @param input - Table rows, columns, and styling options. * @param options - Position overrides. * @returns A valid {@link TablePptxElement}. * * @example * ```ts * const el = createTableElement({ * rows: [ * { cells: [{ text: "Name" }, { text: "Score" }] }, * { cells: [{ text: "Alice" }, { text: "95" }] }, * ], * firstRow: true, * bandRows: true, * }); * ``` */ export declare function createTableElement(input: TableInput, options?: TableOptions): TablePptxElement; /** * Create a chart element. * * @param chartType - One of the supported chart type discriminators. * @param input - Series data, categories, title, legend options. * @param options - Position overrides. * @returns A valid {@link ChartPptxElement}. * * @example * ```ts * const el = createChartElement("bar", { * series: [{ name: "Q1", values: [45, 62, 38] }], * categories: ["A", "B", "C"], * title: "Sales", * }); * ``` */ export declare function createChartElement(chartType: PptxChartType, input: ChartInput, options?: ChartOptions): ChartPptxElement; /** * Create a media element (audio or video). * * @param mediaType - "video" or "audio". * @param source - Data URL or archive path for the media file. * @param options - Playback options and position. * @returns A valid {@link MediaPptxElement}. */ export declare function createMediaElement(mediaType: 'video' | 'audio', source: string, options?: MediaOptions): MediaPptxElement; /** * Create a group element containing child elements. * * @param children - Array of child elements. * @param options - Position overrides for the group container. * @returns A valid {@link GroupPptxElement}. */ export declare function createGroupElement(children: PptxElement[], options?: GroupOptions): GroupPptxElement; /** * Create a freeform shape element from SVG path data. * * Uses a custom geometry (a:custGeom) shape with the provided path data. * The path is parsed into structured {@link CustomGeometryPath} segments * for round-tripping through OOXML serialization. * * @param pathData - An SVG path data string (e.g. `"M 0 0 L 100 50 L 50 100 Z"`). * @param options - Optional position, styling, and size overrides. * @returns A valid {@link ShapePptxElement} with custom geometry. * * @example * ```ts * const el = createFreeformElement("M 0 0 C 33 0 66 100 100 100", { * stroke: { color: "#FF0000", width: 2 }, * }); * ``` */ export declare function createFreeformElement(pathData: string, options?: ShapeOptions): ShapePptxElement; //#endregion //#region src/pptx/core/builders/sdk/slide-operations.d.ts /** Reset the clone ID counter (useful for tests). */ export declare function resetCloneIdCounter(): void; /** * Deep-clone a slide, assigning new unique IDs to the clone and all * its elements (including nested group children). * * Uses the existing `cloneSlide` from clone-utils for deep copying, * then re-assigns IDs so the cloned slide is fully independent. * * @param slide - The source slide to clone. * @param newSlideNumber - The 1-based slide number for the clone. * @returns A fully independent copy with new IDs. * * @example * ```ts * const cloned = duplicateSlide(data.slides[0], data.slides.length + 1); * data.slides.push(cloned); * ``` */ export declare function duplicateSlide(slide: PptxSlide, newSlideNumber: number): PptxSlide; /** * Deep-clone a single element with a new unique ID. * * For group elements, all children are recursively cloned and * receive new IDs as well. * * @param element - The element to clone. * @returns A fully independent copy with a new ID. */ export declare function duplicateElement(element: PptxElement): PptxElement; //#endregion //#region src/pptx/core/builders/sdk/chart-operations.d.ts /** * Change the chart type of an existing chart element. * Preserves series data and categories. * * @param element - The chart element to modify. * @param newType - The new chart type. * * @example * ```ts * setChartType(chartEl, "line"); * ``` */ export declare function setChartType(element: ChartPptxElement, newType: PptxChartType): void; /** * Add a data series to an existing chart. * * @param element - The chart element to modify. * @param series - The series to add (name, values, optional color). * * @example * ```ts * addChartSeries(chartEl, { name: "Q2", values: [50, 60, 70], color: "#FF0000" }); * ``` */ export declare function addChartSeries(element: ChartPptxElement, series: { name: string; values: number[]; color?: string; }): void; /** * Remove a data series by index. * * @param element - The chart element to modify. * @param seriesIndex - Zero-based index of the series to remove. * @throws {RangeError} If `seriesIndex` is out of bounds. * * @example * ```ts * removeChartSeries(chartEl, 0); * ``` */ export declare function removeChartSeries(element: ChartPptxElement, seriesIndex: number): void; /** * Update chart categories. * * @param element - The chart element to modify. * @param categories - The new category labels. * * @example * ```ts * setChartCategories(chartEl, ["Jan", "Feb", "Mar"]); * ``` */ export declare function setChartCategories(element: ChartPptxElement, categories: string[]): void; /** * Update series values by index. * * @param element - The chart element to modify. * @param seriesIndex - Zero-based index of the series to update. * @param values - The new data values for the series. * @throws {RangeError} If `seriesIndex` is out of bounds. * * @example * ```ts * updateChartSeriesValues(chartEl, 0, [100, 200, 300]); * ``` */ export declare function updateChartSeriesValues(element: ChartPptxElement, seriesIndex: number, values: number[]): void; /** * Set chart title. * * @param element - The chart element to modify. * @param title - The new title string. * * @example * ```ts * setChartTitle(chartEl, "Revenue by Quarter"); * ``` */ export declare function setChartTitle(element: ChartPptxElement, title: string): void; /** * Set chart grouping (clustered, stacked, percentStacked). * * @param element - The chart element to modify. * @param grouping - The new grouping mode. * * @example * ```ts * setChartGrouping(chartEl, "stacked"); * ``` */ export declare function setChartGrouping(element: ChartPptxElement, grouping: 'clustered' | 'stacked' | 'percentStacked'): void; /** * Legend placement, matching OOXML `ST_LegendPos`. * `b` bottom, `tr` top-right, `l` left, `r` right, `t` top. */ type PptxChartLegendPosition = 'b' | 'tr' | 'l' | 'r' | 't'; /** * Show/hide the chart legend and/or set its position. Edits round-trip to * the saved `.pptx` (`c:legend` / `c:legendPos`). * * @param element - The chart element to modify. * @param options - `show` toggles legend visibility; `position` sets placement. * Setting a `position` without an explicit `show` turns the legend on. * * @example * ```ts * setChartLegend(chartEl, { show: true, position: "r" }); * setChartLegend(chartEl, { show: false }); * ``` */ export declare function setChartLegend(element: ChartPptxElement, options: { show?: boolean; position?: PptxChartLegendPosition; }): void; /** * Show/hide chart-level data labels and/or set their content and position. * Edits round-trip to the saved `.pptx` (`c:dLbls` under each chart-type * container). * * @param element - The chart element to modify. * @param edit - `show` toggles all data labels; the `show*` flags pick which * content appears; `position` sets placement. Setting any content flag or a * position turns labels on when not already set. * * @example * ```ts * setChartDataLabels(chartEl, { show: true, showValue: true, position: "outEnd" }); * setChartDataLabels(chartEl, { show: false }); * ``` */ export declare function setChartDataLabels(element: ChartPptxElement, edit: { show?: boolean; showValue?: boolean; showCategory?: boolean; showSeriesName?: boolean; showPercent?: boolean; showLegendKey?: boolean; position?: PptxChartDataLabelOptions['position']; }): void; /** * Set (or clear) the primary trendline on a chart series. Edits round-trip to * the saved `.pptx` (`c:trendline` inside the series). * * Pass a {@link PptxChartTrendline} to add/replace the series' trendline, or * `null` to remove it. This manages a single trendline per series (the common * case); charts with multiple trendlines on one series can be edited via the * `series.trendlines` array directly. * * @example * ```ts * setChartSeriesTrendline(chartEl, 0, { trendlineType: "linear", displayEq: true }); * setChartSeriesTrendline(chartEl, 0, null); // remove * ``` */ export declare function setChartSeriesTrendline(element: ChartPptxElement, seriesIndex: number, trendline: PptxChartTrendline | null): void; /** * Set (or clear) the error bars on a chart series. Edits round-trip to the * saved `.pptx` (`c:errBars` inside the series). * * Pass a {@link PptxChartErrBars} to add/replace the series' error bars, or * `null` to remove them. This manages a single error-bar definition per series * (the common case); charts with both X and Y error bars can be edited via the * `series.errBars` array directly. * * @example * ```ts * setChartSeriesErrorBars(chartEl, 0, { direction: "y", barType: "both", valType: "percentage", val: 5 }); * setChartSeriesErrorBars(chartEl, 0, null); // remove * ``` */ export declare function setChartSeriesErrorBars(element: ChartPptxElement, seriesIndex: number, errBars: PptxChartErrBars | null): void; /** Axis kinds that can be addressed by {@link setChartAxis}. */ type PptxChartAxisType = PptxChartAxisFormatting['axisType']; /** * Editable axis-formatting properties. Each field is optional: * - omit a field to leave it unchanged, * - pass a value to set it, * - pass `null` (for the numeric fields) or `''` (for `numberFormat`) to * clear it so the axis falls back to its automatic behaviour. */ interface ChartAxisEdit { min?: number | null; max?: number | null; majorUnit?: number | null; minorUnit?: number | null; orientation?: PptxChartAxisFormatting['orientation'] | null; numberFormat?: string; tickLabelPosition?: 'high' | 'low' | 'nextTo' | 'none'; /** Axis title text. Pass `null` or `''` to remove the title. */ title?: string | null; /** Toggle major gridlines. */ majorGridlines?: boolean; /** Toggle minor gridlines. */ minorGridlines?: boolean; /** Value-axis display units (built-in scale name or `'custom'`); `null` clears. */ displayUnits?: PptxChartAxisFormatting['displayUnits'] | null; /** Custom display-unit divisor (used when `displayUnits` is `'custom'`). */ displayUnitsValue?: number | null; /** Display-unit label text/layout/shape options. `null` removes the label. */ displayUnitsLabel?: PptxChartAxisFormatting['displayUnitsLabel']; } /** * Edit value/category axis formatting that round-trips to the saved `.pptx` * (`c:min`/`c:max` scaling, `c:majorUnit`/`c:minorUnit`, `c:numFmt`, * `c:tickLblPos`). * * Finds the first axis of `axisType` in `chartData.axes`, creating an entry * if none exists. Note that newly created axes only serialize for charts that * already contain a matching axis in the source XML (the save pipeline links * edits by the parsed axis id), which is the normal case for loaded charts. * * @example * ```ts * setChartAxis(chartEl, "valAx", { min: 0, max: 100, majorUnit: 20 }); * setChartAxis(chartEl, "valAx", { min: null }); // clear the override * ``` */ export declare function setChartAxis(element: ChartPptxElement, axisType: PptxChartAxisType, edit: ChartAxisEdit): void; /** * Update a single data point value in a chart series. * * @param element - The chart element to modify. * @param seriesIndex - Zero-based index of the series. * @param pointIndex - Zero-based index of the data point (category). * @param value - The new numeric value. * @throws {RangeError} If either index is out of bounds. * * @example * ```ts * updateChartDataPoint(chartEl, 0, 2, 42); * ``` */ export declare function updateChartDataPoint(element: ChartPptxElement, seriesIndex: number, pointIndex: number, value: number): void; /** * Add a new category to the chart, appending a default value of `0` * to every series so that data dimensions remain consistent. * * @param element - The chart element to modify. * @param categoryName - The label for the new category. * * @example * ```ts * addChartCategory(chartEl, "Q4"); * ``` */ export declare function addChartCategory(element: ChartPptxElement, categoryName: string): void; /** * Remove a category by index, also removing the corresponding value * from every series. * * @param element - The chart element to modify. * @param categoryIndex - Zero-based index of the category to remove. * @throws {RangeError} If `categoryIndex` is out of bounds. * * @example * ```ts * removeChartCategory(chartEl, 0); * ``` */ export declare function removeChartCategory(element: ChartPptxElement, categoryIndex: number): void; /** * Set (or clear) the solid fill colour of a chart series. Edits round-trip to * the saved `.pptx` (`c:spPr > a:solidFill > a:srgbClr` inside the series). * * Pass a hex colour (`#RRGGBB` or `RRGGBB`, case-insensitive) to set the * series colour, or `null`/`undefined` to clear it so the series falls back to * its automatic theme colour. * * Also clears any series gradient (`setChartSeriesGradient`): solid colour * and gradient are one fill choice, so the last call wins. * * @param element - The chart element to modify. * @param seriesIndex - Zero-based index of the series to recolour. * @param color - Hex colour string, or `null`/`undefined` to clear. * @throws {RangeError} If `seriesIndex` is out of bounds. * * @example * ```ts * setChartSeriesColor(chartEl, 0, "#4472C4"); * setChartSeriesColor(chartEl, 0, null); // clear -> back to theme colour * ``` */ export declare function setChartSeriesColor(element: ChartPptxElement, seriesIndex: number, color: string | null | undefined): void; /** * Enable or disable logarithmic scaling on an axis, optionally setting the log * base. Round-trips to the saved `.pptx` (`c:scaling/c:logBase`). * * Pass `{ enabled: true, base: 10 }` to turn on a base-10 log scale, or * `{ enabled: false }` to revert to linear scaling (which removes `c:logBase`). * * @example * ```ts * setChartAxisLogScale(chartEl, "valAx", { enabled: true, base: 10 }); * setChartAxisLogScale(chartEl, "valAx", { enabled: false }); * ``` */ export declare function setChartAxisLogScale(element: ChartPptxElement, axisType: PptxChartAxisType, opts: { enabled: boolean; base?: number; }): void; /** Editable axis-title font styling. Omit a field to leave it unchanged; pass `null` to clear it. */ interface ChartAxisTitleStyleEdit { fontFamily?: string | null; fontSize?: number | null; fontBold?: boolean; fontColor?: string | null; } /** * Edit the font styling (family, size, bold, colour) of an axis title. The * title TEXT itself is edited via {@link setChartAxis}'s `title` field; this * controls only its appearance. Round-trips to the saved `.pptx` * (`c:title/c:txPr` run properties). * * @example * ```ts * setChartAxisTitleStyle(chartEl, "valAx", { fontFamily: "Calibri", fontSize: 12, fontBold: true }); * ``` */ export declare function setChartAxisTitleStyle(element: ChartPptxElement, axisType: PptxChartAxisType, edit: ChartAxisTitleStyleEdit): void; /** Editable gridline line styling (colour, width in points, dash style). */ interface ChartGridlineStyleEdit { color?: string | null; width?: number | null; dashStyle?: string | null; } /** * Edit the line styling (colour, width, dash style) of an axis's major or minor * gridlines. Setting any style implicitly turns the gridlines on. Round-trips * to the saved `.pptx` (`c:majorGridlines/c:spPr` or `c:minorGridlines/c:spPr`). * * @example * ```ts * setChartAxisGridlineStyle(chartEl, "valAx", "major", { color: "#CCCCCC", width: 0.75, dashStyle: "dash" }); * ``` */ export declare function setChartAxisGridlineStyle(element: ChartPptxElement, axisType: PptxChartAxisType, which: 'major' | 'minor', edit: ChartGridlineStyleEdit): void; /** * Set (or clear) the marker on a chart series. Markers apply to line, scatter, * bubble, and radar charts. Round-trips to the saved `.pptx` (`c:marker` inside * the series). * * Pass a {@link PptxChartMarker} to set the marker, a partial marker patch to * merge into the existing one, or `null` to remove the marker entirely. * * @example * ```ts * setChartSeriesMarker(chartEl, 0, { symbol: "circle", size: 7, spPr: { fillColor: "#FF0000" } }); * setChartSeriesMarker(chartEl, 1, { symbol: "none" }); * setChartSeriesMarker(chartEl, 0, null); // remove * ``` */ export declare function setChartSeriesMarker(element: ChartPptxElement, seriesIndex: number, marker: PptxChartMarker | { symbol?: PptxChartMarkerSymbol; size?: number; fillColor?: string; } | null): void; /** * Set (or clear) the per-series chart type for a combo chart. When set, the * series is plotted with `seriesType` (e.g. a `line` series within an otherwise * `bar` chart). Pass `null` to clear it so the series uses the chart-level type. * * Setting a per-series type also promotes the chart to `combo` so that the save * pipeline emits multiple chart-type containers. * * @example * ```ts * setChartSeriesChartType(chartEl, 1, "line"); * setChartSeriesChartType(chartEl, 1, null); // revert to chart-level type * ``` */ export declare function setChartSeriesChartType(element: ChartPptxElement, seriesIndex: number, seriesType: PptxChartType | null): void; /** * Set (or clear) the fill colour of a single data point, overriding the series * colour for that point only. Round-trips to the saved `.pptx` * (`c:dPt/c:spPr/a:solidFill` keyed by `c:idx`). * * Pass a hex colour to set the fill, or `null` to remove the per-point fill * (dropping the whole `c:dPt` override when nothing else is set on it). * Setting a colour also clears a per-point gradient * (`setChartDataPointGradient`); the last call wins. * * @example * ```ts * setChartDataPointFill(chartEl, 0, 2, "#FF0000"); * setChartDataPointFill(chartEl, 0, 2, null); // clear * ``` */ export declare function setChartDataPointFill(element: ChartPptxElement, seriesIndex: number, pointIndex: number, color: string | null): void; /** * Set (or clear) the explosion (slice pull-out distance, 0-100) of a single pie * or doughnut data point. Round-trips to the saved `.pptx` * (`c:dPt/c:explosion` keyed by `c:idx`). * * Pass `null` to remove the explosion (dropping the `c:dPt` override when * nothing else is set on it). * * @example * ```ts * setChartDataPointExplosion(chartEl, 0, 1, 25); * setChartDataPointExplosion(chartEl, 0, 1, null); // clear * ``` */ export declare function setChartDataPointExplosion(element: ChartPptxElement, seriesIndex: number, pointIndex: number, explosion: number | null): void; /** * Set (or clear) the marker override for a single data point, overriding the * series-level marker for that point only. Round-trips to the saved `.pptx` * (`c:dPt/c:marker` keyed by `c:idx`). * * Pass a marker patch to set/merge the override, or `null` to remove it * (dropping the whole `c:dPt` override when nothing else is set on it). * * @example * ```ts * setChartDataPointMarker(chartEl, 0, 2, { symbol: "circle", size: 7, fillColor: "#FF0000" }); * setChartDataPointMarker(chartEl, 0, 2, null); // clear * ``` */ export declare function setChartDataPointMarker(element: ChartPptxElement, seriesIndex: number, pointIndex: number, marker: { symbol?: PptxChartMarkerSymbol; size?: number; fillColor?: string; } | null): void; /** Editable per-data-point label fields. Omit a field to leave it unchanged. */ interface ChartDataPointLabelEdit { /** Show the numeric value (`c:showVal`). */ showValue?: boolean; /** Show the category name (`c:showCatName`). */ showCategory?: boolean; /** Show the series name (`c:showSerName`). */ showSeriesName?: boolean; /** Show the percentage (`c:showPercent`). */ showPercent?: boolean; /** Show the legend key swatch (`c:showLegendKey`). */ showLegendKey?: boolean; /** Label position (`c:dLblPos`). */ position?: PptxChartDataLabel['position']; /** Custom label text override (`c:tx`). Pass `''` to clear it. */ text?: string; /** * This label's own shape formatting (`c:dLbl/c:spPr`: fill/line colour, * width, dash style). Pass `null` to remove it, merging into the existing * override when both are set. */ spPr?: PptxChartShapeProps | null; /** * This label's own font (`c:dLbl/c:txPr`). Pass `null` to remove it, * merging into the existing override when both are set. */ txPr?: PptxChartDataLabel['txPr'] | null; } /** * Set (or clear) the individual data-label override for a single data point of a * series, independent of the series-level data labels. Round-trips to the saved * `.pptx` (`c:dLbl` keyed by `c:idx` inside the series' `c:dLbls`). * * Pass a {@link ChartDataPointLabelEdit} to add/merge the override for that * point, or `null` to remove it (reverting the point to the series default). * * @param element - The chart element to modify. * @param seriesIndex - Zero-based index of the series. * @param pointIndex - Zero-based index of the data point (category). * @param edit - The label fields to set, or `null` to remove the override. * @throws {RangeError} If `seriesIndex` is out of bounds. * * @example * ```ts * setChartDataPointLabel(chartEl, 0, 2, { showValue: true, position: "outEnd" }); * setChartDataPointLabel(chartEl, 0, 2, { text: "Peak" }); * setChartDataPointLabel(chartEl, 0, 2, null); // remove the override * ``` */ export declare function setChartDataPointLabel(element: ChartPptxElement, seriesIndex: number, pointIndex: number, edit: ChartDataPointLabelEdit | null): void; //#endregion //#region src/pptx/core/builders/sdk/chart-formatting-operations.d.ts /** * Set (or clear) the full shape formatting (fill colour, stroke colour, * stroke width, stroke dash style) of a single data point, overriding the * series' own styling for that point only. Round-trips to the saved `.pptx` * (`c:dPt/c:spPr` keyed by `c:idx`), including the stroke width/dash style * that {@link import('./chart-operations').setChartDataPointFill} does not * expose (it only ever sets `fillColor`). * * Pass a {@link PptxChartShapeProps} patch to merge into the point's existing * style, or `null` to remove it entirely, including a per-point gradient * (dropping the whole `c:dPt` override when nothing else is set on it). A * patch carrying `fillColor` clears a per-point gradient (the last call wins). * * @example * ```ts * setChartDataPointStyle(chartEl, 0, 2, { strokeColor: "#FF0000", strokeWidth: 2, strokeDashStyle: "dash" }); * setChartDataPointStyle(chartEl, 0, 2, null); // clear * ``` */ export declare function setChartDataPointStyle(element: ChartPptxElement, seriesIndex: number, pointIndex: number, style: PptxChartShapeProps | null): void; /** * Set (or remove) a chart-level helper line: `c:dropLines` (line/stock * charts) or `c:hiLowLines` (line/stock charts, joins the high/low points). * Round-trips to the saved `.pptx`. * * Pass a {@link PptxChartLineStyle} to set/replace the line's colour, width, * and dash style (an empty `{}` shows the line with default styling), or * `null` to remove the element entirely. * * @throws {Error} If the chart is not a line, stock, or combo chart. * * @example * ```ts * setChartHelperLine(chartEl, "hiLowLines", { color: "#888888", width: 0.75 }); * setChartHelperLine(chartEl, "dropLines", null); // remove * ``` */ export declare function setChartHelperLine(element: ChartPptxElement, line: 'dropLines' | 'hiLowLines', style: PptxChartLineStyle | null): void; /** * Set (or clear) the chart's colour-map override (`c:clrMapOvr`), remapping * up to 12 theme colour roles (`bg1`, `tx1`, `bg2`, `tx2`, `accent1`-`accent6`, * `hlink`, `folHlink`) for this chart only. Round-trips to the saved `.pptx`. * * Pass a partial map to merge into any existing override, or `null` to * remove it entirely so the chart falls back to the deck's own colour map. * * @example * ```ts * setChartColorMapOverride(chartEl, { accent1: "accent2", accent2: "accent1" }); * setChartColorMapOverride(chartEl, null); // remove * ``` */ export declare function setChartColorMapOverride(element: ChartPptxElement, overrides: Record | null): void; //#endregion //#region src/pptx/core/builders/sdk/chart-gradient-operations.d.ts /** * Set (or clear) a gradient fill on a whole series, in a new chart or one * loaded from a file. Round-trips to the saved `.pptx` as * `c:ser/c:spPr/a:gradFill`, replacing the series' solid fill. * * Pass `null` to remove the gradient: the series falls back to its solid * `color`, or to its automatic theme colour when it has none. * * @throws {RangeError} If `seriesIndex` is out of bounds or the gradient is * invalid (see {@link toChartGradientFill}). * @throws {Error} If the series is drawn as a line-drawn type (line, line3D, * scatter, radar, stock) or a ChartEx type, which have no `c:spPr` area fill. * * @example * ```ts * setChartSeriesGradient(chartEl, 0, { * angle: 90, // top to bottom * stops: [ * { color: "#60A5FA", position: 0 }, * { color: "#1E3A8A", position: 100 }, * ], * }); * setChartSeriesGradient(chartEl, 0, null); // back to the solid colour * ``` */ export declare function setChartSeriesGradient(element: ChartPptxElement, seriesIndex: number, gradient: ChartGradientInput | null): void; /** * Set (or clear) a gradient fill on a single data point (one bar, column or * slice), overriding the series fill for that point only. Round-trips to the * saved `.pptx` as `c:dPt/c:spPr/a:gradFill` keyed by `c:idx`, replacing any * per-point solid fill colour. * * Pass `null` to remove the per-point gradient (dropping the whole `c:dPt` * override when nothing else is set on it). * * @throws {RangeError} If `seriesIndex` is out of bounds, `pointIndex` is not a * non-negative integer, or the gradient is invalid. * @throws {Error} If the series is drawn as a line-drawn or ChartEx type. * * @example * ```ts * setChartDataPointGradient(chartEl, 0, 2, { * type: "radial", * stops: [ * { color: "#FFFFFF", position: 0 }, * { color: "#C00000", position: 100 }, * ], * }); * setChartDataPointGradient(chartEl, 0, 2, null); // clear * ``` */ export declare function setChartDataPointGradient(element: ChartPptxElement, seriesIndex: number, pointIndex: number, gradient: ChartGradientInput | null): void; //#endregion //#region src/pptx/core/builders/sdk/chart-user-shape-operations.d.ts /** * A path to one overlay shape, top-level or nested inside `grpSp` groups: * `[topIndex]` addresses `chartData.userShapes[topIndex]`; `[topIndex, * childIndex, ...]` descends through `.children` from there. */ type ChartUserShapePath = readonly number[]; /** Either a top-level overlay shape or a shape grouped inside one, addressed by a {@link ChartUserShapePath}. */ type ChartUserShapeNode = PptxChartUserShape | PptxChartUserShapeGroupChild; /** * List a chart's drawing-overlay shapes (`c:userShapes`), in document order. * * @param element - The chart element to read. * @returns The overlay shapes, or an empty array when the chart has none. */ export declare function listChartUserShapes(element: ChartPptxElement): PptxChartUserShape[]; /** * Append a new drawing-overlay shape to a chart. * * @param element - The chart element to modify. * @param shape - The complete overlay shape to add (see * `pptx-viewer-shared`'s `createDefaultChartUserShape` for a ready-made * text-box default). * * @example * ```ts * addChartUserShape(chartEl, { * kind: "sp", * anchor: "rel", * from: { x: 0.1, y: 0.1 }, * to: { x: 0.4, y: 0.25 }, * fill: "#FFFF00", * paragraphs: [{ text: "Note" }], * }); * ``` */ export declare function addChartUserShape(element: ChartPptxElement, shape: PptxChartUserShape): void; /** * Patch one drawing-overlay shape's anchor and/or visual properties. * * @param element - The chart element to modify. * @param index - Index of the overlay shape in `listChartUserShapes` order. * @param patch - Fields to overwrite; anything omitted is left as-is. */ export declare function updateChartUserShape(element: ChartPptxElement, index: number, patch: Partial): void; /** * Remove a drawing-overlay shape from a chart by index. * * @param element - The chart element to modify. * @param index - Index of the overlay shape to remove. */ export declare function removeChartUserShape(element: ChartPptxElement, index: number): void; /** * Read one overlay shape (top-level or nested inside groups) by path, * without modifying anything. * * @param element - The chart element to read. * @param path - See {@link ChartUserShapePath}. * @returns The shape at that path, or `undefined` when the path does not resolve. */ export declare function getChartUserShapeAtPath(element: ChartPptxElement, path: ChartUserShapePath): ChartUserShapeNode | undefined; /** * Patch one overlay shape's fields (anchor/position for a top-level shape, * `off`/`ext` for a shape grouped inside a `grpSp`) by path, reaching * arbitrarily deep into nested groups. Every `grpSp` ancestor along the path * has its own cached `rawXml` cleared, so the save pipeline regenerates it * from the updated typed model instead of re-emitting the group unchanged. * * @param element - The chart element to modify. * @param path - See {@link ChartUserShapePath}. * @param patch - Fields to overwrite; anything omitted is left as-is. * * @example * ```ts * // Move the second child of the first overlay shape (a grpSp). * updateChartUserShapeAtPath(chartEl, [0, 1], { off: { x: 914400, y: 0 } }); * ``` */ export declare function updateChartUserShapeAtPath(element: ChartPptxElement, path: ChartUserShapePath, patch: Partial & Partial): void; /** * Remove one overlay shape (top-level or nested inside groups) by path. * * @param element - The chart element to modify. * @param path - See {@link ChartUserShapePath}. */ export declare function removeChartUserShapeAtPath(element: ChartPptxElement, path: ChartUserShapePath): void; /** * Append a new child to an existing `grpSp` overlay shape. * * @param element - The chart element to modify. * @param groupPath - Path to the `grpSp` shape/child to append into. * @param child - The complete grouped child to add. */ export declare function addChartUserShapeGroupChild(element: ChartPptxElement, groupPath: ChartUserShapePath, child: PptxChartUserShapeGroupChild): void; //#endregion //#region src/pptx/core/builders/sdk/master-layout-crud-names.d.ts /** Every layout name currently in use, across every slide master. */ export declare function collectLayoutNames(data: PptxData): string[]; /** Every slide master name currently in use. */ export declare function collectMasterNames(data: PptxData): string[]; /** * A name distinct from `existingNames`, following PowerPoint's "duplicate a * layout" convention: an unused base name is kept as-is, a taken one grows a * trailing counter ("Title Slide" -> "Title Slide 2" -> "Title Slide 3"). * * @example * ```ts * uniqueDisplayName(["Title Slide"], "Title Slide"); // => "Title Slide 2" * uniqueDisplayName(["Title Slide", "Title Slide 2"], "Title Slide"); // => "Title Slide 3" * uniqueDisplayName(["Title Slide"], "Blank"); // => "Blank" * ``` */ export declare function uniqueDisplayName(existingNames: readonly string[], base: string): string; /** * A name distinct from `existingNames`, following PowerPoint's "duplicate a * slide master" convention: a leading counter ("Office Theme" -> * "1_Office Theme" -> "2_Office Theme"). * * @example * ```ts * uniquePrefixedName(["Office Theme"], "Office Theme"); // => "1_Office Theme" * ``` */ export declare function uniquePrefixedName(existingNames: readonly string[], base: string): string; //#endregion //#region src/pptx/core/builders/sdk/section-operations.d.ts /** Reset the section ID counter (useful for tests). */ export declare function resetSectionIdCounter(): void; /** * Add a new section to the presentation. * * Creates a section that groups the specified slides together. * The slide indices are converted to slide IDs based on the * current slide order in `data.slides`. * * @param data - The presentation data to modify. * @param name - Display name for the section. * @param slideIndices - 0-based indices of slides to include. * @returns The created section. * * @example * ```ts * const section = addSection(data, "Introduction", [0, 1, 2]); * console.log(section.id); // => "sec_..." * ``` */ export declare function addSection(data: PptxData, name: string, slideIndices: number[]): PptxSection; /** * Remove a section from the presentation by its ID. * * Clears section references on slides that belonged to the * removed section. Does nothing if the section ID is not found. * * @param data - The presentation data to modify. * @param sectionId - The section ID to remove. * @returns `true` if the section was found and removed. * * @example * ```ts * const removed = removeSection(data, "sec_abc123"); * console.log(removed); // => true * ``` */ export declare function removeSection(data: PptxData, sectionId: string): boolean; /** * Reorder sections in the presentation. * * The `sectionIds` array defines the new order. Section IDs not * present in the array are dropped. IDs that don't match existing * sections are silently ignored. * * @param data - The presentation data to modify. * @param sectionIds - Ordered array of section IDs defining the new order. * * @example * ```ts * reorderSections(data, ["sec_3", "sec_1", "sec_2"]); * console.log(data.sections?.map(s => s.name)); * // => ["Conclusion", "Introduction", "Body"] * ``` */ export declare function reorderSections(data: PptxData, sectionIds: string[]): void; /** * Get the section that a slide belongs to, if any. * * @param data - The presentation data. * @param slideIndex - 0-based slide index. * @returns The section the slide belongs to, or `undefined`. */ export declare function getSectionForSlide(data: PptxData, slideIndex: number): PptxSection | undefined; /** * Move slides between sections. * * Removes the specified slides from their current section (if any) * and adds them to the target section. * * @param data - The presentation data to modify. * @param slideIndices - 0-based indices of slides to move. * @param targetSectionId - The section ID to move slides to. * @returns `true` if the target section was found and slides were moved. */ export declare function moveSlidesToSection(data: PptxData, slideIndices: number[], targetSectionId: string): boolean; //#endregion //#region src/pptx/core/builders/sdk/shape-operations.d.ts /** * Replace the geometry of an existing shape while preserving all formatting. * * Swaps the `shapeType` and optionally the `shapeAdjustments`, clearing * any custom path data (since the shape is now a preset geometry). * All other properties — fill, stroke, text, effects, position, size — * remain untouched. * * @param element - The shape element to modify (mutated in place). * @param newShapeType - The new preset geometry name (e.g. "ellipse", "roundRect", "star5"). * @param adjustments - Optional adjustment values for the new geometry. * @throws {Error} If `newShapeType` is empty. * * @example * ```ts * const shape = createShapeElement("rect", { fill: { type: "solid", color: "#FF0000" } }); * replaceShapeGeometry(shape, "ellipse"); * // shape.shapeType === "ellipse", fill/stroke/text unchanged * ``` */ export declare function replaceShapeGeometry(element: ShapePptxElement, newShapeType: string, adjustments?: Record): void; /** * Replace a shape's geometry with custom SVG path data. * * Sets the element's `pathData` to the provided SVG path and clears * the `shapeType` (since it is no longer a preset). All other * properties — fill, stroke, text, effects, position, size — remain * untouched. * * @param element - The shape element to modify (mutated in place). * @param svgPath - The SVG path data string (e.g. "M 0 0 L 100 0 L 100 100 Z"). * @param pathWidth - Optional coordinate-space width for the custom path. * @param pathHeight - Optional coordinate-space height for the custom path. * @throws {Error} If `svgPath` is empty. * * @example * ```ts * const shape = createShapeElement("rect"); * replaceWithCustomGeometry(shape, "M 0 0 L 50 100 L 100 0 Z"); * // shape.shapeType === undefined, shape.pathData === "M 0 0 L 50 100 L 100 0 Z" * ``` */ export declare function replaceWithCustomGeometry(element: ShapePptxElement, svgPath: string, pathWidth?: number, pathHeight?: number): void; /** * Interpolate between two SVG path data strings. * * For morph transitions, this function linearly interpolates the numeric * coordinates of matching path commands between a source and target path. * When `t = 0` the result equals `from`; when `t = 1` the result equals `to`. * * **Command matching rules:** * - Commands are matched positionally (1st from ↔ 1st to, etc.). * - When commands have the same type, their arguments are lerped. * - When command types differ, the arguments from the `from` side are * lerped towards the `to` side (the `to` command type is used for the * second half of the transition, i.e. when `t >= 0.5`). * - When one path has fewer commands, missing commands are zero-padded. * * @param from - SVG path data for the starting shape. * @param to - SVG path data for the ending shape. * @param t - Interpolation parameter in the range [0, 1]. * @returns Interpolated SVG path data string. * * @example * ```ts * const mid = interpolateShapeGeometry( * "M 0 0 L 100 0 L 100 100 Z", * "M 0 0 L 200 0 L 200 200 Z", * 0.5, * ); * // => "M 0 0 L 150 0 L 150 150 Z" * ``` */ export declare function interpolateShapeGeometry(from: string, to: string, t: number): string; /** * Parse an SVG path data string into a structured array of commands. * * Exposed for advanced consumers who need to inspect or manipulate * individual path commands before interpolation. * * @param d - SVG path data string. * @returns Array of parsed and normalised path commands. */ export declare function parseSvgPath(d: string): { type: string; args: number[]; }[]; /** * Serialise parsed path commands back into an SVG path data string. * * @param commands - Array of path commands. * @returns SVG path data string. */ export declare function serializeSvgPath(commands: { type: string; args: number[]; }[]): string; //#endregion //#region src/pptx/core/builders/sdk/element-operations.d.ts /** * Lock or unlock an element by setting its {@link PptxShapeLocks} field. * * When `locked` is `true`, the element's `locks` are set to prevent the most * disruptive editor interactions: selecting, moving, and resizing. Other * granular lock flags (e.g. `noRotation`, `noTextEdit`) are left to the * caller to set explicitly via the `extraLocks` parameter. * * When `locked` is `false`, the `locks` field is removed entirely so the * element behaves as if no locks were ever specified. * * @param element - The element to update. * @param locked - Whether the element should be locked. * @param extraLocks - Additional lock flags merged in when locking. * @returns A new element object with the updated `locks` field. */ export declare function setElementLocked(element: PptxElement, locked: boolean, extraLocks?: Partial): PptxElement; //#endregion //#region src/pptx/core/builders/sdk/TextBuilder.d.ts /** * Fluent builder for {@link TextPptxElement} instances. * * @example * ```ts * const el = TextBuilder.create("Hello World") * .fontSize(24).bold().color("#333333") * .alignment("center") * .position(50, 50).size(400, 60) * .build(); * ``` */ export declare class TextBuilder { private _text; private _options; private constructor(); /** * Create a new TextBuilder for the given plain text or rich text segments. * * @param text - A plain string or an array of {@link TextSegmentInput} for rich text. * @returns A new {@link TextBuilder} instance. */ static create(text: string | TextSegmentInput[]): TextBuilder; /** * Set the element position (top-left corner) in pixels. * * @param x - Horizontal offset from the left edge of the slide. * @param y - Vertical offset from the top edge of the slide. */ position(x: number, y: number): this; /** * Set the element dimensions in pixels. * * @param width - Element width. * @param height - Element height. */ size(width: number, height: number): this; /** * Set position and size in a single call. * * @param x - Horizontal offset. * @param y - Vertical offset. * @param width - Element width. * @param height - Element height. */ bounds(x: number, y: number, width: number, height: number): this; /** * Set the rotation angle in degrees. * * @param degrees - Clockwise rotation in degrees. */ rotation(degrees: number): this; /** * Set the element opacity. * * @param value - Opacity from 0 (fully transparent) to 1 (fully opaque). */ opacity(value: number): this; /** * Set the font size in points. * * @param size - Font size (e.g. 12, 24, 36). */ fontSize(size: number): this; /** * Set the font family. * * @param family - Font family name (e.g. "Arial", "Calibri"). */ fontFamily(family: string): this; /** * Enable or disable bold text. * * @param enabled - Pass `false` to disable; defaults to `true`. */ bold(enabled?: boolean): this; /** * Enable or disable italic text. * * @param enabled - Pass `false` to disable; defaults to `true`. */ italic(enabled?: boolean): this; /** * Enable or disable underlined text. * * @param enabled - Pass `false` to disable; defaults to `true`. */ underline(enabled?: boolean): this; /** * Enable or disable strikethrough text. * * @param enabled - Pass `false` to disable; defaults to `true`. * @returns The builder instance for chaining. * * @example * ```ts * TextBuilder.create("Deprecated") * .strikethrough() * .build(); * ``` */ strikethrough(enabled?: boolean): this; /** * Set the text color. * * @param hex - Color as a hex string (e.g. "#FF0000"). */ color(hex: string): this; /** * Set horizontal text alignment. * * @param align - One of "left", "center", "right", or "justify". */ alignment(align: 'left' | 'center' | 'right' | 'justify'): this; /** * Set vertical text alignment within the text box. * * @param align - One of "top", "middle", or "bottom". */ verticalAlignment(align: 'top' | 'middle' | 'bottom'): this; /** * Set the line spacing multiplier. * * @param value - Line spacing value (e.g. 1.5 for 150% spacing). */ lineSpacing(value: number): this; /** * Set the background fill of the text box. * * @param input - A {@link FillInput} descriptor (solid, gradient, pattern, image, or none). */ fill(input: FillInput): this; /** * Set the border stroke of the text box. * * @param input - A {@link StrokeInput} descriptor. */ stroke(input: StrokeInput): this; /** * Add a drop shadow to the text box. * * @param input - A {@link ShadowInput} descriptor. */ shadow(input: ShadowInput): this; /** * Build the final {@link TextPptxElement}. * * Delegates to {@link createTextElement} with the accumulated options. * * @returns A fully constructed text element ready for insertion into a slide. */ build(): TextPptxElement; } //#endregion //#region src/pptx/core/builders/sdk/ShapeBuilder.d.ts /** * Fluent builder for {@link ShapePptxElement} instances. * * @example * ```ts * const el = ShapeBuilder.create("roundRect") * .fill({ type: "solid", color: "#4472C4" }) * .text("Click me") * .position(200, 200).size(300, 200) * .build(); * ``` */ export declare class ShapeBuilder { private _shapeType; private _options; private constructor(); /** * Create a new ShapeBuilder for the given preset geometry. * * @param shapeType - Preset geometry name (e.g. "rect", "ellipse", "roundRect"). * @returns A new {@link ShapeBuilder} instance. */ static create(shapeType: string): ShapeBuilder; /** * Set the element position (top-left corner) in pixels. * * @param x - Horizontal offset from the left edge of the slide. * @param y - Vertical offset from the top edge of the slide. */ position(x: number, y: number): this; /** * Set the element dimensions in pixels. * * @param width - Element width. * @param height - Element height. */ size(width: number, height: number): this; /** * Set position and size in a single call. * * @param x - Horizontal offset. * @param y - Vertical offset. * @param width - Element width. * @param height - Element height. */ bounds(x: number, y: number, width: number, height: number): this; /** * Set the rotation angle in degrees. * * @param degrees - Clockwise rotation in degrees. */ rotation(degrees: number): this; /** * Set the element opacity. * * @param value - Opacity from 0 (fully transparent) to 1 (fully opaque). */ opacity(value: number): this; /** * Set the shape fill. * * @param input - A {@link FillInput} descriptor (solid, gradient, pattern, image, or none). */ fill(input: FillInput): this; /** * Set a solid fill color (convenience for `fill({ type: "solid", color })`). * * @param color - Fill color as a hex string (e.g. `"#4472C4"`). * @param opacity - Optional opacity from 0 (transparent) to 1 (opaque). * @returns The builder instance for chaining. * * @example * ```ts * ShapeBuilder.create("rect") * .solidFill("#4472C4") * .build(); * ``` */ solidFill(color: string, opacity?: number): this; /** * Remove the fill (transparent shape). * * Sets the fill to `{ type: "none" }`, producing a shape with no * background fill. * * @returns The builder instance for chaining. * * @example * ```ts * ShapeBuilder.create("rect") * .noFill() * .stroke({ color: "#000", width: 2 }) * .build(); * ``` */ noFill(): this; /** * Set a gradient fill (convenience for `fill({ type: "gradient", ... })`). * * @param stops - Array of color stops, each with a `color` and `position` (0-1). * @param angle - Optional gradient angle in degrees (default direction is top-to-bottom). * @returns The builder instance for chaining. * * @example * ```ts * ShapeBuilder.create("rect") * .gradientFill( * [{ color: "#FF0000", position: 0 }, { color: "#0000FF", position: 1 }], * 90, * ) * .build(); * ``` */ gradientFill(stops: Array<{ color: string; position: number; }>, angle?: number): this; /** * Set the shape border stroke. * * @param input - A {@link StrokeInput} descriptor. */ stroke(input: StrokeInput): this; /** * Add a drop shadow to the shape. * * @param input - A {@link ShadowInput} descriptor. */ shadow(input: ShadowInput): this; /** * Set text content inside the shape. * * @param content - The text string to display inside the shape. */ text(content: string): this; /** * Set the text style for the shape's text content. * * @param style - A partial {@link TextStyleInput} for font, size, color, etc. */ textStyle(style: Partial): this; /** * Set shape geometry adjustment values. * * @param adj - A record of adjustment handle names to numeric values. */ adjustments(adj: Record): this; /** * Build the final {@link ShapePptxElement}. * * Delegates to {@link createShapeElement} with the accumulated options. * * @returns A fully constructed shape element ready for insertion into a slide. */ build(): ShapePptxElement; } //#endregion //#region src/pptx/core/builders/sdk/ImageBuilder.d.ts /** * Fluent builder for {@link ImagePptxElement} instances. * * @example * ```ts * const el = ImageBuilder.create("data:image/png;base64,...") * .altText("Company logo") * .position(100, 100).size(200, 200) * .build(); * ``` */ export declare class ImageBuilder { private _source; private _options; private constructor(); /** * Create a new ImageBuilder for the given image source. * * @param source - Data URL (`data:image/...;base64,...`) or archive path. * @returns A new {@link ImageBuilder} instance. */ static create(source: string): ImageBuilder; /** * Set the element position (top-left corner) in pixels. * * @param x - Horizontal offset from the left edge of the slide. * @param y - Vertical offset from the top edge of the slide. */ position(x: number, y: number): this; /** * Set the element dimensions in pixels. * * @param width - Element width. * @param height - Element height. */ size(width: number, height: number): this; /** * Set position and size in a single call. * * @param x - Horizontal offset. * @param y - Vertical offset. * @param width - Element width. * @param height - Element height. */ bounds(x: number, y: number, width: number, height: number): this; /** * Set the rotation angle in degrees. * * @param degrees - Clockwise rotation in degrees. */ rotation(degrees: number): this; /** * Set the element opacity. * * @param value - Opacity from 0 (fully transparent) to 1 (fully opaque). */ opacity(value: number): this; /** * Set the alternative text for accessibility. * * @param text - Descriptive text for the image. */ altText(text: string): this; /** * Set the crop region as fractional offsets from each edge. * * @param left - Fraction cropped from the left (0 to 1). * @param top - Fraction cropped from the top (0 to 1). * @param right - Fraction cropped from the right (0 to 1). * @param bottom - Fraction cropped from the bottom (0 to 1). */ crop(left: number, top: number, right: number, bottom: number): this; /** * Build the final {@link ImagePptxElement}. * * Delegates to {@link createImageElement} with the accumulated options. * * @returns A fully constructed image element ready for insertion into a slide. */ build(): ImagePptxElement; } //#endregion //#region src/pptx/core/builders/sdk/TableBuilder.d.ts /** * Fluent builder for {@link TablePptxElement} instances. * * @example * ```ts * const el = TableBuilder.create() * .headerRow(["Name", "Score"]) * .addRow(["Alice", "95"]) * .addRow(["Bob", "87"]) * .bandRows() * .position(50, 150).size(860, 200) * .build(); * ``` */ export declare class TableBuilder { private _input; private _options; private constructor(); /** * Create a new empty TableBuilder. * * @returns A new {@link TableBuilder} instance with no rows. */ static create(): TableBuilder; /** * Set the element position (top-left corner) in pixels. * * @param x - Horizontal offset from the left edge of the slide. * @param y - Vertical offset from the top edge of the slide. */ position(x: number, y: number): this; /** * Set the element dimensions in pixels. * * @param width - Element width. * @param height - Element height. */ size(width: number, height: number): this; /** * Set position and size in a single call. * * @param x - Horizontal offset. * @param y - Vertical offset. * @param width - Element width. * @param height - Element height. */ bounds(x: number, y: number, width: number, height: number): this; /** * Add a data row to the table. * * String cells are automatically converted to {@link TableCellInput} objects. * * @param cells - An array of cell values (strings or {@link TableCellInput} objects). */ addRow(cells: (string | TableCellInput)[]): this; /** * Add a header row and enable the `firstRow` table flag. * * This is a convenience method that marks the table as having a header row * and adds the row in one step. Typically called once before any * {@link addRow} calls. * * @param cells - An array of header cell values. */ headerRow(cells: (string | TableCellInput)[]): this; /** * Set explicit column widths. Values are treated as proportions and * normalized internally. * * @param widths - An array of numeric width proportions (one per column). */ columnWidths(widths: number[]): this; /** * Enable or disable alternating row banding. * * @param enabled - Pass `false` to disable; defaults to `true`. */ bandRows(enabled?: boolean): this; /** * Enable or disable alternating column banding. * * @param enabled - Pass `false` to disable; defaults to `true`. */ bandColumns(enabled?: boolean): this; /** * Enable or disable last-row highlighting. * * When enabled, the table renderer applies special styling to the * last row (e.g. bold text, border emphasis). * * @param enabled - Pass `false` to disable; defaults to `true`. * @returns The builder instance for chaining. * * @example * ```ts * TableBuilder.create() * .headerRow(["Name", "Score"]) * .addRow(["Alice", "95"]) * .addRow(["Total", "95"]) * .lastRow() * .build(); * ``` */ lastRow(enabled?: boolean): this; /** * Enable or disable first-column highlighting. * * When enabled, the table renderer applies special styling to the * first column (e.g. bold text). * * @param enabled - Pass `false` to disable; defaults to `true`. * @returns The builder instance for chaining. * * @example * ```ts * TableBuilder.create() * .addRow(["Category", "Value"]) * .addRow(["Sales", "100"]) * .firstCol() * .build(); * ``` */ firstCol(enabled?: boolean): this; /** * Enable or disable last-column highlighting. * * When enabled, the table renderer applies special styling to the * last column (e.g. bold text, border emphasis). * * @param enabled - Pass `false` to disable; defaults to `true`. * @returns The builder instance for chaining. * * @example * ```ts * TableBuilder.create() * .addRow(["Name", "Q1", "Total"]) * .addRow(["Alice", "95", "95"]) * .lastCol() * .build(); * ``` */ lastCol(enabled?: boolean): this; /** * Set the table style identifier. * * @param styleId - A table style ID string (e.g. from the OOXML table style catalog). */ style(styleId: string): this; /** * Build the final {@link TablePptxElement}. * * Delegates to {@link createTableElement} with the accumulated input and options. * * @returns A fully constructed table element ready for insertion into a slide. */ build(): TablePptxElement; } //#endregion //#region src/pptx/core/builders/sdk/ChartBuilder.d.ts /** * Fluent builder for {@link ChartPptxElement} instances. * * @example * ```ts * const el = ChartBuilder.create("bar") * .categories(["Q1", "Q2", "Q3"]) * .addSeries("Revenue", [100, 150, 130], "#4472C4") * .title("Quarterly Revenue") * .legend(true, "b") * .position(100, 150).size(600, 400) * .build(); * ``` */ export declare class ChartBuilder { private _chartType; private _input; private _options; private constructor(); /** * Create a new ChartBuilder for the given chart type. * * @param chartType - One of the supported {@link PptxChartType} values * (e.g. "bar", "line", "pie", "doughnut", "area", "scatter"). * @returns A new {@link ChartBuilder} instance. */ static create(chartType: PptxChartType): ChartBuilder; /** * Set the element position (top-left corner) in pixels. * * @param x - Horizontal offset from the left edge of the slide. * @param y - Vertical offset from the top edge of the slide. */ position(x: number, y: number): this; /** * Set the element dimensions in pixels. * * @param width - Element width. * @param height - Element height. */ size(width: number, height: number): this; /** * Set position and size in a single call. * * @param x - Horizontal offset. * @param y - Vertical offset. * @param width - Element width. * @param height - Element height. */ bounds(x: number, y: number, width: number, height: number): this; /** * Set the category labels for the chart axis. * * @param cats - An array of category label strings. */ categories(cats: string[]): this; /** * Add a data series to the chart. * * @param name - The series name (shown in the legend). * @param values - The numeric data values for this series. * @param color - Optional color hex string for the series. */ addSeries(name: string, values: number[], color?: string): this; /** * Give the most recently added series a gradient fill instead of a solid * colour (`c:ser/c:spPr/a:gradFill`). Area-filled chart types only; * {@link ChartBuilder.build | .build()} throws for line-drawn ones. * * @param gradient - Stops plus a linear angle or a radial focal point. * @throws {Error} If no series has been added yet. * * @example * ```ts * ChartBuilder.create("bar") * .categories(["Q1", "Q2"]) * .addSeries("Revenue", [100, 150]) * .gradient({ angle: 90, stops: [ * { color: "#60A5FA", position: 0 }, * { color: "#1E3A8A", position: 100 }, * ] }) * .build(); * ``` */ gradient(gradient: ChartGradientInput): this; /** * Set the chart title. * * @param title - The title text displayed above the chart. */ title(title: string): this; /** * Configure the chart legend visibility and position. * * @param show - Whether to show the legend. * @param position - Legend position: "t" (top), "b" (bottom), "l" (left), * "r" (right), or "tr" (top-right). */ legend(show: boolean, position?: 't' | 'b' | 'l' | 'r' | 'tr'): this; /** * Set the bar/column grouping mode. * * @param mode - One of "clustered", "stacked", or "percentStacked". */ grouping(mode: 'clustered' | 'stacked' | 'percentStacked'): this; /** * Build the final {@link ChartPptxElement}. * * Delegates to {@link createChartElement} with the accumulated data and options. * * @returns A fully constructed chart element ready for insertion into a slide. */ build(): ChartPptxElement; } //#endregion //#region src/pptx/core/builders/sdk/ConnectorBuilder.d.ts /** * Fluent builder for {@link ConnectorPptxElement} instances. * * @example * ```ts * const el = ConnectorBuilder.create() * .type("curved") * .stroke({ color: "#FF0000", width: 2 }) * .endArrow("triangle") * .from("shp_1", 2).to("shp_2", 0) * .position(100, 100).size(300, 0) * .build(); * ``` */ export declare class ConnectorBuilder { private _options; private constructor(); /** * Create a new ConnectorBuilder. * * @returns A new {@link ConnectorBuilder} instance. */ static create(): ConnectorBuilder; /** * Set the element position (top-left corner) in pixels. * * @param x - Horizontal offset from the left edge of the slide. * @param y - Vertical offset from the top edge of the slide. */ position(x: number, y: number): this; /** * Set the element dimensions in pixels. * * For connectors, the width and height define the bounding box of the line. * * @param width - Element width. * @param height - Element height. */ size(width: number, height: number): this; /** * Set position and size in a single call. * * @param x - Horizontal offset. * @param y - Vertical offset. * @param width - Element width. * @param height - Element height. */ bounds(x: number, y: number, width: number, height: number): this; /** * Set the rotation angle in degrees. * * @param degrees - Clockwise rotation in degrees. */ rotation(degrees: number): this; /** * Set the connector line type. * * @param connType - One of "straight", "bent", or "curved". */ type(connType: 'straight' | 'bent' | 'curved'): this; /** * Set the connector line stroke style. * * @param input - A {@link StrokeInput} descriptor. */ stroke(input: StrokeInput): this; /** * Set the arrowhead at the start of the connector. * * @param arrow - The arrow type (e.g. "triangle", "stealth", "oval", "none"). */ startArrow(arrow: ConnectorArrowType): this; /** * Set the arrowhead at the end of the connector. * * @param arrow - The arrow type (e.g. "triangle", "stealth", "oval", "none"). */ endArrow(arrow: ConnectorArrowType): this; /** * Connect the start of the connector to a shape. * * @param elementId - The ID of the target element. * @param site - The connection site index on the target shape. */ from(elementId: string, site: number): this; /** * Connect the end of the connector to a shape. * * @param elementId - The ID of the target element. * @param site - The connection site index on the target shape. */ to(elementId: string, site: number): this; /** * Build the final {@link ConnectorPptxElement}. * * Delegates to {@link createConnectorElement} with the accumulated options. * * @returns A fully constructed connector element ready for insertion into a slide. */ build(): ConnectorPptxElement; } //#endregion //#region src/pptx/core/builders/sdk/MediaBuilder.d.ts /** * Fluent builder for {@link MediaPptxElement} instances. * * @example * ```ts * const el = MediaBuilder.video("data:video/mp4;base64,...") * .position(100, 100).size(640, 360) * .autoPlay().loop() * .build(); * ``` */ export declare class MediaBuilder { private _mediaType; private _source; private _options; private constructor(); /** * Create a MediaBuilder for a video element. * * @param source - Data URL or archive path for the video file. * @returns A new {@link MediaBuilder} instance configured for video. * * @example * ```ts * const video = MediaBuilder.video("data:video/mp4;base64,...").build(); * ``` */ static video(source: string): MediaBuilder; /** * Create a MediaBuilder for an audio element. * * @param source - Data URL or archive path for the audio file. * @returns A new {@link MediaBuilder} instance configured for audio. * * @example * ```ts * const audio = MediaBuilder.audio("data:audio/mp3;base64,...").build(); * ``` */ static audio(source: string): MediaBuilder; /** * Create a MediaBuilder for the given media type and source. * * @param mediaType - Either `"video"` or `"audio"`. * @param source - Data URL or archive path for the media file. * @returns A new {@link MediaBuilder} instance. * * @example * ```ts * const media = MediaBuilder.create("video", "ppt/media/video1.mp4").build(); * ``` */ static create(mediaType: 'video' | 'audio', source: string): MediaBuilder; /** * Set the element position (top-left corner) in pixels. * * @param x - Horizontal offset from the left edge of the slide. * @param y - Vertical offset from the top edge of the slide. * @returns The builder instance for chaining. * * @example * ```ts * MediaBuilder.video("...").position(50, 100).build(); * ``` */ position(x: number, y: number): this; /** * Set the element dimensions in pixels. * * @param width - Element width. * @param height - Element height. * @returns The builder instance for chaining. * * @example * ```ts * MediaBuilder.video("...").size(640, 360).build(); * ``` */ size(width: number, height: number): this; /** * Set position and size in a single call. * * @param x - Horizontal offset. * @param y - Vertical offset. * @param width - Element width. * @param height - Element height. * @returns The builder instance for chaining. * * @example * ```ts * MediaBuilder.video("...").bounds(50, 100, 640, 360).build(); * ``` */ bounds(x: number, y: number, width: number, height: number): this; /** * Set the rotation angle in degrees. * * @param degrees - Clockwise rotation in degrees. * @returns The builder instance for chaining. * * @example * ```ts * MediaBuilder.video("...").rotation(90).build(); * ``` */ rotation(degrees: number): this; /** * Enable or disable auto-play on slide entry. * * @param enabled - Pass `false` to disable; defaults to `true`. * @returns The builder instance for chaining. * * @example * ```ts * MediaBuilder.video("...").autoPlay().build(); * ``` */ autoPlay(enabled?: boolean): this; /** * Enable or disable looping playback. * * @param enabled - Pass `false` to disable; defaults to `true`. * @returns The builder instance for chaining. * * @example * ```ts * MediaBuilder.audio("...").loop().build(); * ``` */ loop(enabled?: boolean): this; /** * Set the playback volume. * * @param value - Volume level (typically 0 to 1, or a percentage value). * @returns The builder instance for chaining. * * @example * ```ts * MediaBuilder.audio("...").volume(0.5).build(); * ``` */ volume(value: number): this; /** * Set the trim start and end times in milliseconds. * * Trims the media to play only the segment between `startMs` and `endMs`. * * @param startMs - Start time in milliseconds. * @param endMs - End time in milliseconds. * @returns The builder instance for chaining. * * @example * ```ts * MediaBuilder.video("...").trim(1000, 5000).build(); * ``` */ trim(startMs: number, endMs: number): this; /** * Set a poster frame (thumbnail) for the media element. * * @param dataUrl - A data URL for the poster frame image. * @returns The builder instance for chaining. * * @example * ```ts * MediaBuilder.video("...") * .posterFrame("data:image/png;base64,...") * .build(); * ``` */ posterFrame(dataUrl: string): this; /** * Build the final {@link MediaPptxElement}. * * Delegates to {@link createMediaElement} with the accumulated options. * * @returns A fully constructed media element ready for insertion into a slide. * * @example * ```ts * const el = MediaBuilder.video("data:video/mp4;base64,...") * .position(100, 100).size(640, 360) * .autoPlay() * .build(); * ``` */ build(): MediaPptxElement; } //#endregion //#region src/pptx/core/builders/sdk/GroupBuilder.d.ts /** * Fluent builder for {@link GroupPptxElement} instances. * * @example * ```ts * const el = GroupBuilder.create() * .addChild(ShapeBuilder.create("rect").solidFill("#FF0000").build()) * .addChildBuilder(TextBuilder.create("Label").fontSize(18)) * .position(100, 100).size(400, 300) * .build(); * ``` */ export declare class GroupBuilder { private _children; private _options; private constructor(); /** * Create a new empty GroupBuilder. * * @returns A new {@link GroupBuilder} instance with no children. * * @example * ```ts * const group = GroupBuilder.create() * .addChild(someElement) * .build(); * ``` */ static create(): GroupBuilder; /** * Set the element position (top-left corner) in pixels. * * @param x - Horizontal offset from the left edge of the slide. * @param y - Vertical offset from the top edge of the slide. * @returns The builder instance for chaining. * * @example * ```ts * GroupBuilder.create().position(50, 100).build(); * ``` */ position(x: number, y: number): this; /** * Set the element dimensions in pixels. * * @param width - Element width. * @param height - Element height. * @returns The builder instance for chaining. * * @example * ```ts * GroupBuilder.create().size(400, 300).build(); * ``` */ size(width: number, height: number): this; /** * Set position and size in a single call. * * @param x - Horizontal offset. * @param y - Vertical offset. * @param width - Element width. * @param height - Element height. * @returns The builder instance for chaining. * * @example * ```ts * GroupBuilder.create().bounds(50, 100, 400, 300).build(); * ``` */ bounds(x: number, y: number, width: number, height: number): this; /** * Set the rotation angle in degrees. * * @param degrees - Clockwise rotation in degrees. * @returns The builder instance for chaining. * * @example * ```ts * GroupBuilder.create().rotation(45).build(); * ``` */ rotation(degrees: number): this; /** * Add a pre-built element as a child. * * @param element - A fully constructed {@link PptxElement} to include in the group. * @returns The builder instance for chaining. * * @example * ```ts * const shape = ShapeBuilder.create("rect").solidFill("#FF0000").build(); * GroupBuilder.create().addChild(shape).build(); * ``` */ addChild(element: PptxElement): this; /** * Add a child from any element builder (calls `.build()` for you). * * Accepts any object with a `build()` method that returns a {@link PptxElement}, * such as {@link TextBuilder}, {@link ShapeBuilder}, {@link ImageBuilder}, etc. * * @param builder - An element builder with a `.build()` method. * @returns The builder instance for chaining. * * @example * ```ts * GroupBuilder.create() * .addChildBuilder(TextBuilder.create("Hello").fontSize(24)) * .addChildBuilder(ShapeBuilder.create("rect").solidFill("#00FF00")) * .build(); * ``` */ addChildBuilder(builder: { build(): PptxElement; }): this; /** * Add multiple pre-built elements as children. * * @param elements - An array of {@link PptxElement} instances to include in the group. * @returns The builder instance for chaining. * * @example * ```ts * const shapes = [shape1, shape2, shape3]; * GroupBuilder.create().addChildren(shapes).build(); * ``` */ addChildren(elements: PptxElement[]): this; /** * Build the final {@link GroupPptxElement}. * * Delegates to {@link createGroupElement} with the accumulated children and options. * * @returns A fully constructed group element ready for insertion into a slide. * * @example * ```ts * const el = GroupBuilder.create() * .addChildBuilder(ShapeBuilder.create("ellipse").solidFill("#4472C4")) * .addChildBuilder(TextBuilder.create("Label").fontSize(14)) * .position(100, 100).size(400, 300) * .build(); * ``` */ build(): GroupPptxElement; } //#endregion //#region src/units/constants.d.ts /** English Metric Units per CSS pixel at 96 dpi. */ export declare const EMU_PER_PIXEL = 9525; /** English Metric Units per point (1/72 inch). */ export declare const EMU_PER_POINT = 12700; /** English Metric Units per inch. */ export declare const EMU_PER_INCH = 914400; //#endregion //#region src/pptx/core/builders/sdk/units.d.ts /** Convert inches to pixels. */ export declare function inches(value: number): number; /** Convert centimetres to pixels. */ export declare function cm(value: number): number; /** Convert millimetres to pixels. */ export declare function mm(value: number): number; /** Convert points to pixels. */ export declare function pt(value: number): number; /** Convert EMU to pixels. */ export declare function emuToPixels(emu: number): number; /** Convert pixels to EMU. */ export declare function pixelsToEmu(px: number): number; /** Convert inches to EMU (for PresentationOptions width/height). */ export declare function inchesToEmu(value: number): number; /** Convert centimetres to EMU. */ export declare function cmToEmu(value: number): number; /** Standard slide dimensions in EMU. */ export declare const SlideSizes: { /** 16:9 Widescreen (13.333 x 7.5 in) - Default for modern PowerPoint */ readonly WIDESCREEN_16_9: { readonly width: 12192000; readonly height: 6858000; }; /** 4:3 Standard (10 x 7.5 in) - Classic PowerPoint size */ readonly STANDARD_4_3: { readonly width: 9144000; readonly height: 6858000; }; /** 16:10 Widescreen (10 x 6.25 in) */ readonly WIDESCREEN_16_10: { readonly width: 9144000; readonly height: 5715000; }; /** A4 landscape (11.693 x 8.268 in) */ readonly A4_LANDSCAPE: { readonly width: 10692000; readonly height: 7560937; }; /** A4 portrait (8.268 x 11.693 in) */ readonly A4_PORTRAIT: { readonly width: 7560937; readonly height: 10692000; }; /** US Letter landscape (11 x 8.5 in) */ readonly LETTER_LANDSCAPE: { readonly width: 10058400; readonly height: 7772400; }; /** US Letter portrait (8.5 x 11 in) */ readonly LETTER_PORTRAIT: { readonly width: 7772400; readonly height: 10058400; }; }; //#endregion //#region src/pptx/core/builders/sdk/theme-presets.d.ts /** A single theme preset definition. */ interface ThemePreset extends PresentationThemeInput { name: string; colors: Required>; fonts: Required>; } /** Pre-built theme presets. */ export declare const ThemePresets: { /** Default Office theme (Calibri, blue accent palette). */ readonly OFFICE: { readonly name: "Office Theme"; readonly colors: { readonly dk1: "#000000"; readonly lt1: "#FFFFFF"; readonly dk2: "#44546A"; readonly lt2: "#E7E6E6"; readonly accent1: "#4472C4"; readonly accent2: "#ED7D31"; readonly accent3: "#A5A5A5"; readonly accent4: "#FFC000"; readonly accent5: "#5B9BD5"; readonly accent6: "#70AD47"; readonly hlink: "#0563C1"; readonly folHlink: "#954F72"; }; readonly fonts: { readonly majorFont: "Calibri Light"; readonly minorFont: "Calibri"; }; }; /** Modern blue - clean, professional look. */ readonly MODERN_BLUE: { readonly name: "Modern Blue"; readonly colors: { readonly dk1: "#1B2A4A"; readonly lt1: "#FFFFFF"; readonly dk2: "#2C3E6B"; readonly lt2: "#F0F4F8"; readonly accent1: "#2563EB"; readonly accent2: "#3B82F6"; readonly accent3: "#60A5FA"; readonly accent4: "#93C5FD"; readonly accent5: "#1D4ED8"; readonly accent6: "#1E40AF"; readonly hlink: "#2563EB"; readonly folHlink: "#7C3AED"; }; readonly fonts: { readonly majorFont: "Inter"; readonly minorFont: "Inter"; }; }; /** Warm earth tones. */ readonly EARTH: { readonly name: "Earth"; readonly colors: { readonly dk1: "#2D1B0E"; readonly lt1: "#FFF8F0"; readonly dk2: "#4A3728"; readonly lt2: "#F5EDE4"; readonly accent1: "#B45309"; readonly accent2: "#D97706"; readonly accent3: "#92400E"; readonly accent4: "#78716C"; readonly accent5: "#059669"; readonly accent6: "#0D9488"; readonly hlink: "#B45309"; readonly folHlink: "#7C2D12"; }; readonly fonts: { readonly majorFont: "Georgia"; readonly minorFont: "Georgia"; }; }; /** High contrast monochrome. */ readonly MONOCHROME: { readonly name: "Monochrome"; readonly colors: { readonly dk1: "#000000"; readonly lt1: "#FFFFFF"; readonly dk2: "#1A1A1A"; readonly lt2: "#F5F5F5"; readonly accent1: "#333333"; readonly accent2: "#555555"; readonly accent3: "#777777"; readonly accent4: "#999999"; readonly accent5: "#BBBBBB"; readonly accent6: "#DDDDDD"; readonly hlink: "#0066CC"; readonly folHlink: "#551A8B"; }; readonly fonts: { readonly majorFont: "Helvetica Neue"; readonly minorFont: "Helvetica Neue"; }; }; /** Vibrant and energetic. */ readonly VIBRANT: { readonly name: "Vibrant"; readonly colors: { readonly dk1: "#1A1A2E"; readonly lt1: "#FFFFFF"; readonly dk2: "#16213E"; readonly lt2: "#F8F9FA"; readonly accent1: "#E94560"; readonly accent2: "#0F3460"; readonly accent3: "#533483"; readonly accent4: "#F9A826"; readonly accent5: "#2ECC71"; readonly accent6: "#3498DB"; readonly hlink: "#E94560"; readonly folHlink: "#533483"; }; readonly fonts: { readonly majorFont: "Montserrat"; readonly minorFont: "Open Sans"; }; }; /** Professional corporate look. */ readonly CORPORATE: { readonly name: "Corporate"; readonly colors: { readonly dk1: "#003366"; readonly lt1: "#FFFFFF"; readonly dk2: "#1A3A5C"; readonly lt2: "#EEF2F7"; readonly accent1: "#0056A3"; readonly accent2: "#00875A"; readonly accent3: "#CF4500"; readonly accent4: "#6B778C"; readonly accent5: "#004C97"; readonly accent6: "#006644"; readonly hlink: "#0056A3"; readonly folHlink: "#403294"; }; readonly fonts: { readonly majorFont: "Arial"; readonly minorFont: "Arial"; }; }; /** Minimalist with soft pastels. */ readonly MINIMAL: { readonly name: "Minimal"; readonly colors: { readonly dk1: "#2D3436"; readonly lt1: "#FFFFFF"; readonly dk2: "#636E72"; readonly lt2: "#F9FAFB"; readonly accent1: "#6C5CE7"; readonly accent2: "#A29BFE"; readonly accent3: "#74B9FF"; readonly accent4: "#55EFC4"; readonly accent5: "#FFEAA7"; readonly accent6: "#FAB1A0"; readonly hlink: "#6C5CE7"; readonly folHlink: "#A29BFE"; }; readonly fonts: { readonly majorFont: "SF Pro Display"; readonly minorFont: "SF Pro Text"; }; }; /** Dark mode theme. */ readonly DARK: { readonly name: "Dark"; readonly colors: { readonly dk1: "#E4E4E7"; readonly lt1: "#18181B"; readonly dk2: "#A1A1AA"; readonly lt2: "#27272A"; readonly accent1: "#3B82F6"; readonly accent2: "#8B5CF6"; readonly accent3: "#EC4899"; readonly accent4: "#F59E0B"; readonly accent5: "#10B981"; readonly accent6: "#06B6D4"; readonly hlink: "#60A5FA"; readonly folHlink: "#A78BFA"; }; readonly fonts: { readonly majorFont: "Inter"; readonly minorFont: "Inter"; }; }; }; /** Type representing the names of available theme presets. */ type ThemePresetName = keyof typeof ThemePresets; /** Get a theme preset by name string. */ export declare function getThemePreset(name: ThemePresetName): ThemePreset; //#endregion //#region src/pptx/core/openxml/openxml-coverage.d.ts export type OpenXmlCoverageLevel = 'native' | 'partial' | 'passthrough' | 'unsupported' | 'unassessed'; export type OpenXmlCoverageFacet = 'parse' | 'preserve' | 'edit' | 'serialize'; export interface OpenXmlCoverageEvidence { /** Test file path, written relative to the pptx area root with a leading `src/` (the original packages/core layout). */ test: string; /** Exact test-name fragments that must remain present in the referenced file. */ anchors: readonly string[]; /** Coverage facets exercised by the referenced scenarios. */ facets: readonly OpenXmlCoverageFacet[]; } export interface OpenXmlConstructCoverage { id: string; vocabulary: 'presentation' | 'drawing' | 'chart' | 'diagram'; kind: 'element' | 'complexType' | 'simpleType' | 'attribute' | 'group' | 'attributeGroup'; name: string; conformance: 'strict' | 'transitional' | 'both'; parse: OpenXmlCoverageLevel; preserve: OpenXmlCoverageLevel; edit: OpenXmlCoverageLevel; serialize: OpenXmlCoverageLevel; note?: string; evidence: readonly OpenXmlCoverageEvidence[]; } export type OpenXmlVocabulary = OpenXmlConstructCoverage['vocabulary']; export interface OpenXmlCoverageSummary { constructs: number; facets: Record; } export type OpenXmlCoverageFacets = Pick & { note?: string; evidence: readonly OpenXmlCoverageEvidence[]; }; /** * Strict-schema inventory for PPTX-relevant PresentationML and DrawingML. * Entries are never inferred as supported: unreviewed constructs stay unassessed. */ export declare const OPENXML_COVERAGE: readonly OpenXmlConstructCoverage[]; export declare function findOpenXmlCoverage(id: string): OpenXmlConstructCoverage | undefined; export declare function summarizeOpenXmlCoverage(): Record; export declare function summarizeOpenXmlCoverageByVocabulary(): Record; export declare function listUnassessedOpenXmlCoverage(vocabulary?: OpenXmlVocabulary): OpenXmlConstructCoverage[]; //#endregion //#region src/pptx/core/openxml/schema-constructs-strict.generated.d.ts /** Generated from the ECMA-376 5th edition Strict XSD set. */ export declare const OPENXML_STRICT_SCHEMA_CONSTRUCT_IDS: readonly ["chart:attribute:alignWithMargins", "chart:attribute:b", "chart:attribute:blackAndWhite", "chart:attribute:copies", "chart:attribute:differentFirst", "chart:attribute:differentOddEven", "chart:attribute:draft", "chart:attribute:firstPageNumber", "chart:attribute:footer", "chart:attribute:formatCode", "chart:attribute:header", "chart:attribute:horizontalDpi", "chart:attribute:idx", "chart:attribute:l", "chart:attribute:orientation", "chart:attribute:paperHeight", "chart:attribute:paperSize", "chart:attribute:paperWidth", "chart:attribute:r", "chart:attribute:sourceLinked", "chart:attribute:t", "chart:attribute:uri", "chart:attribute:useFirstPageNumber", "chart:attribute:val", "chart:attribute:verticalDpi", "chart:complexType:CT_Area3DChart", "chart:complexType:CT_AreaChart", "chart:complexType:CT_AreaSer", "chart:complexType:CT_AxDataSource", "chart:complexType:CT_AxPos", "chart:complexType:CT_AxisUnit", "chart:complexType:CT_BandFmt", "chart:complexType:CT_BandFmts", "chart:complexType:CT_Bar3DChart", "chart:complexType:CT_BarChart", "chart:complexType:CT_BarDir", "chart:complexType:CT_BarGrouping", "chart:complexType:CT_BarSer", "chart:complexType:CT_Boolean", "chart:complexType:CT_BubbleChart", "chart:complexType:CT_BubbleScale", "chart:complexType:CT_BubbleSer", "chart:complexType:CT_BuiltInUnit", "chart:complexType:CT_CatAx", "chart:complexType:CT_Chart", "chart:complexType:CT_ChartLines", "chart:complexType:CT_ChartSpace", "chart:complexType:CT_CrossBetween", "chart:complexType:CT_Crosses", "chart:complexType:CT_CustSplit", "chart:complexType:CT_DLbl", "chart:complexType:CT_DLblPos", "chart:complexType:CT_DLbls", "chart:complexType:CT_DPt", "chart:complexType:CT_DTable", "chart:complexType:CT_DateAx", "chart:complexType:CT_DepthPercent", "chart:complexType:CT_DispBlanksAs", "chart:complexType:CT_DispUnits", "chart:complexType:CT_DispUnitsLbl", "chart:complexType:CT_Double", "chart:complexType:CT_DoughnutChart", "chart:complexType:CT_ErrBarType", "chart:complexType:CT_ErrBars", "chart:complexType:CT_ErrDir", "chart:complexType:CT_ErrValType", "chart:complexType:CT_Extension", "chart:complexType:CT_ExtensionList", "chart:complexType:CT_ExternalData", "chart:complexType:CT_FirstSliceAng", "chart:complexType:CT_GapAmount", "chart:complexType:CT_Grouping", "chart:complexType:CT_HPercent", "chart:complexType:CT_HeaderFooter", "chart:complexType:CT_HoleSize", "chart:complexType:CT_Layout", "chart:complexType:CT_LayoutMode", "chart:complexType:CT_LayoutTarget", "chart:complexType:CT_LblAlgn", "chart:complexType:CT_LblOffset", "chart:complexType:CT_Legend", "chart:complexType:CT_LegendEntry", "chart:complexType:CT_LegendPos", "chart:complexType:CT_Line3DChart", "chart:complexType:CT_LineChart", "chart:complexType:CT_LineSer", "chart:complexType:CT_LogBase", "chart:complexType:CT_Lvl", "chart:complexType:CT_ManualLayout", "chart:complexType:CT_Marker", "chart:complexType:CT_MarkerSize", "chart:complexType:CT_MarkerStyle", "chart:complexType:CT_MultiLvlStrData", "chart:complexType:CT_MultiLvlStrRef", "chart:complexType:CT_NumData", "chart:complexType:CT_NumDataSource", "chart:complexType:CT_NumFmt", "chart:complexType:CT_NumRef", "chart:complexType:CT_NumVal", "chart:complexType:CT_OfPieChart", "chart:complexType:CT_OfPieType", "chart:complexType:CT_Order", "chart:complexType:CT_Orientation", "chart:complexType:CT_Overlap", "chart:complexType:CT_PageMargins", "chart:complexType:CT_PageSetup", "chart:complexType:CT_Period", "chart:complexType:CT_Perspective", "chart:complexType:CT_PictureFormat", "chart:complexType:CT_PictureOptions", "chart:complexType:CT_PictureStackUnit", "chart:complexType:CT_Pie3DChart", "chart:complexType:CT_PieChart", "chart:complexType:CT_PieSer", "chart:complexType:CT_PivotFmt", "chart:complexType:CT_PivotFmts", "chart:complexType:CT_PivotSource", "chart:complexType:CT_PlotArea", "chart:complexType:CT_PrintSettings", "chart:complexType:CT_Protection", "chart:complexType:CT_RadarChart", "chart:complexType:CT_RadarSer", "chart:complexType:CT_RadarStyle", "chart:complexType:CT_RelId", "chart:complexType:CT_RotX", "chart:complexType:CT_RotY", "chart:complexType:CT_Scaling", "chart:complexType:CT_ScatterChart", "chart:complexType:CT_ScatterSer", "chart:complexType:CT_ScatterStyle", "chart:complexType:CT_SecondPieSize", "chart:complexType:CT_SerAx", "chart:complexType:CT_SerTx", "chart:complexType:CT_Shape", "chart:complexType:CT_SizeRepresents", "chart:complexType:CT_Skip", "chart:complexType:CT_SplitType", "chart:complexType:CT_StockChart", "chart:complexType:CT_StrData", "chart:complexType:CT_StrRef", "chart:complexType:CT_StrVal", "chart:complexType:CT_Style", "chart:complexType:CT_Surface", "chart:complexType:CT_Surface3DChart", "chart:complexType:CT_SurfaceChart", "chart:complexType:CT_SurfaceSer", "chart:complexType:CT_TextLanguageID", "chart:complexType:CT_Thickness", "chart:complexType:CT_TickLblPos", "chart:complexType:CT_TickMark", "chart:complexType:CT_TimeUnit", "chart:complexType:CT_Title", "chart:complexType:CT_Trendline", "chart:complexType:CT_TrendlineLbl", "chart:complexType:CT_TrendlineType", "chart:complexType:CT_Tx", "chart:complexType:CT_UnsignedInt", "chart:complexType:CT_UpDownBar", "chart:complexType:CT_UpDownBars", "chart:complexType:CT_ValAx", "chart:complexType:CT_View3D", "chart:element:applyToEnd", "chart:element:applyToFront", "chart:element:applyToSides", "chart:element:area3DChart", "chart:element:areaChart", "chart:element:auto", "chart:element:autoTitleDeleted", "chart:element:autoUpdate", "chart:element:axId", "chart:element:axPos", "chart:element:backWall", "chart:element:backward", "chart:element:bandFmt", "chart:element:bandFmts", "chart:element:bar3DChart", "chart:element:barChart", "chart:element:barDir", "chart:element:baseTimeUnit", "chart:element:bubble3D", "chart:element:bubbleChart", "chart:element:bubbleScale", "chart:element:bubbleSize", "chart:element:builtInUnit", "chart:element:cat", "chart:element:catAx", "chart:element:chart", "chart:element:chartObject", "chart:element:chartSpace", "chart:element:clrMapOvr", "chart:element:crossAx", "chart:element:crossBetween", "chart:element:crosses", "chart:element:crossesAt", "chart:element:custSplit", "chart:element:custUnit", "chart:element:dLbl", "chart:element:dLblPos", "chart:element:dLbls", "chart:element:dPt", "chart:element:dTable", "chart:element:data", "chart:element:date1904", "chart:element:dateAx", "chart:element:delete", "chart:element:depthPercent", "chart:element:dispBlanksAs", "chart:element:dispEq", "chart:element:dispRSqr", "chart:element:dispUnits", "chart:element:dispUnitsLbl", "chart:element:doughnutChart", "chart:element:downBars", "chart:element:dropLines", "chart:element:errBarType", "chart:element:errBars", "chart:element:errDir", "chart:element:errValType", "chart:element:evenFooter", "chart:element:evenHeader", "chart:element:explosion", "chart:element:ext", "chart:element:extLst", "chart:element:externalData", "chart:element:f", "chart:element:firstFooter", "chart:element:firstHeader", "chart:element:firstSliceAng", "chart:element:floor", "chart:element:fmtId", "chart:element:formatCode", "chart:element:formatting", "chart:element:forward", "chart:element:gapDepth", "chart:element:gapWidth", "chart:element:grouping", "chart:element:h", "chart:element:hMode", "chart:element:hPercent", "chart:element:headerFooter", "chart:element:hiLowLines", "chart:element:holeSize", "chart:element:idx", "chart:element:intercept", "chart:element:invertIfNegative", "chart:element:lang", "chart:element:layout", "chart:element:layoutTarget", "chart:element:lblAlgn", "chart:element:lblOffset", "chart:element:leaderLines", "chart:element:legend", "chart:element:legendEntry", "chart:element:legendPos", "chart:element:line3DChart", "chart:element:lineChart", "chart:element:logBase", "chart:element:lvl", "chart:element:majorGridlines", "chart:element:majorTickMark", "chart:element:majorTimeUnit", "chart:element:majorUnit", "chart:element:manualLayout", "chart:element:marker", "chart:element:max", "chart:element:min", "chart:element:minorGridlines", "chart:element:minorTickMark", "chart:element:minorTimeUnit", "chart:element:minorUnit", "chart:element:minus", "chart:element:multiLvlStrCache", "chart:element:multiLvlStrRef", "chart:element:name", "chart:element:noEndCap", "chart:element:noMultiLvlLbl", "chart:element:numCache", "chart:element:numFmt", "chart:element:numLit", "chart:element:numRef", "chart:element:oddFooter", "chart:element:oddHeader", "chart:element:ofPieChart", "chart:element:ofPieType", "chart:element:order", "chart:element:orientation", "chart:element:overlap", "chart:element:overlay", "chart:element:pageMargins", "chart:element:pageSetup", "chart:element:period", "chart:element:perspective", "chart:element:pictureFormat", "chart:element:pictureOptions", "chart:element:pictureStackUnit", "chart:element:pie3DChart", "chart:element:pieChart", "chart:element:pivotFmt", "chart:element:pivotFmts", "chart:element:pivotSource", "chart:element:plotArea", "chart:element:plotVisOnly", "chart:element:plus", "chart:element:printSettings", "chart:element:protection", "chart:element:pt", "chart:element:ptCount", "chart:element:rAngAx", "chart:element:radarChart", "chart:element:radarStyle", "chart:element:rich", "chart:element:rotX", "chart:element:rotY", "chart:element:roundedCorners", "chart:element:scaling", "chart:element:scatterChart", "chart:element:scatterStyle", "chart:element:secondPiePt", "chart:element:secondPieSize", "chart:element:selection", "chart:element:separator", "chart:element:ser", "chart:element:serAx", "chart:element:serLines", "chart:element:shape", "chart:element:showBubbleSize", "chart:element:showCatName", "chart:element:showDLblsOverMax", "chart:element:showHorzBorder", "chart:element:showKeys", "chart:element:showLeaderLines", "chart:element:showLegendKey", "chart:element:showNegBubbles", "chart:element:showOutline", "chart:element:showPercent", "chart:element:showSerName", "chart:element:showVal", "chart:element:showVertBorder", "chart:element:sideWall", "chart:element:size", "chart:element:sizeRepresents", "chart:element:smooth", "chart:element:spPr", "chart:element:splitPos", "chart:element:splitType", "chart:element:stockChart", "chart:element:strCache", "chart:element:strLit", "chart:element:strRef", "chart:element:style", "chart:element:surface3DChart", "chart:element:surfaceChart", "chart:element:symbol", "chart:element:thickness", "chart:element:tickLblPos", "chart:element:tickLblSkip", "chart:element:tickMarkSkip", "chart:element:title", "chart:element:trendline", "chart:element:trendlineLbl", "chart:element:trendlineType", "chart:element:tx", "chart:element:txPr", "chart:element:upBars", "chart:element:upDownBars", "chart:element:userInterface", "chart:element:userShapes", "chart:element:v", "chart:element:val", "chart:element:valAx", "chart:element:varyColors", "chart:element:view3D", "chart:element:w", "chart:element:wMode", "chart:element:wireframe", "chart:element:x", "chart:element:xMode", "chart:element:xVal", "chart:element:y", "chart:element:yMode", "chart:element:yVal", "chart:group:EG_AreaChartShared", "chart:group:EG_AxShared", "chart:group:EG_BarChartShared", "chart:group:EG_DLblShared", "chart:group:EG_LegendEntryData", "chart:group:EG_LineChartShared", "chart:group:EG_PieChartShared", "chart:group:EG_SerShared", "chart:group:EG_SurfaceChartShared", "chart:group:Group_DLbl", "chart:group:Group_DLbls", "chart:simpleType:ST_AxPos", "chart:simpleType:ST_AxisUnit", "chart:simpleType:ST_BarDir", "chart:simpleType:ST_BarGrouping", "chart:simpleType:ST_BubbleScale", "chart:simpleType:ST_BubbleScalePercent", "chart:simpleType:ST_BuiltInUnit", "chart:simpleType:ST_CrossBetween", "chart:simpleType:ST_Crosses", "chart:simpleType:ST_DLblPos", "chart:simpleType:ST_DepthPercent", "chart:simpleType:ST_DepthPercentWithSymbol", "chart:simpleType:ST_DispBlanksAs", "chart:simpleType:ST_ErrBarType", "chart:simpleType:ST_ErrDir", "chart:simpleType:ST_ErrValType", "chart:simpleType:ST_FirstSliceAng", "chart:simpleType:ST_GapAmount", "chart:simpleType:ST_GapAmountPercent", "chart:simpleType:ST_Grouping", "chart:simpleType:ST_HPercent", "chart:simpleType:ST_HPercentWithSymbol", "chart:simpleType:ST_HoleSize", "chart:simpleType:ST_HoleSizePercent", "chart:simpleType:ST_LayoutMode", "chart:simpleType:ST_LayoutTarget", "chart:simpleType:ST_LblAlgn", "chart:simpleType:ST_LblOffset", "chart:simpleType:ST_LblOffsetPercent", "chart:simpleType:ST_LegendPos", "chart:simpleType:ST_LogBase", "chart:simpleType:ST_MarkerSize", "chart:simpleType:ST_MarkerStyle", "chart:simpleType:ST_OfPieType", "chart:simpleType:ST_Order", "chart:simpleType:ST_Orientation", "chart:simpleType:ST_Overlap", "chart:simpleType:ST_OverlapPercent", "chart:simpleType:ST_PageSetupOrientation", "chart:simpleType:ST_Period", "chart:simpleType:ST_Perspective", "chart:simpleType:ST_PictureFormat", "chart:simpleType:ST_PictureStackUnit", "chart:simpleType:ST_RadarStyle", "chart:simpleType:ST_RotX", "chart:simpleType:ST_RotY", "chart:simpleType:ST_ScatterStyle", "chart:simpleType:ST_SecondPieSize", "chart:simpleType:ST_SecondPieSizePercent", "chart:simpleType:ST_Shape", "chart:simpleType:ST_SizeRepresents", "chart:simpleType:ST_Skip", "chart:simpleType:ST_SplitType", "chart:simpleType:ST_Style", "chart:simpleType:ST_Thickness", "chart:simpleType:ST_ThicknessPercent", "chart:simpleType:ST_TickLblPos", "chart:simpleType:ST_TickMark", "chart:simpleType:ST_TimeUnit", "chart:simpleType:ST_TrendlineType", "diagram:attribute:arg", "diagram:attribute:axis", "diagram:attribute:blipPhldr", "diagram:attribute:chOrder", "diagram:attribute:cnt", "diagram:attribute:coherent3DOff", "diagram:attribute:csCatId", "diagram:attribute:csTypeId", "diagram:attribute:custAng", "diagram:attribute:custFlipHor", "diagram:attribute:custFlipVert", "diagram:attribute:custLinFactNeighborX", "diagram:attribute:custLinFactNeighborY", "diagram:attribute:custLinFactX", "diagram:attribute:custLinFactY", "diagram:attribute:custRadScaleInc", "diagram:attribute:custRadScaleRad", "diagram:attribute:custScaleX", "diagram:attribute:custScaleY", "diagram:attribute:custSzX", "diagram:attribute:custSzY", "diagram:attribute:custT", "diagram:attribute:cxnId", "diagram:attribute:defStyle", "diagram:attribute:destId", "diagram:attribute:destOrd", "diagram:attribute:fact", "diagram:attribute:for", "diagram:attribute:forName", "diagram:attribute:func", "diagram:attribute:hideGeom", "diagram:attribute:hideLastTrans", "diagram:attribute:hueDir", "diagram:attribute:idx", "diagram:attribute:lang", "diagram:attribute:lkTxEntry", "diagram:attribute:loCatId", "diagram:attribute:loTypeId", "diagram:attribute:max", "diagram:attribute:meth", "diagram:attribute:minVer", "diagram:attribute:modelId", "diagram:attribute:moveWith", "diagram:attribute:name", "diagram:attribute:op", "diagram:attribute:parTransId", "diagram:attribute:phldr", "diagram:attribute:phldrT", "diagram:attribute:presAssocID", "diagram:attribute:presId", "diagram:attribute:presName", "diagram:attribute:presStyleCnt", "diagram:attribute:presStyleIdx", "diagram:attribute:presStyleLbl", "diagram:attribute:pri", "diagram:attribute:ptType", "diagram:attribute:qsCatId", "diagram:attribute:qsTypeId", "diagram:attribute:ref", "diagram:attribute:refFor", "diagram:attribute:refForName", "diagram:attribute:refPtType", "diagram:attribute:refType", "diagram:attribute:resId", "diagram:attribute:rev", "diagram:attribute:rot", "diagram:attribute:sibTransId", "diagram:attribute:srcId", "diagram:attribute:srcOrd", "diagram:attribute:st", "diagram:attribute:step", "diagram:attribute:styleLbl", "diagram:attribute:type", "diagram:attribute:uniqueId", "diagram:attribute:useDef", "diagram:attribute:val", "diagram:attribute:zOrderOff", "diagram:attributeGroup:AG_ConstraintAttributes", "diagram:attributeGroup:AG_ConstraintRefAttributes", "diagram:attributeGroup:AG_IteratorAttributes", "diagram:complexType:CT_Adj", "diagram:complexType:CT_AdjLst", "diagram:complexType:CT_Algorithm", "diagram:complexType:CT_AnimLvl", "diagram:complexType:CT_AnimOne", "diagram:complexType:CT_BulletEnabled", "diagram:complexType:CT_CTCategories", "diagram:complexType:CT_CTCategory", "diagram:complexType:CT_CTDescription", "diagram:complexType:CT_CTName", "diagram:complexType:CT_CTStyleLabel", "diagram:complexType:CT_Categories", "diagram:complexType:CT_Category", "diagram:complexType:CT_ChildMax", "diagram:complexType:CT_ChildPref", "diagram:complexType:CT_Choose", "diagram:complexType:CT_ColorTransform", "diagram:complexType:CT_ColorTransformHeader", "diagram:complexType:CT_ColorTransformHeaderLst", "diagram:complexType:CT_Colors", "diagram:complexType:CT_Constraint", "diagram:complexType:CT_Constraints", "diagram:complexType:CT_Cxn", "diagram:complexType:CT_CxnList", "diagram:complexType:CT_DataModel", "diagram:complexType:CT_Description", "diagram:complexType:CT_DiagramDefinition", "diagram:complexType:CT_DiagramDefinitionHeader", "diagram:complexType:CT_DiagramDefinitionHeaderLst", "diagram:complexType:CT_Direction", "diagram:complexType:CT_ElemPropSet", "diagram:complexType:CT_ForEach", "diagram:complexType:CT_HierBranchStyle", "diagram:complexType:CT_LayoutNode", "diagram:complexType:CT_LayoutVariablePropertySet", "diagram:complexType:CT_Name", "diagram:complexType:CT_NumericRule", "diagram:complexType:CT_OrgChart", "diagram:complexType:CT_Otherwise", "diagram:complexType:CT_Parameter", "diagram:complexType:CT_PresentationOf", "diagram:complexType:CT_Pt", "diagram:complexType:CT_PtList", "diagram:complexType:CT_RelIds", "diagram:complexType:CT_ResizeHandles", "diagram:complexType:CT_Rules", "diagram:complexType:CT_SDCategories", "diagram:complexType:CT_SDCategory", "diagram:complexType:CT_SDDescription", "diagram:complexType:CT_SDName", "diagram:complexType:CT_SampleData", "diagram:complexType:CT_Shape", "diagram:complexType:CT_StyleDefinition", "diagram:complexType:CT_StyleDefinitionHeader", "diagram:complexType:CT_StyleDefinitionHeaderLst", "diagram:complexType:CT_StyleLabel", "diagram:complexType:CT_TextProps", "diagram:complexType:CT_When", "diagram:element:adj", "diagram:element:adjLst", "diagram:element:alg", "diagram:element:animLvl", "diagram:element:animOne", "diagram:element:bg", "diagram:element:bulletEnabled", "diagram:element:cat", "diagram:element:catLst", "diagram:element:chMax", "diagram:element:chPref", "diagram:element:choose", "diagram:element:clrData", "diagram:element:colorsDef", "diagram:element:colorsDefHdr", "diagram:element:colorsDefHdrLst", "diagram:element:constr", "diagram:element:constrLst", "diagram:element:cxn", "diagram:element:cxnLst", "diagram:element:dataModel", "diagram:element:desc", "diagram:element:dir", "diagram:element:effectClrLst", "diagram:element:else", "diagram:element:extLst", "diagram:element:fillClrLst", "diagram:element:forEach", "diagram:element:hierBranch", "diagram:element:if", "diagram:element:layoutDef", "diagram:element:layoutDefHdr", "diagram:element:layoutDefHdrLst", "diagram:element:layoutNode", "diagram:element:linClrLst", "diagram:element:orgChart", "diagram:element:param", "diagram:element:prSet", "diagram:element:presLayoutVars", "diagram:element:presOf", "diagram:element:pt", "diagram:element:ptLst", "diagram:element:relIds", "diagram:element:resizeHandles", "diagram:element:rule", "diagram:element:ruleLst", "diagram:element:sampData", "diagram:element:scene3d", "diagram:element:shape", "diagram:element:sp3d", "diagram:element:spPr", "diagram:element:style", "diagram:element:styleData", "diagram:element:styleDef", "diagram:element:styleDefHdr", "diagram:element:styleDefHdrLst", "diagram:element:styleLbl", "diagram:element:t", "diagram:element:title", "diagram:element:txEffectClrLst", "diagram:element:txFillClrLst", "diagram:element:txLinClrLst", "diagram:element:txPr", "diagram:element:varLst", "diagram:element:whole", "diagram:simpleType:ST_AlgorithmType", "diagram:simpleType:ST_AnimLvlStr", "diagram:simpleType:ST_AnimOneStr", "diagram:simpleType:ST_ArrowheadStyle", "diagram:simpleType:ST_AutoTextRotation", "diagram:simpleType:ST_AxisType", "diagram:simpleType:ST_AxisTypes", "diagram:simpleType:ST_BendPoint", "diagram:simpleType:ST_BoolOperator", "diagram:simpleType:ST_Booleans", "diagram:simpleType:ST_Breakpoint", "diagram:simpleType:ST_CenterShapeMapping", "diagram:simpleType:ST_ChildAlignment", "diagram:simpleType:ST_ChildDirection", "diagram:simpleType:ST_ChildOrderType", "diagram:simpleType:ST_ClrAppMethod", "diagram:simpleType:ST_ConnectorDimension", "diagram:simpleType:ST_ConnectorPoint", "diagram:simpleType:ST_ConnectorRouting", "diagram:simpleType:ST_ConstraintRelationship", "diagram:simpleType:ST_ConstraintType", "diagram:simpleType:ST_ContinueDirection", "diagram:simpleType:ST_CxnType", "diagram:simpleType:ST_DiagramHorizontalAlignment", "diagram:simpleType:ST_DiagramTextAlignment", "diagram:simpleType:ST_Direction", "diagram:simpleType:ST_ElementType", "diagram:simpleType:ST_ElementTypes", "diagram:simpleType:ST_FallbackDimension", "diagram:simpleType:ST_FlowDirection", "diagram:simpleType:ST_FunctionArgument", "diagram:simpleType:ST_FunctionOperator", "diagram:simpleType:ST_FunctionType", "diagram:simpleType:ST_FunctionValue", "diagram:simpleType:ST_GrowDirection", "diagram:simpleType:ST_HierBranchStyle", "diagram:simpleType:ST_HierarchyAlignment", "diagram:simpleType:ST_HueDir", "diagram:simpleType:ST_Index1", "diagram:simpleType:ST_Ints", "diagram:simpleType:ST_LayoutShapeType", "diagram:simpleType:ST_LinearDirection", "diagram:simpleType:ST_ModelId", "diagram:simpleType:ST_NodeCount", "diagram:simpleType:ST_NodeHorizontalAlignment", "diagram:simpleType:ST_NodeVerticalAlignment", "diagram:simpleType:ST_Offset", "diagram:simpleType:ST_OutputShapeType", "diagram:simpleType:ST_ParameterId", "diagram:simpleType:ST_ParameterVal", "diagram:simpleType:ST_PrSetCustVal", "diagram:simpleType:ST_PtType", "diagram:simpleType:ST_PyramidAccentPosition", "diagram:simpleType:ST_PyramidAccentTextMargin", "diagram:simpleType:ST_ResizeHandlesStr", "diagram:simpleType:ST_RotationPath", "diagram:simpleType:ST_SecondaryChildAlignment", "diagram:simpleType:ST_SecondaryLinearDirection", "diagram:simpleType:ST_StartingElement", "diagram:simpleType:ST_TextAnchorHorizontal", "diagram:simpleType:ST_TextAnchorVertical", "diagram:simpleType:ST_TextBlockDirection", "diagram:simpleType:ST_TextDirection", "diagram:simpleType:ST_UnsignedInts", "diagram:simpleType:ST_VariableType", "diagram:simpleType:ST_VerticalAlignment", "drawing:attribute:a", "drawing:attribute:accent1", "drawing:attribute:accent2", "drawing:attribute:accent3", "drawing:attribute:accent4", "drawing:attribute:accent5", "drawing:attribute:accent6", "drawing:attribute:action", "drawing:attribute:algn", "drawing:attribute:altLang", "drawing:attribute:amt", "drawing:attribute:anchor", "drawing:attribute:anchorCtr", "drawing:attribute:ang", "drawing:attribute:animBg", "drawing:attribute:b", "drawing:attribute:bIns", "drawing:attribute:bandCol", "drawing:attribute:bandRow", "drawing:attribute:baseline", "drawing:attribute:bg1", "drawing:attribute:bg2", "drawing:attribute:bld", "drawing:attribute:bldStep", "drawing:attribute:blend", "drawing:attribute:blurRad", "drawing:attribute:bmk", "drawing:attribute:bright", "drawing:attribute:bwMode", "drawing:attribute:cap", "drawing:attribute:categoryIdx", "drawing:attribute:char", "drawing:attribute:charset", "drawing:attribute:cmpd", "drawing:attribute:compatLnSpc", "drawing:attribute:contentType", "drawing:attribute:contourW", "drawing:attribute:contrast", "drawing:attribute:cstate", "drawing:attribute:cx", "drawing:attribute:cy", "drawing:attribute:d", "drawing:attribute:def", "drawing:attribute:defTabSz", "drawing:attribute:descr", "drawing:attribute:dir", "drawing:attribute:dirty", "drawing:attribute:dist", "drawing:attribute:dpi", "drawing:attribute:dx", "drawing:attribute:dy", "drawing:attribute:dz", "drawing:attribute:eaLnBrk", "drawing:attribute:endA", "drawing:attribute:endPos", "drawing:attribute:endSnd", "drawing:attribute:err", "drawing:attribute:extrusionH", "drawing:attribute:extrusionOk", "drawing:attribute:fadeDir", "drawing:attribute:fill", "drawing:attribute:firstCol", "drawing:attribute:firstRow", "drawing:attribute:flip", "drawing:attribute:flipH", "drawing:attribute:flipV", "drawing:attribute:fmla", "drawing:attribute:folHlink", "drawing:attribute:fontAlgn", "drawing:attribute:fontScale", "drawing:attribute:forceAA", "drawing:attribute:fov", "drawing:attribute:fromWordArt", "drawing:attribute:g", "drawing:attribute:gdRefAng", "drawing:attribute:gdRefR", "drawing:attribute:gdRefX", "drawing:attribute:gdRefY", "drawing:attribute:gridSpan", "drawing:attribute:grow", "drawing:attribute:h", "drawing:attribute:hMerge", "drawing:attribute:hR", "drawing:attribute:hangingPunct", "drawing:attribute:hidden", "drawing:attribute:highlightClick", "drawing:attribute:history", "drawing:attribute:hlink", "drawing:attribute:horzOverflow", "drawing:attribute:hue", "drawing:attribute:i", "drawing:attribute:id", "drawing:attribute:idx", "drawing:attribute:indent", "drawing:attribute:invalidUrl", "drawing:attribute:isComment", "drawing:attribute:kern", "drawing:attribute:kumimoji", "drawing:attribute:kx", "drawing:attribute:ky", "drawing:attribute:l", "drawing:attribute:lIns", "drawing:attribute:lang", "drawing:attribute:lastClr", "drawing:attribute:lastCol", "drawing:attribute:lastRow", "drawing:attribute:lat", "drawing:attribute:latinLnBrk", "drawing:attribute:len", "drawing:attribute:lim", "drawing:attribute:lnSpcReduction", "drawing:attribute:lon", "drawing:attribute:lum", "drawing:attribute:lvl", "drawing:attribute:marB", "drawing:attribute:marL", "drawing:attribute:marR", "drawing:attribute:marT", "drawing:attribute:maxAng", "drawing:attribute:maxR", "drawing:attribute:maxX", "drawing:attribute:maxY", "drawing:attribute:minAng", "drawing:attribute:minR", "drawing:attribute:minX", "drawing:attribute:minY", "drawing:attribute:n", "drawing:attribute:name", "drawing:attribute:noAdjustHandles", "drawing:attribute:noChangeArrowheads", "drawing:attribute:noChangeAspect", "drawing:attribute:noChangeShapeType", "drawing:attribute:noCrop", "drawing:attribute:noDrilldown", "drawing:attribute:noEditPoints", "drawing:attribute:noGrp", "drawing:attribute:noMove", "drawing:attribute:noProof", "drawing:attribute:noResize", "drawing:attribute:noRot", "drawing:attribute:noSelect", "drawing:attribute:noTextEdit", "drawing:attribute:noUngrp", "drawing:attribute:normalizeH", "drawing:attribute:numCol", "drawing:attribute:panose", "drawing:attribute:path", "drawing:attribute:pitchFamily", "drawing:attribute:pos", "drawing:attribute:preferRelativeResize", "drawing:attribute:prst", "drawing:attribute:prstMaterial", "drawing:attribute:r", "drawing:attribute:rIns", "drawing:attribute:rad", "drawing:attribute:ref", "drawing:attribute:rev", "drawing:attribute:rig", "drawing:attribute:rot", "drawing:attribute:rotWithShape", "drawing:attribute:rowSpan", "drawing:attribute:rtl", "drawing:attribute:rtlCol", "drawing:attribute:sat", "drawing:attribute:scaled", "drawing:attribute:script", "drawing:attribute:seriesIdx", "drawing:attribute:smtClean", "drawing:attribute:smtId", "drawing:attribute:sp", "drawing:attribute:spc", "drawing:attribute:spcCol", "drawing:attribute:spcFirstLastPara", "drawing:attribute:stA", "drawing:attribute:stAng", "drawing:attribute:stPos", "drawing:attribute:startAt", "drawing:attribute:strike", "drawing:attribute:stroke", "drawing:attribute:styleId", "drawing:attribute:styleName", "drawing:attribute:swAng", "drawing:attribute:sx", "drawing:attribute:sy", "drawing:attribute:sz", "drawing:attribute:t", "drawing:attribute:tIns", "drawing:attribute:tgtFrame", "drawing:attribute:thresh", "drawing:attribute:time", "drawing:attribute:title", "drawing:attribute:tooltip", "drawing:attribute:track", "drawing:attribute:tx", "drawing:attribute:tx1", "drawing:attribute:tx2", "drawing:attribute:txBox", "drawing:attribute:ty", "drawing:attribute:type", "drawing:attribute:typeface", "drawing:attribute:u", "drawing:attribute:upright", "drawing:attribute:uri", "drawing:attribute:useA", "drawing:attribute:vMerge", "drawing:attribute:val", "drawing:attribute:vert", "drawing:attribute:vertOverflow", "drawing:attribute:w", "drawing:attribute:wR", "drawing:attribute:wrap", "drawing:attribute:x", "drawing:attribute:y", "drawing:attribute:z", "drawing:attribute:zoom", "drawing:attributeGroup:AG_Blob", "drawing:attributeGroup:AG_Locking", "drawing:complexType:CT_AdjPoint2D", "drawing:complexType:CT_AdjustHandleList", "drawing:complexType:CT_AlphaBiLevelEffect", "drawing:complexType:CT_AlphaCeilingEffect", "drawing:complexType:CT_AlphaFloorEffect", "drawing:complexType:CT_AlphaInverseEffect", "drawing:complexType:CT_AlphaModulateEffect", "drawing:complexType:CT_AlphaModulateFixedEffect", "drawing:complexType:CT_AlphaOutsetEffect", "drawing:complexType:CT_AlphaReplaceEffect", "drawing:complexType:CT_Angle", "drawing:complexType:CT_AnimationChartBuildProperties", "drawing:complexType:CT_AnimationChartElement", "drawing:complexType:CT_AnimationDgmBuildProperties", "drawing:complexType:CT_AnimationDgmElement", "drawing:complexType:CT_AnimationElementChoice", "drawing:complexType:CT_AnimationGraphicalObjectBuildProperties", "drawing:complexType:CT_AudioCD", "drawing:complexType:CT_AudioCDTime", "drawing:complexType:CT_AudioFile", "drawing:complexType:CT_Backdrop", "drawing:complexType:CT_BackgroundFillStyleList", "drawing:complexType:CT_BackgroundFormatting", "drawing:complexType:CT_BaseStyles", "drawing:complexType:CT_BaseStylesOverride", "drawing:complexType:CT_Bevel", "drawing:complexType:CT_BiLevelEffect", "drawing:complexType:CT_BlendEffect", "drawing:complexType:CT_Blip", "drawing:complexType:CT_BlipFillProperties", "drawing:complexType:CT_BlurEffect", "drawing:complexType:CT_Boolean", "drawing:complexType:CT_Camera", "drawing:complexType:CT_Cell3D", "drawing:complexType:CT_ClipboardStyleSheet", "drawing:complexType:CT_Color", "drawing:complexType:CT_ColorChangeEffect", "drawing:complexType:CT_ColorMRU", "drawing:complexType:CT_ColorMapping", "drawing:complexType:CT_ColorMappingOverride", "drawing:complexType:CT_ColorReplaceEffect", "drawing:complexType:CT_ColorScheme", "drawing:complexType:CT_ColorSchemeAndMapping", "drawing:complexType:CT_ColorSchemeList", "drawing:complexType:CT_ComplementTransform", "drawing:complexType:CT_Connection", "drawing:complexType:CT_ConnectionSite", "drawing:complexType:CT_ConnectionSiteList", "drawing:complexType:CT_ConnectorLocking", "drawing:complexType:CT_ContentPartLocking", "drawing:complexType:CT_CustomColor", "drawing:complexType:CT_CustomColorList", "drawing:complexType:CT_CustomGeometry2D", "drawing:complexType:CT_DashStop", "drawing:complexType:CT_DashStopList", "drawing:complexType:CT_DefaultShapeDefinition", "drawing:complexType:CT_DuotoneEffect", "drawing:complexType:CT_EffectContainer", "drawing:complexType:CT_EffectList", "drawing:complexType:CT_EffectProperties", "drawing:complexType:CT_EffectReference", "drawing:complexType:CT_EffectStyleItem", "drawing:complexType:CT_EffectStyleList", "drawing:complexType:CT_EmbeddedWAVAudioFile", "drawing:complexType:CT_EmptyElement", "drawing:complexType:CT_FillEffect", "drawing:complexType:CT_FillOverlayEffect", "drawing:complexType:CT_FillProperties", "drawing:complexType:CT_FillStyleList", "drawing:complexType:CT_FixedPercentage", "drawing:complexType:CT_FlatText", "drawing:complexType:CT_FontCollection", "drawing:complexType:CT_FontReference", "drawing:complexType:CT_FontScheme", "drawing:complexType:CT_GammaTransform", "drawing:complexType:CT_GeomGuide", "drawing:complexType:CT_GeomGuideList", "drawing:complexType:CT_GeomRect", "drawing:complexType:CT_GlowEffect", "drawing:complexType:CT_GradientFillProperties", "drawing:complexType:CT_GradientStop", "drawing:complexType:CT_GradientStopList", "drawing:complexType:CT_GraphicalObject", "drawing:complexType:CT_GraphicalObjectData", "drawing:complexType:CT_GraphicalObjectFrameLocking", "drawing:complexType:CT_GrayscaleEffect", "drawing:complexType:CT_GrayscaleTransform", "drawing:complexType:CT_GroupFillProperties", "drawing:complexType:CT_GroupLocking", "drawing:complexType:CT_GroupShapeProperties", "drawing:complexType:CT_GroupTransform2D", "drawing:complexType:CT_GvmlConnector", "drawing:complexType:CT_GvmlConnectorNonVisual", "drawing:complexType:CT_GvmlGraphicFrameNonVisual", "drawing:complexType:CT_GvmlGraphicalObjectFrame", "drawing:complexType:CT_GvmlGroupShape", "drawing:complexType:CT_GvmlGroupShapeNonVisual", "drawing:complexType:CT_GvmlPicture", "drawing:complexType:CT_GvmlPictureNonVisual", "drawing:complexType:CT_GvmlShape", "drawing:complexType:CT_GvmlShapeNonVisual", "drawing:complexType:CT_GvmlTextShape", "drawing:complexType:CT_GvmlUseShapeRectangle", "drawing:complexType:CT_HSLEffect", "drawing:complexType:CT_Headers", "drawing:complexType:CT_HslColor", "drawing:complexType:CT_Hyperlink", "drawing:complexType:CT_InnerShadowEffect", "drawing:complexType:CT_InverseGammaTransform", "drawing:complexType:CT_InverseTransform", "drawing:complexType:CT_LightRig", "drawing:complexType:CT_LineEndProperties", "drawing:complexType:CT_LineJoinBevel", "drawing:complexType:CT_LineJoinMiterProperties", "drawing:complexType:CT_LineJoinRound", "drawing:complexType:CT_LineProperties", "drawing:complexType:CT_LineStyleList", "drawing:complexType:CT_LinearShadeProperties", "drawing:complexType:CT_LuminanceEffect", "drawing:complexType:CT_NoFillProperties", "drawing:complexType:CT_NonVisualConnectorProperties", "drawing:complexType:CT_NonVisualContentPartProperties", "drawing:complexType:CT_NonVisualDrawingProps", "drawing:complexType:CT_NonVisualDrawingShapeProps", "drawing:complexType:CT_NonVisualGraphicFrameProperties", "drawing:complexType:CT_NonVisualGroupDrawingShapeProps", "drawing:complexType:CT_NonVisualPictureProperties", "drawing:complexType:CT_ObjectStyleDefaults", "drawing:complexType:CT_OfficeArtExtension", "drawing:complexType:CT_OfficeArtExtensionList", "drawing:complexType:CT_OfficeStyleSheet", "drawing:complexType:CT_OuterShadowEffect", "drawing:complexType:CT_Path2D", "drawing:complexType:CT_Path2DArcTo", "drawing:complexType:CT_Path2DClose", "drawing:complexType:CT_Path2DCubicBezierTo", "drawing:complexType:CT_Path2DLineTo", "drawing:complexType:CT_Path2DList", "drawing:complexType:CT_Path2DMoveTo", "drawing:complexType:CT_Path2DQuadBezierTo", "drawing:complexType:CT_PathShadeProperties", "drawing:complexType:CT_PatternFillProperties", "drawing:complexType:CT_Percentage", "drawing:complexType:CT_PictureLocking", "drawing:complexType:CT_Point2D", "drawing:complexType:CT_Point3D", "drawing:complexType:CT_PolarAdjustHandle", "drawing:complexType:CT_PositiveFixedAngle", "drawing:complexType:CT_PositiveFixedPercentage", "drawing:complexType:CT_PositivePercentage", "drawing:complexType:CT_PositiveSize2D", "drawing:complexType:CT_PresetColor", "drawing:complexType:CT_PresetGeometry2D", "drawing:complexType:CT_PresetLineDashProperties", "drawing:complexType:CT_PresetShadowEffect", "drawing:complexType:CT_PresetTextShape", "drawing:complexType:CT_QuickTimeFile", "drawing:complexType:CT_Ratio", "drawing:complexType:CT_ReflectionEffect", "drawing:complexType:CT_RegularTextRun", "drawing:complexType:CT_RelativeOffsetEffect", "drawing:complexType:CT_RelativeRect", "drawing:complexType:CT_SRgbColor", "drawing:complexType:CT_ScRgbColor", "drawing:complexType:CT_Scale2D", "drawing:complexType:CT_Scene3D", "drawing:complexType:CT_SchemeColor", "drawing:complexType:CT_Shape3D", "drawing:complexType:CT_ShapeLocking", "drawing:complexType:CT_ShapeProperties", "drawing:complexType:CT_ShapeStyle", "drawing:complexType:CT_SoftEdgesEffect", "drawing:complexType:CT_SolidColorFillProperties", "drawing:complexType:CT_SphereCoords", "drawing:complexType:CT_StretchInfoProperties", "drawing:complexType:CT_StyleMatrix", "drawing:complexType:CT_StyleMatrixReference", "drawing:complexType:CT_SupplementalFont", "drawing:complexType:CT_SystemColor", "drawing:complexType:CT_Table", "drawing:complexType:CT_TableBackgroundStyle", "drawing:complexType:CT_TableCell", "drawing:complexType:CT_TableCellBorderStyle", "drawing:complexType:CT_TableCellProperties", "drawing:complexType:CT_TableCol", "drawing:complexType:CT_TableGrid", "drawing:complexType:CT_TablePartStyle", "drawing:complexType:CT_TableProperties", "drawing:complexType:CT_TableRow", "drawing:complexType:CT_TableStyle", "drawing:complexType:CT_TableStyleCellStyle", "drawing:complexType:CT_TableStyleList", "drawing:complexType:CT_TableStyleTextStyle", "drawing:complexType:CT_TextAutonumberBullet", "drawing:complexType:CT_TextBlipBullet", "drawing:complexType:CT_TextBody", "drawing:complexType:CT_TextBodyProperties", "drawing:complexType:CT_TextBulletColorFollowText", "drawing:complexType:CT_TextBulletSizeFollowText", "drawing:complexType:CT_TextBulletSizePercent", "drawing:complexType:CT_TextBulletSizePoint", "drawing:complexType:CT_TextBulletTypefaceFollowText", "drawing:complexType:CT_TextCharBullet", "drawing:complexType:CT_TextCharacterProperties", "drawing:complexType:CT_TextField", "drawing:complexType:CT_TextFont", "drawing:complexType:CT_TextLineBreak", "drawing:complexType:CT_TextListStyle", "drawing:complexType:CT_TextNoAutofit", "drawing:complexType:CT_TextNoBullet", "drawing:complexType:CT_TextNormalAutofit", "drawing:complexType:CT_TextParagraph", "drawing:complexType:CT_TextParagraphProperties", "drawing:complexType:CT_TextShapeAutofit", "drawing:complexType:CT_TextSpacing", "drawing:complexType:CT_TextSpacingPercent", "drawing:complexType:CT_TextSpacingPoint", "drawing:complexType:CT_TextTabStop", "drawing:complexType:CT_TextTabStopList", "drawing:complexType:CT_TextUnderlineFillFollowText", "drawing:complexType:CT_TextUnderlineFillGroupWrapper", "drawing:complexType:CT_TextUnderlineLineFollowText", "drawing:complexType:CT_ThemeableLineStyle", "drawing:complexType:CT_TileInfoProperties", "drawing:complexType:CT_TintEffect", "drawing:complexType:CT_Transform2D", "drawing:complexType:CT_TransformEffect", "drawing:complexType:CT_Vector3D", "drawing:complexType:CT_VideoFile", "drawing:complexType:CT_WholeE2oFormatting", "drawing:complexType:CT_XYAdjustHandle", "drawing:element:accent1", "drawing:element:accent2", "drawing:element:accent3", "drawing:element:accent4", "drawing:element:accent5", "drawing:element:accent6", "drawing:element:ahLst", "drawing:element:ahPolar", "drawing:element:ahXY", "drawing:element:alpha", "drawing:element:alphaBiLevel", "drawing:element:alphaCeiling", "drawing:element:alphaFloor", "drawing:element:alphaInv", "drawing:element:alphaMod", "drawing:element:alphaModFix", "drawing:element:alphaOff", "drawing:element:alphaOutset", "drawing:element:alphaRepl", "drawing:element:anchor", "drawing:element:arcTo", "drawing:element:audioCd", "drawing:element:audioFile", "drawing:element:avLst", "drawing:element:backdrop", "drawing:element:band1H", "drawing:element:band1V", "drawing:element:band2H", "drawing:element:band2V", "drawing:element:bevel", "drawing:element:bevelB", "drawing:element:bevelT", "drawing:element:bgClr", "drawing:element:bgFillStyleLst", "drawing:element:biLevel", "drawing:element:bldChart", "drawing:element:bldDgm", "drawing:element:blend", "drawing:element:blip", "drawing:element:blipFill", "drawing:element:blue", "drawing:element:blueMod", "drawing:element:blueOff", "drawing:element:blur", "drawing:element:bodyPr", "drawing:element:bottom", "drawing:element:br", "drawing:element:buAutoNum", "drawing:element:buBlip", "drawing:element:buChar", "drawing:element:buClr", "drawing:element:buClrTx", "drawing:element:buFont", "drawing:element:buFontTx", "drawing:element:buNone", "drawing:element:buSzPct", "drawing:element:buSzPts", "drawing:element:buSzTx", "drawing:element:cNvCxnSpPr", "drawing:element:cNvGraphicFramePr", "drawing:element:cNvGrpSpPr", "drawing:element:cNvPicPr", "drawing:element:cNvPr", "drawing:element:cNvSpPr", "drawing:element:camera", "drawing:element:cell3D", "drawing:element:chExt", "drawing:element:chOff", "drawing:element:chart", "drawing:element:close", "drawing:element:clrChange", "drawing:element:clrFrom", "drawing:element:clrMap", "drawing:element:clrRepl", "drawing:element:clrScheme", "drawing:element:clrTo", "drawing:element:comp", "drawing:element:cont", "drawing:element:contourClr", "drawing:element:cpLocks", "drawing:element:cs", "drawing:element:cubicBezTo", "drawing:element:custClr", "drawing:element:custClrLst", "drawing:element:custDash", "drawing:element:custGeom", "drawing:element:cxn", "drawing:element:cxnLst", "drawing:element:cxnSp", "drawing:element:cxnSpLocks", "drawing:element:defPPr", "drawing:element:defRPr", "drawing:element:dgm", "drawing:element:dk1", "drawing:element:dk2", "drawing:element:ds", "drawing:element:duotone", "drawing:element:ea", "drawing:element:effect", "drawing:element:effectDag", "drawing:element:effectLst", "drawing:element:effectRef", "drawing:element:effectStyle", "drawing:element:effectStyleLst", "drawing:element:end", "drawing:element:endCxn", "drawing:element:endParaRPr", "drawing:element:ext", "drawing:element:extLst", "drawing:element:extraClrScheme", "drawing:element:extraClrSchemeLst", "drawing:element:extrusionClr", "drawing:element:fgClr", "drawing:element:fill", "drawing:element:fillOverlay", "drawing:element:fillRect", "drawing:element:fillRef", "drawing:element:fillStyleLst", "drawing:element:fillToRect", "drawing:element:firstCol", "drawing:element:firstRow", "drawing:element:flatTx", "drawing:element:fld", "drawing:element:fmtScheme", "drawing:element:folHlink", "drawing:element:font", "drawing:element:fontRef", "drawing:element:fontScheme", "drawing:element:gamma", "drawing:element:gd", "drawing:element:gdLst", "drawing:element:glow", "drawing:element:gradFill", "drawing:element:graphic", "drawing:element:graphicData", "drawing:element:graphicFrame", "drawing:element:graphicFrameLocks", "drawing:element:gray", "drawing:element:grayscl", "drawing:element:green", "drawing:element:greenMod", "drawing:element:greenOff", "drawing:element:gridCol", "drawing:element:grpFill", "drawing:element:grpSp", "drawing:element:grpSpLocks", "drawing:element:grpSpPr", "drawing:element:gs", "drawing:element:gsLst", "drawing:element:headEnd", "drawing:element:header", "drawing:element:headers", "drawing:element:highlight", "drawing:element:hlink", "drawing:element:hlinkClick", "drawing:element:hlinkHover", "drawing:element:hlinkMouseOver", "drawing:element:hsl", "drawing:element:hslClr", "drawing:element:hue", "drawing:element:hueMod", "drawing:element:hueOff", "drawing:element:innerShdw", "drawing:element:insideH", "drawing:element:insideV", "drawing:element:inv", "drawing:element:invGamma", "drawing:element:lastCol", "drawing:element:lastRow", "drawing:element:latin", "drawing:element:left", "drawing:element:lightRig", "drawing:element:lin", "drawing:element:ln", "drawing:element:lnB", "drawing:element:lnBlToTr", "drawing:element:lnDef", "drawing:element:lnL", "drawing:element:lnR", "drawing:element:lnRef", "drawing:element:lnSpc", "drawing:element:lnStyleLst", "drawing:element:lnT", "drawing:element:lnTlToBr", "drawing:element:lnTo", "drawing:element:lstStyle", "drawing:element:lt1", "drawing:element:lt2", "drawing:element:lum", "drawing:element:lumMod", "drawing:element:lumOff", "drawing:element:lvl1pPr", "drawing:element:lvl2pPr", "drawing:element:lvl3pPr", "drawing:element:lvl4pPr", "drawing:element:lvl5pPr", "drawing:element:lvl6pPr", "drawing:element:lvl7pPr", "drawing:element:lvl8pPr", "drawing:element:lvl9pPr", "drawing:element:majorFont", "drawing:element:masterClrMapping", "drawing:element:minorFont", "drawing:element:miter", "drawing:element:moveTo", "drawing:element:neCell", "drawing:element:noAutofit", "drawing:element:noFill", "drawing:element:norm", "drawing:element:normAutofit", "drawing:element:nvCxnSpPr", "drawing:element:nvGraphicFramePr", "drawing:element:nvGrpSpPr", "drawing:element:nvPicPr", "drawing:element:nvSpPr", "drawing:element:nwCell", "drawing:element:objectDefaults", "drawing:element:off", "drawing:element:outerShdw", "drawing:element:overrideClrMapping", "drawing:element:p", "drawing:element:pPr", "drawing:element:path", "drawing:element:pathLst", "drawing:element:pattFill", "drawing:element:pic", "drawing:element:picLocks", "drawing:element:pos", "drawing:element:prstClr", "drawing:element:prstDash", "drawing:element:prstGeom", "drawing:element:prstShdw", "drawing:element:prstTxWarp", "drawing:element:pt", "drawing:element:quadBezTo", "drawing:element:quickTimeFile", "drawing:element:r", "drawing:element:rPr", "drawing:element:rect", "drawing:element:red", "drawing:element:redMod", "drawing:element:redOff", "drawing:element:reflection", "drawing:element:relOff", "drawing:element:right", "drawing:element:rot", "drawing:element:round", "drawing:element:rtl", "drawing:element:sat", "drawing:element:satMod", "drawing:element:satOff", "drawing:element:scene3d", "drawing:element:schemeClr", "drawing:element:scrgbClr", "drawing:element:seCell", "drawing:element:shade", "drawing:element:snd", "drawing:element:softEdge", "drawing:element:solidFill", "drawing:element:sp", "drawing:element:sp3d", "drawing:element:spAutoFit", "drawing:element:spDef", "drawing:element:spLocks", "drawing:element:spPr", "drawing:element:spcAft", "drawing:element:spcBef", "drawing:element:spcPct", "drawing:element:spcPts", "drawing:element:srcRect", "drawing:element:srgbClr", "drawing:element:st", "drawing:element:stCxn", "drawing:element:stretch", "drawing:element:style", "drawing:element:swCell", "drawing:element:sx", "drawing:element:sy", "drawing:element:sym", "drawing:element:sysClr", "drawing:element:t", "drawing:element:tab", "drawing:element:tabLst", "drawing:element:tableStyle", "drawing:element:tableStyleId", "drawing:element:tailEnd", "drawing:element:tbl", "drawing:element:tblBg", "drawing:element:tblGrid", "drawing:element:tblPr", "drawing:element:tblStyle", "drawing:element:tblStyleLst", "drawing:element:tc", "drawing:element:tcBdr", "drawing:element:tcPr", "drawing:element:tcStyle", "drawing:element:tcTxStyle", "drawing:element:theme", "drawing:element:themeElements", "drawing:element:themeManager", "drawing:element:themeOverride", "drawing:element:tile", "drawing:element:tileRect", "drawing:element:tint", "drawing:element:tl2br", "drawing:element:top", "drawing:element:tr", "drawing:element:tr2bl", "drawing:element:txBody", "drawing:element:txDef", "drawing:element:txSp", "drawing:element:uFill", "drawing:element:uFillTx", "drawing:element:uLn", "drawing:element:uLnTx", "drawing:element:up", "drawing:element:useSpRect", "drawing:element:videoFile", "drawing:element:wavAudioFile", "drawing:element:wholeTbl", "drawing:element:xfrm", "drawing:group:EG_ColorChoice", "drawing:group:EG_ColorTransform", "drawing:group:EG_Effect", "drawing:group:EG_EffectProperties", "drawing:group:EG_FillModeProperties", "drawing:group:EG_FillProperties", "drawing:group:EG_Geometry", "drawing:group:EG_LineDashProperties", "drawing:group:EG_LineFillProperties", "drawing:group:EG_LineJoinProperties", "drawing:group:EG_Media", "drawing:group:EG_OfficeArtExtensionList", "drawing:group:EG_ShadeProperties", "drawing:group:EG_Text3D", "drawing:group:EG_TextAutofit", "drawing:group:EG_TextBullet", "drawing:group:EG_TextBulletColor", "drawing:group:EG_TextBulletSize", "drawing:group:EG_TextBulletTypeface", "drawing:group:EG_TextGeometry", "drawing:group:EG_TextRun", "drawing:group:EG_TextUnderlineFill", "drawing:group:EG_TextUnderlineLine", "drawing:group:EG_ThemeableEffectStyle", "drawing:group:EG_ThemeableFillStyle", "drawing:group:EG_ThemeableFontStyles", "drawing:simpleType:ST_AdjAngle", "drawing:simpleType:ST_AdjCoordinate", "drawing:simpleType:ST_Angle", "drawing:simpleType:ST_AnimationBuildType", "drawing:simpleType:ST_AnimationChartBuildType", "drawing:simpleType:ST_AnimationChartOnlyBuildType", "drawing:simpleType:ST_AnimationDgmBuildType", "drawing:simpleType:ST_AnimationDgmOnlyBuildType", "drawing:simpleType:ST_BevelPresetType", "drawing:simpleType:ST_BlackWhiteMode", "drawing:simpleType:ST_BlendMode", "drawing:simpleType:ST_BlipCompression", "drawing:simpleType:ST_ChartBuildStep", "drawing:simpleType:ST_ColorSchemeIndex", "drawing:simpleType:ST_CompoundLine", "drawing:simpleType:ST_Coordinate", "drawing:simpleType:ST_Coordinate32", "drawing:simpleType:ST_Coordinate32Unqualified", "drawing:simpleType:ST_CoordinateUnqualified", "drawing:simpleType:ST_DgmBuildStep", "drawing:simpleType:ST_DrawingElementId", "drawing:simpleType:ST_EffectContainerType", "drawing:simpleType:ST_FOVAngle", "drawing:simpleType:ST_FixedAngle", "drawing:simpleType:ST_FixedPercentage", "drawing:simpleType:ST_FontCollectionIndex", "drawing:simpleType:ST_GeomGuideFormula", "drawing:simpleType:ST_GeomGuideName", "drawing:simpleType:ST_LightRigDirection", "drawing:simpleType:ST_LightRigType", "drawing:simpleType:ST_LineCap", "drawing:simpleType:ST_LineEndLength", "drawing:simpleType:ST_LineEndType", "drawing:simpleType:ST_LineEndWidth", "drawing:simpleType:ST_LineWidth", "drawing:simpleType:ST_OnOffStyleType", "drawing:simpleType:ST_PathFillMode", "drawing:simpleType:ST_PathShadeType", "drawing:simpleType:ST_PenAlignment", "drawing:simpleType:ST_Percentage", "drawing:simpleType:ST_PitchFamily", "drawing:simpleType:ST_PositiveCoordinate", "drawing:simpleType:ST_PositiveCoordinate32", "drawing:simpleType:ST_PositiveFixedAngle", "drawing:simpleType:ST_PositiveFixedPercentage", "drawing:simpleType:ST_PositivePercentage", "drawing:simpleType:ST_PresetCameraType", "drawing:simpleType:ST_PresetColorVal", "drawing:simpleType:ST_PresetLineDashVal", "drawing:simpleType:ST_PresetMaterialType", "drawing:simpleType:ST_PresetPatternVal", "drawing:simpleType:ST_PresetShadowVal", "drawing:simpleType:ST_RectAlignment", "drawing:simpleType:ST_SchemeColorVal", "drawing:simpleType:ST_ShapeID", "drawing:simpleType:ST_ShapeType", "drawing:simpleType:ST_StyleMatrixColumnIndex", "drawing:simpleType:ST_SystemColorVal", "drawing:simpleType:ST_TextAlignType", "drawing:simpleType:ST_TextAnchoringType", "drawing:simpleType:ST_TextAutonumberScheme", "drawing:simpleType:ST_TextBulletSize", "drawing:simpleType:ST_TextBulletSizePercent", "drawing:simpleType:ST_TextBulletStartAtNum", "drawing:simpleType:ST_TextCapsType", "drawing:simpleType:ST_TextColumnCount", "drawing:simpleType:ST_TextFontAlignType", "drawing:simpleType:ST_TextFontScalePercentOrPercentString", "drawing:simpleType:ST_TextFontSize", "drawing:simpleType:ST_TextHorzOverflowType", "drawing:simpleType:ST_TextIndent", "drawing:simpleType:ST_TextIndentLevelType", "drawing:simpleType:ST_TextMargin", "drawing:simpleType:ST_TextNonNegativePoint", "drawing:simpleType:ST_TextPoint", "drawing:simpleType:ST_TextPointUnqualified", "drawing:simpleType:ST_TextShapeType", "drawing:simpleType:ST_TextSpacingPercentOrPercentString", "drawing:simpleType:ST_TextSpacingPoint", "drawing:simpleType:ST_TextStrikeType", "drawing:simpleType:ST_TextTabAlignType", "drawing:simpleType:ST_TextTypeface", "drawing:simpleType:ST_TextUnderlineType", "drawing:simpleType:ST_TextVertOverflowType", "drawing:simpleType:ST_TextVerticalType", "drawing:simpleType:ST_TextWrappingType", "drawing:simpleType:ST_TileFlipMode", "presentation:attribute:accel", "presentation:attribute:accumulate", "presentation:attribute:additive", "presentation:attribute:advAuto", "presentation:attribute:advClick", "presentation:attribute:advTm", "presentation:attribute:afterEffect", "presentation:attribute:algorithmName", "presentation:attribute:animBg", "presentation:attribute:authorId", "presentation:attribute:autoAdjust", "presentation:attribute:autoCompressPictures", "presentation:attribute:autoRev", "presentation:attribute:autoUpdateAnimBg", "presentation:attribute:b", "presentation:attribute:backwards", "presentation:attribute:bld", "presentation:attribute:bldLvl", "presentation:attribute:bookmarkIdSeed", "presentation:attribute:build", "presentation:attribute:bw", "presentation:attribute:bwMode", "presentation:attribute:by", "presentation:attribute:calcmode", "presentation:attribute:clientInsertedTime", "presentation:attribute:clrIdx", "presentation:attribute:clrMode", "presentation:attribute:clrSpc", "presentation:attribute:cmd", "presentation:attribute:collapse", "presentation:attribute:compatMode", "presentation:attribute:concurrent", "presentation:attribute:conformance", "presentation:attribute:cx", "presentation:attribute:cy", "presentation:attribute:decel", "presentation:attribute:delay", "presentation:attribute:dir", "presentation:attribute:display", "presentation:attribute:dt", "presentation:attribute:dur", "presentation:attribute:embedTrueTypeFonts", "presentation:attribute:end", "presentation:attribute:evt", "presentation:attribute:evtFilter", "presentation:attribute:fill", "presentation:attribute:filter", "presentation:attribute:firstSlideNum", "presentation:attribute:fmla", "presentation:attribute:followColorScheme", "presentation:attribute:frame", "presentation:attribute:frameSlides", "presentation:attribute:from", "presentation:attribute:ftr", "presentation:attribute:fullScrn", "presentation:attribute:g", "presentation:attribute:grpId", "presentation:attribute:h", "presentation:attribute:hasCustomPrompt", "presentation:attribute:hashValue", "presentation:attribute:hdr", "presentation:attribute:hiddenSlides", "presentation:attribute:horzBarState", "presentation:attribute:id", "presentation:attribute:idx", "presentation:attribute:imgH", "presentation:attribute:imgW", "presentation:attribute:initials", "presentation:attribute:invalEndChars", "presentation:attribute:invalStChars", "presentation:attribute:isNarration", "presentation:attribute:isPhoto", "presentation:attribute:l", "presentation:attribute:lang", "presentation:attribute:lastIdx", "presentation:attribute:lastView", "presentation:attribute:layout", "presentation:attribute:loop", "presentation:attribute:lvl", "presentation:attribute:masterRel", "presentation:attribute:matchingName", "presentation:attribute:mod", "presentation:attribute:mute", "presentation:attribute:name", "presentation:attribute:nextAc", "presentation:attribute:nodePh", "presentation:attribute:nodeType", "presentation:attribute:numSld", "presentation:attribute:orient", "presentation:attribute:origin", "presentation:attribute:override", "presentation:attribute:path", "presentation:attribute:pathEditMode", "presentation:attribute:pos", "presentation:attribute:prLst", "presentation:attribute:preferSingleView", "presentation:attribute:preserve", "presentation:attribute:presetClass", "presentation:attribute:presetID", "presentation:attribute:presetSubtype", "presentation:attribute:prevAc", "presentation:attribute:prnWhat", "presentation:attribute:progId", "presentation:attribute:ptsTypes", "presentation:attribute:r", "presentation:attribute:rAng", "presentation:attribute:rctx", "presentation:attribute:removePersonalInfoOnSave", "presentation:attribute:repeatCount", "presentation:attribute:repeatDur", "presentation:attribute:restart", "presentation:attribute:rev", "presentation:attribute:rtl", "presentation:attribute:s", "presentation:attribute:saltValue", "presentation:attribute:saveSubsetFonts", "presentation:attribute:scaleToFitPaper", "presentation:attribute:serverSldId", "presentation:attribute:serverSldModifiedTime", "presentation:attribute:serverZoom", "presentation:attribute:shadeToTitle", "presentation:attribute:show", "presentation:attribute:showAnimation", "presentation:attribute:showAsIcon", "presentation:attribute:showCaptions", "presentation:attribute:showComments", "presentation:attribute:showFormatting", "presentation:attribute:showGuides", "presentation:attribute:showMasterPhAnim", "presentation:attribute:showMasterSp", "presentation:attribute:showNarration", "presentation:attribute:showOutlineIcons", "presentation:attribute:showScrollbar", "presentation:attribute:showSpeakerNotes", "presentation:attribute:showSpecialPlsOnTitleSld", "presentation:attribute:showWhenStopped", "presentation:attribute:sldNum", "presentation:attribute:snapToGrid", "presentation:attribute:snapToObjects", "presentation:attribute:snapVertSplitter", "presentation:attribute:spd", "presentation:attribute:spid", "presentation:attribute:spinValue", "presentation:attribute:spokes", "presentation:attribute:st", "presentation:attribute:strictFirstAndLastChars", "presentation:attribute:syncBehavior", "presentation:attribute:sz", "presentation:attribute:target", "presentation:attribute:thruBlk", "presentation:attribute:title", "presentation:attribute:tm", "presentation:attribute:tmFilter", "presentation:attribute:to", "presentation:attribute:transition", "presentation:attribute:type", "presentation:attribute:uiExpand", "presentation:attribute:updateAutomatic", "presentation:attribute:uri", "presentation:attribute:useBgFill", "presentation:attribute:useTimings", "presentation:attribute:userDrawn", "presentation:attribute:val", "presentation:attribute:valueType", "presentation:attribute:varScale", "presentation:attribute:vertBarState", "presentation:attribute:vol", "presentation:attribute:x", "presentation:attribute:xfrmType", "presentation:attribute:y", "presentation:attribute:zoomContents", "presentation:attributeGroup:AG_ChildSlide", "presentation:attributeGroup:AG_Ole", "presentation:attributeGroup:AG_TLBuild", "presentation:complexType:CT_ApplicationNonVisualDrawingProps", "presentation:complexType:CT_Background", "presentation:complexType:CT_BackgroundProperties", "presentation:complexType:CT_BuildList", "presentation:complexType:CT_Comment", "presentation:complexType:CT_CommentAuthor", "presentation:complexType:CT_CommentAuthorList", "presentation:complexType:CT_CommentList", "presentation:complexType:CT_CommonSlideData", "presentation:complexType:CT_CommonSlideViewProperties", "presentation:complexType:CT_CommonViewProperties", "presentation:complexType:CT_Connector", "presentation:complexType:CT_ConnectorNonVisual", "presentation:complexType:CT_Control", "presentation:complexType:CT_ControlList", "presentation:complexType:CT_CornerDirectionTransition", "presentation:complexType:CT_CustomShow", "presentation:complexType:CT_CustomShowId", "presentation:complexType:CT_CustomShowList", "presentation:complexType:CT_CustomerData", "presentation:complexType:CT_CustomerDataList", "presentation:complexType:CT_EightDirectionTransition", "presentation:complexType:CT_EmbeddedFontDataId", "presentation:complexType:CT_EmbeddedFontList", "presentation:complexType:CT_EmbeddedFontListEntry", "presentation:complexType:CT_Empty", "presentation:complexType:CT_Extension", "presentation:complexType:CT_ExtensionList", "presentation:complexType:CT_ExtensionListModify", "presentation:complexType:CT_GraphicalObjectFrame", "presentation:complexType:CT_GraphicalObjectFrameNonVisual", "presentation:complexType:CT_GroupShape", "presentation:complexType:CT_GroupShapeNonVisual", "presentation:complexType:CT_Guide", "presentation:complexType:CT_GuideList", "presentation:complexType:CT_HandoutMaster", "presentation:complexType:CT_HandoutMasterIdList", "presentation:complexType:CT_HandoutMasterIdListEntry", "presentation:complexType:CT_HeaderFooter", "presentation:complexType:CT_HtmlPublishProperties", "presentation:complexType:CT_InOutTransition", "presentation:complexType:CT_IndexRange", "presentation:complexType:CT_Kinsoku", "presentation:complexType:CT_ModifyVerifier", "presentation:complexType:CT_NormalViewPortion", "presentation:complexType:CT_NormalViewProperties", "presentation:complexType:CT_NotesMaster", "presentation:complexType:CT_NotesMasterIdList", "presentation:complexType:CT_NotesMasterIdListEntry", "presentation:complexType:CT_NotesSlide", "presentation:complexType:CT_NotesTextViewProperties", "presentation:complexType:CT_NotesViewProperties", "presentation:complexType:CT_OleObject", "presentation:complexType:CT_OleObjectEmbed", "presentation:complexType:CT_OleObjectLink", "presentation:complexType:CT_OptionalBlackTransition", "presentation:complexType:CT_OrientationTransition", "presentation:complexType:CT_OutlineViewProperties", "presentation:complexType:CT_OutlineViewSlideEntry", "presentation:complexType:CT_OutlineViewSlideList", "presentation:complexType:CT_PhotoAlbum", "presentation:complexType:CT_Picture", "presentation:complexType:CT_PictureNonVisual", "presentation:complexType:CT_Placeholder", "presentation:complexType:CT_Presentation", "presentation:complexType:CT_PresentationProperties", "presentation:complexType:CT_PrintProperties", "presentation:complexType:CT_Rel", "presentation:complexType:CT_Shape", "presentation:complexType:CT_ShapeNonVisual", "presentation:complexType:CT_ShowInfoBrowse", "presentation:complexType:CT_ShowInfoKiosk", "presentation:complexType:CT_ShowProperties", "presentation:complexType:CT_SideDirectionTransition", "presentation:complexType:CT_Slide", "presentation:complexType:CT_SlideIdList", "presentation:complexType:CT_SlideIdListEntry", "presentation:complexType:CT_SlideLayout", "presentation:complexType:CT_SlideLayoutIdList", "presentation:complexType:CT_SlideLayoutIdListEntry", "presentation:complexType:CT_SlideMaster", "presentation:complexType:CT_SlideMasterIdList", "presentation:complexType:CT_SlideMasterIdListEntry", "presentation:complexType:CT_SlideMasterTextStyles", "presentation:complexType:CT_SlideRelationshipList", "presentation:complexType:CT_SlideRelationshipListEntry", "presentation:complexType:CT_SlideSize", "presentation:complexType:CT_SlideSorterViewProperties", "presentation:complexType:CT_SlideSyncProperties", "presentation:complexType:CT_SlideTiming", "presentation:complexType:CT_SlideTransition", "presentation:complexType:CT_SlideViewProperties", "presentation:complexType:CT_SmartTags", "presentation:complexType:CT_SplitTransition", "presentation:complexType:CT_StringTag", "presentation:complexType:CT_TLAnimVariant", "presentation:complexType:CT_TLAnimVariantBooleanVal", "presentation:complexType:CT_TLAnimVariantFloatVal", "presentation:complexType:CT_TLAnimVariantIntegerVal", "presentation:complexType:CT_TLAnimVariantStringVal", "presentation:complexType:CT_TLAnimateBehavior", "presentation:complexType:CT_TLAnimateColorBehavior", "presentation:complexType:CT_TLAnimateEffectBehavior", "presentation:complexType:CT_TLAnimateMotionBehavior", "presentation:complexType:CT_TLAnimateRotationBehavior", "presentation:complexType:CT_TLAnimateScaleBehavior", "presentation:complexType:CT_TLBehaviorAttributeNameList", "presentation:complexType:CT_TLBuildDiagram", "presentation:complexType:CT_TLBuildParagraph", "presentation:complexType:CT_TLByAnimateColorTransform", "presentation:complexType:CT_TLByHslColorTransform", "presentation:complexType:CT_TLByRgbColorTransform", "presentation:complexType:CT_TLCommandBehavior", "presentation:complexType:CT_TLCommonBehaviorData", "presentation:complexType:CT_TLCommonMediaNodeData", "presentation:complexType:CT_TLCommonTimeNodeData", "presentation:complexType:CT_TLGraphicalObjectBuild", "presentation:complexType:CT_TLIterateData", "presentation:complexType:CT_TLIterateIntervalPercentage", "presentation:complexType:CT_TLIterateIntervalTime", "presentation:complexType:CT_TLMediaNodeAudio", "presentation:complexType:CT_TLMediaNodeVideo", "presentation:complexType:CT_TLOleBuildChart", "presentation:complexType:CT_TLOleChartTargetElement", "presentation:complexType:CT_TLPoint", "presentation:complexType:CT_TLSetBehavior", "presentation:complexType:CT_TLShapeTargetElement", "presentation:complexType:CT_TLSubShapeId", "presentation:complexType:CT_TLTemplate", "presentation:complexType:CT_TLTemplateList", "presentation:complexType:CT_TLTextTargetElement", "presentation:complexType:CT_TLTimeAnimateValue", "presentation:complexType:CT_TLTimeAnimateValueList", "presentation:complexType:CT_TLTimeCondition", "presentation:complexType:CT_TLTimeConditionList", "presentation:complexType:CT_TLTimeNodeExclusive", "presentation:complexType:CT_TLTimeNodeParallel", "presentation:complexType:CT_TLTimeNodeSequence", "presentation:complexType:CT_TLTimeTargetElement", "presentation:complexType:CT_TLTriggerRuntimeNode", "presentation:complexType:CT_TLTriggerTimeNodeID", "presentation:complexType:CT_TagList", "presentation:complexType:CT_TagsData", "presentation:complexType:CT_TimeNodeList", "presentation:complexType:CT_TransitionSoundAction", "presentation:complexType:CT_TransitionStartSoundAction", "presentation:complexType:CT_ViewProperties", "presentation:complexType:CT_WheelTransition", "presentation:element:anim", "presentation:element:animClr", "presentation:element:animEffect", "presentation:element:animMotion", "presentation:element:animRot", "presentation:element:animScale", "presentation:element:attrName", "presentation:element:attrNameLst", "presentation:element:audio", "presentation:element:bg", "presentation:element:bgPr", "presentation:element:bgRef", "presentation:element:bldAsOne", "presentation:element:bldDgm", "presentation:element:bldGraphic", "presentation:element:bldLst", "presentation:element:bldOleChart", "presentation:element:bldP", "presentation:element:bldSub", "presentation:element:blinds", "presentation:element:blipFill", "presentation:element:bodyStyle", "presentation:element:bold", "presentation:element:boldItalic", "presentation:element:boolVal", "presentation:element:browse", "presentation:element:by", "presentation:element:cBhvr", "presentation:element:cMediaNode", "presentation:element:cNvCxnSpPr", "presentation:element:cNvGraphicFramePr", "presentation:element:cNvGrpSpPr", "presentation:element:cNvPicPr", "presentation:element:cNvPr", "presentation:element:cNvSpPr", "presentation:element:cSld", "presentation:element:cSldViewPr", "presentation:element:cTn", "presentation:element:cViewPr", "presentation:element:charRg", "presentation:element:checker", "presentation:element:childTnLst", "presentation:element:circle", "presentation:element:clrMap", "presentation:element:clrMapOvr", "presentation:element:clrMru", "presentation:element:clrVal", "presentation:element:cm", "presentation:element:cmAuthor", "presentation:element:cmAuthorLst", "presentation:element:cmLst", "presentation:element:cmd", "presentation:element:comb", "presentation:element:cond", "presentation:element:contentPart", "presentation:element:control", "presentation:element:controls", "presentation:element:cover", "presentation:element:custData", "presentation:element:custDataLst", "presentation:element:custShow", "presentation:element:custShowLst", "presentation:element:cut", "presentation:element:cxnSp", "presentation:element:defaultTextStyle", "presentation:element:diamond", "presentation:element:dissolve", "presentation:element:embed", "presentation:element:embeddedFont", "presentation:element:embeddedFontLst", "presentation:element:endCondLst", "presentation:element:endSnd", "presentation:element:endSync", "presentation:element:excl", "presentation:element:ext", "presentation:element:extLst", "presentation:element:fade", "presentation:element:fltVal", "presentation:element:font", "presentation:element:from", "presentation:element:graphicEl", "presentation:element:graphicFrame", "presentation:element:gridSpacing", "presentation:element:grpSp", "presentation:element:grpSpPr", "presentation:element:guide", "presentation:element:guideLst", "presentation:element:handoutMaster", "presentation:element:handoutMasterId", "presentation:element:handoutMasterIdLst", "presentation:element:hf", "presentation:element:hsl", "presentation:element:inkTgt", "presentation:element:intVal", "presentation:element:italic", "presentation:element:iterate", "presentation:element:kinsoku", "presentation:element:kiosk", "presentation:element:link", "presentation:element:modifyVerifier", "presentation:element:newsflash", "presentation:element:nextCondLst", "presentation:element:normalViewPr", "presentation:element:notes", "presentation:element:notesMaster", "presentation:element:notesMasterId", "presentation:element:notesMasterIdLst", "presentation:element:notesStyle", "presentation:element:notesSz", "presentation:element:notesTextViewPr", "presentation:element:notesViewPr", "presentation:element:nvCxnSpPr", "presentation:element:nvGraphicFramePr", "presentation:element:nvGrpSpPr", "presentation:element:nvPicPr", "presentation:element:nvPr", "presentation:element:nvSpPr", "presentation:element:oleChartEl", "presentation:element:oleObj", "presentation:element:origin", "presentation:element:otherStyle", "presentation:element:outlineViewPr", "presentation:element:pRg", "presentation:element:par", "presentation:element:penClr", "presentation:element:ph", "presentation:element:photoAlbum", "presentation:element:pic", "presentation:element:plus", "presentation:element:pos", "presentation:element:present", "presentation:element:presentation", "presentation:element:presentationPr", "presentation:element:prevCondLst", "presentation:element:prnPr", "presentation:element:progress", "presentation:element:pull", "presentation:element:push", "presentation:element:rCtr", "presentation:element:random", "presentation:element:randomBar", "presentation:element:regular", "presentation:element:restoredLeft", "presentation:element:restoredTop", "presentation:element:rgb", "presentation:element:rtn", "presentation:element:scale", "presentation:element:seq", "presentation:element:set", "presentation:element:showPr", "presentation:element:sld", "presentation:element:sldAll", "presentation:element:sldId", "presentation:element:sldIdLst", "presentation:element:sldLayout", "presentation:element:sldLayoutId", "presentation:element:sldLayoutIdLst", "presentation:element:sldLst", "presentation:element:sldMaster", "presentation:element:sldMasterId", "presentation:element:sldMasterIdLst", "presentation:element:sldRg", "presentation:element:sldSyncPr", "presentation:element:sldSz", "presentation:element:sldTgt", "presentation:element:slideViewPr", "presentation:element:smartTags", "presentation:element:sndAc", "presentation:element:sndTgt", "presentation:element:sorterViewPr", "presentation:element:sp", "presentation:element:spPr", "presentation:element:spTgt", "presentation:element:spTree", "presentation:element:split", "presentation:element:stCondLst", "presentation:element:stSnd", "presentation:element:strVal", "presentation:element:strips", "presentation:element:style", "presentation:element:subSp", "presentation:element:subTnLst", "presentation:element:tag", "presentation:element:tagLst", "presentation:element:tags", "presentation:element:tav", "presentation:element:tavLst", "presentation:element:text", "presentation:element:tgtEl", "presentation:element:timing", "presentation:element:titleStyle", "presentation:element:tmAbs", "presentation:element:tmPct", "presentation:element:tmpl", "presentation:element:tmplLst", "presentation:element:tn", "presentation:element:tnLst", "presentation:element:to", "presentation:element:transition", "presentation:element:txBody", "presentation:element:txEl", "presentation:element:txStyles", "presentation:element:val", "presentation:element:video", "presentation:element:viewPr", "presentation:element:wedge", "presentation:element:wheel", "presentation:element:wipe", "presentation:element:xfrm", "presentation:element:zoom", "presentation:group:EG_Background", "presentation:group:EG_ChildSlide", "presentation:group:EG_ExtensionList", "presentation:group:EG_ShowType", "presentation:group:EG_SlideListChoice", "presentation:group:EG_TopLevelSlide", "presentation:simpleType:ST_BookmarkIdSeed", "presentation:simpleType:ST_Direction", "presentation:simpleType:ST_Index", "presentation:simpleType:ST_IterateType", "presentation:simpleType:ST_Name", "presentation:simpleType:ST_OleObjectFollowColorScheme", "presentation:simpleType:ST_PhotoAlbumFrameShape", "presentation:simpleType:ST_PhotoAlbumLayout", "presentation:simpleType:ST_PlaceholderSize", "presentation:simpleType:ST_PlaceholderType", "presentation:simpleType:ST_PrintColorMode", "presentation:simpleType:ST_PrintWhat", "presentation:simpleType:ST_SlideId", "presentation:simpleType:ST_SlideLayoutId", "presentation:simpleType:ST_SlideLayoutType", "presentation:simpleType:ST_SlideMasterId", "presentation:simpleType:ST_SlideSizeCoordinate", "presentation:simpleType:ST_SlideSizeType", "presentation:simpleType:ST_SplitterBarState", "presentation:simpleType:ST_TLAnimateBehaviorCalcMode", "presentation:simpleType:ST_TLAnimateBehaviorValueType", "presentation:simpleType:ST_TLAnimateColorDirection", "presentation:simpleType:ST_TLAnimateColorSpace", "presentation:simpleType:ST_TLAnimateEffectTransition", "presentation:simpleType:ST_TLAnimateMotionBehaviorOrigin", "presentation:simpleType:ST_TLAnimateMotionPathEditMode", "presentation:simpleType:ST_TLBehaviorAccumulateType", "presentation:simpleType:ST_TLBehaviorAdditiveType", "presentation:simpleType:ST_TLBehaviorOverrideType", "presentation:simpleType:ST_TLBehaviorTransformType", "presentation:simpleType:ST_TLChartSubelementType", "presentation:simpleType:ST_TLCommandType", "presentation:simpleType:ST_TLDiagramBuildType", "presentation:simpleType:ST_TLNextActionType", "presentation:simpleType:ST_TLOleChartBuildType", "presentation:simpleType:ST_TLParaBuildType", "presentation:simpleType:ST_TLPreviousActionType", "presentation:simpleType:ST_TLTime", "presentation:simpleType:ST_TLTimeAnimateValueTime", "presentation:simpleType:ST_TLTimeIndefinite", "presentation:simpleType:ST_TLTimeNodeFillType", "presentation:simpleType:ST_TLTimeNodeID", "presentation:simpleType:ST_TLTimeNodeMasterRelation", "presentation:simpleType:ST_TLTimeNodePresetClassType", "presentation:simpleType:ST_TLTimeNodeRestartType", "presentation:simpleType:ST_TLTimeNodeSyncType", "presentation:simpleType:ST_TLTimeNodeType", "presentation:simpleType:ST_TLTriggerEvent", "presentation:simpleType:ST_TLTriggerRuntimeNode", "presentation:simpleType:ST_TransitionCornerDirectionType", "presentation:simpleType:ST_TransitionEightDirectionType", "presentation:simpleType:ST_TransitionInOutDirectionType", "presentation:simpleType:ST_TransitionSideDirectionType", "presentation:simpleType:ST_TransitionSpeed", "presentation:simpleType:ST_ViewType"]; //#endregion //#region src/pptx/core/openxml/schema-constructs-transitional.generated.d.ts /** Generated from the ECMA-376 5th edition Transitional XSD set. */ export declare const OPENXML_TRANSITIONAL_SCHEMA_CONSTRUCT_IDS: readonly ["chart:attribute:alignWithMargins", "chart:attribute:b", "chart:attribute:blackAndWhite", "chart:attribute:copies", "chart:attribute:differentFirst", "chart:attribute:differentOddEven", "chart:attribute:draft", "chart:attribute:firstPageNumber", "chart:attribute:footer", "chart:attribute:formatCode", "chart:attribute:header", "chart:attribute:horizontalDpi", "chart:attribute:idx", "chart:attribute:l", "chart:attribute:orientation", "chart:attribute:paperHeight", "chart:attribute:paperSize", "chart:attribute:paperWidth", "chart:attribute:r", "chart:attribute:sourceLinked", "chart:attribute:t", "chart:attribute:uri", "chart:attribute:useFirstPageNumber", "chart:attribute:val", "chart:attribute:verticalDpi", "chart:complexType:CT_Area3DChart", "chart:complexType:CT_AreaChart", "chart:complexType:CT_AreaSer", "chart:complexType:CT_AxDataSource", "chart:complexType:CT_AxPos", "chart:complexType:CT_AxisUnit", "chart:complexType:CT_BandFmt", "chart:complexType:CT_BandFmts", "chart:complexType:CT_Bar3DChart", "chart:complexType:CT_BarChart", "chart:complexType:CT_BarDir", "chart:complexType:CT_BarGrouping", "chart:complexType:CT_BarSer", "chart:complexType:CT_Boolean", "chart:complexType:CT_BubbleChart", "chart:complexType:CT_BubbleScale", "chart:complexType:CT_BubbleSer", "chart:complexType:CT_BuiltInUnit", "chart:complexType:CT_CatAx", "chart:complexType:CT_Chart", "chart:complexType:CT_ChartLines", "chart:complexType:CT_ChartSpace", "chart:complexType:CT_CrossBetween", "chart:complexType:CT_Crosses", "chart:complexType:CT_CustSplit", "chart:complexType:CT_DLbl", "chart:complexType:CT_DLblPos", "chart:complexType:CT_DLbls", "chart:complexType:CT_DPt", "chart:complexType:CT_DTable", "chart:complexType:CT_DateAx", "chart:complexType:CT_DepthPercent", "chart:complexType:CT_DispBlanksAs", "chart:complexType:CT_DispUnits", "chart:complexType:CT_DispUnitsLbl", "chart:complexType:CT_Double", "chart:complexType:CT_DoughnutChart", "chart:complexType:CT_ErrBarType", "chart:complexType:CT_ErrBars", "chart:complexType:CT_ErrDir", "chart:complexType:CT_ErrValType", "chart:complexType:CT_Extension", "chart:complexType:CT_ExtensionList", "chart:complexType:CT_ExternalData", "chart:complexType:CT_FirstSliceAng", "chart:complexType:CT_GapAmount", "chart:complexType:CT_Grouping", "chart:complexType:CT_HPercent", "chart:complexType:CT_HeaderFooter", "chart:complexType:CT_HoleSize", "chart:complexType:CT_Layout", "chart:complexType:CT_LayoutMode", "chart:complexType:CT_LayoutTarget", "chart:complexType:CT_LblAlgn", "chart:complexType:CT_LblOffset", "chart:complexType:CT_Legend", "chart:complexType:CT_LegendEntry", "chart:complexType:CT_LegendPos", "chart:complexType:CT_Line3DChart", "chart:complexType:CT_LineChart", "chart:complexType:CT_LineSer", "chart:complexType:CT_LogBase", "chart:complexType:CT_Lvl", "chart:complexType:CT_ManualLayout", "chart:complexType:CT_Marker", "chart:complexType:CT_MarkerSize", "chart:complexType:CT_MarkerStyle", "chart:complexType:CT_MultiLvlStrData", "chart:complexType:CT_MultiLvlStrRef", "chart:complexType:CT_NumData", "chart:complexType:CT_NumDataSource", "chart:complexType:CT_NumFmt", "chart:complexType:CT_NumRef", "chart:complexType:CT_NumVal", "chart:complexType:CT_OfPieChart", "chart:complexType:CT_OfPieType", "chart:complexType:CT_Order", "chart:complexType:CT_Orientation", "chart:complexType:CT_Overlap", "chart:complexType:CT_PageMargins", "chart:complexType:CT_PageSetup", "chart:complexType:CT_Period", "chart:complexType:CT_Perspective", "chart:complexType:CT_PictureFormat", "chart:complexType:CT_PictureOptions", "chart:complexType:CT_PictureStackUnit", "chart:complexType:CT_Pie3DChart", "chart:complexType:CT_PieChart", "chart:complexType:CT_PieSer", "chart:complexType:CT_PivotFmt", "chart:complexType:CT_PivotFmts", "chart:complexType:CT_PivotSource", "chart:complexType:CT_PlotArea", "chart:complexType:CT_PrintSettings", "chart:complexType:CT_Protection", "chart:complexType:CT_RadarChart", "chart:complexType:CT_RadarSer", "chart:complexType:CT_RadarStyle", "chart:complexType:CT_RelId", "chart:complexType:CT_RotX", "chart:complexType:CT_RotY", "chart:complexType:CT_Scaling", "chart:complexType:CT_ScatterChart", "chart:complexType:CT_ScatterSer", "chart:complexType:CT_ScatterStyle", "chart:complexType:CT_SecondPieSize", "chart:complexType:CT_SerAx", "chart:complexType:CT_SerTx", "chart:complexType:CT_Shape", "chart:complexType:CT_SizeRepresents", "chart:complexType:CT_Skip", "chart:complexType:CT_SplitType", "chart:complexType:CT_StockChart", "chart:complexType:CT_StrData", "chart:complexType:CT_StrRef", "chart:complexType:CT_StrVal", "chart:complexType:CT_Style", "chart:complexType:CT_Surface", "chart:complexType:CT_Surface3DChart", "chart:complexType:CT_SurfaceChart", "chart:complexType:CT_SurfaceSer", "chart:complexType:CT_TextLanguageID", "chart:complexType:CT_Thickness", "chart:complexType:CT_TickLblPos", "chart:complexType:CT_TickMark", "chart:complexType:CT_TimeUnit", "chart:complexType:CT_Title", "chart:complexType:CT_Trendline", "chart:complexType:CT_TrendlineLbl", "chart:complexType:CT_TrendlineType", "chart:complexType:CT_Tx", "chart:complexType:CT_UnsignedInt", "chart:complexType:CT_UpDownBar", "chart:complexType:CT_UpDownBars", "chart:complexType:CT_ValAx", "chart:complexType:CT_View3D", "chart:element:applyToEnd", "chart:element:applyToFront", "chart:element:applyToSides", "chart:element:area3DChart", "chart:element:areaChart", "chart:element:auto", "chart:element:autoTitleDeleted", "chart:element:autoUpdate", "chart:element:axId", "chart:element:axPos", "chart:element:backWall", "chart:element:backward", "chart:element:bandFmt", "chart:element:bandFmts", "chart:element:bar3DChart", "chart:element:barChart", "chart:element:barDir", "chart:element:baseTimeUnit", "chart:element:bubble3D", "chart:element:bubbleChart", "chart:element:bubbleScale", "chart:element:bubbleSize", "chart:element:builtInUnit", "chart:element:cat", "chart:element:catAx", "chart:element:chart", "chart:element:chartObject", "chart:element:chartSpace", "chart:element:clrMapOvr", "chart:element:crossAx", "chart:element:crossBetween", "chart:element:crosses", "chart:element:crossesAt", "chart:element:custSplit", "chart:element:custUnit", "chart:element:dLbl", "chart:element:dLblPos", "chart:element:dLbls", "chart:element:dPt", "chart:element:dTable", "chart:element:data", "chart:element:date1904", "chart:element:dateAx", "chart:element:delete", "chart:element:depthPercent", "chart:element:dispBlanksAs", "chart:element:dispEq", "chart:element:dispRSqr", "chart:element:dispUnits", "chart:element:dispUnitsLbl", "chart:element:doughnutChart", "chart:element:downBars", "chart:element:dropLines", "chart:element:errBarType", "chart:element:errBars", "chart:element:errDir", "chart:element:errValType", "chart:element:evenFooter", "chart:element:evenHeader", "chart:element:explosion", "chart:element:ext", "chart:element:extLst", "chart:element:externalData", "chart:element:f", "chart:element:firstFooter", "chart:element:firstHeader", "chart:element:firstSliceAng", "chart:element:floor", "chart:element:fmtId", "chart:element:formatCode", "chart:element:formatting", "chart:element:forward", "chart:element:gapDepth", "chart:element:gapWidth", "chart:element:grouping", "chart:element:h", "chart:element:hMode", "chart:element:hPercent", "chart:element:headerFooter", "chart:element:hiLowLines", "chart:element:holeSize", "chart:element:idx", "chart:element:intercept", "chart:element:invertIfNegative", "chart:element:lang", "chart:element:layout", "chart:element:layoutTarget", "chart:element:lblAlgn", "chart:element:lblOffset", "chart:element:leaderLines", "chart:element:legacyDrawingHF", "chart:element:legend", "chart:element:legendEntry", "chart:element:legendPos", "chart:element:line3DChart", "chart:element:lineChart", "chart:element:logBase", "chart:element:lvl", "chart:element:majorGridlines", "chart:element:majorTickMark", "chart:element:majorTimeUnit", "chart:element:majorUnit", "chart:element:manualLayout", "chart:element:marker", "chart:element:max", "chart:element:min", "chart:element:minorGridlines", "chart:element:minorTickMark", "chart:element:minorTimeUnit", "chart:element:minorUnit", "chart:element:minus", "chart:element:multiLvlStrCache", "chart:element:multiLvlStrRef", "chart:element:name", "chart:element:noEndCap", "chart:element:noMultiLvlLbl", "chart:element:numCache", "chart:element:numFmt", "chart:element:numLit", "chart:element:numRef", "chart:element:oddFooter", "chart:element:oddHeader", "chart:element:ofPieChart", "chart:element:ofPieType", "chart:element:order", "chart:element:orientation", "chart:element:overlap", "chart:element:overlay", "chart:element:pageMargins", "chart:element:pageSetup", "chart:element:period", "chart:element:perspective", "chart:element:pictureFormat", "chart:element:pictureOptions", "chart:element:pictureStackUnit", "chart:element:pie3DChart", "chart:element:pieChart", "chart:element:pivotFmt", "chart:element:pivotFmts", "chart:element:pivotSource", "chart:element:plotArea", "chart:element:plotVisOnly", "chart:element:plus", "chart:element:printSettings", "chart:element:protection", "chart:element:pt", "chart:element:ptCount", "chart:element:rAngAx", "chart:element:radarChart", "chart:element:radarStyle", "chart:element:rich", "chart:element:rotX", "chart:element:rotY", "chart:element:roundedCorners", "chart:element:scaling", "chart:element:scatterChart", "chart:element:scatterStyle", "chart:element:secondPiePt", "chart:element:secondPieSize", "chart:element:selection", "chart:element:separator", "chart:element:ser", "chart:element:serAx", "chart:element:serLines", "chart:element:shape", "chart:element:showBubbleSize", "chart:element:showCatName", "chart:element:showDLblsOverMax", "chart:element:showHorzBorder", "chart:element:showKeys", "chart:element:showLeaderLines", "chart:element:showLegendKey", "chart:element:showNegBubbles", "chart:element:showOutline", "chart:element:showPercent", "chart:element:showSerName", "chart:element:showVal", "chart:element:showVertBorder", "chart:element:sideWall", "chart:element:size", "chart:element:sizeRepresents", "chart:element:smooth", "chart:element:spPr", "chart:element:splitPos", "chart:element:splitType", "chart:element:stockChart", "chart:element:strCache", "chart:element:strLit", "chart:element:strRef", "chart:element:style", "chart:element:surface3DChart", "chart:element:surfaceChart", "chart:element:symbol", "chart:element:thickness", "chart:element:tickLblPos", "chart:element:tickLblSkip", "chart:element:tickMarkSkip", "chart:element:title", "chart:element:trendline", "chart:element:trendlineLbl", "chart:element:trendlineType", "chart:element:tx", "chart:element:txPr", "chart:element:upBars", "chart:element:upDownBars", "chart:element:userInterface", "chart:element:userShapes", "chart:element:v", "chart:element:val", "chart:element:valAx", "chart:element:varyColors", "chart:element:view3D", "chart:element:w", "chart:element:wMode", "chart:element:wireframe", "chart:element:x", "chart:element:xMode", "chart:element:xVal", "chart:element:y", "chart:element:yMode", "chart:element:yVal", "chart:group:EG_AreaChartShared", "chart:group:EG_AxShared", "chart:group:EG_BarChartShared", "chart:group:EG_DLblShared", "chart:group:EG_LegendEntryData", "chart:group:EG_LineChartShared", "chart:group:EG_PieChartShared", "chart:group:EG_SerShared", "chart:group:EG_SurfaceChartShared", "chart:group:Group_DLbl", "chart:group:Group_DLbls", "chart:simpleType:ST_AxPos", "chart:simpleType:ST_AxisUnit", "chart:simpleType:ST_BarDir", "chart:simpleType:ST_BarGrouping", "chart:simpleType:ST_BubbleScale", "chart:simpleType:ST_BubbleScalePercent", "chart:simpleType:ST_BubbleScaleUInt", "chart:simpleType:ST_BuiltInUnit", "chart:simpleType:ST_CrossBetween", "chart:simpleType:ST_Crosses", "chart:simpleType:ST_DLblPos", "chart:simpleType:ST_DepthPercent", "chart:simpleType:ST_DepthPercentUShort", "chart:simpleType:ST_DepthPercentWithSymbol", "chart:simpleType:ST_DispBlanksAs", "chart:simpleType:ST_ErrBarType", "chart:simpleType:ST_ErrDir", "chart:simpleType:ST_ErrValType", "chart:simpleType:ST_FirstSliceAng", "chart:simpleType:ST_GapAmount", "chart:simpleType:ST_GapAmountPercent", "chart:simpleType:ST_GapAmountUShort", "chart:simpleType:ST_Grouping", "chart:simpleType:ST_HPercent", "chart:simpleType:ST_HPercentUShort", "chart:simpleType:ST_HPercentWithSymbol", "chart:simpleType:ST_HoleSize", "chart:simpleType:ST_HoleSizePercent", "chart:simpleType:ST_HoleSizeUByte", "chart:simpleType:ST_LayoutMode", "chart:simpleType:ST_LayoutTarget", "chart:simpleType:ST_LblAlgn", "chart:simpleType:ST_LblOffset", "chart:simpleType:ST_LblOffsetPercent", "chart:simpleType:ST_LblOffsetUShort", "chart:simpleType:ST_LegendPos", "chart:simpleType:ST_LogBase", "chart:simpleType:ST_MarkerSize", "chart:simpleType:ST_MarkerStyle", "chart:simpleType:ST_OfPieType", "chart:simpleType:ST_Order", "chart:simpleType:ST_Orientation", "chart:simpleType:ST_Overlap", "chart:simpleType:ST_OverlapByte", "chart:simpleType:ST_OverlapPercent", "chart:simpleType:ST_PageSetupOrientation", "chart:simpleType:ST_Period", "chart:simpleType:ST_Perspective", "chart:simpleType:ST_PictureFormat", "chart:simpleType:ST_PictureStackUnit", "chart:simpleType:ST_RadarStyle", "chart:simpleType:ST_RotX", "chart:simpleType:ST_RotY", "chart:simpleType:ST_ScatterStyle", "chart:simpleType:ST_SecondPieSize", "chart:simpleType:ST_SecondPieSizePercent", "chart:simpleType:ST_SecondPieSizeUShort", "chart:simpleType:ST_Shape", "chart:simpleType:ST_SizeRepresents", "chart:simpleType:ST_Skip", "chart:simpleType:ST_SplitType", "chart:simpleType:ST_Style", "chart:simpleType:ST_Thickness", "chart:simpleType:ST_ThicknessPercent", "chart:simpleType:ST_TickLblPos", "chart:simpleType:ST_TickMark", "chart:simpleType:ST_TimeUnit", "chart:simpleType:ST_TrendlineType", "diagram:attribute:arg", "diagram:attribute:axis", "diagram:attribute:blipPhldr", "diagram:attribute:chOrder", "diagram:attribute:cnt", "diagram:attribute:coherent3DOff", "diagram:attribute:csCatId", "diagram:attribute:csTypeId", "diagram:attribute:custAng", "diagram:attribute:custFlipHor", "diagram:attribute:custFlipVert", "diagram:attribute:custLinFactNeighborX", "diagram:attribute:custLinFactNeighborY", "diagram:attribute:custLinFactX", "diagram:attribute:custLinFactY", "diagram:attribute:custRadScaleInc", "diagram:attribute:custRadScaleRad", "diagram:attribute:custScaleX", "diagram:attribute:custScaleY", "diagram:attribute:custSzX", "diagram:attribute:custSzY", "diagram:attribute:custT", "diagram:attribute:cxnId", "diagram:attribute:defStyle", "diagram:attribute:destId", "diagram:attribute:destOrd", "diagram:attribute:fact", "diagram:attribute:for", "diagram:attribute:forName", "diagram:attribute:func", "diagram:attribute:hideGeom", "diagram:attribute:hideLastTrans", "diagram:attribute:hueDir", "diagram:attribute:idx", "diagram:attribute:lang", "diagram:attribute:lkTxEntry", "diagram:attribute:loCatId", "diagram:attribute:loTypeId", "diagram:attribute:max", "diagram:attribute:meth", "diagram:attribute:minVer", "diagram:attribute:modelId", "diagram:attribute:moveWith", "diagram:attribute:name", "diagram:attribute:op", "diagram:attribute:parTransId", "diagram:attribute:phldr", "diagram:attribute:phldrT", "diagram:attribute:presAssocID", "diagram:attribute:presId", "diagram:attribute:presName", "diagram:attribute:presStyleCnt", "diagram:attribute:presStyleIdx", "diagram:attribute:presStyleLbl", "diagram:attribute:pri", "diagram:attribute:ptType", "diagram:attribute:qsCatId", "diagram:attribute:qsTypeId", "diagram:attribute:ref", "diagram:attribute:refFor", "diagram:attribute:refForName", "diagram:attribute:refPtType", "diagram:attribute:refType", "diagram:attribute:resId", "diagram:attribute:rev", "diagram:attribute:rot", "diagram:attribute:sibTransId", "diagram:attribute:srcId", "diagram:attribute:srcOrd", "diagram:attribute:st", "diagram:attribute:step", "diagram:attribute:styleLbl", "diagram:attribute:type", "diagram:attribute:uniqueId", "diagram:attribute:useDef", "diagram:attribute:val", "diagram:attribute:zOrderOff", "diagram:attributeGroup:AG_ConstraintAttributes", "diagram:attributeGroup:AG_ConstraintRefAttributes", "diagram:attributeGroup:AG_IteratorAttributes", "diagram:complexType:CT_Adj", "diagram:complexType:CT_AdjLst", "diagram:complexType:CT_Algorithm", "diagram:complexType:CT_AnimLvl", "diagram:complexType:CT_AnimOne", "diagram:complexType:CT_BulletEnabled", "diagram:complexType:CT_CTCategories", "diagram:complexType:CT_CTCategory", "diagram:complexType:CT_CTDescription", "diagram:complexType:CT_CTName", "diagram:complexType:CT_CTStyleLabel", "diagram:complexType:CT_Categories", "diagram:complexType:CT_Category", "diagram:complexType:CT_ChildMax", "diagram:complexType:CT_ChildPref", "diagram:complexType:CT_Choose", "diagram:complexType:CT_ColorTransform", "diagram:complexType:CT_ColorTransformHeader", "diagram:complexType:CT_ColorTransformHeaderLst", "diagram:complexType:CT_Colors", "diagram:complexType:CT_Constraint", "diagram:complexType:CT_Constraints", "diagram:complexType:CT_Cxn", "diagram:complexType:CT_CxnList", "diagram:complexType:CT_DataModel", "diagram:complexType:CT_Description", "diagram:complexType:CT_DiagramDefinition", "diagram:complexType:CT_DiagramDefinitionHeader", "diagram:complexType:CT_DiagramDefinitionHeaderLst", "diagram:complexType:CT_Direction", "diagram:complexType:CT_ElemPropSet", "diagram:complexType:CT_ForEach", "diagram:complexType:CT_HierBranchStyle", "diagram:complexType:CT_LayoutNode", "diagram:complexType:CT_LayoutVariablePropertySet", "diagram:complexType:CT_Name", "diagram:complexType:CT_NumericRule", "diagram:complexType:CT_OrgChart", "diagram:complexType:CT_Otherwise", "diagram:complexType:CT_Parameter", "diagram:complexType:CT_PresentationOf", "diagram:complexType:CT_Pt", "diagram:complexType:CT_PtList", "diagram:complexType:CT_RelIds", "diagram:complexType:CT_ResizeHandles", "diagram:complexType:CT_Rules", "diagram:complexType:CT_SDCategories", "diagram:complexType:CT_SDCategory", "diagram:complexType:CT_SDDescription", "diagram:complexType:CT_SDName", "diagram:complexType:CT_SampleData", "diagram:complexType:CT_Shape", "diagram:complexType:CT_StyleDefinition", "diagram:complexType:CT_StyleDefinitionHeader", "diagram:complexType:CT_StyleDefinitionHeaderLst", "diagram:complexType:CT_StyleLabel", "diagram:complexType:CT_TextProps", "diagram:complexType:CT_When", "diagram:element:adj", "diagram:element:adjLst", "diagram:element:alg", "diagram:element:animLvl", "diagram:element:animOne", "diagram:element:bg", "diagram:element:bulletEnabled", "diagram:element:cat", "diagram:element:catLst", "diagram:element:chMax", "diagram:element:chPref", "diagram:element:choose", "diagram:element:clrData", "diagram:element:colorsDef", "diagram:element:colorsDefHdr", "diagram:element:colorsDefHdrLst", "diagram:element:constr", "diagram:element:constrLst", "diagram:element:cxn", "diagram:element:cxnLst", "diagram:element:dataModel", "diagram:element:desc", "diagram:element:dir", "diagram:element:effectClrLst", "diagram:element:else", "diagram:element:extLst", "diagram:element:fillClrLst", "diagram:element:forEach", "diagram:element:hierBranch", "diagram:element:if", "diagram:element:layoutDef", "diagram:element:layoutDefHdr", "diagram:element:layoutDefHdrLst", "diagram:element:layoutNode", "diagram:element:linClrLst", "diagram:element:orgChart", "diagram:element:param", "diagram:element:prSet", "diagram:element:presLayoutVars", "diagram:element:presOf", "diagram:element:pt", "diagram:element:ptLst", "diagram:element:relIds", "diagram:element:resizeHandles", "diagram:element:rule", "diagram:element:ruleLst", "diagram:element:sampData", "diagram:element:scene3d", "diagram:element:shape", "diagram:element:sp3d", "diagram:element:spPr", "diagram:element:style", "diagram:element:styleData", "diagram:element:styleDef", "diagram:element:styleDefHdr", "diagram:element:styleDefHdrLst", "diagram:element:styleLbl", "diagram:element:t", "diagram:element:title", "diagram:element:txEffectClrLst", "diagram:element:txFillClrLst", "diagram:element:txLinClrLst", "diagram:element:txPr", "diagram:element:varLst", "diagram:element:whole", "diagram:simpleType:ST_AlgorithmType", "diagram:simpleType:ST_AnimLvlStr", "diagram:simpleType:ST_AnimOneStr", "diagram:simpleType:ST_ArrowheadStyle", "diagram:simpleType:ST_AutoTextRotation", "diagram:simpleType:ST_AxisType", "diagram:simpleType:ST_AxisTypes", "diagram:simpleType:ST_BendPoint", "diagram:simpleType:ST_BoolOperator", "diagram:simpleType:ST_Booleans", "diagram:simpleType:ST_Breakpoint", "diagram:simpleType:ST_CenterShapeMapping", "diagram:simpleType:ST_ChildAlignment", "diagram:simpleType:ST_ChildDirection", "diagram:simpleType:ST_ChildOrderType", "diagram:simpleType:ST_ClrAppMethod", "diagram:simpleType:ST_ConnectorDimension", "diagram:simpleType:ST_ConnectorPoint", "diagram:simpleType:ST_ConnectorRouting", "diagram:simpleType:ST_ConstraintRelationship", "diagram:simpleType:ST_ConstraintType", "diagram:simpleType:ST_ContinueDirection", "diagram:simpleType:ST_CxnType", "diagram:simpleType:ST_DiagramHorizontalAlignment", "diagram:simpleType:ST_DiagramTextAlignment", "diagram:simpleType:ST_Direction", "diagram:simpleType:ST_ElementType", "diagram:simpleType:ST_ElementTypes", "diagram:simpleType:ST_FallbackDimension", "diagram:simpleType:ST_FlowDirection", "diagram:simpleType:ST_FunctionArgument", "diagram:simpleType:ST_FunctionOperator", "diagram:simpleType:ST_FunctionType", "diagram:simpleType:ST_FunctionValue", "diagram:simpleType:ST_GrowDirection", "diagram:simpleType:ST_HierBranchStyle", "diagram:simpleType:ST_HierarchyAlignment", "diagram:simpleType:ST_HueDir", "diagram:simpleType:ST_Index1", "diagram:simpleType:ST_Ints", "diagram:simpleType:ST_LayoutShapeType", "diagram:simpleType:ST_LinearDirection", "diagram:simpleType:ST_ModelId", "diagram:simpleType:ST_NodeCount", "diagram:simpleType:ST_NodeHorizontalAlignment", "diagram:simpleType:ST_NodeVerticalAlignment", "diagram:simpleType:ST_Offset", "diagram:simpleType:ST_OutputShapeType", "diagram:simpleType:ST_ParameterId", "diagram:simpleType:ST_ParameterVal", "diagram:simpleType:ST_PrSetCustVal", "diagram:simpleType:ST_PtType", "diagram:simpleType:ST_PyramidAccentPosition", "diagram:simpleType:ST_PyramidAccentTextMargin", "diagram:simpleType:ST_ResizeHandlesStr", "diagram:simpleType:ST_RotationPath", "diagram:simpleType:ST_SecondaryChildAlignment", "diagram:simpleType:ST_SecondaryLinearDirection", "diagram:simpleType:ST_StartingElement", "diagram:simpleType:ST_TextAnchorHorizontal", "diagram:simpleType:ST_TextAnchorVertical", "diagram:simpleType:ST_TextBlockDirection", "diagram:simpleType:ST_TextDirection", "diagram:simpleType:ST_UnsignedInts", "diagram:simpleType:ST_VariableType", "diagram:simpleType:ST_VerticalAlignment", "drawing:attribute:a", "drawing:attribute:accent1", "drawing:attribute:accent2", "drawing:attribute:accent3", "drawing:attribute:accent4", "drawing:attribute:accent5", "drawing:attribute:accent6", "drawing:attribute:action", "drawing:attribute:algn", "drawing:attribute:altLang", "drawing:attribute:amt", "drawing:attribute:anchor", "drawing:attribute:anchorCtr", "drawing:attribute:ang", "drawing:attribute:animBg", "drawing:attribute:b", "drawing:attribute:bIns", "drawing:attribute:bandCol", "drawing:attribute:bandRow", "drawing:attribute:baseline", "drawing:attribute:bg1", "drawing:attribute:bg2", "drawing:attribute:bld", "drawing:attribute:bldStep", "drawing:attribute:blend", "drawing:attribute:blurRad", "drawing:attribute:bmk", "drawing:attribute:bright", "drawing:attribute:bwMode", "drawing:attribute:cap", "drawing:attribute:categoryIdx", "drawing:attribute:char", "drawing:attribute:charset", "drawing:attribute:cmpd", "drawing:attribute:compatLnSpc", "drawing:attribute:contentType", "drawing:attribute:contourW", "drawing:attribute:contrast", "drawing:attribute:cstate", "drawing:attribute:cx", "drawing:attribute:cy", "drawing:attribute:d", "drawing:attribute:def", "drawing:attribute:defTabSz", "drawing:attribute:descr", "drawing:attribute:dir", "drawing:attribute:dirty", "drawing:attribute:dist", "drawing:attribute:dpi", "drawing:attribute:dx", "drawing:attribute:dy", "drawing:attribute:dz", "drawing:attribute:eaLnBrk", "drawing:attribute:endA", "drawing:attribute:endPos", "drawing:attribute:endSnd", "drawing:attribute:err", "drawing:attribute:extrusionH", "drawing:attribute:extrusionOk", "drawing:attribute:fadeDir", "drawing:attribute:fill", "drawing:attribute:firstCol", "drawing:attribute:firstRow", "drawing:attribute:flip", "drawing:attribute:flipH", "drawing:attribute:flipV", "drawing:attribute:fmla", "drawing:attribute:folHlink", "drawing:attribute:fontAlgn", "drawing:attribute:fontScale", "drawing:attribute:forceAA", "drawing:attribute:fov", "drawing:attribute:fromWordArt", "drawing:attribute:g", "drawing:attribute:gdRefAng", "drawing:attribute:gdRefR", "drawing:attribute:gdRefX", "drawing:attribute:gdRefY", "drawing:attribute:gridSpan", "drawing:attribute:grow", "drawing:attribute:h", "drawing:attribute:hMerge", "drawing:attribute:hR", "drawing:attribute:hangingPunct", "drawing:attribute:hidden", "drawing:attribute:highlightClick", "drawing:attribute:history", "drawing:attribute:hlink", "drawing:attribute:horzOverflow", "drawing:attribute:hue", "drawing:attribute:i", "drawing:attribute:id", "drawing:attribute:idx", "drawing:attribute:indent", "drawing:attribute:invalidUrl", "drawing:attribute:isComment", "drawing:attribute:kern", "drawing:attribute:kumimoji", "drawing:attribute:kx", "drawing:attribute:ky", "drawing:attribute:l", "drawing:attribute:lIns", "drawing:attribute:lang", "drawing:attribute:lastClr", "drawing:attribute:lastCol", "drawing:attribute:lastRow", "drawing:attribute:lat", "drawing:attribute:latinLnBrk", "drawing:attribute:len", "drawing:attribute:lim", "drawing:attribute:lnSpcReduction", "drawing:attribute:lon", "drawing:attribute:lum", "drawing:attribute:lvl", "drawing:attribute:marB", "drawing:attribute:marL", "drawing:attribute:marR", "drawing:attribute:marT", "drawing:attribute:maxAng", "drawing:attribute:maxR", "drawing:attribute:maxX", "drawing:attribute:maxY", "drawing:attribute:minAng", "drawing:attribute:minR", "drawing:attribute:minX", "drawing:attribute:minY", "drawing:attribute:n", "drawing:attribute:name", "drawing:attribute:noAdjustHandles", "drawing:attribute:noChangeArrowheads", "drawing:attribute:noChangeAspect", "drawing:attribute:noChangeShapeType", "drawing:attribute:noCrop", "drawing:attribute:noDrilldown", "drawing:attribute:noEditPoints", "drawing:attribute:noGrp", "drawing:attribute:noMove", "drawing:attribute:noProof", "drawing:attribute:noResize", "drawing:attribute:noRot", "drawing:attribute:noSelect", "drawing:attribute:noTextEdit", "drawing:attribute:noUngrp", "drawing:attribute:normalizeH", "drawing:attribute:numCol", "drawing:attribute:panose", "drawing:attribute:path", "drawing:attribute:pitchFamily", "drawing:attribute:pos", "drawing:attribute:preferRelativeResize", "drawing:attribute:prst", "drawing:attribute:prstMaterial", "drawing:attribute:r", "drawing:attribute:rIns", "drawing:attribute:rad", "drawing:attribute:ref", "drawing:attribute:rev", "drawing:attribute:rig", "drawing:attribute:rot", "drawing:attribute:rotWithShape", "drawing:attribute:rowSpan", "drawing:attribute:rtl", "drawing:attribute:rtlCol", "drawing:attribute:sat", "drawing:attribute:scaled", "drawing:attribute:script", "drawing:attribute:seriesIdx", "drawing:attribute:smtClean", "drawing:attribute:smtId", "drawing:attribute:sp", "drawing:attribute:spc", "drawing:attribute:spcCol", "drawing:attribute:spcFirstLastPara", "drawing:attribute:stA", "drawing:attribute:stAng", "drawing:attribute:stPos", "drawing:attribute:startAt", "drawing:attribute:strike", "drawing:attribute:stroke", "drawing:attribute:styleId", "drawing:attribute:styleName", "drawing:attribute:swAng", "drawing:attribute:sx", "drawing:attribute:sy", "drawing:attribute:sz", "drawing:attribute:t", "drawing:attribute:tIns", "drawing:attribute:tgtFrame", "drawing:attribute:thresh", "drawing:attribute:time", "drawing:attribute:title", "drawing:attribute:tooltip", "drawing:attribute:track", "drawing:attribute:tx", "drawing:attribute:tx1", "drawing:attribute:tx2", "drawing:attribute:txBox", "drawing:attribute:ty", "drawing:attribute:type", "drawing:attribute:typeface", "drawing:attribute:u", "drawing:attribute:upright", "drawing:attribute:uri", "drawing:attribute:useA", "drawing:attribute:vMerge", "drawing:attribute:val", "drawing:attribute:vert", "drawing:attribute:vertOverflow", "drawing:attribute:w", "drawing:attribute:wR", "drawing:attribute:wrap", "drawing:attribute:x", "drawing:attribute:y", "drawing:attribute:z", "drawing:attribute:zoom", "drawing:attributeGroup:AG_Blob", "drawing:attributeGroup:AG_Locking", "drawing:complexType:CT_AdjPoint2D", "drawing:complexType:CT_AdjustHandleList", "drawing:complexType:CT_AlphaBiLevelEffect", "drawing:complexType:CT_AlphaCeilingEffect", "drawing:complexType:CT_AlphaFloorEffect", "drawing:complexType:CT_AlphaInverseEffect", "drawing:complexType:CT_AlphaModulateEffect", "drawing:complexType:CT_AlphaModulateFixedEffect", "drawing:complexType:CT_AlphaOutsetEffect", "drawing:complexType:CT_AlphaReplaceEffect", "drawing:complexType:CT_Angle", "drawing:complexType:CT_AnimationChartBuildProperties", "drawing:complexType:CT_AnimationChartElement", "drawing:complexType:CT_AnimationDgmBuildProperties", "drawing:complexType:CT_AnimationDgmElement", "drawing:complexType:CT_AnimationElementChoice", "drawing:complexType:CT_AnimationGraphicalObjectBuildProperties", "drawing:complexType:CT_AudioCD", "drawing:complexType:CT_AudioCDTime", "drawing:complexType:CT_AudioFile", "drawing:complexType:CT_Backdrop", "drawing:complexType:CT_BackgroundFillStyleList", "drawing:complexType:CT_BackgroundFormatting", "drawing:complexType:CT_BaseStyles", "drawing:complexType:CT_BaseStylesOverride", "drawing:complexType:CT_Bevel", "drawing:complexType:CT_BiLevelEffect", "drawing:complexType:CT_BlendEffect", "drawing:complexType:CT_Blip", "drawing:complexType:CT_BlipFillProperties", "drawing:complexType:CT_BlurEffect", "drawing:complexType:CT_Boolean", "drawing:complexType:CT_Camera", "drawing:complexType:CT_Cell3D", "drawing:complexType:CT_ClipboardStyleSheet", "drawing:complexType:CT_Color", "drawing:complexType:CT_ColorChangeEffect", "drawing:complexType:CT_ColorMRU", "drawing:complexType:CT_ColorMapping", "drawing:complexType:CT_ColorMappingOverride", "drawing:complexType:CT_ColorReplaceEffect", "drawing:complexType:CT_ColorScheme", "drawing:complexType:CT_ColorSchemeAndMapping", "drawing:complexType:CT_ColorSchemeList", "drawing:complexType:CT_ComplementTransform", "drawing:complexType:CT_Connection", "drawing:complexType:CT_ConnectionSite", "drawing:complexType:CT_ConnectionSiteList", "drawing:complexType:CT_ConnectorLocking", "drawing:complexType:CT_ContentPartLocking", "drawing:complexType:CT_CustomColor", "drawing:complexType:CT_CustomColorList", "drawing:complexType:CT_CustomGeometry2D", "drawing:complexType:CT_DashStop", "drawing:complexType:CT_DashStopList", "drawing:complexType:CT_DefaultShapeDefinition", "drawing:complexType:CT_DuotoneEffect", "drawing:complexType:CT_EffectContainer", "drawing:complexType:CT_EffectList", "drawing:complexType:CT_EffectProperties", "drawing:complexType:CT_EffectReference", "drawing:complexType:CT_EffectStyleItem", "drawing:complexType:CT_EffectStyleList", "drawing:complexType:CT_EmbeddedWAVAudioFile", "drawing:complexType:CT_EmptyElement", "drawing:complexType:CT_FillEffect", "drawing:complexType:CT_FillOverlayEffect", "drawing:complexType:CT_FillProperties", "drawing:complexType:CT_FillStyleList", "drawing:complexType:CT_FixedPercentage", "drawing:complexType:CT_FlatText", "drawing:complexType:CT_FontCollection", "drawing:complexType:CT_FontReference", "drawing:complexType:CT_FontScheme", "drawing:complexType:CT_GammaTransform", "drawing:complexType:CT_GeomGuide", "drawing:complexType:CT_GeomGuideList", "drawing:complexType:CT_GeomRect", "drawing:complexType:CT_GlowEffect", "drawing:complexType:CT_GradientFillProperties", "drawing:complexType:CT_GradientStop", "drawing:complexType:CT_GradientStopList", "drawing:complexType:CT_GraphicalObject", "drawing:complexType:CT_GraphicalObjectData", "drawing:complexType:CT_GraphicalObjectFrameLocking", "drawing:complexType:CT_GrayscaleEffect", "drawing:complexType:CT_GrayscaleTransform", "drawing:complexType:CT_GroupFillProperties", "drawing:complexType:CT_GroupLocking", "drawing:complexType:CT_GroupShapeProperties", "drawing:complexType:CT_GroupTransform2D", "drawing:complexType:CT_GvmlConnector", "drawing:complexType:CT_GvmlConnectorNonVisual", "drawing:complexType:CT_GvmlGraphicFrameNonVisual", "drawing:complexType:CT_GvmlGraphicalObjectFrame", "drawing:complexType:CT_GvmlGroupShape", "drawing:complexType:CT_GvmlGroupShapeNonVisual", "drawing:complexType:CT_GvmlPicture", "drawing:complexType:CT_GvmlPictureNonVisual", "drawing:complexType:CT_GvmlShape", "drawing:complexType:CT_GvmlShapeNonVisual", "drawing:complexType:CT_GvmlTextShape", "drawing:complexType:CT_GvmlUseShapeRectangle", "drawing:complexType:CT_HSLEffect", "drawing:complexType:CT_Headers", "drawing:complexType:CT_HslColor", "drawing:complexType:CT_Hyperlink", "drawing:complexType:CT_InnerShadowEffect", "drawing:complexType:CT_InverseGammaTransform", "drawing:complexType:CT_InverseTransform", "drawing:complexType:CT_LightRig", "drawing:complexType:CT_LineEndProperties", "drawing:complexType:CT_LineJoinBevel", "drawing:complexType:CT_LineJoinMiterProperties", "drawing:complexType:CT_LineJoinRound", "drawing:complexType:CT_LineProperties", "drawing:complexType:CT_LineStyleList", "drawing:complexType:CT_LinearShadeProperties", "drawing:complexType:CT_LuminanceEffect", "drawing:complexType:CT_NoFillProperties", "drawing:complexType:CT_NonVisualConnectorProperties", "drawing:complexType:CT_NonVisualContentPartProperties", "drawing:complexType:CT_NonVisualDrawingProps", "drawing:complexType:CT_NonVisualDrawingShapeProps", "drawing:complexType:CT_NonVisualGraphicFrameProperties", "drawing:complexType:CT_NonVisualGroupDrawingShapeProps", "drawing:complexType:CT_NonVisualPictureProperties", "drawing:complexType:CT_ObjectStyleDefaults", "drawing:complexType:CT_OfficeArtExtension", "drawing:complexType:CT_OfficeArtExtensionList", "drawing:complexType:CT_OfficeStyleSheet", "drawing:complexType:CT_OuterShadowEffect", "drawing:complexType:CT_Path2D", "drawing:complexType:CT_Path2DArcTo", "drawing:complexType:CT_Path2DClose", "drawing:complexType:CT_Path2DCubicBezierTo", "drawing:complexType:CT_Path2DLineTo", "drawing:complexType:CT_Path2DList", "drawing:complexType:CT_Path2DMoveTo", "drawing:complexType:CT_Path2DQuadBezierTo", "drawing:complexType:CT_PathShadeProperties", "drawing:complexType:CT_PatternFillProperties", "drawing:complexType:CT_Percentage", "drawing:complexType:CT_PictureLocking", "drawing:complexType:CT_Point2D", "drawing:complexType:CT_Point3D", "drawing:complexType:CT_PolarAdjustHandle", "drawing:complexType:CT_PositiveFixedAngle", "drawing:complexType:CT_PositiveFixedPercentage", "drawing:complexType:CT_PositivePercentage", "drawing:complexType:CT_PositiveSize2D", "drawing:complexType:CT_PresetColor", "drawing:complexType:CT_PresetGeometry2D", "drawing:complexType:CT_PresetLineDashProperties", "drawing:complexType:CT_PresetShadowEffect", "drawing:complexType:CT_PresetTextShape", "drawing:complexType:CT_QuickTimeFile", "drawing:complexType:CT_Ratio", "drawing:complexType:CT_ReflectionEffect", "drawing:complexType:CT_RegularTextRun", "drawing:complexType:CT_RelativeOffsetEffect", "drawing:complexType:CT_RelativeRect", "drawing:complexType:CT_SRgbColor", "drawing:complexType:CT_ScRgbColor", "drawing:complexType:CT_Scale2D", "drawing:complexType:CT_Scene3D", "drawing:complexType:CT_SchemeColor", "drawing:complexType:CT_Shape3D", "drawing:complexType:CT_ShapeLocking", "drawing:complexType:CT_ShapeProperties", "drawing:complexType:CT_ShapeStyle", "drawing:complexType:CT_SoftEdgesEffect", "drawing:complexType:CT_SolidColorFillProperties", "drawing:complexType:CT_SphereCoords", "drawing:complexType:CT_StretchInfoProperties", "drawing:complexType:CT_StyleMatrix", "drawing:complexType:CT_StyleMatrixReference", "drawing:complexType:CT_SupplementalFont", "drawing:complexType:CT_SystemColor", "drawing:complexType:CT_Table", "drawing:complexType:CT_TableBackgroundStyle", "drawing:complexType:CT_TableCell", "drawing:complexType:CT_TableCellBorderStyle", "drawing:complexType:CT_TableCellProperties", "drawing:complexType:CT_TableCol", "drawing:complexType:CT_TableGrid", "drawing:complexType:CT_TablePartStyle", "drawing:complexType:CT_TableProperties", "drawing:complexType:CT_TableRow", "drawing:complexType:CT_TableStyle", "drawing:complexType:CT_TableStyleCellStyle", "drawing:complexType:CT_TableStyleList", "drawing:complexType:CT_TableStyleTextStyle", "drawing:complexType:CT_TextAutonumberBullet", "drawing:complexType:CT_TextBlipBullet", "drawing:complexType:CT_TextBody", "drawing:complexType:CT_TextBodyProperties", "drawing:complexType:CT_TextBulletColorFollowText", "drawing:complexType:CT_TextBulletSizeFollowText", "drawing:complexType:CT_TextBulletSizePercent", "drawing:complexType:CT_TextBulletSizePoint", "drawing:complexType:CT_TextBulletTypefaceFollowText", "drawing:complexType:CT_TextCharBullet", "drawing:complexType:CT_TextCharacterProperties", "drawing:complexType:CT_TextField", "drawing:complexType:CT_TextFont", "drawing:complexType:CT_TextLineBreak", "drawing:complexType:CT_TextListStyle", "drawing:complexType:CT_TextNoAutofit", "drawing:complexType:CT_TextNoBullet", "drawing:complexType:CT_TextNormalAutofit", "drawing:complexType:CT_TextParagraph", "drawing:complexType:CT_TextParagraphProperties", "drawing:complexType:CT_TextShapeAutofit", "drawing:complexType:CT_TextSpacing", "drawing:complexType:CT_TextSpacingPercent", "drawing:complexType:CT_TextSpacingPoint", "drawing:complexType:CT_TextTabStop", "drawing:complexType:CT_TextTabStopList", "drawing:complexType:CT_TextUnderlineFillFollowText", "drawing:complexType:CT_TextUnderlineFillGroupWrapper", "drawing:complexType:CT_TextUnderlineLineFollowText", "drawing:complexType:CT_ThemeableLineStyle", "drawing:complexType:CT_TileInfoProperties", "drawing:complexType:CT_TintEffect", "drawing:complexType:CT_Transform2D", "drawing:complexType:CT_TransformEffect", "drawing:complexType:CT_Vector3D", "drawing:complexType:CT_VideoFile", "drawing:complexType:CT_WholeE2oFormatting", "drawing:complexType:CT_XYAdjustHandle", "drawing:element:accent1", "drawing:element:accent2", "drawing:element:accent3", "drawing:element:accent4", "drawing:element:accent5", "drawing:element:accent6", "drawing:element:ahLst", "drawing:element:ahPolar", "drawing:element:ahXY", "drawing:element:alpha", "drawing:element:alphaBiLevel", "drawing:element:alphaCeiling", "drawing:element:alphaFloor", "drawing:element:alphaInv", "drawing:element:alphaMod", "drawing:element:alphaModFix", "drawing:element:alphaOff", "drawing:element:alphaOutset", "drawing:element:alphaRepl", "drawing:element:anchor", "drawing:element:arcTo", "drawing:element:audioCd", "drawing:element:audioFile", "drawing:element:avLst", "drawing:element:backdrop", "drawing:element:band1H", "drawing:element:band1V", "drawing:element:band2H", "drawing:element:band2V", "drawing:element:bevel", "drawing:element:bevelB", "drawing:element:bevelT", "drawing:element:bgClr", "drawing:element:bgFillStyleLst", "drawing:element:biLevel", "drawing:element:bldChart", "drawing:element:bldDgm", "drawing:element:blend", "drawing:element:blip", "drawing:element:blipFill", "drawing:element:blue", "drawing:element:blueMod", "drawing:element:blueOff", "drawing:element:blur", "drawing:element:bodyPr", "drawing:element:bottom", "drawing:element:br", "drawing:element:buAutoNum", "drawing:element:buBlip", "drawing:element:buChar", "drawing:element:buClr", "drawing:element:buClrTx", "drawing:element:buFont", "drawing:element:buFontTx", "drawing:element:buNone", "drawing:element:buSzPct", "drawing:element:buSzPts", "drawing:element:buSzTx", "drawing:element:cNvCxnSpPr", "drawing:element:cNvGraphicFramePr", "drawing:element:cNvGrpSpPr", "drawing:element:cNvPicPr", "drawing:element:cNvPr", "drawing:element:cNvSpPr", "drawing:element:camera", "drawing:element:cell3D", "drawing:element:chExt", "drawing:element:chOff", "drawing:element:chart", "drawing:element:close", "drawing:element:clrChange", "drawing:element:clrFrom", "drawing:element:clrMap", "drawing:element:clrRepl", "drawing:element:clrScheme", "drawing:element:clrTo", "drawing:element:comp", "drawing:element:cont", "drawing:element:contourClr", "drawing:element:cpLocks", "drawing:element:cs", "drawing:element:cubicBezTo", "drawing:element:custClr", "drawing:element:custClrLst", "drawing:element:custDash", "drawing:element:custGeom", "drawing:element:cxn", "drawing:element:cxnLst", "drawing:element:cxnSp", "drawing:element:cxnSpLocks", "drawing:element:defPPr", "drawing:element:defRPr", "drawing:element:dgm", "drawing:element:dk1", "drawing:element:dk2", "drawing:element:ds", "drawing:element:duotone", "drawing:element:ea", "drawing:element:effect", "drawing:element:effectDag", "drawing:element:effectLst", "drawing:element:effectRef", "drawing:element:effectStyle", "drawing:element:effectStyleLst", "drawing:element:end", "drawing:element:endCxn", "drawing:element:endParaRPr", "drawing:element:ext", "drawing:element:extLst", "drawing:element:extraClrScheme", "drawing:element:extraClrSchemeLst", "drawing:element:extrusionClr", "drawing:element:fgClr", "drawing:element:fill", "drawing:element:fillOverlay", "drawing:element:fillRect", "drawing:element:fillRef", "drawing:element:fillStyleLst", "drawing:element:fillToRect", "drawing:element:firstCol", "drawing:element:firstRow", "drawing:element:flatTx", "drawing:element:fld", "drawing:element:fmtScheme", "drawing:element:folHlink", "drawing:element:font", "drawing:element:fontRef", "drawing:element:fontScheme", "drawing:element:gamma", "drawing:element:gd", "drawing:element:gdLst", "drawing:element:glow", "drawing:element:gradFill", "drawing:element:graphic", "drawing:element:graphicData", "drawing:element:graphicFrame", "drawing:element:graphicFrameLocks", "drawing:element:gray", "drawing:element:grayscl", "drawing:element:green", "drawing:element:greenMod", "drawing:element:greenOff", "drawing:element:gridCol", "drawing:element:grpFill", "drawing:element:grpSp", "drawing:element:grpSpLocks", "drawing:element:grpSpPr", "drawing:element:gs", "drawing:element:gsLst", "drawing:element:headEnd", "drawing:element:header", "drawing:element:headers", "drawing:element:highlight", "drawing:element:hlink", "drawing:element:hlinkClick", "drawing:element:hlinkHover", "drawing:element:hlinkMouseOver", "drawing:element:hsl", "drawing:element:hslClr", "drawing:element:hue", "drawing:element:hueMod", "drawing:element:hueOff", "drawing:element:innerShdw", "drawing:element:insideH", "drawing:element:insideV", "drawing:element:inv", "drawing:element:invGamma", "drawing:element:lastCol", "drawing:element:lastRow", "drawing:element:latin", "drawing:element:left", "drawing:element:lightRig", "drawing:element:lin", "drawing:element:ln", "drawing:element:lnB", "drawing:element:lnBlToTr", "drawing:element:lnDef", "drawing:element:lnL", "drawing:element:lnR", "drawing:element:lnRef", "drawing:element:lnSpc", "drawing:element:lnStyleLst", "drawing:element:lnT", "drawing:element:lnTlToBr", "drawing:element:lnTo", "drawing:element:lstStyle", "drawing:element:lt1", "drawing:element:lt2", "drawing:element:lum", "drawing:element:lumMod", "drawing:element:lumOff", "drawing:element:lvl1pPr", "drawing:element:lvl2pPr", "drawing:element:lvl3pPr", "drawing:element:lvl4pPr", "drawing:element:lvl5pPr", "drawing:element:lvl6pPr", "drawing:element:lvl7pPr", "drawing:element:lvl8pPr", "drawing:element:lvl9pPr", "drawing:element:majorFont", "drawing:element:masterClrMapping", "drawing:element:minorFont", "drawing:element:miter", "drawing:element:moveTo", "drawing:element:neCell", "drawing:element:noAutofit", "drawing:element:noFill", "drawing:element:norm", "drawing:element:normAutofit", "drawing:element:nvCxnSpPr", "drawing:element:nvGraphicFramePr", "drawing:element:nvGrpSpPr", "drawing:element:nvPicPr", "drawing:element:nvSpPr", "drawing:element:nwCell", "drawing:element:objectDefaults", "drawing:element:off", "drawing:element:outerShdw", "drawing:element:overrideClrMapping", "drawing:element:p", "drawing:element:pPr", "drawing:element:path", "drawing:element:pathLst", "drawing:element:pattFill", "drawing:element:pic", "drawing:element:picLocks", "drawing:element:pos", "drawing:element:prstClr", "drawing:element:prstDash", "drawing:element:prstGeom", "drawing:element:prstShdw", "drawing:element:prstTxWarp", "drawing:element:pt", "drawing:element:quadBezTo", "drawing:element:quickTimeFile", "drawing:element:r", "drawing:element:rPr", "drawing:element:rect", "drawing:element:red", "drawing:element:redMod", "drawing:element:redOff", "drawing:element:reflection", "drawing:element:relOff", "drawing:element:right", "drawing:element:rot", "drawing:element:round", "drawing:element:rtl", "drawing:element:sat", "drawing:element:satMod", "drawing:element:satOff", "drawing:element:scene3d", "drawing:element:schemeClr", "drawing:element:scrgbClr", "drawing:element:seCell", "drawing:element:shade", "drawing:element:snd", "drawing:element:softEdge", "drawing:element:solidFill", "drawing:element:sp", "drawing:element:sp3d", "drawing:element:spAutoFit", "drawing:element:spDef", "drawing:element:spLocks", "drawing:element:spPr", "drawing:element:spcAft", "drawing:element:spcBef", "drawing:element:spcPct", "drawing:element:spcPts", "drawing:element:srcRect", "drawing:element:srgbClr", "drawing:element:st", "drawing:element:stCxn", "drawing:element:stretch", "drawing:element:style", "drawing:element:swCell", "drawing:element:sx", "drawing:element:sy", "drawing:element:sym", "drawing:element:sysClr", "drawing:element:t", "drawing:element:tab", "drawing:element:tabLst", "drawing:element:tableStyle", "drawing:element:tableStyleId", "drawing:element:tailEnd", "drawing:element:tbl", "drawing:element:tblBg", "drawing:element:tblGrid", "drawing:element:tblPr", "drawing:element:tblStyle", "drawing:element:tblStyleLst", "drawing:element:tc", "drawing:element:tcBdr", "drawing:element:tcPr", "drawing:element:tcStyle", "drawing:element:tcTxStyle", "drawing:element:theme", "drawing:element:themeElements", "drawing:element:themeManager", "drawing:element:themeOverride", "drawing:element:tile", "drawing:element:tileRect", "drawing:element:tint", "drawing:element:tl2br", "drawing:element:top", "drawing:element:tr", "drawing:element:tr2bl", "drawing:element:txBody", "drawing:element:txDef", "drawing:element:txSp", "drawing:element:uFill", "drawing:element:uFillTx", "drawing:element:uLn", "drawing:element:uLnTx", "drawing:element:up", "drawing:element:useSpRect", "drawing:element:videoFile", "drawing:element:wavAudioFile", "drawing:element:wholeTbl", "drawing:element:xfrm", "drawing:group:EG_ColorChoice", "drawing:group:EG_ColorTransform", "drawing:group:EG_Effect", "drawing:group:EG_EffectProperties", "drawing:group:EG_FillModeProperties", "drawing:group:EG_FillProperties", "drawing:group:EG_Geometry", "drawing:group:EG_LineDashProperties", "drawing:group:EG_LineFillProperties", "drawing:group:EG_LineJoinProperties", "drawing:group:EG_Media", "drawing:group:EG_OfficeArtExtensionList", "drawing:group:EG_ShadeProperties", "drawing:group:EG_Text3D", "drawing:group:EG_TextAutofit", "drawing:group:EG_TextBullet", "drawing:group:EG_TextBulletColor", "drawing:group:EG_TextBulletSize", "drawing:group:EG_TextBulletTypeface", "drawing:group:EG_TextGeometry", "drawing:group:EG_TextRun", "drawing:group:EG_TextUnderlineFill", "drawing:group:EG_TextUnderlineLine", "drawing:group:EG_ThemeableEffectStyle", "drawing:group:EG_ThemeableFillStyle", "drawing:group:EG_ThemeableFontStyles", "drawing:simpleType:ST_AdjAngle", "drawing:simpleType:ST_AdjCoordinate", "drawing:simpleType:ST_Angle", "drawing:simpleType:ST_AnimationBuildType", "drawing:simpleType:ST_AnimationChartBuildType", "drawing:simpleType:ST_AnimationChartOnlyBuildType", "drawing:simpleType:ST_AnimationDgmBuildType", "drawing:simpleType:ST_AnimationDgmOnlyBuildType", "drawing:simpleType:ST_BevelPresetType", "drawing:simpleType:ST_BlackWhiteMode", "drawing:simpleType:ST_BlendMode", "drawing:simpleType:ST_BlipCompression", "drawing:simpleType:ST_ChartBuildStep", "drawing:simpleType:ST_ColorSchemeIndex", "drawing:simpleType:ST_CompoundLine", "drawing:simpleType:ST_Coordinate", "drawing:simpleType:ST_Coordinate32", "drawing:simpleType:ST_Coordinate32Unqualified", "drawing:simpleType:ST_CoordinateUnqualified", "drawing:simpleType:ST_DgmBuildStep", "drawing:simpleType:ST_DrawingElementId", "drawing:simpleType:ST_EffectContainerType", "drawing:simpleType:ST_FOVAngle", "drawing:simpleType:ST_FixedAngle", "drawing:simpleType:ST_FixedPercentage", "drawing:simpleType:ST_FixedPercentageDecimal", "drawing:simpleType:ST_FontCollectionIndex", "drawing:simpleType:ST_GeomGuideFormula", "drawing:simpleType:ST_GeomGuideName", "drawing:simpleType:ST_LightRigDirection", "drawing:simpleType:ST_LightRigType", "drawing:simpleType:ST_LineCap", "drawing:simpleType:ST_LineEndLength", "drawing:simpleType:ST_LineEndType", "drawing:simpleType:ST_LineEndWidth", "drawing:simpleType:ST_LineWidth", "drawing:simpleType:ST_OnOffStyleType", "drawing:simpleType:ST_PathFillMode", "drawing:simpleType:ST_PathShadeType", "drawing:simpleType:ST_PenAlignment", "drawing:simpleType:ST_Percentage", "drawing:simpleType:ST_PercentageDecimal", "drawing:simpleType:ST_PitchFamily", "drawing:simpleType:ST_PositiveCoordinate", "drawing:simpleType:ST_PositiveCoordinate32", "drawing:simpleType:ST_PositiveFixedAngle", "drawing:simpleType:ST_PositiveFixedPercentage", "drawing:simpleType:ST_PositiveFixedPercentageDecimal", "drawing:simpleType:ST_PositivePercentage", "drawing:simpleType:ST_PositivePercentageDecimal", "drawing:simpleType:ST_PresetCameraType", "drawing:simpleType:ST_PresetColorVal", "drawing:simpleType:ST_PresetLineDashVal", "drawing:simpleType:ST_PresetMaterialType", "drawing:simpleType:ST_PresetPatternVal", "drawing:simpleType:ST_PresetShadowVal", "drawing:simpleType:ST_RectAlignment", "drawing:simpleType:ST_SchemeColorVal", "drawing:simpleType:ST_ShapeID", "drawing:simpleType:ST_ShapeType", "drawing:simpleType:ST_StyleMatrixColumnIndex", "drawing:simpleType:ST_SystemColorVal", "drawing:simpleType:ST_TextAlignType", "drawing:simpleType:ST_TextAnchoringType", "drawing:simpleType:ST_TextAutonumberScheme", "drawing:simpleType:ST_TextBulletSize", "drawing:simpleType:ST_TextBulletSizeDecimal", "drawing:simpleType:ST_TextBulletSizePercent", "drawing:simpleType:ST_TextBulletStartAtNum", "drawing:simpleType:ST_TextCapsType", "drawing:simpleType:ST_TextColumnCount", "drawing:simpleType:ST_TextFontAlignType", "drawing:simpleType:ST_TextFontScalePercent", "drawing:simpleType:ST_TextFontScalePercentOrPercentString", "drawing:simpleType:ST_TextFontSize", "drawing:simpleType:ST_TextHorzOverflowType", "drawing:simpleType:ST_TextIndent", "drawing:simpleType:ST_TextIndentLevelType", "drawing:simpleType:ST_TextMargin", "drawing:simpleType:ST_TextNonNegativePoint", "drawing:simpleType:ST_TextPoint", "drawing:simpleType:ST_TextPointUnqualified", "drawing:simpleType:ST_TextShapeType", "drawing:simpleType:ST_TextSpacingPercent", "drawing:simpleType:ST_TextSpacingPercentOrPercentString", "drawing:simpleType:ST_TextSpacingPoint", "drawing:simpleType:ST_TextStrikeType", "drawing:simpleType:ST_TextTabAlignType", "drawing:simpleType:ST_TextTypeface", "drawing:simpleType:ST_TextUnderlineType", "drawing:simpleType:ST_TextVertOverflowType", "drawing:simpleType:ST_TextVerticalType", "drawing:simpleType:ST_TextWrappingType", "drawing:simpleType:ST_TileFlipMode", "presentation:attribute:accel", "presentation:attribute:accumulate", "presentation:attribute:additive", "presentation:attribute:advAuto", "presentation:attribute:advClick", "presentation:attribute:advTm", "presentation:attribute:afterEffect", "presentation:attribute:algIdExt", "presentation:attribute:algIdExtSource", "presentation:attribute:algorithmName", "presentation:attribute:allowPng", "presentation:attribute:animBg", "presentation:attribute:authorId", "presentation:attribute:autoAdjust", "presentation:attribute:autoCompressPictures", "presentation:attribute:autoRev", "presentation:attribute:autoUpdateAnimBg", "presentation:attribute:b", "presentation:attribute:backwards", "presentation:attribute:bld", "presentation:attribute:bldLvl", "presentation:attribute:bookmarkIdSeed", "presentation:attribute:build", "presentation:attribute:bw", "presentation:attribute:bwMode", "presentation:attribute:by", "presentation:attribute:calcmode", "presentation:attribute:clientInsertedTime", "presentation:attribute:clr", "presentation:attribute:clrIdx", "presentation:attribute:clrMode", "presentation:attribute:clrSpc", "presentation:attribute:cmd", "presentation:attribute:collapse", "presentation:attribute:compatMode", "presentation:attribute:concurrent", "presentation:attribute:conformance", "presentation:attribute:cryptAlgorithmClass", "presentation:attribute:cryptAlgorithmSid", "presentation:attribute:cryptAlgorithmType", "presentation:attribute:cryptProvider", "presentation:attribute:cryptProviderType", "presentation:attribute:cryptProviderTypeExt", "presentation:attribute:cryptProviderTypeExtSource", "presentation:attribute:cx", "presentation:attribute:cy", "presentation:attribute:decel", "presentation:attribute:delay", "presentation:attribute:dir", "presentation:attribute:display", "presentation:attribute:dt", "presentation:attribute:dur", "presentation:attribute:embedTrueTypeFonts", "presentation:attribute:encoding", "presentation:attribute:end", "presentation:attribute:evt", "presentation:attribute:evtFilter", "presentation:attribute:fill", "presentation:attribute:filter", "presentation:attribute:firstSlideNum", "presentation:attribute:fmla", "presentation:attribute:followColorScheme", "presentation:attribute:frame", "presentation:attribute:frameSlides", "presentation:attribute:from", "presentation:attribute:ftr", "presentation:attribute:fullScrn", "presentation:attribute:g", "presentation:attribute:grpId", "presentation:attribute:h", "presentation:attribute:hasCustomPrompt", "presentation:attribute:hashData", "presentation:attribute:hashValue", "presentation:attribute:hdr", "presentation:attribute:hiddenSlides", "presentation:attribute:horzBarState", "presentation:attribute:id", "presentation:attribute:idx", "presentation:attribute:imgH", "presentation:attribute:imgSz", "presentation:attribute:imgW", "presentation:attribute:initials", "presentation:attribute:invalEndChars", "presentation:attribute:invalStChars", "presentation:attribute:isNarration", "presentation:attribute:isPhoto", "presentation:attribute:l", "presentation:attribute:lang", "presentation:attribute:lastIdx", "presentation:attribute:lastView", "presentation:attribute:layout", "presentation:attribute:loop", "presentation:attribute:lvl", "presentation:attribute:masterRel", "presentation:attribute:matchingName", "presentation:attribute:mod", "presentation:attribute:mute", "presentation:attribute:name", "presentation:attribute:nextAc", "presentation:attribute:nodePh", "presentation:attribute:nodeType", "presentation:attribute:numSld", "presentation:attribute:organizeInFolders", "presentation:attribute:orient", "presentation:attribute:origin", "presentation:attribute:override", "presentation:attribute:path", "presentation:attribute:pathEditMode", "presentation:attribute:pos", "presentation:attribute:prLst", "presentation:attribute:preferSingleView", "presentation:attribute:preserve", "presentation:attribute:presetClass", "presentation:attribute:presetID", "presentation:attribute:presetSubtype", "presentation:attribute:prevAc", "presentation:attribute:prnWhat", "presentation:attribute:progId", "presentation:attribute:ptsTypes", "presentation:attribute:r", "presentation:attribute:rAng", "presentation:attribute:rctx", "presentation:attribute:relyOnVml", "presentation:attribute:removePersonalInfoOnSave", "presentation:attribute:repeatCount", "presentation:attribute:repeatDur", "presentation:attribute:resizeGraphics", "presentation:attribute:restart", "presentation:attribute:rev", "presentation:attribute:rtl", "presentation:attribute:s", "presentation:attribute:saltData", "presentation:attribute:saltValue", "presentation:attribute:saveSubsetFonts", "presentation:attribute:scaleToFitPaper", "presentation:attribute:serverSldId", "presentation:attribute:serverSldModifiedTime", "presentation:attribute:serverZoom", "presentation:attribute:shadeToTitle", "presentation:attribute:show", "presentation:attribute:showAnimation", "presentation:attribute:showAsIcon", "presentation:attribute:showCaptions", "presentation:attribute:showComments", "presentation:attribute:showFormatting", "presentation:attribute:showGuides", "presentation:attribute:showMasterPhAnim", "presentation:attribute:showMasterSp", "presentation:attribute:showNarration", "presentation:attribute:showOutlineIcons", "presentation:attribute:showScrollbar", "presentation:attribute:showSpeakerNotes", "presentation:attribute:showSpecialPlsOnTitleSld", "presentation:attribute:showWhenStopped", "presentation:attribute:sldNum", "presentation:attribute:snapToGrid", "presentation:attribute:snapToObjects", "presentation:attribute:snapVertSplitter", "presentation:attribute:spd", "presentation:attribute:spid", "presentation:attribute:spinCount", "presentation:attribute:spinValue", "presentation:attribute:spokes", "presentation:attribute:st", "presentation:attribute:strictFirstAndLastChars", "presentation:attribute:syncBehavior", "presentation:attribute:sz", "presentation:attribute:target", "presentation:attribute:thruBlk", "presentation:attribute:title", "presentation:attribute:tm", "presentation:attribute:tmFilter", "presentation:attribute:to", "presentation:attribute:transition", "presentation:attribute:type", "presentation:attribute:uiExpand", "presentation:attribute:updateAutomatic", "presentation:attribute:uri", "presentation:attribute:useBgFill", "presentation:attribute:useLongFilenames", "presentation:attribute:useTimings", "presentation:attribute:userDrawn", "presentation:attribute:val", "presentation:attribute:valueType", "presentation:attribute:varScale", "presentation:attribute:vertBarState", "presentation:attribute:vol", "presentation:attribute:x", "presentation:attribute:xfrmType", "presentation:attribute:y", "presentation:attribute:zoomContents", "presentation:attributeGroup:AG_ChildSlide", "presentation:attributeGroup:AG_Ole", "presentation:attributeGroup:AG_TLBuild", "presentation:complexType:CT_ApplicationNonVisualDrawingProps", "presentation:complexType:CT_Background", "presentation:complexType:CT_BackgroundProperties", "presentation:complexType:CT_BuildList", "presentation:complexType:CT_Comment", "presentation:complexType:CT_CommentAuthor", "presentation:complexType:CT_CommentAuthorList", "presentation:complexType:CT_CommentList", "presentation:complexType:CT_CommonSlideData", "presentation:complexType:CT_CommonSlideViewProperties", "presentation:complexType:CT_CommonViewProperties", "presentation:complexType:CT_Connector", "presentation:complexType:CT_ConnectorNonVisual", "presentation:complexType:CT_Control", "presentation:complexType:CT_ControlList", "presentation:complexType:CT_CornerDirectionTransition", "presentation:complexType:CT_CustomShow", "presentation:complexType:CT_CustomShowId", "presentation:complexType:CT_CustomShowList", "presentation:complexType:CT_CustomerData", "presentation:complexType:CT_CustomerDataList", "presentation:complexType:CT_EightDirectionTransition", "presentation:complexType:CT_EmbeddedFontDataId", "presentation:complexType:CT_EmbeddedFontList", "presentation:complexType:CT_EmbeddedFontListEntry", "presentation:complexType:CT_Empty", "presentation:complexType:CT_Extension", "presentation:complexType:CT_ExtensionList", "presentation:complexType:CT_ExtensionListModify", "presentation:complexType:CT_GraphicalObjectFrame", "presentation:complexType:CT_GraphicalObjectFrameNonVisual", "presentation:complexType:CT_GroupShape", "presentation:complexType:CT_GroupShapeNonVisual", "presentation:complexType:CT_Guide", "presentation:complexType:CT_GuideList", "presentation:complexType:CT_HandoutMaster", "presentation:complexType:CT_HandoutMasterIdList", "presentation:complexType:CT_HandoutMasterIdListEntry", "presentation:complexType:CT_HeaderFooter", "presentation:complexType:CT_HtmlPublishProperties", "presentation:complexType:CT_InOutTransition", "presentation:complexType:CT_IndexRange", "presentation:complexType:CT_Kinsoku", "presentation:complexType:CT_ModifyVerifier", "presentation:complexType:CT_NormalViewPortion", "presentation:complexType:CT_NormalViewProperties", "presentation:complexType:CT_NotesMaster", "presentation:complexType:CT_NotesMasterIdList", "presentation:complexType:CT_NotesMasterIdListEntry", "presentation:complexType:CT_NotesSlide", "presentation:complexType:CT_NotesTextViewProperties", "presentation:complexType:CT_NotesViewProperties", "presentation:complexType:CT_OleObject", "presentation:complexType:CT_OleObjectEmbed", "presentation:complexType:CT_OleObjectLink", "presentation:complexType:CT_OptionalBlackTransition", "presentation:complexType:CT_OrientationTransition", "presentation:complexType:CT_OutlineViewProperties", "presentation:complexType:CT_OutlineViewSlideEntry", "presentation:complexType:CT_OutlineViewSlideList", "presentation:complexType:CT_PhotoAlbum", "presentation:complexType:CT_Picture", "presentation:complexType:CT_PictureNonVisual", "presentation:complexType:CT_Placeholder", "presentation:complexType:CT_Presentation", "presentation:complexType:CT_PresentationProperties", "presentation:complexType:CT_PrintProperties", "presentation:complexType:CT_Rel", "presentation:complexType:CT_Shape", "presentation:complexType:CT_ShapeNonVisual", "presentation:complexType:CT_ShowInfoBrowse", "presentation:complexType:CT_ShowInfoKiosk", "presentation:complexType:CT_ShowProperties", "presentation:complexType:CT_SideDirectionTransition", "presentation:complexType:CT_Slide", "presentation:complexType:CT_SlideIdList", "presentation:complexType:CT_SlideIdListEntry", "presentation:complexType:CT_SlideLayout", "presentation:complexType:CT_SlideLayoutIdList", "presentation:complexType:CT_SlideLayoutIdListEntry", "presentation:complexType:CT_SlideMaster", "presentation:complexType:CT_SlideMasterIdList", "presentation:complexType:CT_SlideMasterIdListEntry", "presentation:complexType:CT_SlideMasterTextStyles", "presentation:complexType:CT_SlideRelationshipList", "presentation:complexType:CT_SlideRelationshipListEntry", "presentation:complexType:CT_SlideSize", "presentation:complexType:CT_SlideSorterViewProperties", "presentation:complexType:CT_SlideSyncProperties", "presentation:complexType:CT_SlideTiming", "presentation:complexType:CT_SlideTransition", "presentation:complexType:CT_SlideViewProperties", "presentation:complexType:CT_SmartTags", "presentation:complexType:CT_SplitTransition", "presentation:complexType:CT_StringTag", "presentation:complexType:CT_TLAnimVariant", "presentation:complexType:CT_TLAnimVariantBooleanVal", "presentation:complexType:CT_TLAnimVariantFloatVal", "presentation:complexType:CT_TLAnimVariantIntegerVal", "presentation:complexType:CT_TLAnimVariantStringVal", "presentation:complexType:CT_TLAnimateBehavior", "presentation:complexType:CT_TLAnimateColorBehavior", "presentation:complexType:CT_TLAnimateEffectBehavior", "presentation:complexType:CT_TLAnimateMotionBehavior", "presentation:complexType:CT_TLAnimateRotationBehavior", "presentation:complexType:CT_TLAnimateScaleBehavior", "presentation:complexType:CT_TLBehaviorAttributeNameList", "presentation:complexType:CT_TLBuildDiagram", "presentation:complexType:CT_TLBuildParagraph", "presentation:complexType:CT_TLByAnimateColorTransform", "presentation:complexType:CT_TLByHslColorTransform", "presentation:complexType:CT_TLByRgbColorTransform", "presentation:complexType:CT_TLCommandBehavior", "presentation:complexType:CT_TLCommonBehaviorData", "presentation:complexType:CT_TLCommonMediaNodeData", "presentation:complexType:CT_TLCommonTimeNodeData", "presentation:complexType:CT_TLGraphicalObjectBuild", "presentation:complexType:CT_TLIterateData", "presentation:complexType:CT_TLIterateIntervalPercentage", "presentation:complexType:CT_TLIterateIntervalTime", "presentation:complexType:CT_TLMediaNodeAudio", "presentation:complexType:CT_TLMediaNodeVideo", "presentation:complexType:CT_TLOleBuildChart", "presentation:complexType:CT_TLOleChartTargetElement", "presentation:complexType:CT_TLPoint", "presentation:complexType:CT_TLSetBehavior", "presentation:complexType:CT_TLShapeTargetElement", "presentation:complexType:CT_TLSubShapeId", "presentation:complexType:CT_TLTemplate", "presentation:complexType:CT_TLTemplateList", "presentation:complexType:CT_TLTextTargetElement", "presentation:complexType:CT_TLTimeAnimateValue", "presentation:complexType:CT_TLTimeAnimateValueList", "presentation:complexType:CT_TLTimeCondition", "presentation:complexType:CT_TLTimeConditionList", "presentation:complexType:CT_TLTimeNodeExclusive", "presentation:complexType:CT_TLTimeNodeParallel", "presentation:complexType:CT_TLTimeNodeSequence", "presentation:complexType:CT_TLTimeTargetElement", "presentation:complexType:CT_TLTriggerRuntimeNode", "presentation:complexType:CT_TLTriggerTimeNodeID", "presentation:complexType:CT_TagList", "presentation:complexType:CT_TagsData", "presentation:complexType:CT_TimeNodeList", "presentation:complexType:CT_TransitionSoundAction", "presentation:complexType:CT_TransitionStartSoundAction", "presentation:complexType:CT_ViewProperties", "presentation:complexType:CT_WebProperties", "presentation:complexType:CT_WheelTransition", "presentation:element:anim", "presentation:element:animClr", "presentation:element:animEffect", "presentation:element:animMotion", "presentation:element:animRot", "presentation:element:animScale", "presentation:element:attrName", "presentation:element:attrNameLst", "presentation:element:audio", "presentation:element:bg", "presentation:element:bgPr", "presentation:element:bgRef", "presentation:element:bldAsOne", "presentation:element:bldDgm", "presentation:element:bldGraphic", "presentation:element:bldLst", "presentation:element:bldOleChart", "presentation:element:bldP", "presentation:element:bldSub", "presentation:element:blinds", "presentation:element:blipFill", "presentation:element:bodyStyle", "presentation:element:bold", "presentation:element:boldItalic", "presentation:element:boolVal", "presentation:element:browse", "presentation:element:by", "presentation:element:cBhvr", "presentation:element:cMediaNode", "presentation:element:cNvCxnSpPr", "presentation:element:cNvGraphicFramePr", "presentation:element:cNvGrpSpPr", "presentation:element:cNvPicPr", "presentation:element:cNvPr", "presentation:element:cNvSpPr", "presentation:element:cSld", "presentation:element:cSldViewPr", "presentation:element:cTn", "presentation:element:cViewPr", "presentation:element:charRg", "presentation:element:checker", "presentation:element:childTnLst", "presentation:element:circle", "presentation:element:clrMap", "presentation:element:clrMapOvr", "presentation:element:clrMru", "presentation:element:clrVal", "presentation:element:cm", "presentation:element:cmAuthor", "presentation:element:cmAuthorLst", "presentation:element:cmLst", "presentation:element:cmd", "presentation:element:comb", "presentation:element:cond", "presentation:element:contentPart", "presentation:element:control", "presentation:element:controls", "presentation:element:cover", "presentation:element:custData", "presentation:element:custDataLst", "presentation:element:custShow", "presentation:element:custShowLst", "presentation:element:cut", "presentation:element:cxnSp", "presentation:element:defaultTextStyle", "presentation:element:diamond", "presentation:element:dissolve", "presentation:element:embed", "presentation:element:embeddedFont", "presentation:element:embeddedFontLst", "presentation:element:endCondLst", "presentation:element:endSnd", "presentation:element:endSync", "presentation:element:excl", "presentation:element:ext", "presentation:element:extLst", "presentation:element:fade", "presentation:element:fltVal", "presentation:element:font", "presentation:element:from", "presentation:element:graphicEl", "presentation:element:graphicFrame", "presentation:element:gridSpacing", "presentation:element:grpSp", "presentation:element:grpSpPr", "presentation:element:guide", "presentation:element:guideLst", "presentation:element:handoutMaster", "presentation:element:handoutMasterId", "presentation:element:handoutMasterIdLst", "presentation:element:hf", "presentation:element:hsl", "presentation:element:htmlPubPr", "presentation:element:inkTgt", "presentation:element:intVal", "presentation:element:italic", "presentation:element:iterate", "presentation:element:kinsoku", "presentation:element:kiosk", "presentation:element:link", "presentation:element:modifyVerifier", "presentation:element:newsflash", "presentation:element:nextCondLst", "presentation:element:normalViewPr", "presentation:element:notes", "presentation:element:notesMaster", "presentation:element:notesMasterId", "presentation:element:notesMasterIdLst", "presentation:element:notesStyle", "presentation:element:notesSz", "presentation:element:notesTextViewPr", "presentation:element:notesViewPr", "presentation:element:nvCxnSpPr", "presentation:element:nvGraphicFramePr", "presentation:element:nvGrpSpPr", "presentation:element:nvPicPr", "presentation:element:nvPr", "presentation:element:nvSpPr", "presentation:element:oleChartEl", "presentation:element:oleObj", "presentation:element:origin", "presentation:element:otherStyle", "presentation:element:outlineViewPr", "presentation:element:pRg", "presentation:element:par", "presentation:element:penClr", "presentation:element:ph", "presentation:element:photoAlbum", "presentation:element:pic", "presentation:element:plus", "presentation:element:pos", "presentation:element:present", "presentation:element:presentation", "presentation:element:presentationPr", "presentation:element:prevCondLst", "presentation:element:prnPr", "presentation:element:progress", "presentation:element:pull", "presentation:element:push", "presentation:element:rCtr", "presentation:element:random", "presentation:element:randomBar", "presentation:element:regular", "presentation:element:restoredLeft", "presentation:element:restoredTop", "presentation:element:rgb", "presentation:element:rtn", "presentation:element:scale", "presentation:element:seq", "presentation:element:set", "presentation:element:showPr", "presentation:element:sld", "presentation:element:sldAll", "presentation:element:sldId", "presentation:element:sldIdLst", "presentation:element:sldLayout", "presentation:element:sldLayoutId", "presentation:element:sldLayoutIdLst", "presentation:element:sldLst", "presentation:element:sldMaster", "presentation:element:sldMasterId", "presentation:element:sldMasterIdLst", "presentation:element:sldRg", "presentation:element:sldSyncPr", "presentation:element:sldSz", "presentation:element:sldTgt", "presentation:element:slideViewPr", "presentation:element:smartTags", "presentation:element:sndAc", "presentation:element:sndTgt", "presentation:element:sorterViewPr", "presentation:element:sp", "presentation:element:spPr", "presentation:element:spTgt", "presentation:element:spTree", "presentation:element:split", "presentation:element:stCondLst", "presentation:element:stSnd", "presentation:element:strVal", "presentation:element:strips", "presentation:element:style", "presentation:element:subSp", "presentation:element:subTnLst", "presentation:element:tag", "presentation:element:tagLst", "presentation:element:tags", "presentation:element:tav", "presentation:element:tavLst", "presentation:element:text", "presentation:element:tgtEl", "presentation:element:timing", "presentation:element:titleStyle", "presentation:element:tmAbs", "presentation:element:tmPct", "presentation:element:tmpl", "presentation:element:tmplLst", "presentation:element:tn", "presentation:element:tnLst", "presentation:element:to", "presentation:element:transition", "presentation:element:txBody", "presentation:element:txEl", "presentation:element:txStyles", "presentation:element:val", "presentation:element:video", "presentation:element:viewPr", "presentation:element:webPr", "presentation:element:wedge", "presentation:element:wheel", "presentation:element:wipe", "presentation:element:xfrm", "presentation:element:zoom", "presentation:group:EG_Background", "presentation:group:EG_ChildSlide", "presentation:group:EG_ExtensionList", "presentation:group:EG_ShowType", "presentation:group:EG_SlideListChoice", "presentation:group:EG_TopLevelSlide", "presentation:simpleType:ST_BookmarkIdSeed", "presentation:simpleType:ST_Direction", "presentation:simpleType:ST_Index", "presentation:simpleType:ST_IterateType", "presentation:simpleType:ST_Name", "presentation:simpleType:ST_OleObjectFollowColorScheme", "presentation:simpleType:ST_PhotoAlbumFrameShape", "presentation:simpleType:ST_PhotoAlbumLayout", "presentation:simpleType:ST_PlaceholderSize", "presentation:simpleType:ST_PlaceholderType", "presentation:simpleType:ST_PrintColorMode", "presentation:simpleType:ST_PrintWhat", "presentation:simpleType:ST_SlideId", "presentation:simpleType:ST_SlideLayoutId", "presentation:simpleType:ST_SlideLayoutType", "presentation:simpleType:ST_SlideMasterId", "presentation:simpleType:ST_SlideSizeCoordinate", "presentation:simpleType:ST_SlideSizeType", "presentation:simpleType:ST_SplitterBarState", "presentation:simpleType:ST_TLAnimateBehaviorCalcMode", "presentation:simpleType:ST_TLAnimateBehaviorValueType", "presentation:simpleType:ST_TLAnimateColorDirection", "presentation:simpleType:ST_TLAnimateColorSpace", "presentation:simpleType:ST_TLAnimateEffectTransition", "presentation:simpleType:ST_TLAnimateMotionBehaviorOrigin", "presentation:simpleType:ST_TLAnimateMotionPathEditMode", "presentation:simpleType:ST_TLBehaviorAccumulateType", "presentation:simpleType:ST_TLBehaviorAdditiveType", "presentation:simpleType:ST_TLBehaviorOverrideType", "presentation:simpleType:ST_TLBehaviorTransformType", "presentation:simpleType:ST_TLChartSubelementType", "presentation:simpleType:ST_TLCommandType", "presentation:simpleType:ST_TLDiagramBuildType", "presentation:simpleType:ST_TLNextActionType", "presentation:simpleType:ST_TLOleChartBuildType", "presentation:simpleType:ST_TLParaBuildType", "presentation:simpleType:ST_TLPreviousActionType", "presentation:simpleType:ST_TLTime", "presentation:simpleType:ST_TLTimeAnimateValueTime", "presentation:simpleType:ST_TLTimeIndefinite", "presentation:simpleType:ST_TLTimeNodeFillType", "presentation:simpleType:ST_TLTimeNodeID", "presentation:simpleType:ST_TLTimeNodeMasterRelation", "presentation:simpleType:ST_TLTimeNodePresetClassType", "presentation:simpleType:ST_TLTimeNodeRestartType", "presentation:simpleType:ST_TLTimeNodeSyncType", "presentation:simpleType:ST_TLTimeNodeType", "presentation:simpleType:ST_TLTriggerEvent", "presentation:simpleType:ST_TLTriggerRuntimeNode", "presentation:simpleType:ST_TransitionCornerDirectionType", "presentation:simpleType:ST_TransitionEightDirectionType", "presentation:simpleType:ST_TransitionInOutDirectionType", "presentation:simpleType:ST_TransitionSideDirectionType", "presentation:simpleType:ST_TransitionSpeed", "presentation:simpleType:ST_ViewType", "presentation:simpleType:ST_WebColorType", "presentation:simpleType:ST_WebEncoding", "presentation:simpleType:ST_WebScreenSize"]; //#endregion //#region src/pptx/core/openxml/schema-constructs.generated.d.ts export declare const OPENXML_SCHEMA_CONSTRUCT_IDS: readonly ("chart:attribute:alignWithMargins" | "chart:attribute:b" | "chart:attribute:blackAndWhite" | "chart:attribute:copies" | "chart:attribute:differentFirst" | "chart:attribute:differentOddEven" | "chart:attribute:draft" | "chart:attribute:firstPageNumber" | "chart:attribute:footer" | "chart:attribute:formatCode" | "chart:attribute:header" | "chart:attribute:horizontalDpi" | "chart:attribute:idx" | "chart:attribute:l" | "chart:attribute:orientation" | "chart:attribute:paperHeight" | "chart:attribute:paperSize" | "chart:attribute:paperWidth" | "chart:attribute:r" | "chart:attribute:sourceLinked" | "chart:attribute:t" | "chart:attribute:uri" | "chart:attribute:useFirstPageNumber" | "chart:attribute:val" | "chart:attribute:verticalDpi" | "chart:complexType:CT_Area3DChart" | "chart:complexType:CT_AreaChart" | "chart:complexType:CT_AreaSer" | "chart:complexType:CT_AxDataSource" | "chart:complexType:CT_AxPos" | "chart:complexType:CT_AxisUnit" | "chart:complexType:CT_BandFmt" | "chart:complexType:CT_BandFmts" | "chart:complexType:CT_Bar3DChart" | "chart:complexType:CT_BarChart" | "chart:complexType:CT_BarDir" | "chart:complexType:CT_BarGrouping" | "chart:complexType:CT_BarSer" | "chart:complexType:CT_Boolean" | "chart:complexType:CT_BubbleChart" | "chart:complexType:CT_BubbleScale" | "chart:complexType:CT_BubbleSer" | "chart:complexType:CT_BuiltInUnit" | "chart:complexType:CT_CatAx" | "chart:complexType:CT_Chart" | "chart:complexType:CT_ChartLines" | "chart:complexType:CT_ChartSpace" | "chart:complexType:CT_CrossBetween" | "chart:complexType:CT_Crosses" | "chart:complexType:CT_CustSplit" | "chart:complexType:CT_DLbl" | "chart:complexType:CT_DLblPos" | "chart:complexType:CT_DLbls" | "chart:complexType:CT_DPt" | "chart:complexType:CT_DTable" | "chart:complexType:CT_DateAx" | "chart:complexType:CT_DepthPercent" | "chart:complexType:CT_DispBlanksAs" | "chart:complexType:CT_DispUnits" | "chart:complexType:CT_DispUnitsLbl" | "chart:complexType:CT_Double" | "chart:complexType:CT_DoughnutChart" | "chart:complexType:CT_ErrBarType" | "chart:complexType:CT_ErrBars" | "chart:complexType:CT_ErrDir" | "chart:complexType:CT_ErrValType" | "chart:complexType:CT_Extension" | "chart:complexType:CT_ExtensionList" | "chart:complexType:CT_ExternalData" | "chart:complexType:CT_FirstSliceAng" | "chart:complexType:CT_GapAmount" | "chart:complexType:CT_Grouping" | "chart:complexType:CT_HPercent" | "chart:complexType:CT_HeaderFooter" | "chart:complexType:CT_HoleSize" | "chart:complexType:CT_Layout" | "chart:complexType:CT_LayoutMode" | "chart:complexType:CT_LayoutTarget" | "chart:complexType:CT_LblAlgn" | "chart:complexType:CT_LblOffset" | "chart:complexType:CT_Legend" | "chart:complexType:CT_LegendEntry" | "chart:complexType:CT_LegendPos" | "chart:complexType:CT_Line3DChart" | "chart:complexType:CT_LineChart" | "chart:complexType:CT_LineSer" | "chart:complexType:CT_LogBase" | "chart:complexType:CT_Lvl" | "chart:complexType:CT_ManualLayout" | "chart:complexType:CT_Marker" | "chart:complexType:CT_MarkerSize" | "chart:complexType:CT_MarkerStyle" | "chart:complexType:CT_MultiLvlStrData" | "chart:complexType:CT_MultiLvlStrRef" | "chart:complexType:CT_NumData" | "chart:complexType:CT_NumDataSource" | "chart:complexType:CT_NumFmt" | "chart:complexType:CT_NumRef" | "chart:complexType:CT_NumVal" | "chart:complexType:CT_OfPieChart" | "chart:complexType:CT_OfPieType" | "chart:complexType:CT_Order" | "chart:complexType:CT_Orientation" | "chart:complexType:CT_Overlap" | "chart:complexType:CT_PageMargins" | "chart:complexType:CT_PageSetup" | "chart:complexType:CT_Period" | "chart:complexType:CT_Perspective" | "chart:complexType:CT_PictureFormat" | "chart:complexType:CT_PictureOptions" | "chart:complexType:CT_PictureStackUnit" | "chart:complexType:CT_Pie3DChart" | "chart:complexType:CT_PieChart" | "chart:complexType:CT_PieSer" | "chart:complexType:CT_PivotFmt" | "chart:complexType:CT_PivotFmts" | "chart:complexType:CT_PivotSource" | "chart:complexType:CT_PlotArea" | "chart:complexType:CT_PrintSettings" | "chart:complexType:CT_Protection" | "chart:complexType:CT_RadarChart" | "chart:complexType:CT_RadarSer" | "chart:complexType:CT_RadarStyle" | "chart:complexType:CT_RelId" | "chart:complexType:CT_RotX" | "chart:complexType:CT_RotY" | "chart:complexType:CT_Scaling" | "chart:complexType:CT_ScatterChart" | "chart:complexType:CT_ScatterSer" | "chart:complexType:CT_ScatterStyle" | "chart:complexType:CT_SecondPieSize" | "chart:complexType:CT_SerAx" | "chart:complexType:CT_SerTx" | "chart:complexType:CT_Shape" | "chart:complexType:CT_SizeRepresents" | "chart:complexType:CT_Skip" | "chart:complexType:CT_SplitType" | "chart:complexType:CT_StockChart" | "chart:complexType:CT_StrData" | "chart:complexType:CT_StrRef" | "chart:complexType:CT_StrVal" | "chart:complexType:CT_Style" | "chart:complexType:CT_Surface" | "chart:complexType:CT_Surface3DChart" | "chart:complexType:CT_SurfaceChart" | "chart:complexType:CT_SurfaceSer" | "chart:complexType:CT_TextLanguageID" | "chart:complexType:CT_Thickness" | "chart:complexType:CT_TickLblPos" | "chart:complexType:CT_TickMark" | "chart:complexType:CT_TimeUnit" | "chart:complexType:CT_Title" | "chart:complexType:CT_Trendline" | "chart:complexType:CT_TrendlineLbl" | "chart:complexType:CT_TrendlineType" | "chart:complexType:CT_Tx" | "chart:complexType:CT_UnsignedInt" | "chart:complexType:CT_UpDownBar" | "chart:complexType:CT_UpDownBars" | "chart:complexType:CT_ValAx" | "chart:complexType:CT_View3D" | "chart:element:applyToEnd" | "chart:element:applyToFront" | "chart:element:applyToSides" | "chart:element:area3DChart" | "chart:element:areaChart" | "chart:element:auto" | "chart:element:autoTitleDeleted" | "chart:element:autoUpdate" | "chart:element:axId" | "chart:element:axPos" | "chart:element:backWall" | "chart:element:backward" | "chart:element:bandFmt" | "chart:element:bandFmts" | "chart:element:bar3DChart" | "chart:element:barChart" | "chart:element:barDir" | "chart:element:baseTimeUnit" | "chart:element:bubble3D" | "chart:element:bubbleChart" | "chart:element:bubbleScale" | "chart:element:bubbleSize" | "chart:element:builtInUnit" | "chart:element:cat" | "chart:element:catAx" | "chart:element:chart" | "chart:element:chartObject" | "chart:element:chartSpace" | "chart:element:clrMapOvr" | "chart:element:crossAx" | "chart:element:crossBetween" | "chart:element:crosses" | "chart:element:crossesAt" | "chart:element:custSplit" | "chart:element:custUnit" | "chart:element:dLbl" | "chart:element:dLblPos" | "chart:element:dLbls" | "chart:element:dPt" | "chart:element:dTable" | "chart:element:data" | "chart:element:date1904" | "chart:element:dateAx" | "chart:element:delete" | "chart:element:depthPercent" | "chart:element:dispBlanksAs" | "chart:element:dispEq" | "chart:element:dispRSqr" | "chart:element:dispUnits" | "chart:element:dispUnitsLbl" | "chart:element:doughnutChart" | "chart:element:downBars" | "chart:element:dropLines" | "chart:element:errBarType" | "chart:element:errBars" | "chart:element:errDir" | "chart:element:errValType" | "chart:element:evenFooter" | "chart:element:evenHeader" | "chart:element:explosion" | "chart:element:ext" | "chart:element:extLst" | "chart:element:externalData" | "chart:element:f" | "chart:element:firstFooter" | "chart:element:firstHeader" | "chart:element:firstSliceAng" | "chart:element:floor" | "chart:element:fmtId" | "chart:element:formatCode" | "chart:element:formatting" | "chart:element:forward" | "chart:element:gapDepth" | "chart:element:gapWidth" | "chart:element:grouping" | "chart:element:h" | "chart:element:hMode" | "chart:element:hPercent" | "chart:element:headerFooter" | "chart:element:hiLowLines" | "chart:element:holeSize" | "chart:element:idx" | "chart:element:intercept" | "chart:element:invertIfNegative" | "chart:element:lang" | "chart:element:layout" | "chart:element:layoutTarget" | "chart:element:lblAlgn" | "chart:element:lblOffset" | "chart:element:leaderLines" | "chart:element:legend" | "chart:element:legendEntry" | "chart:element:legendPos" | "chart:element:line3DChart" | "chart:element:lineChart" | "chart:element:logBase" | "chart:element:lvl" | "chart:element:majorGridlines" | "chart:element:majorTickMark" | "chart:element:majorTimeUnit" | "chart:element:majorUnit" | "chart:element:manualLayout" | "chart:element:marker" | "chart:element:max" | "chart:element:min" | "chart:element:minorGridlines" | "chart:element:minorTickMark" | "chart:element:minorTimeUnit" | "chart:element:minorUnit" | "chart:element:minus" | "chart:element:multiLvlStrCache" | "chart:element:multiLvlStrRef" | "chart:element:name" | "chart:element:noEndCap" | "chart:element:noMultiLvlLbl" | "chart:element:numCache" | "chart:element:numFmt" | "chart:element:numLit" | "chart:element:numRef" | "chart:element:oddFooter" | "chart:element:oddHeader" | "chart:element:ofPieChart" | "chart:element:ofPieType" | "chart:element:order" | "chart:element:orientation" | "chart:element:overlap" | "chart:element:overlay" | "chart:element:pageMargins" | "chart:element:pageSetup" | "chart:element:period" | "chart:element:perspective" | "chart:element:pictureFormat" | "chart:element:pictureOptions" | "chart:element:pictureStackUnit" | "chart:element:pie3DChart" | "chart:element:pieChart" | "chart:element:pivotFmt" | "chart:element:pivotFmts" | "chart:element:pivotSource" | "chart:element:plotArea" | "chart:element:plotVisOnly" | "chart:element:plus" | "chart:element:printSettings" | "chart:element:protection" | "chart:element:pt" | "chart:element:ptCount" | "chart:element:rAngAx" | "chart:element:radarChart" | "chart:element:radarStyle" | "chart:element:rich" | "chart:element:rotX" | "chart:element:rotY" | "chart:element:roundedCorners" | "chart:element:scaling" | "chart:element:scatterChart" | "chart:element:scatterStyle" | "chart:element:secondPiePt" | "chart:element:secondPieSize" | "chart:element:selection" | "chart:element:separator" | "chart:element:ser" | "chart:element:serAx" | "chart:element:serLines" | "chart:element:shape" | "chart:element:showBubbleSize" | "chart:element:showCatName" | "chart:element:showDLblsOverMax" | "chart:element:showHorzBorder" | "chart:element:showKeys" | "chart:element:showLeaderLines" | "chart:element:showLegendKey" | "chart:element:showNegBubbles" | "chart:element:showOutline" | "chart:element:showPercent" | "chart:element:showSerName" | "chart:element:showVal" | "chart:element:showVertBorder" | "chart:element:sideWall" | "chart:element:size" | "chart:element:sizeRepresents" | "chart:element:smooth" | "chart:element:spPr" | "chart:element:splitPos" | "chart:element:splitType" | "chart:element:stockChart" | "chart:element:strCache" | "chart:element:strLit" | "chart:element:strRef" | "chart:element:style" | "chart:element:surface3DChart" | "chart:element:surfaceChart" | "chart:element:symbol" | "chart:element:thickness" | "chart:element:tickLblPos" | "chart:element:tickLblSkip" | "chart:element:tickMarkSkip" | "chart:element:title" | "chart:element:trendline" | "chart:element:trendlineLbl" | "chart:element:trendlineType" | "chart:element:tx" | "chart:element:txPr" | "chart:element:upBars" | "chart:element:upDownBars" | "chart:element:userInterface" | "chart:element:userShapes" | "chart:element:v" | "chart:element:val" | "chart:element:valAx" | "chart:element:varyColors" | "chart:element:view3D" | "chart:element:w" | "chart:element:wMode" | "chart:element:wireframe" | "chart:element:x" | "chart:element:xMode" | "chart:element:xVal" | "chart:element:y" | "chart:element:yMode" | "chart:element:yVal" | "chart:group:EG_AreaChartShared" | "chart:group:EG_AxShared" | "chart:group:EG_BarChartShared" | "chart:group:EG_DLblShared" | "chart:group:EG_LegendEntryData" | "chart:group:EG_LineChartShared" | "chart:group:EG_PieChartShared" | "chart:group:EG_SerShared" | "chart:group:EG_SurfaceChartShared" | "chart:group:Group_DLbl" | "chart:group:Group_DLbls" | "chart:simpleType:ST_AxPos" | "chart:simpleType:ST_AxisUnit" | "chart:simpleType:ST_BarDir" | "chart:simpleType:ST_BarGrouping" | "chart:simpleType:ST_BubbleScale" | "chart:simpleType:ST_BubbleScalePercent" | "chart:simpleType:ST_BuiltInUnit" | "chart:simpleType:ST_CrossBetween" | "chart:simpleType:ST_Crosses" | "chart:simpleType:ST_DLblPos" | "chart:simpleType:ST_DepthPercent" | "chart:simpleType:ST_DepthPercentWithSymbol" | "chart:simpleType:ST_DispBlanksAs" | "chart:simpleType:ST_ErrBarType" | "chart:simpleType:ST_ErrDir" | "chart:simpleType:ST_ErrValType" | "chart:simpleType:ST_FirstSliceAng" | "chart:simpleType:ST_GapAmount" | "chart:simpleType:ST_GapAmountPercent" | "chart:simpleType:ST_Grouping" | "chart:simpleType:ST_HPercent" | "chart:simpleType:ST_HPercentWithSymbol" | "chart:simpleType:ST_HoleSize" | "chart:simpleType:ST_HoleSizePercent" | "chart:simpleType:ST_LayoutMode" | "chart:simpleType:ST_LayoutTarget" | "chart:simpleType:ST_LblAlgn" | "chart:simpleType:ST_LblOffset" | "chart:simpleType:ST_LblOffsetPercent" | "chart:simpleType:ST_LegendPos" | "chart:simpleType:ST_LogBase" | "chart:simpleType:ST_MarkerSize" | "chart:simpleType:ST_MarkerStyle" | "chart:simpleType:ST_OfPieType" | "chart:simpleType:ST_Order" | "chart:simpleType:ST_Orientation" | "chart:simpleType:ST_Overlap" | "chart:simpleType:ST_OverlapPercent" | "chart:simpleType:ST_PageSetupOrientation" | "chart:simpleType:ST_Period" | "chart:simpleType:ST_Perspective" | "chart:simpleType:ST_PictureFormat" | "chart:simpleType:ST_PictureStackUnit" | "chart:simpleType:ST_RadarStyle" | "chart:simpleType:ST_RotX" | "chart:simpleType:ST_RotY" | "chart:simpleType:ST_ScatterStyle" | "chart:simpleType:ST_SecondPieSize" | "chart:simpleType:ST_SecondPieSizePercent" | "chart:simpleType:ST_Shape" | "chart:simpleType:ST_SizeRepresents" | "chart:simpleType:ST_Skip" | "chart:simpleType:ST_SplitType" | "chart:simpleType:ST_Style" | "chart:simpleType:ST_Thickness" | "chart:simpleType:ST_ThicknessPercent" | "chart:simpleType:ST_TickLblPos" | "chart:simpleType:ST_TickMark" | "chart:simpleType:ST_TimeUnit" | "chart:simpleType:ST_TrendlineType" | "diagram:attribute:arg" | "diagram:attribute:axis" | "diagram:attribute:blipPhldr" | "diagram:attribute:chOrder" | "diagram:attribute:cnt" | "diagram:attribute:coherent3DOff" | "diagram:attribute:csCatId" | "diagram:attribute:csTypeId" | "diagram:attribute:custAng" | "diagram:attribute:custFlipHor" | "diagram:attribute:custFlipVert" | "diagram:attribute:custLinFactNeighborX" | "diagram:attribute:custLinFactNeighborY" | "diagram:attribute:custLinFactX" | "diagram:attribute:custLinFactY" | "diagram:attribute:custRadScaleInc" | "diagram:attribute:custRadScaleRad" | "diagram:attribute:custScaleX" | "diagram:attribute:custScaleY" | "diagram:attribute:custSzX" | "diagram:attribute:custSzY" | "diagram:attribute:custT" | "diagram:attribute:cxnId" | "diagram:attribute:defStyle" | "diagram:attribute:destId" | "diagram:attribute:destOrd" | "diagram:attribute:fact" | "diagram:attribute:for" | "diagram:attribute:forName" | "diagram:attribute:func" | "diagram:attribute:hideGeom" | "diagram:attribute:hideLastTrans" | "diagram:attribute:hueDir" | "diagram:attribute:idx" | "diagram:attribute:lang" | "diagram:attribute:lkTxEntry" | "diagram:attribute:loCatId" | "diagram:attribute:loTypeId" | "diagram:attribute:max" | "diagram:attribute:meth" | "diagram:attribute:minVer" | "diagram:attribute:modelId" | "diagram:attribute:moveWith" | "diagram:attribute:name" | "diagram:attribute:op" | "diagram:attribute:parTransId" | "diagram:attribute:phldr" | "diagram:attribute:phldrT" | "diagram:attribute:presAssocID" | "diagram:attribute:presId" | "diagram:attribute:presName" | "diagram:attribute:presStyleCnt" | "diagram:attribute:presStyleIdx" | "diagram:attribute:presStyleLbl" | "diagram:attribute:pri" | "diagram:attribute:ptType" | "diagram:attribute:qsCatId" | "diagram:attribute:qsTypeId" | "diagram:attribute:ref" | "diagram:attribute:refFor" | "diagram:attribute:refForName" | "diagram:attribute:refPtType" | "diagram:attribute:refType" | "diagram:attribute:resId" | "diagram:attribute:rev" | "diagram:attribute:rot" | "diagram:attribute:sibTransId" | "diagram:attribute:srcId" | "diagram:attribute:srcOrd" | "diagram:attribute:st" | "diagram:attribute:step" | "diagram:attribute:styleLbl" | "diagram:attribute:type" | "diagram:attribute:uniqueId" | "diagram:attribute:useDef" | "diagram:attribute:val" | "diagram:attribute:zOrderOff" | "diagram:attributeGroup:AG_ConstraintAttributes" | "diagram:attributeGroup:AG_ConstraintRefAttributes" | "diagram:attributeGroup:AG_IteratorAttributes" | "diagram:complexType:CT_Adj" | "diagram:complexType:CT_AdjLst" | "diagram:complexType:CT_Algorithm" | "diagram:complexType:CT_AnimLvl" | "diagram:complexType:CT_AnimOne" | "diagram:complexType:CT_BulletEnabled" | "diagram:complexType:CT_CTCategories" | "diagram:complexType:CT_CTCategory" | "diagram:complexType:CT_CTDescription" | "diagram:complexType:CT_CTName" | "diagram:complexType:CT_CTStyleLabel" | "diagram:complexType:CT_Categories" | "diagram:complexType:CT_Category" | "diagram:complexType:CT_ChildMax" | "diagram:complexType:CT_ChildPref" | "diagram:complexType:CT_Choose" | "diagram:complexType:CT_ColorTransform" | "diagram:complexType:CT_ColorTransformHeader" | "diagram:complexType:CT_ColorTransformHeaderLst" | "diagram:complexType:CT_Colors" | "diagram:complexType:CT_Constraint" | "diagram:complexType:CT_Constraints" | "diagram:complexType:CT_Cxn" | "diagram:complexType:CT_CxnList" | "diagram:complexType:CT_DataModel" | "diagram:complexType:CT_Description" | "diagram:complexType:CT_DiagramDefinition" | "diagram:complexType:CT_DiagramDefinitionHeader" | "diagram:complexType:CT_DiagramDefinitionHeaderLst" | "diagram:complexType:CT_Direction" | "diagram:complexType:CT_ElemPropSet" | "diagram:complexType:CT_ForEach" | "diagram:complexType:CT_HierBranchStyle" | "diagram:complexType:CT_LayoutNode" | "diagram:complexType:CT_LayoutVariablePropertySet" | "diagram:complexType:CT_Name" | "diagram:complexType:CT_NumericRule" | "diagram:complexType:CT_OrgChart" | "diagram:complexType:CT_Otherwise" | "diagram:complexType:CT_Parameter" | "diagram:complexType:CT_PresentationOf" | "diagram:complexType:CT_Pt" | "diagram:complexType:CT_PtList" | "diagram:complexType:CT_RelIds" | "diagram:complexType:CT_ResizeHandles" | "diagram:complexType:CT_Rules" | "diagram:complexType:CT_SDCategories" | "diagram:complexType:CT_SDCategory" | "diagram:complexType:CT_SDDescription" | "diagram:complexType:CT_SDName" | "diagram:complexType:CT_SampleData" | "diagram:complexType:CT_Shape" | "diagram:complexType:CT_StyleDefinition" | "diagram:complexType:CT_StyleDefinitionHeader" | "diagram:complexType:CT_StyleDefinitionHeaderLst" | "diagram:complexType:CT_StyleLabel" | "diagram:complexType:CT_TextProps" | "diagram:complexType:CT_When" | "diagram:element:adj" | "diagram:element:adjLst" | "diagram:element:alg" | "diagram:element:animLvl" | "diagram:element:animOne" | "diagram:element:bg" | "diagram:element:bulletEnabled" | "diagram:element:cat" | "diagram:element:catLst" | "diagram:element:chMax" | "diagram:element:chPref" | "diagram:element:choose" | "diagram:element:clrData" | "diagram:element:colorsDef" | "diagram:element:colorsDefHdr" | "diagram:element:colorsDefHdrLst" | "diagram:element:constr" | "diagram:element:constrLst" | "diagram:element:cxn" | "diagram:element:cxnLst" | "diagram:element:dataModel" | "diagram:element:desc" | "diagram:element:dir" | "diagram:element:effectClrLst" | "diagram:element:else" | "diagram:element:extLst" | "diagram:element:fillClrLst" | "diagram:element:forEach" | "diagram:element:hierBranch" | "diagram:element:if" | "diagram:element:layoutDef" | "diagram:element:layoutDefHdr" | "diagram:element:layoutDefHdrLst" | "diagram:element:layoutNode" | "diagram:element:linClrLst" | "diagram:element:orgChart" | "diagram:element:param" | "diagram:element:prSet" | "diagram:element:presLayoutVars" | "diagram:element:presOf" | "diagram:element:pt" | "diagram:element:ptLst" | "diagram:element:relIds" | "diagram:element:resizeHandles" | "diagram:element:rule" | "diagram:element:ruleLst" | "diagram:element:sampData" | "diagram:element:scene3d" | "diagram:element:shape" | "diagram:element:sp3d" | "diagram:element:spPr" | "diagram:element:style" | "diagram:element:styleData" | "diagram:element:styleDef" | "diagram:element:styleDefHdr" | "diagram:element:styleDefHdrLst" | "diagram:element:styleLbl" | "diagram:element:t" | "diagram:element:title" | "diagram:element:txEffectClrLst" | "diagram:element:txFillClrLst" | "diagram:element:txLinClrLst" | "diagram:element:txPr" | "diagram:element:varLst" | "diagram:element:whole" | "diagram:simpleType:ST_AlgorithmType" | "diagram:simpleType:ST_AnimLvlStr" | "diagram:simpleType:ST_AnimOneStr" | "diagram:simpleType:ST_ArrowheadStyle" | "diagram:simpleType:ST_AutoTextRotation" | "diagram:simpleType:ST_AxisType" | "diagram:simpleType:ST_AxisTypes" | "diagram:simpleType:ST_BendPoint" | "diagram:simpleType:ST_BoolOperator" | "diagram:simpleType:ST_Booleans" | "diagram:simpleType:ST_Breakpoint" | "diagram:simpleType:ST_CenterShapeMapping" | "diagram:simpleType:ST_ChildAlignment" | "diagram:simpleType:ST_ChildDirection" | "diagram:simpleType:ST_ChildOrderType" | "diagram:simpleType:ST_ClrAppMethod" | "diagram:simpleType:ST_ConnectorDimension" | "diagram:simpleType:ST_ConnectorPoint" | "diagram:simpleType:ST_ConnectorRouting" | "diagram:simpleType:ST_ConstraintRelationship" | "diagram:simpleType:ST_ConstraintType" | "diagram:simpleType:ST_ContinueDirection" | "diagram:simpleType:ST_CxnType" | "diagram:simpleType:ST_DiagramHorizontalAlignment" | "diagram:simpleType:ST_DiagramTextAlignment" | "diagram:simpleType:ST_Direction" | "diagram:simpleType:ST_ElementType" | "diagram:simpleType:ST_ElementTypes" | "diagram:simpleType:ST_FallbackDimension" | "diagram:simpleType:ST_FlowDirection" | "diagram:simpleType:ST_FunctionArgument" | "diagram:simpleType:ST_FunctionOperator" | "diagram:simpleType:ST_FunctionType" | "diagram:simpleType:ST_FunctionValue" | "diagram:simpleType:ST_GrowDirection" | "diagram:simpleType:ST_HierBranchStyle" | "diagram:simpleType:ST_HierarchyAlignment" | "diagram:simpleType:ST_HueDir" | "diagram:simpleType:ST_Index1" | "diagram:simpleType:ST_Ints" | "diagram:simpleType:ST_LayoutShapeType" | "diagram:simpleType:ST_LinearDirection" | "diagram:simpleType:ST_ModelId" | "diagram:simpleType:ST_NodeCount" | "diagram:simpleType:ST_NodeHorizontalAlignment" | "diagram:simpleType:ST_NodeVerticalAlignment" | "diagram:simpleType:ST_Offset" | "diagram:simpleType:ST_OutputShapeType" | "diagram:simpleType:ST_ParameterId" | "diagram:simpleType:ST_ParameterVal" | "diagram:simpleType:ST_PrSetCustVal" | "diagram:simpleType:ST_PtType" | "diagram:simpleType:ST_PyramidAccentPosition" | "diagram:simpleType:ST_PyramidAccentTextMargin" | "diagram:simpleType:ST_ResizeHandlesStr" | "diagram:simpleType:ST_RotationPath" | "diagram:simpleType:ST_SecondaryChildAlignment" | "diagram:simpleType:ST_SecondaryLinearDirection" | "diagram:simpleType:ST_StartingElement" | "diagram:simpleType:ST_TextAnchorHorizontal" | "diagram:simpleType:ST_TextAnchorVertical" | "diagram:simpleType:ST_TextBlockDirection" | "diagram:simpleType:ST_TextDirection" | "diagram:simpleType:ST_UnsignedInts" | "diagram:simpleType:ST_VariableType" | "diagram:simpleType:ST_VerticalAlignment" | "drawing:attribute:a" | "drawing:attribute:accent1" | "drawing:attribute:accent2" | "drawing:attribute:accent3" | "drawing:attribute:accent4" | "drawing:attribute:accent5" | "drawing:attribute:accent6" | "drawing:attribute:action" | "drawing:attribute:algn" | "drawing:attribute:altLang" | "drawing:attribute:amt" | "drawing:attribute:anchor" | "drawing:attribute:anchorCtr" | "drawing:attribute:ang" | "drawing:attribute:animBg" | "drawing:attribute:b" | "drawing:attribute:bIns" | "drawing:attribute:bandCol" | "drawing:attribute:bandRow" | "drawing:attribute:baseline" | "drawing:attribute:bg1" | "drawing:attribute:bg2" | "drawing:attribute:bld" | "drawing:attribute:bldStep" | "drawing:attribute:blend" | "drawing:attribute:blurRad" | "drawing:attribute:bmk" | "drawing:attribute:bright" | "drawing:attribute:bwMode" | "drawing:attribute:cap" | "drawing:attribute:categoryIdx" | "drawing:attribute:char" | "drawing:attribute:charset" | "drawing:attribute:cmpd" | "drawing:attribute:compatLnSpc" | "drawing:attribute:contentType" | "drawing:attribute:contourW" | "drawing:attribute:contrast" | "drawing:attribute:cstate" | "drawing:attribute:cx" | "drawing:attribute:cy" | "drawing:attribute:d" | "drawing:attribute:def" | "drawing:attribute:defTabSz" | "drawing:attribute:descr" | "drawing:attribute:dir" | "drawing:attribute:dirty" | "drawing:attribute:dist" | "drawing:attribute:dpi" | "drawing:attribute:dx" | "drawing:attribute:dy" | "drawing:attribute:dz" | "drawing:attribute:eaLnBrk" | "drawing:attribute:endA" | "drawing:attribute:endPos" | "drawing:attribute:endSnd" | "drawing:attribute:err" | "drawing:attribute:extrusionH" | "drawing:attribute:extrusionOk" | "drawing:attribute:fadeDir" | "drawing:attribute:fill" | "drawing:attribute:firstCol" | "drawing:attribute:firstRow" | "drawing:attribute:flip" | "drawing:attribute:flipH" | "drawing:attribute:flipV" | "drawing:attribute:fmla" | "drawing:attribute:folHlink" | "drawing:attribute:fontAlgn" | "drawing:attribute:fontScale" | "drawing:attribute:forceAA" | "drawing:attribute:fov" | "drawing:attribute:fromWordArt" | "drawing:attribute:g" | "drawing:attribute:gdRefAng" | "drawing:attribute:gdRefR" | "drawing:attribute:gdRefX" | "drawing:attribute:gdRefY" | "drawing:attribute:gridSpan" | "drawing:attribute:grow" | "drawing:attribute:h" | "drawing:attribute:hMerge" | "drawing:attribute:hR" | "drawing:attribute:hangingPunct" | "drawing:attribute:hidden" | "drawing:attribute:highlightClick" | "drawing:attribute:history" | "drawing:attribute:hlink" | "drawing:attribute:horzOverflow" | "drawing:attribute:hue" | "drawing:attribute:i" | "drawing:attribute:id" | "drawing:attribute:idx" | "drawing:attribute:indent" | "drawing:attribute:invalidUrl" | "drawing:attribute:isComment" | "drawing:attribute:kern" | "drawing:attribute:kumimoji" | "drawing:attribute:kx" | "drawing:attribute:ky" | "drawing:attribute:l" | "drawing:attribute:lIns" | "drawing:attribute:lang" | "drawing:attribute:lastClr" | "drawing:attribute:lastCol" | "drawing:attribute:lastRow" | "drawing:attribute:lat" | "drawing:attribute:latinLnBrk" | "drawing:attribute:len" | "drawing:attribute:lim" | "drawing:attribute:lnSpcReduction" | "drawing:attribute:lon" | "drawing:attribute:lum" | "drawing:attribute:lvl" | "drawing:attribute:marB" | "drawing:attribute:marL" | "drawing:attribute:marR" | "drawing:attribute:marT" | "drawing:attribute:maxAng" | "drawing:attribute:maxR" | "drawing:attribute:maxX" | "drawing:attribute:maxY" | "drawing:attribute:minAng" | "drawing:attribute:minR" | "drawing:attribute:minX" | "drawing:attribute:minY" | "drawing:attribute:n" | "drawing:attribute:name" | "drawing:attribute:noAdjustHandles" | "drawing:attribute:noChangeArrowheads" | "drawing:attribute:noChangeAspect" | "drawing:attribute:noChangeShapeType" | "drawing:attribute:noCrop" | "drawing:attribute:noDrilldown" | "drawing:attribute:noEditPoints" | "drawing:attribute:noGrp" | "drawing:attribute:noMove" | "drawing:attribute:noProof" | "drawing:attribute:noResize" | "drawing:attribute:noRot" | "drawing:attribute:noSelect" | "drawing:attribute:noTextEdit" | "drawing:attribute:noUngrp" | "drawing:attribute:normalizeH" | "drawing:attribute:numCol" | "drawing:attribute:panose" | "drawing:attribute:path" | "drawing:attribute:pitchFamily" | "drawing:attribute:pos" | "drawing:attribute:preferRelativeResize" | "drawing:attribute:prst" | "drawing:attribute:prstMaterial" | "drawing:attribute:r" | "drawing:attribute:rIns" | "drawing:attribute:rad" | "drawing:attribute:ref" | "drawing:attribute:rev" | "drawing:attribute:rig" | "drawing:attribute:rot" | "drawing:attribute:rotWithShape" | "drawing:attribute:rowSpan" | "drawing:attribute:rtl" | "drawing:attribute:rtlCol" | "drawing:attribute:sat" | "drawing:attribute:scaled" | "drawing:attribute:script" | "drawing:attribute:seriesIdx" | "drawing:attribute:smtClean" | "drawing:attribute:smtId" | "drawing:attribute:sp" | "drawing:attribute:spc" | "drawing:attribute:spcCol" | "drawing:attribute:spcFirstLastPara" | "drawing:attribute:stA" | "drawing:attribute:stAng" | "drawing:attribute:stPos" | "drawing:attribute:startAt" | "drawing:attribute:strike" | "drawing:attribute:stroke" | "drawing:attribute:styleId" | "drawing:attribute:styleName" | "drawing:attribute:swAng" | "drawing:attribute:sx" | "drawing:attribute:sy" | "drawing:attribute:sz" | "drawing:attribute:t" | "drawing:attribute:tIns" | "drawing:attribute:tgtFrame" | "drawing:attribute:thresh" | "drawing:attribute:time" | "drawing:attribute:title" | "drawing:attribute:tooltip" | "drawing:attribute:track" | "drawing:attribute:tx" | "drawing:attribute:tx1" | "drawing:attribute:tx2" | "drawing:attribute:txBox" | "drawing:attribute:ty" | "drawing:attribute:type" | "drawing:attribute:typeface" | "drawing:attribute:u" | "drawing:attribute:upright" | "drawing:attribute:uri" | "drawing:attribute:useA" | "drawing:attribute:vMerge" | "drawing:attribute:val" | "drawing:attribute:vert" | "drawing:attribute:vertOverflow" | "drawing:attribute:w" | "drawing:attribute:wR" | "drawing:attribute:wrap" | "drawing:attribute:x" | "drawing:attribute:y" | "drawing:attribute:z" | "drawing:attribute:zoom" | "drawing:attributeGroup:AG_Blob" | "drawing:attributeGroup:AG_Locking" | "drawing:complexType:CT_AdjPoint2D" | "drawing:complexType:CT_AdjustHandleList" | "drawing:complexType:CT_AlphaBiLevelEffect" | "drawing:complexType:CT_AlphaCeilingEffect" | "drawing:complexType:CT_AlphaFloorEffect" | "drawing:complexType:CT_AlphaInverseEffect" | "drawing:complexType:CT_AlphaModulateEffect" | "drawing:complexType:CT_AlphaModulateFixedEffect" | "drawing:complexType:CT_AlphaOutsetEffect" | "drawing:complexType:CT_AlphaReplaceEffect" | "drawing:complexType:CT_Angle" | "drawing:complexType:CT_AnimationChartBuildProperties" | "drawing:complexType:CT_AnimationChartElement" | "drawing:complexType:CT_AnimationDgmBuildProperties" | "drawing:complexType:CT_AnimationDgmElement" | "drawing:complexType:CT_AnimationElementChoice" | "drawing:complexType:CT_AnimationGraphicalObjectBuildProperties" | "drawing:complexType:CT_AudioCD" | "drawing:complexType:CT_AudioCDTime" | "drawing:complexType:CT_AudioFile" | "drawing:complexType:CT_Backdrop" | "drawing:complexType:CT_BackgroundFillStyleList" | "drawing:complexType:CT_BackgroundFormatting" | "drawing:complexType:CT_BaseStyles" | "drawing:complexType:CT_BaseStylesOverride" | "drawing:complexType:CT_Bevel" | "drawing:complexType:CT_BiLevelEffect" | "drawing:complexType:CT_BlendEffect" | "drawing:complexType:CT_Blip" | "drawing:complexType:CT_BlipFillProperties" | "drawing:complexType:CT_BlurEffect" | "drawing:complexType:CT_Boolean" | "drawing:complexType:CT_Camera" | "drawing:complexType:CT_Cell3D" | "drawing:complexType:CT_ClipboardStyleSheet" | "drawing:complexType:CT_Color" | "drawing:complexType:CT_ColorChangeEffect" | "drawing:complexType:CT_ColorMRU" | "drawing:complexType:CT_ColorMapping" | "drawing:complexType:CT_ColorMappingOverride" | "drawing:complexType:CT_ColorReplaceEffect" | "drawing:complexType:CT_ColorScheme" | "drawing:complexType:CT_ColorSchemeAndMapping" | "drawing:complexType:CT_ColorSchemeList" | "drawing:complexType:CT_ComplementTransform" | "drawing:complexType:CT_Connection" | "drawing:complexType:CT_ConnectionSite" | "drawing:complexType:CT_ConnectionSiteList" | "drawing:complexType:CT_ConnectorLocking" | "drawing:complexType:CT_ContentPartLocking" | "drawing:complexType:CT_CustomColor" | "drawing:complexType:CT_CustomColorList" | "drawing:complexType:CT_CustomGeometry2D" | "drawing:complexType:CT_DashStop" | "drawing:complexType:CT_DashStopList" | "drawing:complexType:CT_DefaultShapeDefinition" | "drawing:complexType:CT_DuotoneEffect" | "drawing:complexType:CT_EffectContainer" | "drawing:complexType:CT_EffectList" | "drawing:complexType:CT_EffectProperties" | "drawing:complexType:CT_EffectReference" | "drawing:complexType:CT_EffectStyleItem" | "drawing:complexType:CT_EffectStyleList" | "drawing:complexType:CT_EmbeddedWAVAudioFile" | "drawing:complexType:CT_EmptyElement" | "drawing:complexType:CT_FillEffect" | "drawing:complexType:CT_FillOverlayEffect" | "drawing:complexType:CT_FillProperties" | "drawing:complexType:CT_FillStyleList" | "drawing:complexType:CT_FixedPercentage" | "drawing:complexType:CT_FlatText" | "drawing:complexType:CT_FontCollection" | "drawing:complexType:CT_FontReference" | "drawing:complexType:CT_FontScheme" | "drawing:complexType:CT_GammaTransform" | "drawing:complexType:CT_GeomGuide" | "drawing:complexType:CT_GeomGuideList" | "drawing:complexType:CT_GeomRect" | "drawing:complexType:CT_GlowEffect" | "drawing:complexType:CT_GradientFillProperties" | "drawing:complexType:CT_GradientStop" | "drawing:complexType:CT_GradientStopList" | "drawing:complexType:CT_GraphicalObject" | "drawing:complexType:CT_GraphicalObjectData" | "drawing:complexType:CT_GraphicalObjectFrameLocking" | "drawing:complexType:CT_GrayscaleEffect" | "drawing:complexType:CT_GrayscaleTransform" | "drawing:complexType:CT_GroupFillProperties" | "drawing:complexType:CT_GroupLocking" | "drawing:complexType:CT_GroupShapeProperties" | "drawing:complexType:CT_GroupTransform2D" | "drawing:complexType:CT_GvmlConnector" | "drawing:complexType:CT_GvmlConnectorNonVisual" | "drawing:complexType:CT_GvmlGraphicFrameNonVisual" | "drawing:complexType:CT_GvmlGraphicalObjectFrame" | "drawing:complexType:CT_GvmlGroupShape" | "drawing:complexType:CT_GvmlGroupShapeNonVisual" | "drawing:complexType:CT_GvmlPicture" | "drawing:complexType:CT_GvmlPictureNonVisual" | "drawing:complexType:CT_GvmlShape" | "drawing:complexType:CT_GvmlShapeNonVisual" | "drawing:complexType:CT_GvmlTextShape" | "drawing:complexType:CT_GvmlUseShapeRectangle" | "drawing:complexType:CT_HSLEffect" | "drawing:complexType:CT_Headers" | "drawing:complexType:CT_HslColor" | "drawing:complexType:CT_Hyperlink" | "drawing:complexType:CT_InnerShadowEffect" | "drawing:complexType:CT_InverseGammaTransform" | "drawing:complexType:CT_InverseTransform" | "drawing:complexType:CT_LightRig" | "drawing:complexType:CT_LineEndProperties" | "drawing:complexType:CT_LineJoinBevel" | "drawing:complexType:CT_LineJoinMiterProperties" | "drawing:complexType:CT_LineJoinRound" | "drawing:complexType:CT_LineProperties" | "drawing:complexType:CT_LineStyleList" | "drawing:complexType:CT_LinearShadeProperties" | "drawing:complexType:CT_LuminanceEffect" | "drawing:complexType:CT_NoFillProperties" | "drawing:complexType:CT_NonVisualConnectorProperties" | "drawing:complexType:CT_NonVisualContentPartProperties" | "drawing:complexType:CT_NonVisualDrawingProps" | "drawing:complexType:CT_NonVisualDrawingShapeProps" | "drawing:complexType:CT_NonVisualGraphicFrameProperties" | "drawing:complexType:CT_NonVisualGroupDrawingShapeProps" | "drawing:complexType:CT_NonVisualPictureProperties" | "drawing:complexType:CT_ObjectStyleDefaults" | "drawing:complexType:CT_OfficeArtExtension" | "drawing:complexType:CT_OfficeArtExtensionList" | "drawing:complexType:CT_OfficeStyleSheet" | "drawing:complexType:CT_OuterShadowEffect" | "drawing:complexType:CT_Path2D" | "drawing:complexType:CT_Path2DArcTo" | "drawing:complexType:CT_Path2DClose" | "drawing:complexType:CT_Path2DCubicBezierTo" | "drawing:complexType:CT_Path2DLineTo" | "drawing:complexType:CT_Path2DList" | "drawing:complexType:CT_Path2DMoveTo" | "drawing:complexType:CT_Path2DQuadBezierTo" | "drawing:complexType:CT_PathShadeProperties" | "drawing:complexType:CT_PatternFillProperties" | "drawing:complexType:CT_Percentage" | "drawing:complexType:CT_PictureLocking" | "drawing:complexType:CT_Point2D" | "drawing:complexType:CT_Point3D" | "drawing:complexType:CT_PolarAdjustHandle" | "drawing:complexType:CT_PositiveFixedAngle" | "drawing:complexType:CT_PositiveFixedPercentage" | "drawing:complexType:CT_PositivePercentage" | "drawing:complexType:CT_PositiveSize2D" | "drawing:complexType:CT_PresetColor" | "drawing:complexType:CT_PresetGeometry2D" | "drawing:complexType:CT_PresetLineDashProperties" | "drawing:complexType:CT_PresetShadowEffect" | "drawing:complexType:CT_PresetTextShape" | "drawing:complexType:CT_QuickTimeFile" | "drawing:complexType:CT_Ratio" | "drawing:complexType:CT_ReflectionEffect" | "drawing:complexType:CT_RegularTextRun" | "drawing:complexType:CT_RelativeOffsetEffect" | "drawing:complexType:CT_RelativeRect" | "drawing:complexType:CT_SRgbColor" | "drawing:complexType:CT_ScRgbColor" | "drawing:complexType:CT_Scale2D" | "drawing:complexType:CT_Scene3D" | "drawing:complexType:CT_SchemeColor" | "drawing:complexType:CT_Shape3D" | "drawing:complexType:CT_ShapeLocking" | "drawing:complexType:CT_ShapeProperties" | "drawing:complexType:CT_ShapeStyle" | "drawing:complexType:CT_SoftEdgesEffect" | "drawing:complexType:CT_SolidColorFillProperties" | "drawing:complexType:CT_SphereCoords" | "drawing:complexType:CT_StretchInfoProperties" | "drawing:complexType:CT_StyleMatrix" | "drawing:complexType:CT_StyleMatrixReference" | "drawing:complexType:CT_SupplementalFont" | "drawing:complexType:CT_SystemColor" | "drawing:complexType:CT_Table" | "drawing:complexType:CT_TableBackgroundStyle" | "drawing:complexType:CT_TableCell" | "drawing:complexType:CT_TableCellBorderStyle" | "drawing:complexType:CT_TableCellProperties" | "drawing:complexType:CT_TableCol" | "drawing:complexType:CT_TableGrid" | "drawing:complexType:CT_TablePartStyle" | "drawing:complexType:CT_TableProperties" | "drawing:complexType:CT_TableRow" | "drawing:complexType:CT_TableStyle" | "drawing:complexType:CT_TableStyleCellStyle" | "drawing:complexType:CT_TableStyleList" | "drawing:complexType:CT_TableStyleTextStyle" | "drawing:complexType:CT_TextAutonumberBullet" | "drawing:complexType:CT_TextBlipBullet" | "drawing:complexType:CT_TextBody" | "drawing:complexType:CT_TextBodyProperties" | "drawing:complexType:CT_TextBulletColorFollowText" | "drawing:complexType:CT_TextBulletSizeFollowText" | "drawing:complexType:CT_TextBulletSizePercent" | "drawing:complexType:CT_TextBulletSizePoint" | "drawing:complexType:CT_TextBulletTypefaceFollowText" | "drawing:complexType:CT_TextCharBullet" | "drawing:complexType:CT_TextCharacterProperties" | "drawing:complexType:CT_TextField" | "drawing:complexType:CT_TextFont" | "drawing:complexType:CT_TextLineBreak" | "drawing:complexType:CT_TextListStyle" | "drawing:complexType:CT_TextNoAutofit" | "drawing:complexType:CT_TextNoBullet" | "drawing:complexType:CT_TextNormalAutofit" | "drawing:complexType:CT_TextParagraph" | "drawing:complexType:CT_TextParagraphProperties" | "drawing:complexType:CT_TextShapeAutofit" | "drawing:complexType:CT_TextSpacing" | "drawing:complexType:CT_TextSpacingPercent" | "drawing:complexType:CT_TextSpacingPoint" | "drawing:complexType:CT_TextTabStop" | "drawing:complexType:CT_TextTabStopList" | "drawing:complexType:CT_TextUnderlineFillFollowText" | "drawing:complexType:CT_TextUnderlineFillGroupWrapper" | "drawing:complexType:CT_TextUnderlineLineFollowText" | "drawing:complexType:CT_ThemeableLineStyle" | "drawing:complexType:CT_TileInfoProperties" | "drawing:complexType:CT_TintEffect" | "drawing:complexType:CT_Transform2D" | "drawing:complexType:CT_TransformEffect" | "drawing:complexType:CT_Vector3D" | "drawing:complexType:CT_VideoFile" | "drawing:complexType:CT_WholeE2oFormatting" | "drawing:complexType:CT_XYAdjustHandle" | "drawing:element:accent1" | "drawing:element:accent2" | "drawing:element:accent3" | "drawing:element:accent4" | "drawing:element:accent5" | "drawing:element:accent6" | "drawing:element:ahLst" | "drawing:element:ahPolar" | "drawing:element:ahXY" | "drawing:element:alpha" | "drawing:element:alphaBiLevel" | "drawing:element:alphaCeiling" | "drawing:element:alphaFloor" | "drawing:element:alphaInv" | "drawing:element:alphaMod" | "drawing:element:alphaModFix" | "drawing:element:alphaOff" | "drawing:element:alphaOutset" | "drawing:element:alphaRepl" | "drawing:element:anchor" | "drawing:element:arcTo" | "drawing:element:audioCd" | "drawing:element:audioFile" | "drawing:element:avLst" | "drawing:element:backdrop" | "drawing:element:band1H" | "drawing:element:band1V" | "drawing:element:band2H" | "drawing:element:band2V" | "drawing:element:bevel" | "drawing:element:bevelB" | "drawing:element:bevelT" | "drawing:element:bgClr" | "drawing:element:bgFillStyleLst" | "drawing:element:biLevel" | "drawing:element:bldChart" | "drawing:element:bldDgm" | "drawing:element:blend" | "drawing:element:blip" | "drawing:element:blipFill" | "drawing:element:blue" | "drawing:element:blueMod" | "drawing:element:blueOff" | "drawing:element:blur" | "drawing:element:bodyPr" | "drawing:element:bottom" | "drawing:element:br" | "drawing:element:buAutoNum" | "drawing:element:buBlip" | "drawing:element:buChar" | "drawing:element:buClr" | "drawing:element:buClrTx" | "drawing:element:buFont" | "drawing:element:buFontTx" | "drawing:element:buNone" | "drawing:element:buSzPct" | "drawing:element:buSzPts" | "drawing:element:buSzTx" | "drawing:element:cNvCxnSpPr" | "drawing:element:cNvGraphicFramePr" | "drawing:element:cNvGrpSpPr" | "drawing:element:cNvPicPr" | "drawing:element:cNvPr" | "drawing:element:cNvSpPr" | "drawing:element:camera" | "drawing:element:cell3D" | "drawing:element:chExt" | "drawing:element:chOff" | "drawing:element:chart" | "drawing:element:close" | "drawing:element:clrChange" | "drawing:element:clrFrom" | "drawing:element:clrMap" | "drawing:element:clrRepl" | "drawing:element:clrScheme" | "drawing:element:clrTo" | "drawing:element:comp" | "drawing:element:cont" | "drawing:element:contourClr" | "drawing:element:cpLocks" | "drawing:element:cs" | "drawing:element:cubicBezTo" | "drawing:element:custClr" | "drawing:element:custClrLst" | "drawing:element:custDash" | "drawing:element:custGeom" | "drawing:element:cxn" | "drawing:element:cxnLst" | "drawing:element:cxnSp" | "drawing:element:cxnSpLocks" | "drawing:element:defPPr" | "drawing:element:defRPr" | "drawing:element:dgm" | "drawing:element:dk1" | "drawing:element:dk2" | "drawing:element:ds" | "drawing:element:duotone" | "drawing:element:ea" | "drawing:element:effect" | "drawing:element:effectDag" | "drawing:element:effectLst" | "drawing:element:effectRef" | "drawing:element:effectStyle" | "drawing:element:effectStyleLst" | "drawing:element:end" | "drawing:element:endCxn" | "drawing:element:endParaRPr" | "drawing:element:ext" | "drawing:element:extLst" | "drawing:element:extraClrScheme" | "drawing:element:extraClrSchemeLst" | "drawing:element:extrusionClr" | "drawing:element:fgClr" | "drawing:element:fill" | "drawing:element:fillOverlay" | "drawing:element:fillRect" | "drawing:element:fillRef" | "drawing:element:fillStyleLst" | "drawing:element:fillToRect" | "drawing:element:firstCol" | "drawing:element:firstRow" | "drawing:element:flatTx" | "drawing:element:fld" | "drawing:element:fmtScheme" | "drawing:element:folHlink" | "drawing:element:font" | "drawing:element:fontRef" | "drawing:element:fontScheme" | "drawing:element:gamma" | "drawing:element:gd" | "drawing:element:gdLst" | "drawing:element:glow" | "drawing:element:gradFill" | "drawing:element:graphic" | "drawing:element:graphicData" | "drawing:element:graphicFrame" | "drawing:element:graphicFrameLocks" | "drawing:element:gray" | "drawing:element:grayscl" | "drawing:element:green" | "drawing:element:greenMod" | "drawing:element:greenOff" | "drawing:element:gridCol" | "drawing:element:grpFill" | "drawing:element:grpSp" | "drawing:element:grpSpLocks" | "drawing:element:grpSpPr" | "drawing:element:gs" | "drawing:element:gsLst" | "drawing:element:headEnd" | "drawing:element:header" | "drawing:element:headers" | "drawing:element:highlight" | "drawing:element:hlink" | "drawing:element:hlinkClick" | "drawing:element:hlinkHover" | "drawing:element:hlinkMouseOver" | "drawing:element:hsl" | "drawing:element:hslClr" | "drawing:element:hue" | "drawing:element:hueMod" | "drawing:element:hueOff" | "drawing:element:innerShdw" | "drawing:element:insideH" | "drawing:element:insideV" | "drawing:element:inv" | "drawing:element:invGamma" | "drawing:element:lastCol" | "drawing:element:lastRow" | "drawing:element:latin" | "drawing:element:left" | "drawing:element:lightRig" | "drawing:element:lin" | "drawing:element:ln" | "drawing:element:lnB" | "drawing:element:lnBlToTr" | "drawing:element:lnDef" | "drawing:element:lnL" | "drawing:element:lnR" | "drawing:element:lnRef" | "drawing:element:lnSpc" | "drawing:element:lnStyleLst" | "drawing:element:lnT" | "drawing:element:lnTlToBr" | "drawing:element:lnTo" | "drawing:element:lstStyle" | "drawing:element:lt1" | "drawing:element:lt2" | "drawing:element:lum" | "drawing:element:lumMod" | "drawing:element:lumOff" | "drawing:element:lvl1pPr" | "drawing:element:lvl2pPr" | "drawing:element:lvl3pPr" | "drawing:element:lvl4pPr" | "drawing:element:lvl5pPr" | "drawing:element:lvl6pPr" | "drawing:element:lvl7pPr" | "drawing:element:lvl8pPr" | "drawing:element:lvl9pPr" | "drawing:element:majorFont" | "drawing:element:masterClrMapping" | "drawing:element:minorFont" | "drawing:element:miter" | "drawing:element:moveTo" | "drawing:element:neCell" | "drawing:element:noAutofit" | "drawing:element:noFill" | "drawing:element:norm" | "drawing:element:normAutofit" | "drawing:element:nvCxnSpPr" | "drawing:element:nvGraphicFramePr" | "drawing:element:nvGrpSpPr" | "drawing:element:nvPicPr" | "drawing:element:nvSpPr" | "drawing:element:nwCell" | "drawing:element:objectDefaults" | "drawing:element:off" | "drawing:element:outerShdw" | "drawing:element:overrideClrMapping" | "drawing:element:p" | "drawing:element:pPr" | "drawing:element:path" | "drawing:element:pathLst" | "drawing:element:pattFill" | "drawing:element:pic" | "drawing:element:picLocks" | "drawing:element:pos" | "drawing:element:prstClr" | "drawing:element:prstDash" | "drawing:element:prstGeom" | "drawing:element:prstShdw" | "drawing:element:prstTxWarp" | "drawing:element:pt" | "drawing:element:quadBezTo" | "drawing:element:quickTimeFile" | "drawing:element:r" | "drawing:element:rPr" | "drawing:element:rect" | "drawing:element:red" | "drawing:element:redMod" | "drawing:element:redOff" | "drawing:element:reflection" | "drawing:element:relOff" | "drawing:element:right" | "drawing:element:rot" | "drawing:element:round" | "drawing:element:rtl" | "drawing:element:sat" | "drawing:element:satMod" | "drawing:element:satOff" | "drawing:element:scene3d" | "drawing:element:schemeClr" | "drawing:element:scrgbClr" | "drawing:element:seCell" | "drawing:element:shade" | "drawing:element:snd" | "drawing:element:softEdge" | "drawing:element:solidFill" | "drawing:element:sp" | "drawing:element:sp3d" | "drawing:element:spAutoFit" | "drawing:element:spDef" | "drawing:element:spLocks" | "drawing:element:spPr" | "drawing:element:spcAft" | "drawing:element:spcBef" | "drawing:element:spcPct" | "drawing:element:spcPts" | "drawing:element:srcRect" | "drawing:element:srgbClr" | "drawing:element:st" | "drawing:element:stCxn" | "drawing:element:stretch" | "drawing:element:style" | "drawing:element:swCell" | "drawing:element:sx" | "drawing:element:sy" | "drawing:element:sym" | "drawing:element:sysClr" | "drawing:element:t" | "drawing:element:tab" | "drawing:element:tabLst" | "drawing:element:tableStyle" | "drawing:element:tableStyleId" | "drawing:element:tailEnd" | "drawing:element:tbl" | "drawing:element:tblBg" | "drawing:element:tblGrid" | "drawing:element:tblPr" | "drawing:element:tblStyle" | "drawing:element:tblStyleLst" | "drawing:element:tc" | "drawing:element:tcBdr" | "drawing:element:tcPr" | "drawing:element:tcStyle" | "drawing:element:tcTxStyle" | "drawing:element:theme" | "drawing:element:themeElements" | "drawing:element:themeManager" | "drawing:element:themeOverride" | "drawing:element:tile" | "drawing:element:tileRect" | "drawing:element:tint" | "drawing:element:tl2br" | "drawing:element:top" | "drawing:element:tr" | "drawing:element:tr2bl" | "drawing:element:txBody" | "drawing:element:txDef" | "drawing:element:txSp" | "drawing:element:uFill" | "drawing:element:uFillTx" | "drawing:element:uLn" | "drawing:element:uLnTx" | "drawing:element:up" | "drawing:element:useSpRect" | "drawing:element:videoFile" | "drawing:element:wavAudioFile" | "drawing:element:wholeTbl" | "drawing:element:xfrm" | "drawing:group:EG_ColorChoice" | "drawing:group:EG_ColorTransform" | "drawing:group:EG_Effect" | "drawing:group:EG_EffectProperties" | "drawing:group:EG_FillModeProperties" | "drawing:group:EG_FillProperties" | "drawing:group:EG_Geometry" | "drawing:group:EG_LineDashProperties" | "drawing:group:EG_LineFillProperties" | "drawing:group:EG_LineJoinProperties" | "drawing:group:EG_Media" | "drawing:group:EG_OfficeArtExtensionList" | "drawing:group:EG_ShadeProperties" | "drawing:group:EG_Text3D" | "drawing:group:EG_TextAutofit" | "drawing:group:EG_TextBullet" | "drawing:group:EG_TextBulletColor" | "drawing:group:EG_TextBulletSize" | "drawing:group:EG_TextBulletTypeface" | "drawing:group:EG_TextGeometry" | "drawing:group:EG_TextRun" | "drawing:group:EG_TextUnderlineFill" | "drawing:group:EG_TextUnderlineLine" | "drawing:group:EG_ThemeableEffectStyle" | "drawing:group:EG_ThemeableFillStyle" | "drawing:group:EG_ThemeableFontStyles" | "drawing:simpleType:ST_AdjAngle" | "drawing:simpleType:ST_AdjCoordinate" | "drawing:simpleType:ST_Angle" | "drawing:simpleType:ST_AnimationBuildType" | "drawing:simpleType:ST_AnimationChartBuildType" | "drawing:simpleType:ST_AnimationChartOnlyBuildType" | "drawing:simpleType:ST_AnimationDgmBuildType" | "drawing:simpleType:ST_AnimationDgmOnlyBuildType" | "drawing:simpleType:ST_BevelPresetType" | "drawing:simpleType:ST_BlackWhiteMode" | "drawing:simpleType:ST_BlendMode" | "drawing:simpleType:ST_BlipCompression" | "drawing:simpleType:ST_ChartBuildStep" | "drawing:simpleType:ST_ColorSchemeIndex" | "drawing:simpleType:ST_CompoundLine" | "drawing:simpleType:ST_Coordinate" | "drawing:simpleType:ST_Coordinate32" | "drawing:simpleType:ST_Coordinate32Unqualified" | "drawing:simpleType:ST_CoordinateUnqualified" | "drawing:simpleType:ST_DgmBuildStep" | "drawing:simpleType:ST_DrawingElementId" | "drawing:simpleType:ST_EffectContainerType" | "drawing:simpleType:ST_FOVAngle" | "drawing:simpleType:ST_FixedAngle" | "drawing:simpleType:ST_FixedPercentage" | "drawing:simpleType:ST_FontCollectionIndex" | "drawing:simpleType:ST_GeomGuideFormula" | "drawing:simpleType:ST_GeomGuideName" | "drawing:simpleType:ST_LightRigDirection" | "drawing:simpleType:ST_LightRigType" | "drawing:simpleType:ST_LineCap" | "drawing:simpleType:ST_LineEndLength" | "drawing:simpleType:ST_LineEndType" | "drawing:simpleType:ST_LineEndWidth" | "drawing:simpleType:ST_LineWidth" | "drawing:simpleType:ST_OnOffStyleType" | "drawing:simpleType:ST_PathFillMode" | "drawing:simpleType:ST_PathShadeType" | "drawing:simpleType:ST_PenAlignment" | "drawing:simpleType:ST_Percentage" | "drawing:simpleType:ST_PitchFamily" | "drawing:simpleType:ST_PositiveCoordinate" | "drawing:simpleType:ST_PositiveCoordinate32" | "drawing:simpleType:ST_PositiveFixedAngle" | "drawing:simpleType:ST_PositiveFixedPercentage" | "drawing:simpleType:ST_PositivePercentage" | "drawing:simpleType:ST_PresetCameraType" | "drawing:simpleType:ST_PresetColorVal" | "drawing:simpleType:ST_PresetLineDashVal" | "drawing:simpleType:ST_PresetMaterialType" | "drawing:simpleType:ST_PresetPatternVal" | "drawing:simpleType:ST_PresetShadowVal" | "drawing:simpleType:ST_RectAlignment" | "drawing:simpleType:ST_SchemeColorVal" | "drawing:simpleType:ST_ShapeID" | "drawing:simpleType:ST_ShapeType" | "drawing:simpleType:ST_StyleMatrixColumnIndex" | "drawing:simpleType:ST_SystemColorVal" | "drawing:simpleType:ST_TextAlignType" | "drawing:simpleType:ST_TextAnchoringType" | "drawing:simpleType:ST_TextAutonumberScheme" | "drawing:simpleType:ST_TextBulletSize" | "drawing:simpleType:ST_TextBulletSizePercent" | "drawing:simpleType:ST_TextBulletStartAtNum" | "drawing:simpleType:ST_TextCapsType" | "drawing:simpleType:ST_TextColumnCount" | "drawing:simpleType:ST_TextFontAlignType" | "drawing:simpleType:ST_TextFontScalePercentOrPercentString" | "drawing:simpleType:ST_TextFontSize" | "drawing:simpleType:ST_TextHorzOverflowType" | "drawing:simpleType:ST_TextIndent" | "drawing:simpleType:ST_TextIndentLevelType" | "drawing:simpleType:ST_TextMargin" | "drawing:simpleType:ST_TextNonNegativePoint" | "drawing:simpleType:ST_TextPoint" | "drawing:simpleType:ST_TextPointUnqualified" | "drawing:simpleType:ST_TextShapeType" | "drawing:simpleType:ST_TextSpacingPercentOrPercentString" | "drawing:simpleType:ST_TextSpacingPoint" | "drawing:simpleType:ST_TextStrikeType" | "drawing:simpleType:ST_TextTabAlignType" | "drawing:simpleType:ST_TextTypeface" | "drawing:simpleType:ST_TextUnderlineType" | "drawing:simpleType:ST_TextVertOverflowType" | "drawing:simpleType:ST_TextVerticalType" | "drawing:simpleType:ST_TextWrappingType" | "drawing:simpleType:ST_TileFlipMode" | "presentation:attribute:accel" | "presentation:attribute:accumulate" | "presentation:attribute:additive" | "presentation:attribute:advAuto" | "presentation:attribute:advClick" | "presentation:attribute:advTm" | "presentation:attribute:afterEffect" | "presentation:attribute:algorithmName" | "presentation:attribute:animBg" | "presentation:attribute:authorId" | "presentation:attribute:autoAdjust" | "presentation:attribute:autoCompressPictures" | "presentation:attribute:autoRev" | "presentation:attribute:autoUpdateAnimBg" | "presentation:attribute:b" | "presentation:attribute:backwards" | "presentation:attribute:bld" | "presentation:attribute:bldLvl" | "presentation:attribute:bookmarkIdSeed" | "presentation:attribute:build" | "presentation:attribute:bw" | "presentation:attribute:bwMode" | "presentation:attribute:by" | "presentation:attribute:calcmode" | "presentation:attribute:clientInsertedTime" | "presentation:attribute:clrIdx" | "presentation:attribute:clrMode" | "presentation:attribute:clrSpc" | "presentation:attribute:cmd" | "presentation:attribute:collapse" | "presentation:attribute:compatMode" | "presentation:attribute:concurrent" | "presentation:attribute:conformance" | "presentation:attribute:cx" | "presentation:attribute:cy" | "presentation:attribute:decel" | "presentation:attribute:delay" | "presentation:attribute:dir" | "presentation:attribute:display" | "presentation:attribute:dt" | "presentation:attribute:dur" | "presentation:attribute:embedTrueTypeFonts" | "presentation:attribute:end" | "presentation:attribute:evt" | "presentation:attribute:evtFilter" | "presentation:attribute:fill" | "presentation:attribute:filter" | "presentation:attribute:firstSlideNum" | "presentation:attribute:fmla" | "presentation:attribute:followColorScheme" | "presentation:attribute:frame" | "presentation:attribute:frameSlides" | "presentation:attribute:from" | "presentation:attribute:ftr" | "presentation:attribute:fullScrn" | "presentation:attribute:g" | "presentation:attribute:grpId" | "presentation:attribute:h" | "presentation:attribute:hasCustomPrompt" | "presentation:attribute:hashValue" | "presentation:attribute:hdr" | "presentation:attribute:hiddenSlides" | "presentation:attribute:horzBarState" | "presentation:attribute:id" | "presentation:attribute:idx" | "presentation:attribute:imgH" | "presentation:attribute:imgW" | "presentation:attribute:initials" | "presentation:attribute:invalEndChars" | "presentation:attribute:invalStChars" | "presentation:attribute:isNarration" | "presentation:attribute:isPhoto" | "presentation:attribute:l" | "presentation:attribute:lang" | "presentation:attribute:lastIdx" | "presentation:attribute:lastView" | "presentation:attribute:layout" | "presentation:attribute:loop" | "presentation:attribute:lvl" | "presentation:attribute:masterRel" | "presentation:attribute:matchingName" | "presentation:attribute:mod" | "presentation:attribute:mute" | "presentation:attribute:name" | "presentation:attribute:nextAc" | "presentation:attribute:nodePh" | "presentation:attribute:nodeType" | "presentation:attribute:numSld" | "presentation:attribute:orient" | "presentation:attribute:origin" | "presentation:attribute:override" | "presentation:attribute:path" | "presentation:attribute:pathEditMode" | "presentation:attribute:pos" | "presentation:attribute:prLst" | "presentation:attribute:preferSingleView" | "presentation:attribute:preserve" | "presentation:attribute:presetClass" | "presentation:attribute:presetID" | "presentation:attribute:presetSubtype" | "presentation:attribute:prevAc" | "presentation:attribute:prnWhat" | "presentation:attribute:progId" | "presentation:attribute:ptsTypes" | "presentation:attribute:r" | "presentation:attribute:rAng" | "presentation:attribute:rctx" | "presentation:attribute:removePersonalInfoOnSave" | "presentation:attribute:repeatCount" | "presentation:attribute:repeatDur" | "presentation:attribute:restart" | "presentation:attribute:rev" | "presentation:attribute:rtl" | "presentation:attribute:s" | "presentation:attribute:saltValue" | "presentation:attribute:saveSubsetFonts" | "presentation:attribute:scaleToFitPaper" | "presentation:attribute:serverSldId" | "presentation:attribute:serverSldModifiedTime" | "presentation:attribute:serverZoom" | "presentation:attribute:shadeToTitle" | "presentation:attribute:show" | "presentation:attribute:showAnimation" | "presentation:attribute:showAsIcon" | "presentation:attribute:showCaptions" | "presentation:attribute:showComments" | "presentation:attribute:showFormatting" | "presentation:attribute:showGuides" | "presentation:attribute:showMasterPhAnim" | "presentation:attribute:showMasterSp" | "presentation:attribute:showNarration" | "presentation:attribute:showOutlineIcons" | "presentation:attribute:showScrollbar" | "presentation:attribute:showSpeakerNotes" | "presentation:attribute:showSpecialPlsOnTitleSld" | "presentation:attribute:showWhenStopped" | "presentation:attribute:sldNum" | "presentation:attribute:snapToGrid" | "presentation:attribute:snapToObjects" | "presentation:attribute:snapVertSplitter" | "presentation:attribute:spd" | "presentation:attribute:spid" | "presentation:attribute:spinValue" | "presentation:attribute:spokes" | "presentation:attribute:st" | "presentation:attribute:strictFirstAndLastChars" | "presentation:attribute:syncBehavior" | "presentation:attribute:sz" | "presentation:attribute:target" | "presentation:attribute:thruBlk" | "presentation:attribute:title" | "presentation:attribute:tm" | "presentation:attribute:tmFilter" | "presentation:attribute:to" | "presentation:attribute:transition" | "presentation:attribute:type" | "presentation:attribute:uiExpand" | "presentation:attribute:updateAutomatic" | "presentation:attribute:uri" | "presentation:attribute:useBgFill" | "presentation:attribute:useTimings" | "presentation:attribute:userDrawn" | "presentation:attribute:val" | "presentation:attribute:valueType" | "presentation:attribute:varScale" | "presentation:attribute:vertBarState" | "presentation:attribute:vol" | "presentation:attribute:x" | "presentation:attribute:xfrmType" | "presentation:attribute:y" | "presentation:attribute:zoomContents" | "presentation:attributeGroup:AG_ChildSlide" | "presentation:attributeGroup:AG_Ole" | "presentation:attributeGroup:AG_TLBuild" | "presentation:complexType:CT_ApplicationNonVisualDrawingProps" | "presentation:complexType:CT_Background" | "presentation:complexType:CT_BackgroundProperties" | "presentation:complexType:CT_BuildList" | "presentation:complexType:CT_Comment" | "presentation:complexType:CT_CommentAuthor" | "presentation:complexType:CT_CommentAuthorList" | "presentation:complexType:CT_CommentList" | "presentation:complexType:CT_CommonSlideData" | "presentation:complexType:CT_CommonSlideViewProperties" | "presentation:complexType:CT_CommonViewProperties" | "presentation:complexType:CT_Connector" | "presentation:complexType:CT_ConnectorNonVisual" | "presentation:complexType:CT_Control" | "presentation:complexType:CT_ControlList" | "presentation:complexType:CT_CornerDirectionTransition" | "presentation:complexType:CT_CustomShow" | "presentation:complexType:CT_CustomShowId" | "presentation:complexType:CT_CustomShowList" | "presentation:complexType:CT_CustomerData" | "presentation:complexType:CT_CustomerDataList" | "presentation:complexType:CT_EightDirectionTransition" | "presentation:complexType:CT_EmbeddedFontDataId" | "presentation:complexType:CT_EmbeddedFontList" | "presentation:complexType:CT_EmbeddedFontListEntry" | "presentation:complexType:CT_Empty" | "presentation:complexType:CT_Extension" | "presentation:complexType:CT_ExtensionList" | "presentation:complexType:CT_ExtensionListModify" | "presentation:complexType:CT_GraphicalObjectFrame" | "presentation:complexType:CT_GraphicalObjectFrameNonVisual" | "presentation:complexType:CT_GroupShape" | "presentation:complexType:CT_GroupShapeNonVisual" | "presentation:complexType:CT_Guide" | "presentation:complexType:CT_GuideList" | "presentation:complexType:CT_HandoutMaster" | "presentation:complexType:CT_HandoutMasterIdList" | "presentation:complexType:CT_HandoutMasterIdListEntry" | "presentation:complexType:CT_HeaderFooter" | "presentation:complexType:CT_HtmlPublishProperties" | "presentation:complexType:CT_InOutTransition" | "presentation:complexType:CT_IndexRange" | "presentation:complexType:CT_Kinsoku" | "presentation:complexType:CT_ModifyVerifier" | "presentation:complexType:CT_NormalViewPortion" | "presentation:complexType:CT_NormalViewProperties" | "presentation:complexType:CT_NotesMaster" | "presentation:complexType:CT_NotesMasterIdList" | "presentation:complexType:CT_NotesMasterIdListEntry" | "presentation:complexType:CT_NotesSlide" | "presentation:complexType:CT_NotesTextViewProperties" | "presentation:complexType:CT_NotesViewProperties" | "presentation:complexType:CT_OleObject" | "presentation:complexType:CT_OleObjectEmbed" | "presentation:complexType:CT_OleObjectLink" | "presentation:complexType:CT_OptionalBlackTransition" | "presentation:complexType:CT_OrientationTransition" | "presentation:complexType:CT_OutlineViewProperties" | "presentation:complexType:CT_OutlineViewSlideEntry" | "presentation:complexType:CT_OutlineViewSlideList" | "presentation:complexType:CT_PhotoAlbum" | "presentation:complexType:CT_Picture" | "presentation:complexType:CT_PictureNonVisual" | "presentation:complexType:CT_Placeholder" | "presentation:complexType:CT_Presentation" | "presentation:complexType:CT_PresentationProperties" | "presentation:complexType:CT_PrintProperties" | "presentation:complexType:CT_Rel" | "presentation:complexType:CT_Shape" | "presentation:complexType:CT_ShapeNonVisual" | "presentation:complexType:CT_ShowInfoBrowse" | "presentation:complexType:CT_ShowInfoKiosk" | "presentation:complexType:CT_ShowProperties" | "presentation:complexType:CT_SideDirectionTransition" | "presentation:complexType:CT_Slide" | "presentation:complexType:CT_SlideIdList" | "presentation:complexType:CT_SlideIdListEntry" | "presentation:complexType:CT_SlideLayout" | "presentation:complexType:CT_SlideLayoutIdList" | "presentation:complexType:CT_SlideLayoutIdListEntry" | "presentation:complexType:CT_SlideMaster" | "presentation:complexType:CT_SlideMasterIdList" | "presentation:complexType:CT_SlideMasterIdListEntry" | "presentation:complexType:CT_SlideMasterTextStyles" | "presentation:complexType:CT_SlideRelationshipList" | "presentation:complexType:CT_SlideRelationshipListEntry" | "presentation:complexType:CT_SlideSize" | "presentation:complexType:CT_SlideSorterViewProperties" | "presentation:complexType:CT_SlideSyncProperties" | "presentation:complexType:CT_SlideTiming" | "presentation:complexType:CT_SlideTransition" | "presentation:complexType:CT_SlideViewProperties" | "presentation:complexType:CT_SmartTags" | "presentation:complexType:CT_SplitTransition" | "presentation:complexType:CT_StringTag" | "presentation:complexType:CT_TLAnimVariant" | "presentation:complexType:CT_TLAnimVariantBooleanVal" | "presentation:complexType:CT_TLAnimVariantFloatVal" | "presentation:complexType:CT_TLAnimVariantIntegerVal" | "presentation:complexType:CT_TLAnimVariantStringVal" | "presentation:complexType:CT_TLAnimateBehavior" | "presentation:complexType:CT_TLAnimateColorBehavior" | "presentation:complexType:CT_TLAnimateEffectBehavior" | "presentation:complexType:CT_TLAnimateMotionBehavior" | "presentation:complexType:CT_TLAnimateRotationBehavior" | "presentation:complexType:CT_TLAnimateScaleBehavior" | "presentation:complexType:CT_TLBehaviorAttributeNameList" | "presentation:complexType:CT_TLBuildDiagram" | "presentation:complexType:CT_TLBuildParagraph" | "presentation:complexType:CT_TLByAnimateColorTransform" | "presentation:complexType:CT_TLByHslColorTransform" | "presentation:complexType:CT_TLByRgbColorTransform" | "presentation:complexType:CT_TLCommandBehavior" | "presentation:complexType:CT_TLCommonBehaviorData" | "presentation:complexType:CT_TLCommonMediaNodeData" | "presentation:complexType:CT_TLCommonTimeNodeData" | "presentation:complexType:CT_TLGraphicalObjectBuild" | "presentation:complexType:CT_TLIterateData" | "presentation:complexType:CT_TLIterateIntervalPercentage" | "presentation:complexType:CT_TLIterateIntervalTime" | "presentation:complexType:CT_TLMediaNodeAudio" | "presentation:complexType:CT_TLMediaNodeVideo" | "presentation:complexType:CT_TLOleBuildChart" | "presentation:complexType:CT_TLOleChartTargetElement" | "presentation:complexType:CT_TLPoint" | "presentation:complexType:CT_TLSetBehavior" | "presentation:complexType:CT_TLShapeTargetElement" | "presentation:complexType:CT_TLSubShapeId" | "presentation:complexType:CT_TLTemplate" | "presentation:complexType:CT_TLTemplateList" | "presentation:complexType:CT_TLTextTargetElement" | "presentation:complexType:CT_TLTimeAnimateValue" | "presentation:complexType:CT_TLTimeAnimateValueList" | "presentation:complexType:CT_TLTimeCondition" | "presentation:complexType:CT_TLTimeConditionList" | "presentation:complexType:CT_TLTimeNodeExclusive" | "presentation:complexType:CT_TLTimeNodeParallel" | "presentation:complexType:CT_TLTimeNodeSequence" | "presentation:complexType:CT_TLTimeTargetElement" | "presentation:complexType:CT_TLTriggerRuntimeNode" | "presentation:complexType:CT_TLTriggerTimeNodeID" | "presentation:complexType:CT_TagList" | "presentation:complexType:CT_TagsData" | "presentation:complexType:CT_TimeNodeList" | "presentation:complexType:CT_TransitionSoundAction" | "presentation:complexType:CT_TransitionStartSoundAction" | "presentation:complexType:CT_ViewProperties" | "presentation:complexType:CT_WheelTransition" | "presentation:element:anim" | "presentation:element:animClr" | "presentation:element:animEffect" | "presentation:element:animMotion" | "presentation:element:animRot" | "presentation:element:animScale" | "presentation:element:attrName" | "presentation:element:attrNameLst" | "presentation:element:audio" | "presentation:element:bg" | "presentation:element:bgPr" | "presentation:element:bgRef" | "presentation:element:bldAsOne" | "presentation:element:bldDgm" | "presentation:element:bldGraphic" | "presentation:element:bldLst" | "presentation:element:bldOleChart" | "presentation:element:bldP" | "presentation:element:bldSub" | "presentation:element:blinds" | "presentation:element:blipFill" | "presentation:element:bodyStyle" | "presentation:element:bold" | "presentation:element:boldItalic" | "presentation:element:boolVal" | "presentation:element:browse" | "presentation:element:by" | "presentation:element:cBhvr" | "presentation:element:cMediaNode" | "presentation:element:cNvCxnSpPr" | "presentation:element:cNvGraphicFramePr" | "presentation:element:cNvGrpSpPr" | "presentation:element:cNvPicPr" | "presentation:element:cNvPr" | "presentation:element:cNvSpPr" | "presentation:element:cSld" | "presentation:element:cSldViewPr" | "presentation:element:cTn" | "presentation:element:cViewPr" | "presentation:element:charRg" | "presentation:element:checker" | "presentation:element:childTnLst" | "presentation:element:circle" | "presentation:element:clrMap" | "presentation:element:clrMapOvr" | "presentation:element:clrMru" | "presentation:element:clrVal" | "presentation:element:cm" | "presentation:element:cmAuthor" | "presentation:element:cmAuthorLst" | "presentation:element:cmLst" | "presentation:element:cmd" | "presentation:element:comb" | "presentation:element:cond" | "presentation:element:contentPart" | "presentation:element:control" | "presentation:element:controls" | "presentation:element:cover" | "presentation:element:custData" | "presentation:element:custDataLst" | "presentation:element:custShow" | "presentation:element:custShowLst" | "presentation:element:cut" | "presentation:element:cxnSp" | "presentation:element:defaultTextStyle" | "presentation:element:diamond" | "presentation:element:dissolve" | "presentation:element:embed" | "presentation:element:embeddedFont" | "presentation:element:embeddedFontLst" | "presentation:element:endCondLst" | "presentation:element:endSnd" | "presentation:element:endSync" | "presentation:element:excl" | "presentation:element:ext" | "presentation:element:extLst" | "presentation:element:fade" | "presentation:element:fltVal" | "presentation:element:font" | "presentation:element:from" | "presentation:element:graphicEl" | "presentation:element:graphicFrame" | "presentation:element:gridSpacing" | "presentation:element:grpSp" | "presentation:element:grpSpPr" | "presentation:element:guide" | "presentation:element:guideLst" | "presentation:element:handoutMaster" | "presentation:element:handoutMasterId" | "presentation:element:handoutMasterIdLst" | "presentation:element:hf" | "presentation:element:hsl" | "presentation:element:inkTgt" | "presentation:element:intVal" | "presentation:element:italic" | "presentation:element:iterate" | "presentation:element:kinsoku" | "presentation:element:kiosk" | "presentation:element:link" | "presentation:element:modifyVerifier" | "presentation:element:newsflash" | "presentation:element:nextCondLst" | "presentation:element:normalViewPr" | "presentation:element:notes" | "presentation:element:notesMaster" | "presentation:element:notesMasterId" | "presentation:element:notesMasterIdLst" | "presentation:element:notesStyle" | "presentation:element:notesSz" | "presentation:element:notesTextViewPr" | "presentation:element:notesViewPr" | "presentation:element:nvCxnSpPr" | "presentation:element:nvGraphicFramePr" | "presentation:element:nvGrpSpPr" | "presentation:element:nvPicPr" | "presentation:element:nvPr" | "presentation:element:nvSpPr" | "presentation:element:oleChartEl" | "presentation:element:oleObj" | "presentation:element:origin" | "presentation:element:otherStyle" | "presentation:element:outlineViewPr" | "presentation:element:pRg" | "presentation:element:par" | "presentation:element:penClr" | "presentation:element:ph" | "presentation:element:photoAlbum" | "presentation:element:pic" | "presentation:element:plus" | "presentation:element:pos" | "presentation:element:present" | "presentation:element:presentation" | "presentation:element:presentationPr" | "presentation:element:prevCondLst" | "presentation:element:prnPr" | "presentation:element:progress" | "presentation:element:pull" | "presentation:element:push" | "presentation:element:rCtr" | "presentation:element:random" | "presentation:element:randomBar" | "presentation:element:regular" | "presentation:element:restoredLeft" | "presentation:element:restoredTop" | "presentation:element:rgb" | "presentation:element:rtn" | "presentation:element:scale" | "presentation:element:seq" | "presentation:element:set" | "presentation:element:showPr" | "presentation:element:sld" | "presentation:element:sldAll" | "presentation:element:sldId" | "presentation:element:sldIdLst" | "presentation:element:sldLayout" | "presentation:element:sldLayoutId" | "presentation:element:sldLayoutIdLst" | "presentation:element:sldLst" | "presentation:element:sldMaster" | "presentation:element:sldMasterId" | "presentation:element:sldMasterIdLst" | "presentation:element:sldRg" | "presentation:element:sldSyncPr" | "presentation:element:sldSz" | "presentation:element:sldTgt" | "presentation:element:slideViewPr" | "presentation:element:smartTags" | "presentation:element:sndAc" | "presentation:element:sndTgt" | "presentation:element:sorterViewPr" | "presentation:element:sp" | "presentation:element:spPr" | "presentation:element:spTgt" | "presentation:element:spTree" | "presentation:element:split" | "presentation:element:stCondLst" | "presentation:element:stSnd" | "presentation:element:strVal" | "presentation:element:strips" | "presentation:element:style" | "presentation:element:subSp" | "presentation:element:subTnLst" | "presentation:element:tag" | "presentation:element:tagLst" | "presentation:element:tags" | "presentation:element:tav" | "presentation:element:tavLst" | "presentation:element:text" | "presentation:element:tgtEl" | "presentation:element:timing" | "presentation:element:titleStyle" | "presentation:element:tmAbs" | "presentation:element:tmPct" | "presentation:element:tmpl" | "presentation:element:tmplLst" | "presentation:element:tn" | "presentation:element:tnLst" | "presentation:element:to" | "presentation:element:transition" | "presentation:element:txBody" | "presentation:element:txEl" | "presentation:element:txStyles" | "presentation:element:val" | "presentation:element:video" | "presentation:element:viewPr" | "presentation:element:wedge" | "presentation:element:wheel" | "presentation:element:wipe" | "presentation:element:xfrm" | "presentation:element:zoom" | "presentation:group:EG_Background" | "presentation:group:EG_ChildSlide" | "presentation:group:EG_ExtensionList" | "presentation:group:EG_ShowType" | "presentation:group:EG_SlideListChoice" | "presentation:group:EG_TopLevelSlide" | "presentation:simpleType:ST_BookmarkIdSeed" | "presentation:simpleType:ST_Direction" | "presentation:simpleType:ST_Index" | "presentation:simpleType:ST_IterateType" | "presentation:simpleType:ST_Name" | "presentation:simpleType:ST_OleObjectFollowColorScheme" | "presentation:simpleType:ST_PhotoAlbumFrameShape" | "presentation:simpleType:ST_PhotoAlbumLayout" | "presentation:simpleType:ST_PlaceholderSize" | "presentation:simpleType:ST_PlaceholderType" | "presentation:simpleType:ST_PrintColorMode" | "presentation:simpleType:ST_PrintWhat" | "presentation:simpleType:ST_SlideId" | "presentation:simpleType:ST_SlideLayoutId" | "presentation:simpleType:ST_SlideLayoutType" | "presentation:simpleType:ST_SlideMasterId" | "presentation:simpleType:ST_SlideSizeCoordinate" | "presentation:simpleType:ST_SlideSizeType" | "presentation:simpleType:ST_SplitterBarState" | "presentation:simpleType:ST_TLAnimateBehaviorCalcMode" | "presentation:simpleType:ST_TLAnimateBehaviorValueType" | "presentation:simpleType:ST_TLAnimateColorDirection" | "presentation:simpleType:ST_TLAnimateColorSpace" | "presentation:simpleType:ST_TLAnimateEffectTransition" | "presentation:simpleType:ST_TLAnimateMotionBehaviorOrigin" | "presentation:simpleType:ST_TLAnimateMotionPathEditMode" | "presentation:simpleType:ST_TLBehaviorAccumulateType" | "presentation:simpleType:ST_TLBehaviorAdditiveType" | "presentation:simpleType:ST_TLBehaviorOverrideType" | "presentation:simpleType:ST_TLBehaviorTransformType" | "presentation:simpleType:ST_TLChartSubelementType" | "presentation:simpleType:ST_TLCommandType" | "presentation:simpleType:ST_TLDiagramBuildType" | "presentation:simpleType:ST_TLNextActionType" | "presentation:simpleType:ST_TLOleChartBuildType" | "presentation:simpleType:ST_TLParaBuildType" | "presentation:simpleType:ST_TLPreviousActionType" | "presentation:simpleType:ST_TLTime" | "presentation:simpleType:ST_TLTimeAnimateValueTime" | "presentation:simpleType:ST_TLTimeIndefinite" | "presentation:simpleType:ST_TLTimeNodeFillType" | "presentation:simpleType:ST_TLTimeNodeID" | "presentation:simpleType:ST_TLTimeNodeMasterRelation" | "presentation:simpleType:ST_TLTimeNodePresetClassType" | "presentation:simpleType:ST_TLTimeNodeRestartType" | "presentation:simpleType:ST_TLTimeNodeSyncType" | "presentation:simpleType:ST_TLTimeNodeType" | "presentation:simpleType:ST_TLTriggerEvent" | "presentation:simpleType:ST_TLTriggerRuntimeNode" | "presentation:simpleType:ST_TransitionCornerDirectionType" | "presentation:simpleType:ST_TransitionEightDirectionType" | "presentation:simpleType:ST_TransitionInOutDirectionType" | "presentation:simpleType:ST_TransitionSideDirectionType" | "presentation:simpleType:ST_TransitionSpeed" | "presentation:simpleType:ST_ViewType" | "chart:element:legacyDrawingHF" | "chart:simpleType:ST_BubbleScaleUInt" | "chart:simpleType:ST_DepthPercentUShort" | "chart:simpleType:ST_GapAmountUShort" | "chart:simpleType:ST_HPercentUShort" | "chart:simpleType:ST_HoleSizeUByte" | "chart:simpleType:ST_LblOffsetUShort" | "chart:simpleType:ST_OverlapByte" | "chart:simpleType:ST_SecondPieSizeUShort" | "drawing:simpleType:ST_FixedPercentageDecimal" | "drawing:simpleType:ST_PercentageDecimal" | "drawing:simpleType:ST_PositiveFixedPercentageDecimal" | "drawing:simpleType:ST_PositivePercentageDecimal" | "drawing:simpleType:ST_TextBulletSizeDecimal" | "drawing:simpleType:ST_TextFontScalePercent" | "drawing:simpleType:ST_TextSpacingPercent" | "presentation:attribute:algIdExt" | "presentation:attribute:algIdExtSource" | "presentation:attribute:allowPng" | "presentation:attribute:clr" | "presentation:attribute:cryptAlgorithmClass" | "presentation:attribute:cryptAlgorithmSid" | "presentation:attribute:cryptAlgorithmType" | "presentation:attribute:cryptProvider" | "presentation:attribute:cryptProviderType" | "presentation:attribute:cryptProviderTypeExt" | "presentation:attribute:cryptProviderTypeExtSource" | "presentation:attribute:encoding" | "presentation:attribute:hashData" | "presentation:attribute:imgSz" | "presentation:attribute:organizeInFolders" | "presentation:attribute:relyOnVml" | "presentation:attribute:resizeGraphics" | "presentation:attribute:saltData" | "presentation:attribute:spinCount" | "presentation:attribute:useLongFilenames" | "presentation:complexType:CT_WebProperties" | "presentation:element:htmlPubPr" | "presentation:element:webPr" | "presentation:simpleType:ST_WebColorType" | "presentation:simpleType:ST_WebEncoding" | "presentation:simpleType:ST_WebScreenSize")[]; //#endregion //#region src/pptx/core/ppt/current-user.d.ts /** * Error thrown for password-protected legacy .ppt files. * Mirrors the naming style of EncryptedFileError for OOXML packages. */ export declare class EncryptedPptError extends Error { readonly isEncrypted = true; constructor(message?: string); } //#endregion //#region src/pptx/core/ppt/ppt-to-pptx.d.ts /** * True when the OLE2 file is a legacy PowerPoint 97-2003 presentation. */ export declare function isLegacyPpt(ole: Ole2File): boolean; /** * True when a legacy .ppt compound file is password-protected. * * @param ole - Parsed OLE2 compound file. Must satisfy {@link isLegacyPpt}. */ export declare function isEncryptedLegacyPpt(ole: Ole2File): boolean; /** * Convert a legacy .ppt compound file into PPTX package bytes. * * When the file is password-protected, `password` decrypts it (RC4 * CryptoAPI encryption, [MS-OFFCRYPTO] 2.3.5.1) before parsing. Without a * password, an encrypted file throws {@link EncryptedFileError}, mirroring * how encrypted OOXML packages are handled so the same "enter a password" * UI flow covers both formats. * * @param ole - Parsed OLE2 compound file. * @param password - Document password, required only if the file is encrypted. * @returns ArrayBuffer of a generated .pptx (ZIP) package. * @throws EncryptedFileError when the .ppt is password protected and no * password was supplied. * @throws IncorrectPasswordError when the supplied password is wrong. * @throws EncryptedPptError when the file uses an unsupported encryption scheme. * @throws PptParseError when the file is structurally invalid. */ export declare function convertPptToPptx(ole: Ole2File, password?: string): Promise; //#endregion //#region src/pptx/core/core/runtime/element-paragraph-geometry.d.ts /** * Route the ELEMENT-scope paragraph geometry to the slot OOXML actually * provides for it: `p:txBody > a:lstStyle > a:lvl1pPr`. * * ## The problem this solves * * `element.textStyle` carries one alignment, one `marL`/`indent`, one line * spacing and one space-before/after for the whole text body. That is a * *shape-level* statement, but the writer had nowhere to put it except each * paragraph's own `a:pPr`, so it stamped all of them. Two things went wrong: * * 1. Values the loader had merely RESOLVED (from the shape's `a:lstStyle`, the * layout placeholder, the master `p:txStyles`) came back as explicitly * authored per-paragraph values, so re-theming or re-laying-out the deck in * PowerPoint no longer moved the text. * 2. Stamping beat per-paragraph inheritance: a level-3 bullet was re-indented * to whatever `marL` the shape had resolved for level 1. * * A sibling closed most of (2) by only writing a key the paragraph itself * authored, but could not close the last case: a level-0 paragraph with no * `a:pPr` at all is indistinguishable, at the `a:pPr` writer, from SDK-built * text where the element style is the ONLY description of the paragraph. One * needs the value dropped, the other needs it written. * * ## Why `a:lstStyle` resolves it * * The dilemma is an artefact of writing shape-scope state into paragraph * scope. `a:lstStyle/a:lvl1pPr` IS shape scope: it sits above the * layout/master cascade and below any paragraph's own `a:pPr` * (ECMA-376 §21.1.2.4.12), so writing it once * * - keeps an element-level edit (the shared `textAdvancedPatch` / `alignPatch` * panels write ONLY `element.textStyle`, never `segment.paragraphProperties`, * so dropping it would silently discard the user's change), * - leaves every level above 1 to inherit exactly as authored, * - leaves each paragraph's own `a:pPr` to override it, and * - stops repeating the same statement on every paragraph of the body. */ /** * Paragraph-scope keys that describe the WHOLE body rather than one paragraph, * i.e. everything `buildParagraphPropertiesXml` can emit from an element-level * style. `a:defRPr` and `a:extLst` are deliberately absent: they are opaque * subtrees captured per paragraph and are left on the paragraph writer. */ export declare const ELEMENT_PARAGRAPH_GEOMETRY_KEYS: readonly ["align", "rtl", "paragraphMarginLeft", "paragraphMarginRight", "paragraphIndent", "defaultTabSize", "eaLineBreak", "latinLineBreak", "fontAlignment", "hangingPunctuation", "lineSpacing", "lineSpacingExactPt", "paragraphSpacingBefore", "paragraphSpacingAfter", "tabStops"]; //#endregion export { type AccessibilityCheckOptions, type AccessibilityIssue, type AccessibilityIssueSeverity, type AccessibilityIssueType, ActionButtonPreset, AdjustHandlePolar, AdjustHandleXY, type AlternateContentBlock, type AnimationCategory, AnimationCondition, AnimationConditionEvent, type AnimationInput, type AnimationPresetInfo, type ArrangementKind, type ArrangementPlan, type BackgroundInput, BevelPresetType, type BoundingBox, BulletInfo, type CalloutLeaderLineGeometry, type CalloutPoint, type CapturedBehaviorNode, type CapturedPreset, type CertificateRevocationStatus, type ChartAxisEdit, type ChartAxisTitleStyleEdit, type ChartDataPointLabelEdit, type ChartGradientInput, type ChartGradientStopInput, type ChartGridlineStyleEdit, type ChartInput, type ChartOptions, ChartPptxElement, type ChartSeriesInput, type ChartUserShapePath, type ChartUserShapesChartBox, type ColorMapAliasKey, type CompatibilityWarningInput, ConnectionSite, ConnectorArrowType, ConnectorConnectionPoint, type ConnectorOptions, type ConnectorPathGeometry, ConnectorPptxElement, type ConnectorXmlFactoryInit, type ConstraintIndex, type ContainerBounds, ContentPartInkStroke, ContentPartPptxElement, type ConversionOptions, type ConversionResult, CreateTableStyleOptions, CustomGeometryPath, CustomGeometryPoint, CustomGeometryRawData, CustomGeometrySegment, type CustomGeometrySubpathSvg, CustomGeometryTextRect, DEFAULT_MAX_UNCOMPRESSED_BYTES, DIGEST_ALGORITHM_TO_HASH, DIGEST_ALGORITHM_TO_WEB_CRYPTO, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, DIGITAL_SIGNATURE_REL_TYPE, type DiagramRelationshipIds, type DigitalSignatureReport, type DigitalSignatureVerificationStatus, DocumentConverter, type DuplicateLayoutResult, type DuplicateLayoutSuccess, type DuplicateMasterResult, type DuplicateMasterSuccess, ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, ENTERPRISE_REQUIRE_REVOCATION_ENV, ENTERPRISE_REQUIRE_TIMESTAMP_ENV, ENTERPRISE_TRUST_ROOTS_FILE_ENV, ENTERPRISE_TRUST_ROOTS_PEM_ENV, EffectDagAlphaOutset, EffectDagBlend, EffectDagBlendMode, EffectDagBlur, EffectDagContainer, EffectDagContainerType, EffectDagNode, EffectDagPresetShadow, EffectDagRawLeaf, EffectDagRelOff, EffectDagXfrm, ElementAction, ElementActionType, type ElementDiff, type ElementPosition, type EncryptionAlgorithm, type EncryptionInfo, type EncryptionOptions, type EncryptionScheme, type EvaluatedPresetConnectionSite, type FileFormatDetection, type FileSystemAdapter, type FillInput, type FindResult, type FlowDirection, GeometryAdjustmentHandle, type GeometryContext, type GeometryGuide, type GroupOptions, GroupPptxElement, type GroupResult, 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, type ImageMaskStyle, type ImageOptions, ImagePptxElement, type InkBounds, InkPptxElement, type InkTargetBox, type InterpretLayoutInput, type LayoutCreationResult, type LayoutDefinition, type LayoutDisplayNameInput, type LayoutFamily, type LayoutRect, type LinkedTextBoxChain, type LinkedTextBoxChainMember, type LinkedTextBoxSegmentMap, type LoadedSigningMaterial, MAX_ZIP_ENTRY_COUNT, type MasterLayoutCrudFailure, type MasterLayoutCrudResult, type MasterLayoutCrudSuccess, MasterViewTab, MaterialPresetType, MediaBookmark, MediaCaptionTrack, MediaContext, type MediaGraphicFrameXmlFactoryInit, MediaMetadata, type MediaOptions, MediaPptxElement, type MergeOptions, type MergeShapeOperation, Model3DCamera, Model3DLightData, Model3DPptxElement, Model3DSceneData, type Model3DTransform, Model3DTransformData, Model3DVec3, OOXML_TO_PRESET_EMPH, OOXML_TO_PRESET_ENTR, OOXML_TO_PRESET_EXIT, OPC_RELATIONSHIP_TRANSFORM, type OfficeSignatureReference, type Ole2DirectoryEntry, type Ole2File, type OleIconGlyph, type OleNestedDeckSlideDetail, type OleNestedDeckTextElement, OleObjectType, type OlePayloadEditorKind, OlePptxElement, type OleSheetCell, type OleSheetGrid, type OleSheetRow, type OleUnwrapResult, type OoxmlConformanceClass, PPTX_JSON_FILE_EXTENSION, PPTX_JSON_FORMAT, PPTX_JSON_MIME_TYPE, PPTX_JSON_VERSION, PPTX_VIEWER_MANIFEST_NS, PRESENTATION_FIELD_KEYS, PRESENTATION_FIELD_NAMES, PRESET_TO_OOXML, type ParetoDetectableChartData, type ParsedDrawingMediaReference, type ParsedInkMlContent, type ParsedReferenceTransform, type ParsedSignature, ParsedTableBackground, ParsedTableFillRef, type ParsedTableStyle, ParsedTableStyleBorder, ParsedTableStyleBorders, ParsedTableStyleEffect, ParsedTableStyleEntry, ParsedTableStyleFill, ParsedTableStyleGradient, ParsedTableStyleGradientStop, ParsedTableStyleImage, ParsedTableStyleMap, type ParsedTableStylePart, ParsedTableStylePattern, ParsedTableStyleText, PicturePptxElement, type PictureXmlFactoryInit, PlaceholderDefaults, type PlaceholderDefinition, PlaceholderTextLevelStyle, Pptx3DScene, Pptx3DShape, PptxAccessibilityProperties, PptxAction, PptxActiveXControl, PptxAfterAnimationAction, PptxAnimBehavior, PptxAnimEffectBehavior, PptxAnimMotionBehavior, PptxAnimRotBehavior, PptxAnimScaleBehavior, PptxAnimationBehavior, PptxAnimationBehaviorTiming, PptxAnimationDirection, PptxAnimationEffectFilter, PptxAnimationGraphicElementTarget, PptxAnimationIterate, PptxAnimationKeyframe, PptxAnimationOleChartElementTarget, PptxAnimationPreset, PptxAnimationRepeatMode, PptxAnimationSequence, PptxAnimationTarget, PptxAnimationTimelineAnchor, PptxAnimationTimingCurve, PptxAnimationTrigger, PptxAppProperties, PptxAttributeAnimation, PptxAudioCdPosition, PptxBackgroundRemoval, PptxBackgroundRemovalMark, PptxBar3DShape, PptxBehaviorPoint, PptxBubbleChartOptions, type PptxBuilderFactoryContext, PptxChart3DSurface, PptxChartAxisFormatting, PptxChartAxisLabelFormatting, PptxChartAxisNumFmt, type PptxChartAxisType, PptxChartBandFmt, PptxChartBarDirection, PptxChartBoxWhiskerOptions, PptxChartChrome, PptxChartData, PptxChartDataLabel, PptxChartDataLabelOptions, PptxChartDataLabelPosition, PptxChartDataLabelsRange, PptxChartDataPoint, PptxChartDataPointPicture, PptxChartDataTable, PptxChartDateCategories, PptxChartDisplayUnitsLabel, PptxChartErrBarDir, PptxChartErrBarType, PptxChartErrBars, PptxChartErrValType, PptxChartFilteredSeries, PptxChartGradientFill, PptxChartHistogramOptions, PptxChartLayouts, PptxChartLegendEntry, type PptxChartLegendPosition, PptxChartLegendTextStyle, PptxChartLineStyle, PptxChartManualLayout, PptxChartMarker, PptxChartMarkerSymbol, PptxChartOfPieOptions, PptxChartPageMargins, PptxChartPageSetup, PptxChartParentLabelLayout, PptxChartPictureFormat, PptxChartPivotFormat, PptxChartPivotFormats, PptxChartPivotSource, PptxChartPrintHeaderFooter, PptxChartPrintSettings, PptxChartProtection, PptxChartRegionMapOptions, PptxChartScatterStyle, PptxChartSeries, PptxChartShapeProps, PptxChartStyle, type PptxChartStyleDefinition, type PptxChartStylePartEntry, PptxChartTickMark, PptxChartTitleRun, PptxChartTreemapOptions, PptxChartTrendline, PptxChartTrendlineLabel, PptxChartTrendlineType, PptxChartType, PptxChartUpDownBars, type PptxChartUserShape, type PptxChartUserShapeGroupChild, type PptxChartUserShapeGroupTransform, type PptxChartUserShapeParagraph, PptxChartView3D, PptxChartWaterfallOptions, PptxColorAnimation, PptxColorStyleCodec, type PptxColorStyleCodecContext, PptxComment, PptxCommentAuthor, type PptxCommentAuthorDescriptor, PptxCommentAuthorsXmlFactory, type PptxCommentAuthorsXmlFactoryInit, PptxCommentMention, PptxCommentXmlFactoryProvider, PptxCommonSlideViewProperties, PptxCompatibilityService, PptxCompatibilityWarning, PptxConnectorParser, type PptxConnectorParserContext, PptxContentTypesBuilder, type PptxContentTypesCommentBuildInput, type PptxContentTypesSlideMediaBuildInput, type PptxConverterOptions, PptxCoreProperties, PptxCropShape, PptxCustomDashSegment, PptxCustomPathProperties, PptxCustomProperty, PptxCustomShow, PptxCustomXmlPart, PptxCustomerData, PptxCxValueColorPosition, PptxData, PptxDocumentPropertiesUpdater, PptxDrawingGuide, PptxEditorAnimationService, type PptxEditorAnimationServiceOptions, PptxElement, PptxElementAnimation, PptxElementBase, PptxElementTransformUpdater, PptxElementType, PptxElementWithShapeStyle, PptxElementWithText, PptxElementXmlBuilder, type PptxElementXmlBuilderOptions, PptxEmbeddedFont, PptxEmbeddedFontDataId, PptxEmbeddedFontDescriptor, PptxEmbeddedFontList, PptxEmbeddedFontListEntry, PptxEmbeddedWorkbookData, PptxExportFormat, PptxExportOptions, PptxExternalData, PptxGraphicBuild, type PptxGraphicBuildEntry, PptxGraphicFrameExtension, PptxGraphicFrameParser, type PptxGraphicFrameParserContext, PptxGridSpacing, PptxHandler, type PptxHandlerLoadOptions, PptxHandlerRuntime, PptxHandlerRuntimeFactory, type PptxHandlerSaveOptions, PptxHandoutMaster, PptxHeaderFooter, PptxHeaderFooterFlags, PptxHslColorDelta, PptxImageEffects, PptxImageLikeElement, PptxImagePrerenderedCorrections, PptxImageProperties, type PptxJsonAssetStats, PptxJsonConverter, type PptxJsonConverterOptions, type PptxJsonDocument, PptxJsonFormatError, type PptxJsonSerializeOptions, PptxKinsoku, PptxLayoutOption, PptxLayoutPreview, PptxMarkdownConverter, PptxMasterTextStyles, PptxMediaBookmarkTarget, PptxMediaDataParser, type PptxMediaDataParserContext, PptxMediaReferenceKind, type PptxMediaTimingEntry, type PptxMediaTimingMap, PptxMediaType, PptxModernCommentAuthor, PptxModernCommentPart, PptxModifyVerifier, PptxMorphOption, PptxNativeAnimation, PptxNativeAnimationKind, PptxNativeAnimationService, PptxNonVisualDescription, PptxNormalViewProperties, PptxNotesMaster, PptxPhotoAlbum, PptxPictureNonVisualProperties, PptxPlaceholderFrame, PptxPresentationPrintProperties, PptxPresentationProperties, type PptxPresentationSaveBuildInput, PptxPresentationSaveBuilder, type PptxPresentationSaveBuilderOptions, PptxPresentationSlidesReconciler, type PptxPresentationSlidesReconcilerInput, PptxPrintColorMode, PptxPrintOutput, PptxRestoredRegion, type PptxRuntimeDependencyBundle, PptxRuntimeDependencyFactory, type PptxRuntimeDependencyFactoryInput, type PptxSaveConstants, PptxSaveConstantsFactory, type PptxSaveFormat, type PptxSaveMediaKind, PptxSaveState as PptxSaveSession, PptxSaveState, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveStateBuilder, PptxSection, PptxSetAnimation, PptxSetBehavior, PptxShapeLocks, PptxShapeProperties, 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, type PptxSlideReferenceRemap, PptxSlideRelationshipRegistry, type PptxSlideRelationshipRegistryOptions, PptxSlideSize, PptxSlideSyncProperties, PptxSlideTransition, PptxSlideTransitionService, type PptxSlideTransitionServiceOptions, type PptxSmartArtAlgorithmParameter, type PptxSmartArtChoose, type PptxSmartArtChrome, type PptxSmartArtColorApplicationMethod, type PptxSmartArtColorListMetadata, type PptxSmartArtColorStyleLabel, type PptxSmartArtColorTransform, PptxSmartArtConnection, type PptxSmartArtConstraint, type PptxSmartArtConstraintOperator, type PptxSmartArtConstraintPointType, type PptxSmartArtConstraintRelationship, type PptxSmartArtConstraintTarget, PptxSmartArtData, type PptxSmartArtDefinitionCategory, type PptxSmartArtDefinitionHeader, type PptxSmartArtDefinitionHeaderKind, type PptxSmartArtDefinitionHeaderList, type PptxSmartArtDefinitionMetadata, type PptxSmartArtDefinitionPartDescriptor, type PptxSmartArtDefinitionText, PptxSmartArtDrawingShape, type PptxSmartArtForEach, type PptxSmartArtHeaderCategory, type PptxSmartArtHeaderText, type PptxSmartArtHueDirection, type PptxSmartArtIteratorAttributes, type PptxSmartArtLayoutAlgorithm, type PptxSmartArtLayoutCategory, type PptxSmartArtLayoutDefinition, type PptxSmartArtLayoutNode, type PptxSmartArtLayoutNodeShape, type PptxSmartArtLocalizedText, type PptxSmartArtNode, type PptxSmartArtNodeStyle, type PptxSmartArtNumericRule, PptxSmartArtPresLayoutVars, type PptxSmartArtQuickStyle, type PptxSmartArtQuickStyleLabel, type PptxSmartArtRawBackgroundFill, type PptxSmartArtResolvedStyleRef, type PptxSmartArtShapeAdjustment, type PptxSmartArtTextParagraph, type PptxSmartArtTextParagraphItem, type PptxSmartArtTextRun, type PptxSmartArtWhen, PptxSmartTagsReference, PptxSplitDirection, PptxSplitOrientation, PptxStripDirection, PptxTableCell, PptxTableCell3D, PptxTableCellStyle, PptxTableCellTextRun, PptxTableData, PptxTableDataParser, type PptxTableDataParserContext, PptxTableRow, PptxTag, PptxTagCollection, PptxTemplateBackgroundService, type PptxTemplateBackgroundState, PptxTextAnimationTarget, PptxTextBuildType, PptxTextProperties, PptxTextStyleLevels, PptxTextWarpPreset, PptxTheme, PptxThemeColorRef, PptxThemeColorScheme, PptxThemeColorSchemeName, PptxThemeEffectStyle, PptxThemeFillStyle, PptxThemeFontGroup, PptxThemeFontScheme, PptxThemeFormatScheme, PptxThemeLineStyle, PptxThemeObjectDefaults, PptxThemeOption, PptxThemePreset, PptxTimingTemplate, PptxTransitionDirection4, PptxTransitionDirection8, PptxTransitionSpeed, PptxTransitionType, PptxViewGuide, PptxViewOrigin, PptxViewProperties, PptxViewScale, PptxXmlBuilder, PptxXmlLookupService, Presentation, PresentationBuilder, type PresentationBuilderResult, type PresentationDiff, type PresentationOptions, type PresentationThemeInput, type PresetConnectionSiteDefinition, type PresetConnectionSiteToken, type PresetPath, type PresetPathCommand, type PresetShapeCategory, type PresetShapeDefinition, type PresetShapeEvaluationResult, type PresetShapeGeometryDefinition, type PresetSubpathResult, type PresetTextRectDefinition, type PropertyChange, type RasterColor, type ReferenceTransformResult, type ReflowedNodePosition, type RenderedCircleNode, type RenderedConnector, type RenderedNode, type RenderedNodeIdentity, type RenderedNodeTextStyle, type RenderedPolygonNode, type RenderedRectNode, type RepairResult, ResolvedStyleMatrix, SHAPE_TREE_ELEMENT_TAGS, SUPPORTED_XML_CANON_TRANSFORMS, ShadowEffect, type ShadowInput, type ShapeOptions, ShapePptxElement, ShapeStyle, type SignOptions, type SignResult, type SignatureCertificateInfo, type SignatureDetail, type SignatureDetailStatus, type SignatureDetectionResult, type SignatureCertificateInfo$1 as SignatureNodeCertificateInfo, type SignatureReference, type SignatureReferenceCheck, type SignatureStatus, type SignatureValidationPolicy, SlideBuilder, type SlideDiff, SlideProcessor, type SlideProcessorOptions, type SlideReferenceRemapInput, type SmartArtColorListDeps, type SmartArtColorLists, type SmartArtColorRoleMap, SmartArtColorScheme, type SmartArtEffectIntensity, SmartArtLayout, type SmartArtLayoutResult, SmartArtLayoutType, type SmartArtNodeCustomLayout, SmartArtPptxElement, type SmartArtRoleColorList, SmartArtStyle, type SmartArtStyleLabelRefs, type StandardEncryptionInfo, StrokeDashType, type StrokeInput, type StyleContext, SummaryZoomTarget, type SvgExportOptions, SvgExporter, THEME_COLOR_PALETTE_COLUMNS, THEME_COLOR_SCHEME_KEYS, THEME_PRESETS, TRANSITION_PATTERN_OPTIONS, TRANSITION_THRUBLK_TYPES, TRANSITION_VALID_DIRECTIONS, type TableCellInput, type TableCellRunsContext, type TableInput, type TableOptions, TablePptxElement, type TableRowInput, type TableStructureEdit, type TableStyleFlags, type TableStylePartBorder, type TableStylePartBorders, type TableStylePartFill, type TableStylePartName, type TableStylePartText, TableStyleSectionPatch, type TemplateData, Text3DStyle, type TextOptions, TextOrientationMatrix, TextPptxElement, TextSegment, type TextSegmentInput, type TextShapeXmlFactoryInit, TextStyle, type TextStyleInput, type ThemePreset, type ThemePresetName, type TimestampAuthorityStatus, type TransitionInput, type TreeNode, UnderlineStyle, type UngroupOptions, type UngroupResult, UnknownPptxElement, type ValidationIssue, type ValidationResult, type Vec2, XMLDSIG_NS, XML_TRANSFORM_ENVELOPED_SIGNATURE, XmlObject, ZipBombError, ZoomPptxElement, applyCustomShows, applyDiagramRelationshipIds, applyImportedPptxData, applySections, applyTemplate, breakAutoNumberRun, buildBlankPresentationArchive, buildPptxJsonDocument, buildSlideReferenceRemap, computeDetailStatus, computeDigestBase64 as computeDigestBase64WebCrypto, computeVerificationStatus, containsConvertibleStrictNamespaceAttribute, convertMetafileToDataUrl, convertXmlToStrict, createAutoNumberSequence, createDefaultPptxHandlerRuntime, createLayout, createLayouts, createPptxSaveConstants, dataUrlToMediaBytes, decodePptxJsonText, deleteLayout, deleteSlideMaster, deriveOutputPath, deserializePptxFromJson, detectDigitalSignatures, detectStrictConformance, diffPresentations, diffSlides, duplicateLayout, duplicateSlideMaster, escapeXmlAttr, escapeXmlText, extractAllTagText, extractFirstTagText, extractTagAttribute, findLayoutByName, findLayoutByType, findPlaceholders, findText, generateLayoutXml, generateMediaFilename, getDirectory, getSignaturePathsToStrip, insertLayout, insertSlideMaster, isPptxJsonText, isStrictNamespaceUri, isTransitionalNamespaceUri, isValidBase64, isZoomElement$1 as isZoomElementUtil, mailMerge, mergePresentation, nextAutoNumber, normalizeNamespaceUri, normalizePartPath, normalizePath, normalizeStrictXml, ooxmlToPresetName, parseCustomShows, parseDiagramRelationshipIds, parsePptxJson, parsePptxJsonDocument, parsePresentationSmartTags, parseSignatureXml, pptxDataFromJsonDocument, reapplyAlternateContentToTree, renameLayout, renameSlideMaster, replaceText, replaceTextInSlide, resolveOoxmlPresetMapping, resolveReferenceUriToPart, selectAlternateContentBranch, serializePptxToJson, toChartGradientFill, toStrictNamespaceUri, unwrapAlternateContent, verifySignatureDigests }; //# sourceMappingURL=index.d.ts.map