ooxml-core 1.46.0 → 1.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PptxHandler-JX62VKU4.cjs +14 -0
- package/dist/{PptxHandler-HWEOIHEA.mjs → PptxHandler-NXHZ6ITL.mjs} +2 -2
- package/dist/PptxHandler-SUGLNSZI.mjs +5 -0
- package/dist/{PresentationBuilder-2BCCMZW7.cjs → PresentationBuilder-IK6NIK6T.cjs} +6 -6
- package/dist/{PresentationBuilder-AFD72LIG.mjs → PresentationBuilder-LHQ333UL.mjs} +3 -3
- package/dist/{PresentationBuilder-66RV4F45.mjs → PresentationBuilder-URSPID7L.mjs} +2 -2
- package/dist/{chunk-IBRV3AK3.cjs → chunk-4GPLQEEC.cjs} +1381 -1289
- package/dist/{chunk-E2TTMUKU.mjs → chunk-553WFEHD.mjs} +108 -16
- package/dist/{chunk-H43QQVJU.mjs → chunk-5HNRZOBX.mjs} +1 -1
- package/dist/{chunk-EI6555OK.mjs → chunk-6MU4WKHS.mjs} +1 -1
- package/dist/{chunk-X2DC7XRL.mjs → chunk-7L6ZAA5Y.mjs} +66 -2
- package/dist/{chunk-5TOVSCVT.cjs → chunk-APCA7N6Q.cjs} +3 -3
- package/dist/{chunk-LXVE2VKR.mjs → chunk-DEDK2J57.mjs} +65 -1
- package/dist/{chunk-G6LEU3Y5.mjs → chunk-QHR726W3.mjs} +1 -1
- package/dist/{chunk-QUAFASFC.cjs → chunk-WFN6ZU7N.cjs} +65 -0
- package/dist/{chunk-L6MJGE3Q.mjs → chunk-XVEJS7HN.mjs} +5 -5
- package/dist/{chunk-HH3AYM63.mjs → chunk-Z734BYYR.mjs} +109 -17
- package/dist/pptx/automation/index.cjs +1857 -1682
- package/dist/pptx/automation/index.d.ts +3 -3
- package/dist/pptx/automation/index.mjs +5 -5
- package/dist/pptx/chunks/{index-BPGaFlm5.d.ts → index--HBUyILF.d.ts} +4 -4
- package/dist/pptx/chunks/{index-BPGaFlm5.d.ts.map → index--HBUyILF.d.ts.map} +1 -1
- package/dist/pptx/chunks/{index-DtFoPmk7.d.ts → index-BDVzSboe.d.ts} +23 -2
- package/dist/pptx/chunks/index-BDVzSboe.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-D4-WJQ1r.d.ts → index-Dr3iIPt9.d.ts} +2 -2
- package/dist/pptx/chunks/{index-D4-WJQ1r.d.ts.map → index-Dr3iIPt9.d.ts.map} +1 -1
- package/dist/pptx/cli/index.cjs +301 -126
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/converter/index.mjs +2 -2
- package/dist/pptx/editor/render/custom-show-operations.cjs +2 -2
- package/dist/pptx/editor/render/custom-show-operations.mjs +1 -1
- package/dist/pptx/editor/render/find-replace.cjs +15 -15
- package/dist/pptx/editor/render/find-replace.d.ts +1 -1
- package/dist/pptx/editor/render/find-replace.mjs +2 -2
- package/dist/pptx/editor/render/slide-operations.cjs +9 -9
- package/dist/pptx/editor/render/slide-operations.mjs +3 -3
- package/dist/pptx/index.cjs +2254 -2079
- package/dist/pptx/index.d.ts +4 -4
- package/dist/pptx/index.mjs +5 -5
- package/dist/pptx/node/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/PptxHandler-FZ43IJFP.mjs +0 -5
- package/dist/PptxHandler-XAUKKK36.cjs +0 -14
- package/dist/pptx/chunks/index-DtFoPmk7.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NS, RELATIONSHIP_TYPES, SMART_ART_DEFINITION_PARTS, VML_SHAPE_TAGS, isAlternateContentChoiceXmlSupported, parseVmlElement, unwrapAlternateContent, xmlChild, xmlAttr, parseDrawingMediaReference, cropShapeForPresetGeometry, isHeaderFooterPlaceholder, xmlPath, inheritedPlaceholderFieldType, parseParagraphLevel, xmlHasChild, parseParagraphExtraAttributes, parseParagraphMargins, parseAlignmentAttr, parseParagraphRtl, parseTabStops, resolveParagraphAlignment, xmlText, parseBodyPrBooleanAttrs, selectAlternateContentBranch, parseBulletSizePercent, extractColorChoiceXml, formatAutoNumberMarker, readText3DValues, readScene3DValues, parseParagraphSpacingPx, createBuiltinVariables, resolveCoordinate, readPathListCommandOrder, parseStructuredCustomGeometry, parseAdjustmentValues, parseGuideDefinitions, evaluateGuides, evaluateGeometryPaths, inheritCustomGeometryCommandOrder, parseInkMlContent, parseModel3DScene, nextRelationshipId, remapElementShapeIds, normalizeCustomShowIds, mapCustomShowActions, parseShapeId, isTemplateElementId, remapShapeIdReferences, reapplyAlternateContentToTree, buildOle2, SHAPE_TREE_ELEMENT_TAGS, MAX_SHAPE_ID, parseRelationships, resolvePartPath, orderedXmlKey, safeResolveZipPath, parseDataUrlToBytes, base64Decode, EMU_PER_PX, reorderObjectKeys, encodeCompressedPng, zlibStore, hash, concatArrays, encodePasswordUtf16LE, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, uint32LE, LN_CHILD_ORDER, pptxActionToElementAction, buildClrMapOverrideXml, applyActiveXControlsToSlide, BLIP_FILL_ORDER, SP_PR_ORDER, hasShapeProperties, ensureXmlChild, hasTextProperties, inkElementToStrokes, buildInkMlContent, ensureXmlChildOrCreate, isXmlNode, applyChartLayouts, stripXmlOrderSuffix, ooxmlGradientAngleToCssDegrees, serializeTabStop, readCommentMentions, rebaseCommentMentions, applyCommentMentions, colorsEqual, generateFontGuid, applyBubbleChartOptions, applyChartUpDownBars, applyDataLabelsRangeToDLbls, applyChartAxisScaling, applyChartAxisLabelFormatting, upsertChartAxisChild, applyChartDateAxisUnits, applyChartAxisDisplayUnitsToXml, writeChartShapeProps, resolveTxPrDefRPr, buildDefRPrTextProperties, buildChartGradFillXml, applySeriesMarkerToXml, applySeriesDataPointsToXml, chartColorHex, drawingLineXml, parseDrawingTextBody, parseXml, parseDrawingFill, parseDrawingLine, first, buildXml, setDrawingFillXml, fillElementOf, patchDrawingLine, elements, drawingFillXml, applyChartManualLayout, chartTrendlineType, buildTrendlineLabel, serializeColorChoice, replaceOleEmbedding, findKey, collectAllText, buildNodeGuidMap, buildPresentationGuidMap, regenerateSmartArtDrawingShapes, buildFabricatedDrawingXml, buildFabricatedDiagramDataXml, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, drawingColorXml, applyDiagramRelationshipIds, buildSaveTimeCustomGeometryXml, applyCustomGeometryGuideOverrides, avLstForPreset, filterValidShapeAdjustmentEntries, applyDrawingMediaReference, DIAGRAM_XML_PROLOG, DIAGRAM_DATA_XMLNS, escapeDiagramXml, writeBodyPrBooleanAttrs, applyTextBodySp3d, writeShapeEffects, SHAPE_STYLE_ORDER, CAMERA_PRESETS, LIGHT_RIGS, LIGHT_DIRECTIONS, roundCoordinate, scaleVectorToIntegers, EMU_PER_PIXEL, P14_GUIDE_URI, P15_GUIDE_URI, buildGuideListExtension, resetSpPrFormattingForStyleMatrix, fillIsPurelyStyleMatrix, serializeColorChoiceWithRef, createLineStyleGate, applyDrawingLineDash, reorderObjectKeysByLocalName, getSignaturePathsToStrip, mergeSmartArtPointXml, mergeSmartArtConnectionXml, withDiagramPictureSources, diagramPictureRelationships, obfuscateFont, containsConvertibleStrictNamespaceAttribute, convertXmlToStrict, applySeriesPictureOptionsToXml, findChartExtByUri, findChildByLocalName, regenerateClonedUniqueId, buildChartUniqueIdExtLst, createOfficeGuid, isContentPoint, newSmartArtGuid, parseDiagramDataModel, DEFAULT_GENERATED_DIAGRAM_SCHEME, previewDiagramLayout, parseDiagramColors, resolveDrawingColor, children, parseDrawingRichTextBody, writeGeneratedDiagramDrawing, descendants, GENERATED_DIAGRAM_CACHE_NS, generatedDrawingDigest, parseChartUserShapesDrawing, xmlChildren, applyChartGradientToSpPr, setAutoTitleDeleted, insertAt, replaceFirstText, shouldRebuildFromParagraphs, buildPointFromParagraphs, shouldRebuildFromRuns, buildPointFromRuns, buildPointText, resolveThemeFillStyle, resolveThemeLineStyle, resolveThemeEffectStyle, relAttr, ensureXmlChildren, TC_PR_BORDERS_ORDER, writeChartColorChoice, relationshipsPartFor, stripParentDirSegments, parseChartUniqueId, buildChartMarkerXml, chartGradientsEqual, chartColorChoiceValue, parseChartFormulaRange, expandRangeAddresses, applyCellWritesToWorksheet, formatCellAddress, childrenNamed, childNamed, parseCellAddress, attr, parseDrawingEffects, drawingEffectsXml, readChartManualLayoutValues, worksheetData, buildEffectDagTreeFromXml, appendInSchemaOrder, RUN_PROPERTIES_ORDER, syncPictureShapeTypeWithCropShape, buildSrgbColorChoice, picturePercentage, ARTISTIC_PRIMARY_ATTRIBUTE, fetchUrlToBytes, parseChartWideTextStyle, hasLocalName, parseDefRPrTextStyle, parseChartDataLabelOptions, shadowOffsetToDistanceAndDirection, positiveFixedAngleAttribute, xmlAttrNumber, parseCustomShows, parseShapeProps, parseActiveXControlsFromSlide, convertMetafileToDataUrl, blobUrlToDataUrl, readPictureEffect, isAlternateContentChoiceSupported, SvgExporter, detectStrictConformance, normalizeStrictXml, normalizeStShapeType, applyCustomShows, applySections, PRESENTATION_CHILD_ORDER, applyKinsokuToXml, normalizeNamespaceUri, backgroundStyleRefIsCurrent, backgroundRefNode, captureStyleBaseline, STYLE_MATRIX_FILL_KEYS, STYLE_MATRIX_LINE_KEYS, STYLE_MATRIX_EFFECT_KEYS, xmlAttrBool, detectOleObjectType, inferOleExtensionFromTarget, deriveSlideTitles, parseSlideDrawingGuides, slideBackgroundStyleRefFromNode, parseP14DirectChild, parseP14FromExtLst, P14_TRANSITION_TYPES, decodeXmlEntities, preservesXmlWhitespace, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, encodeXmlAttributeValue, encodeXmlTextValue, stripXmlOrderMarkers, CHART_ERROR_VALUE_TYPES, CHART_ERROR_BAR_TYPES, CHART_ERROR_BAR_DIRECTIONS, patchDrawingColorIn, MIN_ELEMENT_SIZE, createDrawingObjectId, DEFAULT_TEXT_FONT_SIZE, EncryptedFileError, decodePptxJsonText, parsePptxJson, pptxDataFromJsonDocument, applyImportedPptxData, DEFAULT_CHART_GRADIENT_ANGLE, supportsChartGradientFill, svgToCustomGeometryPaths, escAttr, buildRelationshipsXml, MIN_TABLE_DIMENSION, MAX_TABLE_DIMENSION, SYSTEM_COLOR_MAP, PRESET_COLOR_MAP, effectChild, mergeEffectNode, mergeAttributeEffectNode, parseDrawingLineDash, estimateMediaDurationMs, parseVmlElements, prismFamilyFlags, prismFamilyTypeOfNode, prismFamilyTypeForFlags, P14_DIR_IS_ORIENTATION_TYPE, IncorrectPasswordError, applyThemeToData, detectFileFormat, parseOle2, decryptPptx, encryptPptx, cssDegreesToOoxmlGradientAngle, escText, parseLineSpacingMultiplier, parseLineSpacingExactPt, parseEncryptionInfo, RC4_ALG_ID, isOle2CompoundFile, ENTRY_TYPE_ROOT, PML_XMLNS, solidFill, esc, OOXML_PERCENT_UNITS, backgroundStylePreset, isDarkColorMap, backgroundStyleColorMap, reResolveElementsForColorMapChange, findThemeEffectScheme, wrapFormatSchemeXml, effectIsPurelyStyleMatrix, emu, formatSchemeKey, gradFill, loadThemeVariants, parsePresentationDrawingGuides, parsePresentationSmartTags, resolveLayoutDisplayName, detectDigitalSignatures, unwrapOleEmbedding, mimeTypeForOleFile, oleBytesToDataUrl, parseKinsoku, deobfuscateFont, detectFontFormat, parseDataTable, parseChartAxes, parseBubbleChartOptions, extractGuidFromPartName, parseChartLayouts, parseCxChartSeries, parseChartDataPointPictureBlipRel, extractCxSeriesColor, parseCxDataLabels, parseCxRegionMapOptions, parseCxAxes, parseSeriesDataLabels, parseChartDataPointPicture, parseImplicitBlipPictureFill, parseEmbeddedXlsx, EMU_PER_POINT, chartTrendlineKind, parseChartManualLayout, parseDiagramRelationshipIds, parseSmartArtTextParagraphs, firstParagraphRuns, smartArtParagraphsText, decodeBase64, parseSmartArtPresLayoutVars, parseDrawingColorIn, parseSmartArtConnection, connectionLabel, projectSmartArtNodeText, resolveSmartArtNodeStyleRoles, resolveSmartArtNodeCoherent3DOff, captureDiagramPictures, parseDiagramDrawing, parseSmartArtDefinitionMetadata, parseSmartArtColorStyleLabels, buildSmartArtColorLists, buildSmartArtColorRoleMap, collectTransitionText, parseSmartArtQuickStyleLabels, parseDiagramQuickStyle, parseDiagramLayoutSummary, resolveSmartArtEffectIntensity, parseSmartArtStyleLabelRefs, extractStyleReferenceColorXml, withThemePlaceholderColor, getElementOrientationMatrix, isTextOrientationMatrix, TEXT_ORIENTATION_IDENTITY, multiplyTextOrientationMatrices } from './chunk-
|
|
1
|
+
import { NS, RELATIONSHIP_TYPES, SMART_ART_DEFINITION_PARTS, VML_SHAPE_TAGS, isAlternateContentChoiceXmlSupported, parseVmlElement, unwrapAlternateContent, xmlChild, xmlAttr, parseDrawingMediaReference, cropShapeForPresetGeometry, isHeaderFooterPlaceholder, xmlPath, inheritedPlaceholderFieldType, parseParagraphLevel, xmlHasChild, parseParagraphExtraAttributes, parseParagraphMargins, parseAlignmentAttr, parseParagraphRtl, parseTabStops, resolveParagraphAlignment, xmlText, parseBodyPrBooleanAttrs, selectAlternateContentBranch, parseBulletSizePercent, extractColorChoiceXml, formatAutoNumberMarker, readText3DValues, readScene3DValues, parseParagraphSpacingPx, createBuiltinVariables, resolveCoordinate, readPathListCommandOrder, parseStructuredCustomGeometry, parseAdjustmentValues, parseGuideDefinitions, evaluateGuides, evaluateGeometryPaths, inheritCustomGeometryCommandOrder, parseInkMlContent, parseModel3DScene, nextRelationshipId, remapElementShapeIds, normalizeCustomShowIds, mapCustomShowActions, parseShapeId, isTemplateElementId, remapShapeIdReferences, reapplyAlternateContentToTree, buildOle2, SHAPE_TREE_ELEMENT_TAGS, MAX_SHAPE_ID, parseRelationships, resolvePartPath, orderedXmlKey, safeResolveZipPath, parseDataUrlToBytes, base64Decode, EMU_PER_PX, reorderObjectKeys, encodeCompressedPng, zlibStore, hash, concatArrays, encodePasswordUtf16LE, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, uint32LE, LN_CHILD_ORDER, pptxActionToElementAction, buildClrMapOverrideXml, applyActiveXControlsToSlide, BLIP_FILL_ORDER, SP_PR_ORDER, hasShapeProperties, ensureXmlChild, hasTextProperties, inkElementToStrokes, buildInkMlContent, ensureXmlChildOrCreate, isXmlNode, applyChartLayouts, stripXmlOrderSuffix, ooxmlGradientAngleToCssDegrees, serializeTabStop, readCommentMentions, rebaseCommentMentions, applyCommentMentions, colorsEqual, generateFontGuid, applyBubbleChartOptions, applyChartUpDownBars, applyDataLabelsRangeToDLbls, applyChartAxisScaling, applyChartAxisLabelFormatting, upsertChartAxisChild, applyChartDateAxisUnits, applyChartAxisDisplayUnitsToXml, writeChartShapeProps, resolveTxPrDefRPr, buildDefRPrTextProperties, buildChartGradFillXml, applySeriesMarkerToXml, applySeriesDataPointsToXml, chartColorHex, drawingLineXml, parseDrawingTextBody, parseXml, parseDrawingFill, parseDrawingLine, first, buildXml, setDrawingFillXml, fillElementOf, patchDrawingLine, elements, drawingFillXml, applyChartManualLayout, chartTrendlineType, buildTrendlineLabel, serializeColorChoice, replaceOleEmbedding, findKey, collectAllText, buildNodeGuidMap, buildPresentationGuidMap, regenerateSmartArtDrawingShapes, buildFabricatedDrawingXml, buildFabricatedDiagramDataXml, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, drawingColorXml, applyDiagramRelationshipIds, buildSaveTimeCustomGeometryXml, applyCustomGeometryGuideOverrides, avLstForPreset, filterValidShapeAdjustmentEntries, applyDrawingMediaReference, DIAGRAM_XML_PROLOG, DIAGRAM_DATA_XMLNS, escapeDiagramXml, writeBodyPrBooleanAttrs, applyTextBodySp3d, writeShapeEffects, SHAPE_STYLE_ORDER, CAMERA_PRESETS, LIGHT_RIGS, LIGHT_DIRECTIONS, roundCoordinate, scaleVectorToIntegers, EMU_PER_PIXEL, P14_GUIDE_URI, P15_GUIDE_URI, buildGuideListExtension, resetSpPrFormattingForStyleMatrix, fillIsPurelyStyleMatrix, serializeColorChoiceWithRef, createLineStyleGate, applyDrawingLineDash, reorderObjectKeysByLocalName, getSignaturePathsToStrip, mergeSmartArtPointXml, mergeSmartArtConnectionXml, withDiagramPictureSources, diagramPictureRelationships, obfuscateFont, containsConvertibleStrictNamespaceAttribute, convertXmlToStrict, applySeriesPictureOptionsToXml, findChartExtByUri, findChildByLocalName, regenerateClonedUniqueId, buildChartUniqueIdExtLst, createOfficeGuid, isContentPoint, newSmartArtGuid, parseDiagramDataModel, DEFAULT_GENERATED_DIAGRAM_SCHEME, previewDiagramLayout, parseDiagramColors, resolveDrawingColor, children, parseDrawingRichTextBody, writeGeneratedDiagramDrawing, descendants, GENERATED_DIAGRAM_CACHE_NS, generatedDrawingDigest, parseChartUserShapesDrawing, xmlChildren, applyChartGradientToSpPr, setAutoTitleDeleted, insertAt, replaceFirstText, shouldRebuildFromParagraphs, buildPointFromParagraphs, shouldRebuildFromRuns, buildPointFromRuns, buildPointText, resolveThemeFillStyle, resolveThemeLineStyle, resolveThemeEffectStyle, relAttr, ensureXmlChildren, TC_PR_BORDERS_ORDER, writeChartColorChoice, relationshipsPartFor, stripParentDirSegments, parseChartUniqueId, buildChartMarkerXml, chartGradientsEqual, chartColorChoiceValue, parseChartFormulaRange, expandRangeAddresses, applyCellWritesToWorksheet, formatCellAddress, childrenNamed, childNamed, parseCellAddress, attr, parseDrawingEffects, drawingEffectsXml, readChartManualLayoutValues, worksheetData, buildEffectDagTreeFromXml, appendInSchemaOrder, RUN_PROPERTIES_ORDER, syncPictureShapeTypeWithCropShape, buildSrgbColorChoice, picturePercentage, ARTISTIC_PRIMARY_ATTRIBUTE, fetchUrlToBytes, parseChartWideTextStyle, hasLocalName, parseDefRPrTextStyle, parseChartDataLabelOptions, shadowOffsetToDistanceAndDirection, positiveFixedAngleAttribute, xmlAttrNumber, parseCustomShows, parseShapeProps, parseActiveXControlsFromSlide, convertMetafileToDataUrl, blobUrlToDataUrl, readPictureEffect, isAlternateContentChoiceSupported, SvgExporter, detectStrictConformance, normalizeStrictXml, normalizeStShapeType, applyCustomShows, applySections, PRESENTATION_CHILD_ORDER, applyKinsokuToXml, normalizeNamespaceUri, backgroundStyleRefIsCurrent, backgroundRefNode, captureStyleBaseline, STYLE_MATRIX_FILL_KEYS, STYLE_MATRIX_LINE_KEYS, STYLE_MATRIX_EFFECT_KEYS, xmlAttrBool, detectOleObjectType, inferOleExtensionFromTarget, deriveSlideTitles, parseSlideDrawingGuides, slideBackgroundStyleRefFromNode, parseP14DirectChild, parseP14FromExtLst, P14_TRANSITION_TYPES, decodeXmlEntities, preservesXmlWhitespace, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, encodeXmlAttributeValue, encodeXmlTextValue, stripXmlOrderMarkers, CHART_ERROR_VALUE_TYPES, CHART_ERROR_BAR_TYPES, CHART_ERROR_BAR_DIRECTIONS, patchDrawingColorIn, MIN_ELEMENT_SIZE, createDrawingObjectId, DEFAULT_TEXT_FONT_SIZE, EncryptedFileError, decodePptxJsonText, parsePptxJson, pptxDataFromJsonDocument, applyImportedPptxData, DEFAULT_CHART_GRADIENT_ANGLE, supportsChartGradientFill, svgToCustomGeometryPaths, escAttr, buildRelationshipsXml, MIN_TABLE_DIMENSION, MAX_TABLE_DIMENSION, SYSTEM_COLOR_MAP, PRESET_COLOR_MAP, effectChild, mergeEffectNode, mergeAttributeEffectNode, parseDrawingLineDash, estimateMediaDurationMs, parseVmlElements, prismFamilyFlags, prismFamilyTypeOfNode, prismFamilyTypeForFlags, P14_DIR_IS_ORIENTATION_TYPE, IncorrectPasswordError, applyThemeToData, detectFileFormat, parseOle2, decryptPptx, encryptPptx, patchPictureEffects, cssDegreesToOoxmlGradientAngle, escText, parseLineSpacingMultiplier, parseLineSpacingExactPt, parseEncryptionInfo, RC4_ALG_ID, isOle2CompoundFile, ENTRY_TYPE_ROOT, PML_XMLNS, solidFill, esc, OOXML_PERCENT_UNITS, backgroundStylePreset, isDarkColorMap, backgroundStyleColorMap, reResolveElementsForColorMapChange, findThemeEffectScheme, wrapFormatSchemeXml, effectIsPurelyStyleMatrix, emu, formatSchemeKey, gradFill, loadThemeVariants, parsePresentationDrawingGuides, parsePresentationSmartTags, resolveLayoutDisplayName, detectDigitalSignatures, unwrapOleEmbedding, mimeTypeForOleFile, oleBytesToDataUrl, parseKinsoku, deobfuscateFont, detectFontFormat, parseDataTable, parseChartAxes, parseBubbleChartOptions, extractGuidFromPartName, parseChartLayouts, parseCxChartSeries, parseChartDataPointPictureBlipRel, extractCxSeriesColor, parseCxDataLabels, parseCxRegionMapOptions, parseCxAxes, parseSeriesDataLabels, parseChartDataPointPicture, parseImplicitBlipPictureFill, parseEmbeddedXlsx, EMU_PER_POINT, chartTrendlineKind, parseChartManualLayout, parseDiagramRelationshipIds, parseSmartArtTextParagraphs, firstParagraphRuns, smartArtParagraphsText, decodeBase64, parseSmartArtPresLayoutVars, parseDrawingColorIn, parseSmartArtConnection, connectionLabel, projectSmartArtNodeText, resolveSmartArtNodeStyleRoles, resolveSmartArtNodeCoherent3DOff, captureDiagramPictures, parseDiagramDrawing, parseSmartArtDefinitionMetadata, parseSmartArtColorStyleLabels, buildSmartArtColorLists, buildSmartArtColorRoleMap, collectTransitionText, parseSmartArtQuickStyleLabels, parseDiagramQuickStyle, parseDiagramLayoutSummary, resolveSmartArtEffectIntensity, parseSmartArtStyleLabelRefs, extractStyleReferenceColorXml, withThemePlaceholderColor, getElementOrientationMatrix, isTextOrientationMatrix, TEXT_ORIENTATION_IDENTITY, multiplyTextOrientationMatrices } from './chunk-7L6ZAA5Y.mjs';
|
|
2
2
|
import { openPptxZip, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, openZip, MAX_ZIP_ENTRY_COUNT, DEFAULT_MAX_UNCOMPRESSED_BYTES, guardZip, ZipBombError } from './chunk-EYCM7RVL.mjs';
|
|
3
3
|
import { resolveSmartArtLayoutCategory } from './chunk-2N7RZQLC.mjs';
|
|
4
4
|
import { cloneXmlObject, applySmartArtLayoutDefinition, cloneSlide, parseSmartArtLayoutDefinition } from './chunk-VDUNZTJC.mjs';
|
|
@@ -61809,6 +61809,17 @@ function applyImageAlphaEffects(blip, effects2, parseColor) {
|
|
|
61809
61809
|
);
|
|
61810
61810
|
}
|
|
61811
61811
|
|
|
61812
|
+
// pptx/core/core/runtime/blip-extension-order.ts
|
|
61813
|
+
function keepExtensionListLast(blip) {
|
|
61814
|
+
const key2 = Object.keys(blip).find((candidate) => candidate.split(":").at(-1) === "extLst");
|
|
61815
|
+
if (key2 === void 0) {
|
|
61816
|
+
return;
|
|
61817
|
+
}
|
|
61818
|
+
const value = blip[key2];
|
|
61819
|
+
delete blip[key2];
|
|
61820
|
+
blip[key2] = value;
|
|
61821
|
+
}
|
|
61822
|
+
|
|
61812
61823
|
// pptx/core/core/runtime/image-color-effects.ts
|
|
61813
61824
|
var localName13 = (key2) => key2.split(":").at(-1) ?? key2;
|
|
61814
61825
|
function child16(parent, name) {
|
|
@@ -67634,6 +67645,7 @@ var PptxHandlerRuntime16 = class extends PptxHandlerRuntime15 {
|
|
|
67634
67645
|
delete blip["a:blur"];
|
|
67635
67646
|
}
|
|
67636
67647
|
applyA14ImageExtension(blip, nextEffects);
|
|
67648
|
+
keepExtensionListLast(blip);
|
|
67637
67649
|
}
|
|
67638
67650
|
normalizePresetGeometry(shapeType) {
|
|
67639
67651
|
return this.elementXmlBuilder.normalizePresetGeometry(shapeType);
|
|
@@ -97603,6 +97615,48 @@ function applyChartInputLayout(element2, input) {
|
|
|
97603
97615
|
}
|
|
97604
97616
|
}
|
|
97605
97617
|
|
|
97618
|
+
// pptx/core/builders/sdk/picture-effects-input.ts
|
|
97619
|
+
function pictureEffectsFromInput(options2) {
|
|
97620
|
+
const { opacity: opacity2, brightness, contrast } = options2 ?? {};
|
|
97621
|
+
if (opacity2 !== void 0 && !(opacity2 >= 0 && opacity2 <= 1)) {
|
|
97622
|
+
throw new RangeError(`ImageOptions.opacity must be between 0 and 1, got ${opacity2}`);
|
|
97623
|
+
}
|
|
97624
|
+
const patch = {};
|
|
97625
|
+
if (opacity2 !== void 0 && opacity2 < 1) {
|
|
97626
|
+
patch.alpha = opacity2;
|
|
97627
|
+
}
|
|
97628
|
+
if (brightness !== void 0) {
|
|
97629
|
+
patch.brightness = brightness / 100;
|
|
97630
|
+
}
|
|
97631
|
+
if (contrast !== void 0) {
|
|
97632
|
+
patch.contrast = contrast / 100;
|
|
97633
|
+
}
|
|
97634
|
+
if (Object.keys(patch).length === 0) {
|
|
97635
|
+
return void 0;
|
|
97636
|
+
}
|
|
97637
|
+
let patched;
|
|
97638
|
+
try {
|
|
97639
|
+
patched = patchPictureEffects([], patch);
|
|
97640
|
+
} catch (error) {
|
|
97641
|
+
throw new RangeError(
|
|
97642
|
+
`ImageOptions.brightness and contrast must be finite percentages from -100 to 100 (${String(error)})`
|
|
97643
|
+
);
|
|
97644
|
+
}
|
|
97645
|
+
let effects2;
|
|
97646
|
+
for (const effect of patched) {
|
|
97647
|
+
effects2 ??= {};
|
|
97648
|
+
if (effect.kind === "alphaModFix") {
|
|
97649
|
+
effects2.alphaModFix = effect.amount * 100;
|
|
97650
|
+
} else if (effect.kind === "luminance") {
|
|
97651
|
+
effects2.lum = {
|
|
97652
|
+
...effect.brightness !== void 0 ? { bright: effect.brightness * 100 } : {},
|
|
97653
|
+
...effect.contrast !== void 0 ? { contrast: effect.contrast * 100 } : {}
|
|
97654
|
+
};
|
|
97655
|
+
}
|
|
97656
|
+
}
|
|
97657
|
+
return effects2;
|
|
97658
|
+
}
|
|
97659
|
+
|
|
97606
97660
|
// pptx/core/builders/sdk/shape-style-input.ts
|
|
97607
97661
|
var DASH_UNITS_PER_WIDTH = 1e5;
|
|
97608
97662
|
var MITER_UNITS_PER_RATIO = 1e5;
|
|
@@ -98232,12 +98286,13 @@ function createConnectorElement(options2) {
|
|
|
98232
98286
|
function createImageElement(source, options2) {
|
|
98233
98287
|
const p = pos("image", options2);
|
|
98234
98288
|
const isDataUrl = source.startsWith("data:");
|
|
98289
|
+
const imageEffects = pictureEffectsFromInput(options2);
|
|
98235
98290
|
return {
|
|
98236
98291
|
type: "image",
|
|
98237
98292
|
id: generateId("img"),
|
|
98238
98293
|
...p,
|
|
98239
98294
|
rotation: options2?.rotation,
|
|
98240
|
-
|
|
98295
|
+
...imageEffects ? { imageEffects } : {},
|
|
98241
98296
|
imagePath: isDataUrl ? void 0 : source,
|
|
98242
98297
|
imageData: isDataUrl ? source : void 0,
|
|
98243
98298
|
altText: options2?.altText,
|
|
@@ -98890,6 +98945,56 @@ function findLayoutByType(data, type) {
|
|
|
98890
98945
|
return void 0;
|
|
98891
98946
|
}
|
|
98892
98947
|
|
|
98948
|
+
// pptx/core/builders/sdk/presentation-app-properties.ts
|
|
98949
|
+
var INPUT_FIELDS = /* @__PURE__ */ new Set([
|
|
98950
|
+
"application",
|
|
98951
|
+
"appVersion",
|
|
98952
|
+
"presentationFormat",
|
|
98953
|
+
"company",
|
|
98954
|
+
"manager",
|
|
98955
|
+
"template"
|
|
98956
|
+
]);
|
|
98957
|
+
var APP_VERSION = /^\d+\.\d{4}$/u;
|
|
98958
|
+
function blankAppXml(slideCount) {
|
|
98959
|
+
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
98960
|
+
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"
|
|
98961
|
+
xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">
|
|
98962
|
+
<Application>pptx-viewer-sdk</Application>
|
|
98963
|
+
<Slides>${slideCount}</Slides>
|
|
98964
|
+
<ScaleCrop>false</ScaleCrop>
|
|
98965
|
+
<LinksUpToDate>false</LinksUpToDate>
|
|
98966
|
+
<SharedDoc>false</SharedDoc>
|
|
98967
|
+
<HyperlinksChanged>false</HyperlinksChanged>
|
|
98968
|
+
<AppVersion>1.0000</AppVersion>
|
|
98969
|
+
</Properties>`;
|
|
98970
|
+
}
|
|
98971
|
+
function validate(input) {
|
|
98972
|
+
for (const [field, value] of Object.entries(input)) {
|
|
98973
|
+
if (!INPUT_FIELDS.has(field)) {
|
|
98974
|
+
throw new RangeError(
|
|
98975
|
+
`appProperties.${field} cannot be set when a presentation is created; it takes ${[...INPUT_FIELDS].join(", ")} (counts are computed on save)`
|
|
98976
|
+
);
|
|
98977
|
+
}
|
|
98978
|
+
if (value !== void 0 && typeof value !== "string") {
|
|
98979
|
+
throw new RangeError(`appProperties.${field} must be a string`);
|
|
98980
|
+
}
|
|
98981
|
+
}
|
|
98982
|
+
const version = input.appVersion?.trim();
|
|
98983
|
+
if (version && !APP_VERSION.test(version)) {
|
|
98984
|
+
throw new RangeError(
|
|
98985
|
+
`appProperties.appVersion must be digits, a dot and four digits (e.g. "16.0000"), got "${input.appVersion}"`
|
|
98986
|
+
);
|
|
98987
|
+
}
|
|
98988
|
+
}
|
|
98989
|
+
function newPresentationAppXml(slideCount, input) {
|
|
98990
|
+
const xml = blankAppXml(slideCount);
|
|
98991
|
+
if (input === void 0) {
|
|
98992
|
+
return xml;
|
|
98993
|
+
}
|
|
98994
|
+
validate(input);
|
|
98995
|
+
return writeAppProperties(applyAppOverrides(parseAppProperties(xml), input), xml);
|
|
98996
|
+
}
|
|
98997
|
+
|
|
98893
98998
|
// pptx/core/builders/sdk/standard-layout-placeholders.ts
|
|
98894
98999
|
function standardLayoutPlaceholders(type, width, height) {
|
|
98895
99000
|
if (type === "blank") return [];
|
|
@@ -99247,19 +99352,6 @@ function corePropsXml(title, creator) {
|
|
|
99247
99352
|
<dcterms:modified xsi:type="dcterms:W3CDTF">${now}</dcterms:modified>
|
|
99248
99353
|
</cp:coreProperties>`;
|
|
99249
99354
|
}
|
|
99250
|
-
function appPropsXml(slideCount) {
|
|
99251
|
-
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
99252
|
-
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"
|
|
99253
|
-
xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">
|
|
99254
|
-
<Application>pptx-viewer-sdk</Application>
|
|
99255
|
-
<Slides>${slideCount}</Slides>
|
|
99256
|
-
<ScaleCrop>false</ScaleCrop>
|
|
99257
|
-
<LinksUpToDate>false</LinksUpToDate>
|
|
99258
|
-
<SharedDoc>false</SharedDoc>
|
|
99259
|
-
<HyperlinksChanged>false</HyperlinksChanged>
|
|
99260
|
-
<AppVersion>1.0000</AppVersion>
|
|
99261
|
-
</Properties>`;
|
|
99262
|
-
}
|
|
99263
99355
|
async function buildBlankPresentationArchive(options2) {
|
|
99264
99356
|
const width = options2?.width ?? DEFAULT_WIDTH;
|
|
99265
99357
|
const height = options2?.height ?? DEFAULT_HEIGHT;
|
|
@@ -99301,7 +99393,7 @@ async function buildBlankPresentationArchive(options2) {
|
|
|
99301
99393
|
zip.file("ppt/viewProps.xml", viewPropsXml());
|
|
99302
99394
|
zip.file("ppt/tableStyles.xml", tableStylesXml());
|
|
99303
99395
|
zip.file("docProps/core.xml", corePropsXml(options2?.title, options2?.creator));
|
|
99304
|
-
zip.file("docProps/app.xml",
|
|
99396
|
+
zip.file("docProps/app.xml", newPresentationAppXml(initialSlideCount, options2?.appProperties));
|
|
99305
99397
|
return zip.generateAsync({ type: "arraybuffer" });
|
|
99306
99398
|
}
|
|
99307
99399
|
var PresentationBuilder = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { hasTextProperties, isImageLikeElement, blobUrlToDataUrl, getSubstituteFontFamily, stripXmlOrderSuffix } from './chunk-
|
|
1
|
+
import { hasTextProperties, isImageLikeElement, blobUrlToDataUrl, getSubstituteFontFamily, stripXmlOrderSuffix } from './chunk-7L6ZAA5Y.mjs';
|
|
2
2
|
|
|
3
3
|
// pptx/converter/media-context.ts
|
|
4
4
|
var MIME_TO_EXT = {
|
|
@@ -24589,7 +24589,7 @@ function findTextBearingElementById(elements3, elementId) {
|
|
|
24589
24589
|
}
|
|
24590
24590
|
async function loadNestedDeck(pptxBytes) {
|
|
24591
24591
|
try {
|
|
24592
|
-
const { PptxHandler } = await import('./PptxHandler-
|
|
24592
|
+
const { PptxHandler } = await import('./PptxHandler-NXHZ6ITL.mjs');
|
|
24593
24593
|
const handler = new PptxHandler();
|
|
24594
24594
|
const data = await handler.load(pptxBytes.buffer.slice(0));
|
|
24595
24595
|
return { handler, slides: data.slides };
|
|
@@ -41791,6 +41791,70 @@ function applyPictureEffects(blip, effects) {
|
|
|
41791
41791
|
for (const node of elements(blip)) blip.removeChild(node);
|
|
41792
41792
|
for (const node of nodes) blip.appendChild(node);
|
|
41793
41793
|
}
|
|
41794
|
+
function patchPictureEffects(source2, patch) {
|
|
41795
|
+
const result = structuredClone(source2);
|
|
41796
|
+
const upsert = (kind, update) => {
|
|
41797
|
+
const matches = result.flatMap((effect, index2) => effect.kind === kind ? [index2] : []);
|
|
41798
|
+
if (matches.length > 1) throw new Error(`Ambiguous duplicate picture effect: ${kind}`);
|
|
41799
|
+
const index = matches[0];
|
|
41800
|
+
const value = update(index === void 0 ? void 0 : result[index]);
|
|
41801
|
+
if (index !== void 0) {
|
|
41802
|
+
if (value) result[index] = value;
|
|
41803
|
+
else result.splice(index, 1);
|
|
41804
|
+
} else if (value) {
|
|
41805
|
+
const ext = result.findIndex(
|
|
41806
|
+
(effect) => effect.kind === "unsupported" && effect.name === "extLst"
|
|
41807
|
+
);
|
|
41808
|
+
result.splice(ext < 0 ? result.length : ext, 0, value);
|
|
41809
|
+
}
|
|
41810
|
+
};
|
|
41811
|
+
for (const key of ["brightness", "contrast", "alpha"])
|
|
41812
|
+
if (patch[key] !== void 0 && !Number.isFinite(patch[key]))
|
|
41813
|
+
throw new RangeError("Picture effect must be finite");
|
|
41814
|
+
if ([patch.brightness, patch.contrast].some((value) => value !== void 0 && Math.abs(value) > 1))
|
|
41815
|
+
throw new RangeError("Picture luminance must be between -1 and 1");
|
|
41816
|
+
if (patch.alpha !== void 0 && patch.alpha < 0)
|
|
41817
|
+
throw new RangeError("Picture alpha must be nonnegative");
|
|
41818
|
+
if (patch.grayscale !== void 0)
|
|
41819
|
+
upsert(
|
|
41820
|
+
"grayscale",
|
|
41821
|
+
(effect) => patch.grayscale ? effect ?? { kind: "grayscale" } : void 0
|
|
41822
|
+
);
|
|
41823
|
+
if (patch.brightness !== void 0 || patch.contrast !== void 0)
|
|
41824
|
+
upsert("luminance", (effect) => ({
|
|
41825
|
+
...effect?.kind === "luminance" ? effect : { kind: "luminance" },
|
|
41826
|
+
...patch.brightness !== void 0 ? { brightness: patch.brightness } : {},
|
|
41827
|
+
...patch.contrast !== void 0 ? { contrast: patch.contrast } : {}
|
|
41828
|
+
}));
|
|
41829
|
+
if (patch.alpha !== void 0)
|
|
41830
|
+
upsert("alphaModFix", (effect) => ({
|
|
41831
|
+
...effect?.kind === "alphaModFix" ? effect : { kind: "alphaModFix" },
|
|
41832
|
+
amount: patch.alpha
|
|
41833
|
+
}));
|
|
41834
|
+
if (patch.standard) {
|
|
41835
|
+
const target = patch.standard;
|
|
41836
|
+
const matches = result.flatMap(
|
|
41837
|
+
(effect, index2) => effect.kind === "standard" && effect.name === target.name || effect.kind === "unsupported" && effect.name === target.name ? [index2] : []
|
|
41838
|
+
);
|
|
41839
|
+
if (matches.length > 1 || matches.some((index2) => result[index2]?.kind === "unsupported"))
|
|
41840
|
+
throw new Error(`Ambiguous or unreadable picture effect: ${target.name}`);
|
|
41841
|
+
const index = matches[0], before = index === void 0 ? void 0 : result[index];
|
|
41842
|
+
const next = {
|
|
41843
|
+
...before?.kind === "standard" ? before : {},
|
|
41844
|
+
...target,
|
|
41845
|
+
kind: "standard"
|
|
41846
|
+
};
|
|
41847
|
+
const doc = parseXml(next.sourceXml ?? `<a:${next.name} xmlns:a="${NS.a}"/>`);
|
|
41848
|
+
applyStandardPictureEffect(doc.documentElement, next);
|
|
41849
|
+
if (index === void 0) {
|
|
41850
|
+
const ext = result.findIndex(
|
|
41851
|
+
(effect) => effect.kind === "artistic" || effect.kind === "unsupported" && effect.name === "extLst"
|
|
41852
|
+
);
|
|
41853
|
+
result.splice(ext < 0 ? result.length : ext, 0, next);
|
|
41854
|
+
} else result[index] = next;
|
|
41855
|
+
}
|
|
41856
|
+
return result;
|
|
41857
|
+
}
|
|
41794
41858
|
|
|
41795
41859
|
// drawingml/read-3d-values.ts
|
|
41796
41860
|
var integer = (value) => {
|
|
@@ -70013,4 +70077,4 @@ async function blobUrlToDataUrl(blobUrl, fallbackMimeType) {
|
|
|
70013
70077
|
}
|
|
70014
70078
|
}
|
|
70015
70079
|
|
|
70016
|
-
export { ALL_ANIMATION_PRESETS, ARABIC_ABJADI_LETTERS, ARABIC_HIJAI_LETTERS, ARTISTIC_PRIMARY_ATTRIBUTE, BACKGROUND_STYLE_PRESETS, BLIP_FILL_ORDER, CAMERA_PRESETS, CHART_ERROR_BAR_DIRECTIONS, CHART_ERROR_BAR_TYPES, CHART_ERROR_VALUE_TYPES, CLOUD_CALLOUT_TAIL_COUNT, CLOUD_LOBE_COUNT, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_CHART_GRADIENT_ANGLE, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_GENERATED_DIAGRAM_SCHEME, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DIAGRAM_DATA_XMLNS, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, DIAGRAM_XML_PROLOG, DataIntegrityError, EFFECT_LST_ORDER, ELEMENT_FIELD_KIND, EMPHASIS_PRESETS, EMPTY_CONSTRAINT_INDEX, EMU_PER_INCH, EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ENTRANCE_PRESETS, ENTRY_TYPE_ROOT, EXIT_PRESETS, EncryptedFileError, FONT_SUBSTITUTION_MAP, FreeformPathBuilder, GENERATED_DIAGRAM_CACHE_NS, HEBREW_LETTERS, HINDI_CONSONANTS, HINDI_VOWELS, IncorrectPasswordError, LIGHT_DIRECTIONS, LIGHT_RIGS, LN_CHILD_ORDER, MAX_SHAPE_ID, MAX_TABLE_DIMENSION, MIN_ELEMENT_SIZE, MIN_TABLE_DIMENSION, MOTION_PATH_PRESETS, NS, OOXML_ANGLE_UNITS_PER_DEGREE, OOXML_PERCENT_UNITS, Ole2ParseError, P14_DIR_IS_ORIENTATION_TYPE, P14_GUIDE_URI, P14_TRANSITION_TYPES, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, PML_XMLNS, POWERPOINT_PRESENCE_KEY, PPTX_JSON_FILE_EXTENSION, PPTX_JSON_FORMAT, PPTX_JSON_MIME_TYPE, PPTX_JSON_VERSION, PRESENTATION_CHILD_ORDER, PRESENTATION_FIELD_KEYS, PRESENTATION_FIELD_NAMES, PRESET_COLOR_MAP, PRESET_GEOMETRY_ALIASES, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_SHAPE_GEOMETRY_TABLE, PptxJsonConverter, PptxJsonFormatError, RC4_ALG_ID, RELATIONSHIP_TYPES, RUN_PROPERTIES_ORDER, RasterCanvas, SHAPE_STYLE_ORDER, SHAPE_TREE_ELEMENT_TAGS, SLIDE_FIELD_KIND, SMART_ART_DEFINITION_PARTS, SP_PR_ORDER2 as SP_PR_ORDER, STROKE_DASH_OPTIONS, STYLE_MATRIX_EFFECT_KEYS, STYLE_MATRIX_FILL_KEYS, STYLE_MATRIX_LINE_KEYS, ST_SHAPE_TYPE_VALUES, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, SvgExporter, TC_PR_BORDERS_ORDER, TEXT_AUTONUMBER_SCHEMES, TEXT_ORIENTATION_IDENTITY, THAI_CONSONANTS, THEME_COLOR_SCHEME_KEYS, THEME_EFFECT_SCHEMES, VML_SHAPE_TAGS, WHITESPACE_PRESERVING_TAGS, addSmartArtNode, addSmartArtNodeAbove, addSmartArtNodeAsChild, addSmartArtNodeBefore, algorithmParam, alphaLabel, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, appendInSchemaOrder, applyActiveXControlsToSlide, applyBubbleChartOptions, applyCellWritesToWorksheet, applyChartAxisDisplayUnitsToXml, applyChartAxisLabelFormatting, applyChartAxisScaling, applyChartDateAxisUnits, applyChartGradientToSpPr, applyChartLayouts, applyChartManualLayout, applyChartUpDownBars, applyCommentMentions, applyCustomGeometryGuideOverrides, applyCustomLayoutOverrides, applyCustomShows, applyDataLabelsRangeToDLbls, applyDiagramRelationshipIds, applyDrawingLineDash, applyDrawingMediaReference, applyImportedPptxData, applyKinsokuToXml, applyOleDocumentParagraphEdit, applyOleNestedDeckBytes, applyOleNestedDeckElementTextEdit, applyOleSheetCellEdit, applySections, applySeriesDataPointsToXml, applySeriesMarkerToXml, applySeriesPictureOptionsToXml, applySmartArtQuickStyle3d, applySmartArtRoleColors, applyTextBodySp3d, applyThemeOverrideToSlide, applyThemeToData, areNamespacesSupported, arrangeComposite3 as arrangeComposite, arrangeConn2 as arrangeConn, arrangeCycle, arrangeHierarchy2 as arrangeHierarchy, arrangeLinear3 as arrangeLinear, arrangePyramid, arrangeSnake, arrangeSpacer, arrangeText, attr, avLstForPreset, backgroundRefNode, backgroundRefNodeForPreset, backgroundStyleColorMap, backgroundStylePreset, backgroundStylePresetFor, backgroundStyleRefIsCurrent, base64Decode, base64ToBytes, bijectiveLabel, blobUrlToDataUrl, buildActiveXControlNode, buildCalloutLeaderLineSvgPath, buildChartGradFillXml, buildChartMarkerXml, buildChartUniqueIdExtLst, buildClrMapOverrideXml, buildColorMapForBackgroundPair, buildConstraintIndex, buildCustomGeometryPathsFromNodes, buildDefRPrTextProperties, buildEffectDagTreeFromXml, buildFabricatedDiagramDataXml, buildFabricatedDrawingXml, buildFontFamilyString, buildForest, buildGuideListExtension, buildInkMlContent, buildLinkedTextBoxChains, buildNodeGuidMap, buildOle2, buildPointFromParagraphs, buildPointFromRuns, buildPointText, buildPptxJsonDocument, buildPresentationGuidMap, buildRelationshipsXml, buildSaveTimeCustomGeometryXml, buildSmartArtColorLists, buildSmartArtColorRoleMap, buildSrgbColorChoice, buildThemeColorMap, buildTree, buildTrendlineLabel, buildXml, bytesToBase64, captureDiagramPictures, captureStyleBaseline, catmullRomToBezier, chartColorChoiceValue, chartColorHex, chartDataAddCategory, chartDataAddSeries, chartDataApplySheetEdit, chartDataApplySheetEdits, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataToSheet, chartDataUpdatePoint, chartGradientsEqual, chartGridAddCategory, chartGridAddSeries, chartGridRemoveCategory, chartGridRemoveSeries, chartGridSetCategoryLabel, chartGridSetCellValue, chartTrendlineKind, chartTrendlineType, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, chevronPoints, childNamed, children2 as children, childrenNamed, chooseAlgType2 as chooseAlgType, circleNode, clampByRules, classifyPanose, collectAllText, collectTransitionText, colorsEqual, colour, combineShapes, computeContrastRatio, computeSmartArtElementsWithoutCache, concatArrays, connectionLabel, containsConvertibleStrictNamespaceAttribute, convertMetafileToDataUrl, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createDrawingObjectId, createEditorId, createLineStyleGate, createModifyVerifier, createOfficeGuid, createSaltlessModifyVerifierForTesting, createTemplateConnectorRawXml, createTemplateShapeRawXml, createUniformTextSegments, cropShapeForPresetGeometry, cssDegreesToOoxmlGradientAngle, customGeometryPathsToSvgSubpaths, customShowActionId, decodeBase64, decodeJsonValue, decodeOle10Native, decodePngDimensions, decodePptxJsonText, decodeXmlEntities, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveSlideTitle, deriveSlideTitles, descendants2 as descendants, deserializePptxFromJson, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectOlePayloadEditorKind, detectStrictConformance, diagramPictureRelationships, discoverArrangement2 as discoverArrangement, distributeSegmentsAcrossChain, douglasPeucker, drawingColorXml, drawingEffectsXml, drawingFillXml, drawingLineXml, effectChild, effectIsPurelyStyleMatrix, elementActionToPptxAction, elementHasAction, elements, emu, encodeCompressedPng, encodeJsonValue, encodeOle10Native, encodePasswordUtf16LE, encodePng, encodeXmlAttributeValue, encodeXmlTextValue, encryptPptx, ensureArrayValue, ensureXmlChild, ensureXmlChildOrCreate, ensureXmlChildren, esc, escAttr, escText, escapeDiagramXml, estimateMediaDurationMs, estimateTextBoxCapacity, evaluateCustomGeometryPathData, evaluateCustomGeometryPaths, evaluateGeometryPaths, evaluateGuides, evaluatePresetShape, expandRangeAddresses, extractColorChoiceXml, extractCxSeriesColor, extractGuidFromPartName, extractModel3DTransform, extractStyleReferenceColorXml, fetchUrlToBytes, fillElementOf, fillIsPurelyStyleMatrix, filterValidShapeAdjustmentEntries, findChartExtByUri, findChildByLocalName, findCnvPrNode, findConstraint, findCustomShow, findKey6 as findKey, findThemeEffectScheme, findThemeEffectSchemeByName, first, firstParagraphRuns, fitFontSize, flattenChartUserShapes, flattenNodes, formatAutoNumberMarker, formatCellAddress, formatCommentTimestamp, formatSchemeKey, formatScriptAutoNumber, fragmentShapes, gearPoints, generateFontGuid, generatedDrawingDigest, getAdjustmentAwareClipPath, getAdjustmentAwareShapeClipPath, getAnimationPresetInfo, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCloudCalloutClipPath, getCloudClipPath, getCloudPathForRendering, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getCustomShowNames, getCustomShowPositionLabel, getElementLabel, getElementOrientationMatrix, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getNativeAnimationPresetMetadata, getOleDocumentParagraphs, getOleNestedDeckBytes, getOleNestedDeckDetail, getOleObjectTypeLabel, getOleSheetGrid, getPanoseWeight, getPresetConnectionSites, getPresetShapeClipPath, getPresetTextRect, getPresetsByCategory, getRoundRectRadiusPx, getSectionSlideRange, getShapeClipPath, getShapeClipPathFromPreset, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getZoomElements, getZoomTargetSlideIndexes, gradFill, groupElements, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasLocalName, hasNonTrivialOverride, hasReference, hasShapeProperties, hasTextProperties, hash, hebrewAlphaLabel, inferOleExtensionFromTarget, inheritCustomGeometryCommandOrder, inheritedPlaceholderFieldType, inkBounds, inkElementToStrokes, inkLengthToPx, inkPointMapper, insertAt2 as insertAt, interpretSmartArtLayout2 as interpretSmartArtLayout, interpretedLayoutToElements, intersectPolygons, intersectShapes, intersectSvgPaths, isAlternateContentChoiceSupported, isAlternateContentChoiceXmlSupported, isCalloutShape, isConnectorElement, isContentPoint, isDarkColorMap, isDefaultSmartArtLabelScene, isEditableTextElement, isHeaderFooterPlaceholder, isImageLikeElement, isInkElement, isNamespaceSupported, isOle2CompoundFile, isParetoChartData, isPptxJsonText, isShapeElement, isStShapeType, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTemplateElementId, isTextElement, isTextOrientationMatrix, isTransitionalNamespaceUri, isXmlNode, isZoomElement, isZoomElement2, itemNode, loadThemeVariants, lookupPresetConnectionSites, lookupPresetShape, lookupPresetTextRectOverride, makeStoreAwareId, mapCustomShowActions, mergeAttributeEffectNode, mergeEffectNode, mergeShapes, mergeSmartArtConnectionXml, mergeSmartArtPointXml, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, multiplyTextOrientationMatrices, navigateCustomShow, newSmartArtGuid, nextRelationshipId, nodeFill, nodeOpacity, nodeStroke, nodeTextStyle, normalizeCustomShowIds, normalizeNamespaceUri, normalizePositiveFixedAngleDegrees, normalizeStShapeType, normalizeStrictXml, normalizeStrokeDashType, numericParam, obfuscateFont, oleBytesToDataUrl, oleObjectTypeToGlyph, ooxmlArcToSvg, ooxmlGradientAngleToCssDegrees, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseAlignmentAttr, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseBulletSizePercent, parseCellAddress, parseChart3DSurfaces, parseChartAxes, parseChartDataLabelOptions, parseChartDataPointPicture, parseChartDataPointPictureBlipRel, parseChartFormulaRange, parseChartLayouts, parseChartManualLayout, parseChartUniqueId, parseChartUpDownBars, parseChartUserShapesDrawing, parseChartWideTextStyle, parseCustomShows, parseCxAxes, parseCxChartSeries, parseCxDataLabels, parseCxRegionMapOptions, parseDataTable, parseDataUrlToBytes, parseDefRPrTextStyle, parseDiagramColors, parseDiagramDataModel, parseDiagramDrawing, parseDiagramLayoutSummary, parseDiagramQuickStyle, parseDiagramRelationshipIds, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorIn, parseDrawingColorOpacity, parseDrawingEffects, parseDrawingFill, parseDrawingLine, parseDrawingLineDash, parseDrawingMediaReference, parseDrawingRichTextBody, parseDrawingTextBody, parseEmbeddedXlsx, parseEncryptionInfo, parseGuideDefinitions, parseHexColor, parseImplicitBlipPictureFill, parseInkMlContent, parseKinsoku, parseLineSpacingExactPt, parseLineSpacingMultiplier, parseLineStyle, parseMarker, parseModel3DScene, parseOle2, parseP14DirectChild, parseP14FromExtLst, parsePanoseBytes, parsePanoseString, parseParagraphExtraAttributes, parseParagraphLevel, parseParagraphMargins, parseParagraphRtl, parseParagraphSpacingPx, parsePptxJson, parsePptxJsonDocument, parsePresentationDrawingGuides, parsePresentationSmartTags, parseRelationships, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeId, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSmartArtColorListHexes, parseSmartArtColorStyleLabels, parseSmartArtConnection, parseSmartArtDefinitionHeaderList, parseSmartArtDefinitionMetadata, parseSmartArtPointCustomLayout, parseSmartArtPresLayoutVars, parseSmartArtQuickStyleLabels, parseSmartArtStyleLabelRefs, parseSmartArtTextParagraphs, parseStructuredCustomGeometry, parseTabStops, parseVmlElement, parseVmlElements, parseXml, patchDrawingColorIn, patchDrawingLine, picturePercentage, polygonNode, polygonsToSvgPath, positiveFixedAngleAttribute, pptxActionToElementAction, pptxDataFromJsonDocument, preservesSpreadsheetXmlWhitespace, preservesXmlWhitespace, presetGeometryForCropShape, previewDiagramLayout, prismFamilyFlags, prismFamilyTypeForFlags, prismFamilyTypeOfNode, projectSmartArtNodeText, promoteSmartArtNode, ratioConstraint, reResolveElementColors, reResolveElementFonts, reResolveElementsForColorMapChange, reResolveSlideColors, reResolveSlideFonts, readChartManualLayoutValues, readCommentMentions, readFileAsDataUrl, readOleDocParagraphs, readOleDocumentParagraphs, readOleNestedDeckDetail, readOleNestedDeckFirstSlideTextLines, readOleSheetGrid, readOleXlsGrid, readPathListCommandOrder, readPictureEffect, readScene3DValues, readText3DValues, reapplyAlternateContentToTree, reassignDescendantIds, rebaseCommentMentions, rectNode, reflowSmartArtLayout, reflowSmartArtPictures, regenerateClonedUniqueId, regenerateSmartArtDrawingShapes, relAttr, relationshipsPartFor, relativeLuminance, relayoutSmartArt, remapElementShapeIds, remapShapeIdReferences, removeSmartArtNode, renderOleDeckPreviewPng, renderOleDocumentPreviewPng, renderOleIconPng, renderOleSheetPreviewPng, reorderObjectKeys, reorderObjectKeysByLocalName, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, repeatedLabel, replaceFirstText, replaceOleEmbedding, replaceOleFile, resetDecomposeCounter, resetSmartArtEditCounter, resetSpPrFormattingForStyleMatrix, resolveConstraint, resolveConstraintDeclaredBy, resolveCoordinate, resolveCustomGeometryGuideContext, resolveCustomGeometryToken, resolveCustomShowSlideIndices, resolveDisplayedChartTypeName, resolveDrawingColor, resolveFlowDirection, resolveLayoutDisplayName, resolveModel3DMimeType, resolveModifyVerifierAlgorithmName, resolveOleEditorKindFromPayload, resolveParagraphAlignment, resolvePartPath, resolveRatioConstraint, resolveSmartArtEffectIntensity, resolveSmartArtNodeCoherent3DOff, resolveSmartArtNodeStyleRoles, resolveTableCellStyle, resolveThemeEffectStyle, resolveThemeFillStyle, resolveThemeLineStyle, resolveTxPrDefRPr, rgb, roleOf, romanNumeral, roundCoordinate, safeResolveZipPath, sampleFirstPixelColorFromBytes, scaleVectorToIntegers, selectAlternateContentBranch, selectArrangedNodes, serializeColorChoice, serializeColorChoiceWithRef, serializePptxToJson, serializeSmartArtDefinitionHeaderList, serializeTabStop, setAutoTitleDeleted, setDrawingFillXml, setOleObjectName, setSmartArtNodeStyle, shadowOffsetToDistanceAndDirection, shouldRebuildFromParagraphs, shouldRebuildFromRuns, shouldRenderFallbackLabel, shouldReturnToZoomSlide, slideBackgroundStyleRefFromNode, smartArtParagraphsText, smartArtQuickStyleHas3d, solidFill, stripParentDirSegments, stripXmlOrderMarkers, stripXmlOrderSuffix, strokeFor, styleContext, styleShadow, styleStroke, subtractPolygons, subtractShapes, subtractSvgPaths, supportsChartGradientFill, svgPathToPolygons, svgToCustomGeometryPaths, switchSmartArtLayout, syncPictureShapeTypeWithCropShape, themeColorSchemesEqual, toArabicAbjadNumeral, toChineseNumeral, toCjkDigitString, toDevanagariDigits, toEa1ChsNumeral, toEa1ChtNumeral, toFullWidthDigits, toHebrewNumeral, toStrictNamespaceUri, toThaiDigits, treeDepth, treeWidth, truncate, uint32LE, ungroupElements, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, unwrapOleEmbedding, updateSmartArtNodeText, upsertChartAxisChild, validatePptx, validateSmartArtColorStyleLabels, validateSmartArtDefinitionHeaderList, validateSmartArtDefinitionMetadata, verifyModifyPassword, verifyPassword, verifySignatureDigests, visitXmlObjects, withDiagramPictureSources, withThemePlaceholderColor, worksheetData, wrapFormatSchemeXml, writeBodyPrBooleanAttrs, writeChartColorChoice, writeChartShapeProps, writeGeneratedDiagramDrawing, writeOleDocParagraphEdit, writeOleDocumentParagraphEdit, writeOleNestedDeckElementText, writeOleSheetCellEdit, writeOleXlsNumericCellEdit, writeOleXlsStringCellEdit, writeShapeEffects, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlHasChild, xmlPath, xmlText, zlibDeflate, zlibStore };
|
|
70080
|
+
export { ALL_ANIMATION_PRESETS, ARABIC_ABJADI_LETTERS, ARABIC_HIJAI_LETTERS, ARTISTIC_PRIMARY_ATTRIBUTE, BACKGROUND_STYLE_PRESETS, BLIP_FILL_ORDER, CAMERA_PRESETS, CHART_ERROR_BAR_DIRECTIONS, CHART_ERROR_BAR_TYPES, CHART_ERROR_VALUE_TYPES, CLOUD_CALLOUT_TAIL_COUNT, CLOUD_LOBE_COUNT, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_CHART_GRADIENT_ANGLE, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_GENERATED_DIAGRAM_SCHEME, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DIAGRAM_DATA_XMLNS, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, DIAGRAM_XML_PROLOG, DataIntegrityError, EFFECT_LST_ORDER, ELEMENT_FIELD_KIND, EMPHASIS_PRESETS, EMPTY_CONSTRAINT_INDEX, EMU_PER_INCH, EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ENTRANCE_PRESETS, ENTRY_TYPE_ROOT, EXIT_PRESETS, EncryptedFileError, FONT_SUBSTITUTION_MAP, FreeformPathBuilder, GENERATED_DIAGRAM_CACHE_NS, HEBREW_LETTERS, HINDI_CONSONANTS, HINDI_VOWELS, IncorrectPasswordError, LIGHT_DIRECTIONS, LIGHT_RIGS, LN_CHILD_ORDER, MAX_SHAPE_ID, MAX_TABLE_DIMENSION, MIN_ELEMENT_SIZE, MIN_TABLE_DIMENSION, MOTION_PATH_PRESETS, NS, OOXML_ANGLE_UNITS_PER_DEGREE, OOXML_PERCENT_UNITS, Ole2ParseError, P14_DIR_IS_ORIENTATION_TYPE, P14_GUIDE_URI, P14_TRANSITION_TYPES, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, PML_XMLNS, POWERPOINT_PRESENCE_KEY, PPTX_JSON_FILE_EXTENSION, PPTX_JSON_FORMAT, PPTX_JSON_MIME_TYPE, PPTX_JSON_VERSION, PRESENTATION_CHILD_ORDER, PRESENTATION_FIELD_KEYS, PRESENTATION_FIELD_NAMES, PRESET_COLOR_MAP, PRESET_GEOMETRY_ALIASES, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_SHAPE_GEOMETRY_TABLE, PptxJsonConverter, PptxJsonFormatError, RC4_ALG_ID, RELATIONSHIP_TYPES, RUN_PROPERTIES_ORDER, RasterCanvas, SHAPE_STYLE_ORDER, SHAPE_TREE_ELEMENT_TAGS, SLIDE_FIELD_KIND, SMART_ART_DEFINITION_PARTS, SP_PR_ORDER2 as SP_PR_ORDER, STROKE_DASH_OPTIONS, STYLE_MATRIX_EFFECT_KEYS, STYLE_MATRIX_FILL_KEYS, STYLE_MATRIX_LINE_KEYS, ST_SHAPE_TYPE_VALUES, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, SvgExporter, TC_PR_BORDERS_ORDER, TEXT_AUTONUMBER_SCHEMES, TEXT_ORIENTATION_IDENTITY, THAI_CONSONANTS, THEME_COLOR_SCHEME_KEYS, THEME_EFFECT_SCHEMES, VML_SHAPE_TAGS, WHITESPACE_PRESERVING_TAGS, addSmartArtNode, addSmartArtNodeAbove, addSmartArtNodeAsChild, addSmartArtNodeBefore, algorithmParam, alphaLabel, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, appendInSchemaOrder, applyActiveXControlsToSlide, applyBubbleChartOptions, applyCellWritesToWorksheet, applyChartAxisDisplayUnitsToXml, applyChartAxisLabelFormatting, applyChartAxisScaling, applyChartDateAxisUnits, applyChartGradientToSpPr, applyChartLayouts, applyChartManualLayout, applyChartUpDownBars, applyCommentMentions, applyCustomGeometryGuideOverrides, applyCustomLayoutOverrides, applyCustomShows, applyDataLabelsRangeToDLbls, applyDiagramRelationshipIds, applyDrawingLineDash, applyDrawingMediaReference, applyImportedPptxData, applyKinsokuToXml, applyOleDocumentParagraphEdit, applyOleNestedDeckBytes, applyOleNestedDeckElementTextEdit, applyOleSheetCellEdit, applySections, applySeriesDataPointsToXml, applySeriesMarkerToXml, applySeriesPictureOptionsToXml, applySmartArtQuickStyle3d, applySmartArtRoleColors, applyTextBodySp3d, applyThemeOverrideToSlide, applyThemeToData, areNamespacesSupported, arrangeComposite3 as arrangeComposite, arrangeConn2 as arrangeConn, arrangeCycle, arrangeHierarchy2 as arrangeHierarchy, arrangeLinear3 as arrangeLinear, arrangePyramid, arrangeSnake, arrangeSpacer, arrangeText, attr, avLstForPreset, backgroundRefNode, backgroundRefNodeForPreset, backgroundStyleColorMap, backgroundStylePreset, backgroundStylePresetFor, backgroundStyleRefIsCurrent, base64Decode, base64ToBytes, bijectiveLabel, blobUrlToDataUrl, buildActiveXControlNode, buildCalloutLeaderLineSvgPath, buildChartGradFillXml, buildChartMarkerXml, buildChartUniqueIdExtLst, buildClrMapOverrideXml, buildColorMapForBackgroundPair, buildConstraintIndex, buildCustomGeometryPathsFromNodes, buildDefRPrTextProperties, buildEffectDagTreeFromXml, buildFabricatedDiagramDataXml, buildFabricatedDrawingXml, buildFontFamilyString, buildForest, buildGuideListExtension, buildInkMlContent, buildLinkedTextBoxChains, buildNodeGuidMap, buildOle2, buildPointFromParagraphs, buildPointFromRuns, buildPointText, buildPptxJsonDocument, buildPresentationGuidMap, buildRelationshipsXml, buildSaveTimeCustomGeometryXml, buildSmartArtColorLists, buildSmartArtColorRoleMap, buildSrgbColorChoice, buildThemeColorMap, buildTree, buildTrendlineLabel, buildXml, bytesToBase64, captureDiagramPictures, captureStyleBaseline, catmullRomToBezier, chartColorChoiceValue, chartColorHex, chartDataAddCategory, chartDataAddSeries, chartDataApplySheetEdit, chartDataApplySheetEdits, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataToSheet, chartDataUpdatePoint, chartGradientsEqual, chartGridAddCategory, chartGridAddSeries, chartGridRemoveCategory, chartGridRemoveSeries, chartGridSetCategoryLabel, chartGridSetCellValue, chartTrendlineKind, chartTrendlineType, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, chevronPoints, childNamed, children2 as children, childrenNamed, chooseAlgType2 as chooseAlgType, circleNode, clampByRules, classifyPanose, collectAllText, collectTransitionText, colorsEqual, colour, combineShapes, computeContrastRatio, computeSmartArtElementsWithoutCache, concatArrays, connectionLabel, containsConvertibleStrictNamespaceAttribute, convertMetafileToDataUrl, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createDrawingObjectId, createEditorId, createLineStyleGate, createModifyVerifier, createOfficeGuid, createSaltlessModifyVerifierForTesting, createTemplateConnectorRawXml, createTemplateShapeRawXml, createUniformTextSegments, cropShapeForPresetGeometry, cssDegreesToOoxmlGradientAngle, customGeometryPathsToSvgSubpaths, customShowActionId, decodeBase64, decodeJsonValue, decodeOle10Native, decodePngDimensions, decodePptxJsonText, decodeXmlEntities, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveSlideTitle, deriveSlideTitles, descendants2 as descendants, deserializePptxFromJson, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectOlePayloadEditorKind, detectStrictConformance, diagramPictureRelationships, discoverArrangement2 as discoverArrangement, distributeSegmentsAcrossChain, douglasPeucker, drawingColorXml, drawingEffectsXml, drawingFillXml, drawingLineXml, effectChild, effectIsPurelyStyleMatrix, elementActionToPptxAction, elementHasAction, elements, emu, encodeCompressedPng, encodeJsonValue, encodeOle10Native, encodePasswordUtf16LE, encodePng, encodeXmlAttributeValue, encodeXmlTextValue, encryptPptx, ensureArrayValue, ensureXmlChild, ensureXmlChildOrCreate, ensureXmlChildren, esc, escAttr, escText, escapeDiagramXml, estimateMediaDurationMs, estimateTextBoxCapacity, evaluateCustomGeometryPathData, evaluateCustomGeometryPaths, evaluateGeometryPaths, evaluateGuides, evaluatePresetShape, expandRangeAddresses, extractColorChoiceXml, extractCxSeriesColor, extractGuidFromPartName, extractModel3DTransform, extractStyleReferenceColorXml, fetchUrlToBytes, fillElementOf, fillIsPurelyStyleMatrix, filterValidShapeAdjustmentEntries, findChartExtByUri, findChildByLocalName, findCnvPrNode, findConstraint, findCustomShow, findKey6 as findKey, findThemeEffectScheme, findThemeEffectSchemeByName, first, firstParagraphRuns, fitFontSize, flattenChartUserShapes, flattenNodes, formatAutoNumberMarker, formatCellAddress, formatCommentTimestamp, formatSchemeKey, formatScriptAutoNumber, fragmentShapes, gearPoints, generateFontGuid, generatedDrawingDigest, getAdjustmentAwareClipPath, getAdjustmentAwareShapeClipPath, getAnimationPresetInfo, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCloudCalloutClipPath, getCloudClipPath, getCloudPathForRendering, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getCustomShowNames, getCustomShowPositionLabel, getElementLabel, getElementOrientationMatrix, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getNativeAnimationPresetMetadata, getOleDocumentParagraphs, getOleNestedDeckBytes, getOleNestedDeckDetail, getOleObjectTypeLabel, getOleSheetGrid, getPanoseWeight, getPresetConnectionSites, getPresetShapeClipPath, getPresetTextRect, getPresetsByCategory, getRoundRectRadiusPx, getSectionSlideRange, getShapeClipPath, getShapeClipPathFromPreset, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getZoomElements, getZoomTargetSlideIndexes, gradFill, groupElements, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasLocalName, hasNonTrivialOverride, hasReference, hasShapeProperties, hasTextProperties, hash, hebrewAlphaLabel, inferOleExtensionFromTarget, inheritCustomGeometryCommandOrder, inheritedPlaceholderFieldType, inkBounds, inkElementToStrokes, inkLengthToPx, inkPointMapper, insertAt2 as insertAt, interpretSmartArtLayout2 as interpretSmartArtLayout, interpretedLayoutToElements, intersectPolygons, intersectShapes, intersectSvgPaths, isAlternateContentChoiceSupported, isAlternateContentChoiceXmlSupported, isCalloutShape, isConnectorElement, isContentPoint, isDarkColorMap, isDefaultSmartArtLabelScene, isEditableTextElement, isHeaderFooterPlaceholder, isImageLikeElement, isInkElement, isNamespaceSupported, isOle2CompoundFile, isParetoChartData, isPptxJsonText, isShapeElement, isStShapeType, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTemplateElementId, isTextElement, isTextOrientationMatrix, isTransitionalNamespaceUri, isXmlNode, isZoomElement, isZoomElement2, itemNode, loadThemeVariants, lookupPresetConnectionSites, lookupPresetShape, lookupPresetTextRectOverride, makeStoreAwareId, mapCustomShowActions, mergeAttributeEffectNode, mergeEffectNode, mergeShapes, mergeSmartArtConnectionXml, mergeSmartArtPointXml, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, multiplyTextOrientationMatrices, navigateCustomShow, newSmartArtGuid, nextRelationshipId, nodeFill, nodeOpacity, nodeStroke, nodeTextStyle, normalizeCustomShowIds, normalizeNamespaceUri, normalizePositiveFixedAngleDegrees, normalizeStShapeType, normalizeStrictXml, normalizeStrokeDashType, numericParam, obfuscateFont, oleBytesToDataUrl, oleObjectTypeToGlyph, ooxmlArcToSvg, ooxmlGradientAngleToCssDegrees, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseAlignmentAttr, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseBulletSizePercent, parseCellAddress, parseChart3DSurfaces, parseChartAxes, parseChartDataLabelOptions, parseChartDataPointPicture, parseChartDataPointPictureBlipRel, parseChartFormulaRange, parseChartLayouts, parseChartManualLayout, parseChartUniqueId, parseChartUpDownBars, parseChartUserShapesDrawing, parseChartWideTextStyle, parseCustomShows, parseCxAxes, parseCxChartSeries, parseCxDataLabels, parseCxRegionMapOptions, parseDataTable, parseDataUrlToBytes, parseDefRPrTextStyle, parseDiagramColors, parseDiagramDataModel, parseDiagramDrawing, parseDiagramLayoutSummary, parseDiagramQuickStyle, parseDiagramRelationshipIds, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorIn, parseDrawingColorOpacity, parseDrawingEffects, parseDrawingFill, parseDrawingLine, parseDrawingLineDash, parseDrawingMediaReference, parseDrawingRichTextBody, parseDrawingTextBody, parseEmbeddedXlsx, parseEncryptionInfo, parseGuideDefinitions, parseHexColor, parseImplicitBlipPictureFill, parseInkMlContent, parseKinsoku, parseLineSpacingExactPt, parseLineSpacingMultiplier, parseLineStyle, parseMarker, parseModel3DScene, parseOle2, parseP14DirectChild, parseP14FromExtLst, parsePanoseBytes, parsePanoseString, parseParagraphExtraAttributes, parseParagraphLevel, parseParagraphMargins, parseParagraphRtl, parseParagraphSpacingPx, parsePptxJson, parsePptxJsonDocument, parsePresentationDrawingGuides, parsePresentationSmartTags, parseRelationships, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeId, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSmartArtColorListHexes, parseSmartArtColorStyleLabels, parseSmartArtConnection, parseSmartArtDefinitionHeaderList, parseSmartArtDefinitionMetadata, parseSmartArtPointCustomLayout, parseSmartArtPresLayoutVars, parseSmartArtQuickStyleLabels, parseSmartArtStyleLabelRefs, parseSmartArtTextParagraphs, parseStructuredCustomGeometry, parseTabStops, parseVmlElement, parseVmlElements, parseXml, patchDrawingColorIn, patchDrawingLine, patchPictureEffects, picturePercentage, polygonNode, polygonsToSvgPath, positiveFixedAngleAttribute, pptxActionToElementAction, pptxDataFromJsonDocument, preservesSpreadsheetXmlWhitespace, preservesXmlWhitespace, presetGeometryForCropShape, previewDiagramLayout, prismFamilyFlags, prismFamilyTypeForFlags, prismFamilyTypeOfNode, projectSmartArtNodeText, promoteSmartArtNode, ratioConstraint, reResolveElementColors, reResolveElementFonts, reResolveElementsForColorMapChange, reResolveSlideColors, reResolveSlideFonts, readChartManualLayoutValues, readCommentMentions, readFileAsDataUrl, readOleDocParagraphs, readOleDocumentParagraphs, readOleNestedDeckDetail, readOleNestedDeckFirstSlideTextLines, readOleSheetGrid, readOleXlsGrid, readPathListCommandOrder, readPictureEffect, readScene3DValues, readText3DValues, reapplyAlternateContentToTree, reassignDescendantIds, rebaseCommentMentions, rectNode, reflowSmartArtLayout, reflowSmartArtPictures, regenerateClonedUniqueId, regenerateSmartArtDrawingShapes, relAttr, relationshipsPartFor, relativeLuminance, relayoutSmartArt, remapElementShapeIds, remapShapeIdReferences, removeSmartArtNode, renderOleDeckPreviewPng, renderOleDocumentPreviewPng, renderOleIconPng, renderOleSheetPreviewPng, reorderObjectKeys, reorderObjectKeysByLocalName, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, repeatedLabel, replaceFirstText, replaceOleEmbedding, replaceOleFile, resetDecomposeCounter, resetSmartArtEditCounter, resetSpPrFormattingForStyleMatrix, resolveConstraint, resolveConstraintDeclaredBy, resolveCoordinate, resolveCustomGeometryGuideContext, resolveCustomGeometryToken, resolveCustomShowSlideIndices, resolveDisplayedChartTypeName, resolveDrawingColor, resolveFlowDirection, resolveLayoutDisplayName, resolveModel3DMimeType, resolveModifyVerifierAlgorithmName, resolveOleEditorKindFromPayload, resolveParagraphAlignment, resolvePartPath, resolveRatioConstraint, resolveSmartArtEffectIntensity, resolveSmartArtNodeCoherent3DOff, resolveSmartArtNodeStyleRoles, resolveTableCellStyle, resolveThemeEffectStyle, resolveThemeFillStyle, resolveThemeLineStyle, resolveTxPrDefRPr, rgb, roleOf, romanNumeral, roundCoordinate, safeResolveZipPath, sampleFirstPixelColorFromBytes, scaleVectorToIntegers, selectAlternateContentBranch, selectArrangedNodes, serializeColorChoice, serializeColorChoiceWithRef, serializePptxToJson, serializeSmartArtDefinitionHeaderList, serializeTabStop, setAutoTitleDeleted, setDrawingFillXml, setOleObjectName, setSmartArtNodeStyle, shadowOffsetToDistanceAndDirection, shouldRebuildFromParagraphs, shouldRebuildFromRuns, shouldRenderFallbackLabel, shouldReturnToZoomSlide, slideBackgroundStyleRefFromNode, smartArtParagraphsText, smartArtQuickStyleHas3d, solidFill, stripParentDirSegments, stripXmlOrderMarkers, stripXmlOrderSuffix, strokeFor, styleContext, styleShadow, styleStroke, subtractPolygons, subtractShapes, subtractSvgPaths, supportsChartGradientFill, svgPathToPolygons, svgToCustomGeometryPaths, switchSmartArtLayout, syncPictureShapeTypeWithCropShape, themeColorSchemesEqual, toArabicAbjadNumeral, toChineseNumeral, toCjkDigitString, toDevanagariDigits, toEa1ChsNumeral, toEa1ChtNumeral, toFullWidthDigits, toHebrewNumeral, toStrictNamespaceUri, toThaiDigits, treeDepth, treeWidth, truncate, uint32LE, ungroupElements, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, unwrapOleEmbedding, updateSmartArtNodeText, upsertChartAxisChild, validatePptx, validateSmartArtColorStyleLabels, validateSmartArtDefinitionHeaderList, validateSmartArtDefinitionMetadata, verifyModifyPassword, verifyPassword, verifySignatureDigests, visitXmlObjects, withDiagramPictureSources, withThemePlaceholderColor, worksheetData, wrapFormatSchemeXml, writeBodyPrBooleanAttrs, writeChartColorChoice, writeChartShapeProps, writeGeneratedDiagramDrawing, writeOleDocParagraphEdit, writeOleDocumentParagraphEdit, writeOleNestedDeckElementText, writeOleSheetCellEdit, writeOleXlsNumericCellEdit, writeOleXlsStringCellEdit, writeShapeEffects, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlHasChild, xmlPath, xmlText, zlibDeflate, zlibStore };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWFN6ZU7N_cjs = require('./chunk-WFN6ZU7N.cjs');
|
|
4
4
|
var chunk5W2QL4SB_cjs = require('./chunk-5W2QL4SB.cjs');
|
|
5
5
|
|
|
6
6
|
// pptx/core/core/runtime/table-structural-helpers.ts
|
|
@@ -44,10 +44,10 @@ function flattenCellTxBodyText(txBody, ensureArray2) {
|
|
|
44
44
|
const fields = ensureArray2(paragraph?.["a:fld"]);
|
|
45
45
|
let lineText = "";
|
|
46
46
|
for (const run of runs) {
|
|
47
|
-
lineText +=
|
|
47
|
+
lineText += chunkWFN6ZU7N_cjs.xmlText(run?.["a:t"]) ?? "";
|
|
48
48
|
}
|
|
49
49
|
for (const field of fields) {
|
|
50
|
-
lineText +=
|
|
50
|
+
lineText += chunkWFN6ZU7N_cjs.xmlText(field?.["a:t"]) ?? "";
|
|
51
51
|
}
|
|
52
52
|
lines.push(lineText);
|
|
53
53
|
}
|
|
@@ -31579,6 +31579,70 @@ function applyPictureEffects(blip, effects) {
|
|
|
31579
31579
|
for (const node of elements(blip)) blip.removeChild(node);
|
|
31580
31580
|
for (const node of nodes) blip.appendChild(node);
|
|
31581
31581
|
}
|
|
31582
|
+
function patchPictureEffects(source2, patch) {
|
|
31583
|
+
const result = structuredClone(source2);
|
|
31584
|
+
const upsert = (kind, update) => {
|
|
31585
|
+
const matches = result.flatMap((effect, index2) => effect.kind === kind ? [index2] : []);
|
|
31586
|
+
if (matches.length > 1) throw new Error(`Ambiguous duplicate picture effect: ${kind}`);
|
|
31587
|
+
const index = matches[0];
|
|
31588
|
+
const value = update(index === void 0 ? void 0 : result[index]);
|
|
31589
|
+
if (index !== void 0) {
|
|
31590
|
+
if (value) result[index] = value;
|
|
31591
|
+
else result.splice(index, 1);
|
|
31592
|
+
} else if (value) {
|
|
31593
|
+
const ext = result.findIndex(
|
|
31594
|
+
(effect) => effect.kind === "unsupported" && effect.name === "extLst"
|
|
31595
|
+
);
|
|
31596
|
+
result.splice(ext < 0 ? result.length : ext, 0, value);
|
|
31597
|
+
}
|
|
31598
|
+
};
|
|
31599
|
+
for (const key of ["brightness", "contrast", "alpha"])
|
|
31600
|
+
if (patch[key] !== void 0 && !Number.isFinite(patch[key]))
|
|
31601
|
+
throw new RangeError("Picture effect must be finite");
|
|
31602
|
+
if ([patch.brightness, patch.contrast].some((value) => value !== void 0 && Math.abs(value) > 1))
|
|
31603
|
+
throw new RangeError("Picture luminance must be between -1 and 1");
|
|
31604
|
+
if (patch.alpha !== void 0 && patch.alpha < 0)
|
|
31605
|
+
throw new RangeError("Picture alpha must be nonnegative");
|
|
31606
|
+
if (patch.grayscale !== void 0)
|
|
31607
|
+
upsert(
|
|
31608
|
+
"grayscale",
|
|
31609
|
+
(effect) => patch.grayscale ? effect ?? { kind: "grayscale" } : void 0
|
|
31610
|
+
);
|
|
31611
|
+
if (patch.brightness !== void 0 || patch.contrast !== void 0)
|
|
31612
|
+
upsert("luminance", (effect) => ({
|
|
31613
|
+
...effect?.kind === "luminance" ? effect : { kind: "luminance" },
|
|
31614
|
+
...patch.brightness !== void 0 ? { brightness: patch.brightness } : {},
|
|
31615
|
+
...patch.contrast !== void 0 ? { contrast: patch.contrast } : {}
|
|
31616
|
+
}));
|
|
31617
|
+
if (patch.alpha !== void 0)
|
|
31618
|
+
upsert("alphaModFix", (effect) => ({
|
|
31619
|
+
...effect?.kind === "alphaModFix" ? effect : { kind: "alphaModFix" },
|
|
31620
|
+
amount: patch.alpha
|
|
31621
|
+
}));
|
|
31622
|
+
if (patch.standard) {
|
|
31623
|
+
const target = patch.standard;
|
|
31624
|
+
const matches = result.flatMap(
|
|
31625
|
+
(effect, index2) => effect.kind === "standard" && effect.name === target.name || effect.kind === "unsupported" && effect.name === target.name ? [index2] : []
|
|
31626
|
+
);
|
|
31627
|
+
if (matches.length > 1 || matches.some((index2) => result[index2]?.kind === "unsupported"))
|
|
31628
|
+
throw new Error(`Ambiguous or unreadable picture effect: ${target.name}`);
|
|
31629
|
+
const index = matches[0], before = index === void 0 ? void 0 : result[index];
|
|
31630
|
+
const next = {
|
|
31631
|
+
...before?.kind === "standard" ? before : {},
|
|
31632
|
+
...target,
|
|
31633
|
+
kind: "standard"
|
|
31634
|
+
};
|
|
31635
|
+
const doc = parseXml(next.sourceXml ?? `<a:${next.name} xmlns:a="${NS.a}"/>`);
|
|
31636
|
+
applyStandardPictureEffect(doc.documentElement, next);
|
|
31637
|
+
if (index === void 0) {
|
|
31638
|
+
const ext = result.findIndex(
|
|
31639
|
+
(effect) => effect.kind === "artistic" || effect.kind === "unsupported" && effect.name === "extLst"
|
|
31640
|
+
);
|
|
31641
|
+
result.splice(ext < 0 ? result.length : ext, 0, next);
|
|
31642
|
+
} else result[index] = next;
|
|
31643
|
+
}
|
|
31644
|
+
return result;
|
|
31645
|
+
}
|
|
31582
31646
|
|
|
31583
31647
|
// drawingml/read-3d-values.ts
|
|
31584
31648
|
var integer = (value) => {
|
|
@@ -51676,4 +51740,4 @@ function applyCommentMentions(node, mentions, extension, replace) {
|
|
|
51676
51740
|
return rebuilt;
|
|
51677
51741
|
}
|
|
51678
51742
|
|
|
51679
|
-
export { ARTISTIC_PRIMARY_ATTRIBUTE, BLIP_FILL_ORDER, CAMERA_PRESETS, COLOR_MAP_ALIAS_KEYS, DEFAULT_CHART_GRADIENT_ANGLE, DEFAULT_COLOR_MAP, DEFAULT_FONT_ADVANCE_TABLE, DEFAULT_GENERATED_DIAGRAM_SCHEME, DEFAULT_MAX_UNCOMPRESSED_BYTES, DIAGRAM_DATA_XMLNS, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, DIAGRAM_XML_PROLOG, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, ENTRY_TYPE_ROOT, EncryptedFileError, FONT_ADVANCE_TABLES, GENERATED_DIAGRAM_CACHE_NS, IncorrectPasswordError, LIGHT_DIRECTIONS, LIGHT_RIGS, LN_CHILD_ORDER, MAX_SHAPE_ID, MAX_ZIP_ENTRY_COUNT, NS, P14_DIR_IS_ORIENTATION_TYPE, P14_GUIDE_URI, P14_TRANSITION_TYPES, P15_GUIDE_URI, PRESENTATION_CHILD_ORDER, RC4_ALG_ID, RELATIONSHIP_TYPES, RUN_PROPERTIES_ORDER, SHAPE_STYLE_ORDER, SHAPE_TREE_ELEMENT_TAGS, SMART_ART_DEFINITION_PARTS, SP_PR_ORDER2 as SP_PR_ORDER, STYLE_MATRIX_EFFECT_KEYS, STYLE_MATRIX_FILL_KEYS, STYLE_MATRIX_LINE_KEYS, TC_PR_BORDERS_ORDER, VML_SHAPE_TAGS, ZipBombError, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, appendInSchemaOrder, applyActiveXControlsToSlide, applyBubbleChartOptions, applyChartAxisDisplayUnitsToXml, applyChartAxisLabelFormatting, applyChartAxisScaling, applyChartDateAxisUnits, applyChartGradientToSpPr, applyChartLayouts, applyChartManualLayout, applyChartUpDownBars, applyCommentMentions, applyCustomShows, applyDataLabelsRangeToDLbls, applyDiagramRelationshipIds, applyDrawingColorTransforms, applyDrawingLineDash, applyDrawingMediaReference, applyKinsokuToXml, applySections, applySeriesDataPointsToXml, applySeriesMarkerToXml, applySeriesPictureOptionsToXml, applySmartArtLayoutDefinition, applyTextBodySp3d, applyThemeToData, attr, backgroundRefNode, backgroundStyleColorMap, backgroundStylePreset, backgroundStyleRefIsCurrent, base64Decode, blendColorOntoWhite, buildChartGradFillXml, buildChartMarkerXml, buildChartUniqueIdExtLst, buildClrMapOverrideXml, buildDefRPrTextProperties, buildEffectDagTreeFromXml, buildFabricatedDiagramDataXml, buildFabricatedDrawingXml, buildGuideListExtension, buildInkMlContent, buildNodeGuidMap, buildOle2, buildPointFromParagraphs, buildPointFromRuns, buildPointText, buildPresentationGuidMap, buildRelationshipsXml, buildSmartArtColorLists, buildSmartArtColorRoleMap, buildSrgbColorChoice, buildXml, captureDiagramPictures, captureStyleBaseline, chartColorChoiceValue, chartColorHex, chartGradientsEqual, children2 as children, cloneElement, cloneSlide, cloneXmlObject, collectAllText, collectTransitionText, colorsEqual, concatArrays, connectionLabel, containsConvertibleStrictNamespaceAttribute, convertMetafileToDataUrl, convertXmlToStrict, createBuiltinVariables, createLineStyleGate, createOfficeGuid, cropShapeForPresetGeometry, cssDegreesToOoxmlGradientAngle, customGeometryPathsToXml, decodeBase64, decodeXmlEntities, decryptPptx, deobfuscateFont, deriveSlideTitles, descendants2 as descendants, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diagramPictureRelationships, drawingColorXml, drawingEffectsXml, drawingFillXml, drawingLineXml, effectChild, effectIsPurelyStyleMatrix, elements, encodeCompressedPng, encodePasswordUtf16LE, encodeXmlAttributeValue, encodeXmlTextValue, encryptPptx, ensureArrayValue, ensureXmlChild, ensureXmlChildOrCreate, ensureXmlChildren, escapeDiagramXml, estimateMediaDurationMs, evaluateGuides, extractColorChoiceXml, extractCxSeriesColor, extractGuidFromPartName, extractStyleReferenceColorXml, fetchUrlToBytes, fillElementOf, fillIsPurelyStyleMatrix, findChartExtByUri, findChildByLocalName, findKey6 as findKey, findThemeEffectScheme, first, firstParagraphRuns, formatAutoNumberMarker, formatSchemeKey, generateFontGuid, generatedDrawingDigest, getSignaturePathsToStrip, guardZip, hasLocalName, hash, hslToRgb, inferOleExtensionFromTarget, inheritCustomGeometryCommandOrder, inheritedPlaceholderFieldType, inkElementToStrokes, insertAt2 as insertAt, isAlternateContentChoiceSupported, isAlternateContentChoiceXmlSupported, isContentPoint, isDarkColorMap, isHeaderFooterPlaceholder, isOle2CompoundFile, isTemplateElementId, isXmlNode, loadThemeVariants, lookupPresetShape, mapCustomShowActions, measureTextWidth, mergeAttributeEffectNode, mergeEffectNode, mergeSmartArtConnectionXml, mergeSmartArtPointXml, mimeTypeForOleFile, newSmartArtGuid, nextRelationshipId, normalizeCustomShowIds, normalizeNamespaceUri, normalizeStShapeType, normalizeStrictXml, obfuscateFont, oleBytesToDataUrl, ooxmlArcToSvg, ooxmlGradientAngleToCssDegrees, openPptxZip, openZip, orderedPathCommandEntries, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseAlignmentAttr, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseBulletSizePercent, parseChartAxes, parseChartDataLabelOptions, parseChartDataPointPicture, parseChartDataPointPictureBlipRel, parseChartLayouts, parseChartManualLayout, parseChartUniqueId, parseChartUserShapesDrawing, parseChartWideTextStyle, parseCustomShows, parseCxAxes, parseCxChartSeries, parseCxDataLabels, parseCxRegionMapOptions, parseDataTable, parseDataUrlToBytes, parseDefRPrTextStyle, parseDiagramColors, parseDiagramDataModel, parseDiagramDrawing, parseDiagramLayoutSummary, parseDiagramQuickStyle, parseDiagramRelationshipIds, parseDrawingColorIn, parseDrawingEffects, parseDrawingFill, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingLine, parseDrawingLineDash, parseDrawingMediaReference, parseDrawingRichTextBody, parseDrawingTextBody, parseEmbeddedXlsx, parseEncryptionInfo, parseGuideDefinitions, parseImplicitBlipPictureFill, parseInkMlContent, parseKinsoku, parseLineSpacingExactPt, parseLineSpacingMultiplier, parseModel3DScene, parseOle2, parseOoxmlPercent, parseP14DirectChild, parseP14FromExtLst, parseParagraphExtraAttributes, parseParagraphLevel, parseParagraphMargins, parseParagraphRtl, parseParagraphSpacingPx, parsePresentationDrawingGuides, parsePresentationSmartTags, parseRelationships, parseSeriesDataLabels, parseShapeId, parseShapeProps, parseSlideDrawingGuides, parseSmartArtColorStyleLabels, parseSmartArtConnection, parseSmartArtDefinitionMetadata, parseSmartArtLayoutDefinition, parseSmartArtPresLayoutVars, parseSmartArtQuickStyleLabels, parseSmartArtStyleLabelRefs, parseSmartArtTextParagraphs, parseTabStops, parseVmlElement, parseVmlElements, parseXml, patchDrawingColorIn, patchDrawingLine, picturePercentage, positiveFixedAngleAttribute, pptxActionToElementAction, preservesXmlWhitespace, previewDiagramLayout, prismFamilyFlags, prismFamilyTypeForFlags, prismFamilyTypeOfNode, projectSmartArtNodeText, reResolveElementsForColorMapChange, readChartManualLayoutValues, readCommentMentions, readPathListCommandOrder, readPictureEffect, readScene3DValues, readText3DValues, reapplyAlternateContentToTree, rebaseCommentMentions, reconcileSmartArtTextParagraphs, regenerateClonedUniqueId, regenerateSmartArtDrawingShapes, relAttr, relationshipsPartFor, relayoutSmartArt, remapElementShapeIds, remapShapeIdReferences, reorderObjectKeys, reorderObjectKeysByLocalName, replaceFirstText, replaceOleEmbedding, resetSpPrFormattingForStyleMatrix, resolveCoordinate, resolveDiagramLayoutCategory, resolveDrawingColor, resolveLayoutDisplayName, resolveParagraphAlignment, resolvePartPath, resolveSmartArtEffectIntensity, resolveSmartArtNodeCoherent3DOff, resolveSmartArtNodeStyleRoles, resolveThemeEffectStyle, resolveThemeFillStyle, resolveThemeLineStyle, resolveTxPrDefRPr, restorePathListCommandOrder, roundCoordinate, safeResolveZipPath, scaleVectorToIntegers, scrgbLinearToSrgb8, selectAlternateContentBranch, serializeColorChoice, serializeColorChoiceWithRef, serializeTabStop, setAutoTitleDeleted, setDrawingFillXml, shadowOffsetToDistanceAndDirection, shouldRebuildFromParagraphs, shouldRebuildFromRuns, slideBackgroundStyleRefFromNode, smartArtParagraphsText, stripParentDirSegments, stripXmlOrderMarkers, stripXmlOrderSuffix, supportsChartGradientFill, svgToCustomGeometryPaths, syncPictureShapeTypeWithCropShape, themeColorRefFromColorChoice, themeColorRefFromSchemeClr, themeColorRefToSolidFillWithOpacity, themeColorRefToXml, uint32LE, unwrapAlternateContent, unwrapOleEmbedding, updateSmartArtNodeText, upsertChartAxisChild, withDiagramPictureSources, withThemePlaceholderColor, wrapFormatSchemeXml, writeBodyPrBooleanAttrs, writeChartColorChoice, writeChartShapeProps, writeGeneratedDiagramDrawing, writeShapeEffects, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlHasChild, xmlPath, xmlText, zlibStore };
|
|
51743
|
+
export { ARTISTIC_PRIMARY_ATTRIBUTE, BLIP_FILL_ORDER, CAMERA_PRESETS, COLOR_MAP_ALIAS_KEYS, DEFAULT_CHART_GRADIENT_ANGLE, DEFAULT_COLOR_MAP, DEFAULT_FONT_ADVANCE_TABLE, DEFAULT_GENERATED_DIAGRAM_SCHEME, DEFAULT_MAX_UNCOMPRESSED_BYTES, DIAGRAM_DATA_XMLNS, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, DIAGRAM_XML_PROLOG, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, ENTRY_TYPE_ROOT, EncryptedFileError, FONT_ADVANCE_TABLES, GENERATED_DIAGRAM_CACHE_NS, IncorrectPasswordError, LIGHT_DIRECTIONS, LIGHT_RIGS, LN_CHILD_ORDER, MAX_SHAPE_ID, MAX_ZIP_ENTRY_COUNT, NS, P14_DIR_IS_ORIENTATION_TYPE, P14_GUIDE_URI, P14_TRANSITION_TYPES, P15_GUIDE_URI, PRESENTATION_CHILD_ORDER, RC4_ALG_ID, RELATIONSHIP_TYPES, RUN_PROPERTIES_ORDER, SHAPE_STYLE_ORDER, SHAPE_TREE_ELEMENT_TAGS, SMART_ART_DEFINITION_PARTS, SP_PR_ORDER2 as SP_PR_ORDER, STYLE_MATRIX_EFFECT_KEYS, STYLE_MATRIX_FILL_KEYS, STYLE_MATRIX_LINE_KEYS, TC_PR_BORDERS_ORDER, VML_SHAPE_TAGS, ZipBombError, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, appendInSchemaOrder, applyActiveXControlsToSlide, applyBubbleChartOptions, applyChartAxisDisplayUnitsToXml, applyChartAxisLabelFormatting, applyChartAxisScaling, applyChartDateAxisUnits, applyChartGradientToSpPr, applyChartLayouts, applyChartManualLayout, applyChartUpDownBars, applyCommentMentions, applyCustomShows, applyDataLabelsRangeToDLbls, applyDiagramRelationshipIds, applyDrawingColorTransforms, applyDrawingLineDash, applyDrawingMediaReference, applyKinsokuToXml, applySections, applySeriesDataPointsToXml, applySeriesMarkerToXml, applySeriesPictureOptionsToXml, applySmartArtLayoutDefinition, applyTextBodySp3d, applyThemeToData, attr, backgroundRefNode, backgroundStyleColorMap, backgroundStylePreset, backgroundStyleRefIsCurrent, base64Decode, blendColorOntoWhite, buildChartGradFillXml, buildChartMarkerXml, buildChartUniqueIdExtLst, buildClrMapOverrideXml, buildDefRPrTextProperties, buildEffectDagTreeFromXml, buildFabricatedDiagramDataXml, buildFabricatedDrawingXml, buildGuideListExtension, buildInkMlContent, buildNodeGuidMap, buildOle2, buildPointFromParagraphs, buildPointFromRuns, buildPointText, buildPresentationGuidMap, buildRelationshipsXml, buildSmartArtColorLists, buildSmartArtColorRoleMap, buildSrgbColorChoice, buildXml, captureDiagramPictures, captureStyleBaseline, chartColorChoiceValue, chartColorHex, chartGradientsEqual, children2 as children, cloneElement, cloneSlide, cloneXmlObject, collectAllText, collectTransitionText, colorsEqual, concatArrays, connectionLabel, containsConvertibleStrictNamespaceAttribute, convertMetafileToDataUrl, convertXmlToStrict, createBuiltinVariables, createLineStyleGate, createOfficeGuid, cropShapeForPresetGeometry, cssDegreesToOoxmlGradientAngle, customGeometryPathsToXml, decodeBase64, decodeXmlEntities, decryptPptx, deobfuscateFont, deriveSlideTitles, descendants2 as descendants, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diagramPictureRelationships, drawingColorXml, drawingEffectsXml, drawingFillXml, drawingLineXml, effectChild, effectIsPurelyStyleMatrix, elements, encodeCompressedPng, encodePasswordUtf16LE, encodeXmlAttributeValue, encodeXmlTextValue, encryptPptx, ensureArrayValue, ensureXmlChild, ensureXmlChildOrCreate, ensureXmlChildren, escapeDiagramXml, estimateMediaDurationMs, evaluateGuides, extractColorChoiceXml, extractCxSeriesColor, extractGuidFromPartName, extractStyleReferenceColorXml, fetchUrlToBytes, fillElementOf, fillIsPurelyStyleMatrix, findChartExtByUri, findChildByLocalName, findKey6 as findKey, findThemeEffectScheme, first, firstParagraphRuns, formatAutoNumberMarker, formatSchemeKey, generateFontGuid, generatedDrawingDigest, getSignaturePathsToStrip, guardZip, hasLocalName, hash, hslToRgb, inferOleExtensionFromTarget, inheritCustomGeometryCommandOrder, inheritedPlaceholderFieldType, inkElementToStrokes, insertAt2 as insertAt, isAlternateContentChoiceSupported, isAlternateContentChoiceXmlSupported, isContentPoint, isDarkColorMap, isHeaderFooterPlaceholder, isOle2CompoundFile, isTemplateElementId, isXmlNode, loadThemeVariants, lookupPresetShape, mapCustomShowActions, measureTextWidth, mergeAttributeEffectNode, mergeEffectNode, mergeSmartArtConnectionXml, mergeSmartArtPointXml, mimeTypeForOleFile, newSmartArtGuid, nextRelationshipId, normalizeCustomShowIds, normalizeNamespaceUri, normalizeStShapeType, normalizeStrictXml, obfuscateFont, oleBytesToDataUrl, ooxmlArcToSvg, ooxmlGradientAngleToCssDegrees, openPptxZip, openZip, orderedPathCommandEntries, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseAlignmentAttr, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseBulletSizePercent, parseChartAxes, parseChartDataLabelOptions, parseChartDataPointPicture, parseChartDataPointPictureBlipRel, parseChartLayouts, parseChartManualLayout, parseChartUniqueId, parseChartUserShapesDrawing, parseChartWideTextStyle, parseCustomShows, parseCxAxes, parseCxChartSeries, parseCxDataLabels, parseCxRegionMapOptions, parseDataTable, parseDataUrlToBytes, parseDefRPrTextStyle, parseDiagramColors, parseDiagramDataModel, parseDiagramDrawing, parseDiagramLayoutSummary, parseDiagramQuickStyle, parseDiagramRelationshipIds, parseDrawingColorIn, parseDrawingEffects, parseDrawingFill, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingLine, parseDrawingLineDash, parseDrawingMediaReference, parseDrawingRichTextBody, parseDrawingTextBody, parseEmbeddedXlsx, parseEncryptionInfo, parseGuideDefinitions, parseImplicitBlipPictureFill, parseInkMlContent, parseKinsoku, parseLineSpacingExactPt, parseLineSpacingMultiplier, parseModel3DScene, parseOle2, parseOoxmlPercent, parseP14DirectChild, parseP14FromExtLst, parseParagraphExtraAttributes, parseParagraphLevel, parseParagraphMargins, parseParagraphRtl, parseParagraphSpacingPx, parsePresentationDrawingGuides, parsePresentationSmartTags, parseRelationships, parseSeriesDataLabels, parseShapeId, parseShapeProps, parseSlideDrawingGuides, parseSmartArtColorStyleLabels, parseSmartArtConnection, parseSmartArtDefinitionMetadata, parseSmartArtLayoutDefinition, parseSmartArtPresLayoutVars, parseSmartArtQuickStyleLabels, parseSmartArtStyleLabelRefs, parseSmartArtTextParagraphs, parseTabStops, parseVmlElement, parseVmlElements, parseXml, patchDrawingColorIn, patchDrawingLine, patchPictureEffects, picturePercentage, positiveFixedAngleAttribute, pptxActionToElementAction, preservesXmlWhitespace, previewDiagramLayout, prismFamilyFlags, prismFamilyTypeForFlags, prismFamilyTypeOfNode, projectSmartArtNodeText, reResolveElementsForColorMapChange, readChartManualLayoutValues, readCommentMentions, readPathListCommandOrder, readPictureEffect, readScene3DValues, readText3DValues, reapplyAlternateContentToTree, rebaseCommentMentions, reconcileSmartArtTextParagraphs, regenerateClonedUniqueId, regenerateSmartArtDrawingShapes, relAttr, relationshipsPartFor, relayoutSmartArt, remapElementShapeIds, remapShapeIdReferences, reorderObjectKeys, reorderObjectKeysByLocalName, replaceFirstText, replaceOleEmbedding, resetSpPrFormattingForStyleMatrix, resolveCoordinate, resolveDiagramLayoutCategory, resolveDrawingColor, resolveLayoutDisplayName, resolveParagraphAlignment, resolvePartPath, resolveSmartArtEffectIntensity, resolveSmartArtNodeCoherent3DOff, resolveSmartArtNodeStyleRoles, resolveThemeEffectStyle, resolveThemeFillStyle, resolveThemeLineStyle, resolveTxPrDefRPr, restorePathListCommandOrder, roundCoordinate, safeResolveZipPath, scaleVectorToIntegers, scrgbLinearToSrgb8, selectAlternateContentBranch, serializeColorChoice, serializeColorChoiceWithRef, serializeTabStop, setAutoTitleDeleted, setDrawingFillXml, shadowOffsetToDistanceAndDirection, shouldRebuildFromParagraphs, shouldRebuildFromRuns, slideBackgroundStyleRefFromNode, smartArtParagraphsText, stripParentDirSegments, stripXmlOrderMarkers, stripXmlOrderSuffix, supportsChartGradientFill, svgToCustomGeometryPaths, syncPictureShapeTypeWithCropShape, themeColorRefFromColorChoice, themeColorRefFromSchemeClr, themeColorRefToSolidFillWithOpacity, themeColorRefToXml, uint32LE, unwrapAlternateContent, unwrapOleEmbedding, updateSmartArtNodeText, upsertChartAxisChild, withDiagramPictureSources, withThemePlaceholderColor, wrapFormatSchemeXml, writeBodyPrBooleanAttrs, writeChartColorChoice, writeChartShapeProps, writeGeneratedDiagramDrawing, writeShapeEffects, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlHasChild, xmlPath, xmlText, zlibStore };
|
|
@@ -31585,6 +31585,70 @@ function applyPictureEffects(blip, effects) {
|
|
|
31585
31585
|
for (const node of elements(blip)) blip.removeChild(node);
|
|
31586
31586
|
for (const node of nodes) blip.appendChild(node);
|
|
31587
31587
|
}
|
|
31588
|
+
function patchPictureEffects(source2, patch) {
|
|
31589
|
+
const result = structuredClone(source2);
|
|
31590
|
+
const upsert = (kind, update) => {
|
|
31591
|
+
const matches = result.flatMap((effect, index2) => effect.kind === kind ? [index2] : []);
|
|
31592
|
+
if (matches.length > 1) throw new Error(`Ambiguous duplicate picture effect: ${kind}`);
|
|
31593
|
+
const index = matches[0];
|
|
31594
|
+
const value = update(index === void 0 ? void 0 : result[index]);
|
|
31595
|
+
if (index !== void 0) {
|
|
31596
|
+
if (value) result[index] = value;
|
|
31597
|
+
else result.splice(index, 1);
|
|
31598
|
+
} else if (value) {
|
|
31599
|
+
const ext = result.findIndex(
|
|
31600
|
+
(effect) => effect.kind === "unsupported" && effect.name === "extLst"
|
|
31601
|
+
);
|
|
31602
|
+
result.splice(ext < 0 ? result.length : ext, 0, value);
|
|
31603
|
+
}
|
|
31604
|
+
};
|
|
31605
|
+
for (const key of ["brightness", "contrast", "alpha"])
|
|
31606
|
+
if (patch[key] !== void 0 && !Number.isFinite(patch[key]))
|
|
31607
|
+
throw new RangeError("Picture effect must be finite");
|
|
31608
|
+
if ([patch.brightness, patch.contrast].some((value) => value !== void 0 && Math.abs(value) > 1))
|
|
31609
|
+
throw new RangeError("Picture luminance must be between -1 and 1");
|
|
31610
|
+
if (patch.alpha !== void 0 && patch.alpha < 0)
|
|
31611
|
+
throw new RangeError("Picture alpha must be nonnegative");
|
|
31612
|
+
if (patch.grayscale !== void 0)
|
|
31613
|
+
upsert(
|
|
31614
|
+
"grayscale",
|
|
31615
|
+
(effect) => patch.grayscale ? effect ?? { kind: "grayscale" } : void 0
|
|
31616
|
+
);
|
|
31617
|
+
if (patch.brightness !== void 0 || patch.contrast !== void 0)
|
|
31618
|
+
upsert("luminance", (effect) => ({
|
|
31619
|
+
...effect?.kind === "luminance" ? effect : { kind: "luminance" },
|
|
31620
|
+
...patch.brightness !== void 0 ? { brightness: patch.brightness } : {},
|
|
31621
|
+
...patch.contrast !== void 0 ? { contrast: patch.contrast } : {}
|
|
31622
|
+
}));
|
|
31623
|
+
if (patch.alpha !== void 0)
|
|
31624
|
+
upsert("alphaModFix", (effect) => ({
|
|
31625
|
+
...effect?.kind === "alphaModFix" ? effect : { kind: "alphaModFix" },
|
|
31626
|
+
amount: patch.alpha
|
|
31627
|
+
}));
|
|
31628
|
+
if (patch.standard) {
|
|
31629
|
+
const target = patch.standard;
|
|
31630
|
+
const matches = result.flatMap(
|
|
31631
|
+
(effect, index2) => effect.kind === "standard" && effect.name === target.name || effect.kind === "unsupported" && effect.name === target.name ? [index2] : []
|
|
31632
|
+
);
|
|
31633
|
+
if (matches.length > 1 || matches.some((index2) => result[index2]?.kind === "unsupported"))
|
|
31634
|
+
throw new Error(`Ambiguous or unreadable picture effect: ${target.name}`);
|
|
31635
|
+
const index = matches[0], before = index === void 0 ? void 0 : result[index];
|
|
31636
|
+
const next = {
|
|
31637
|
+
...before?.kind === "standard" ? before : {},
|
|
31638
|
+
...target,
|
|
31639
|
+
kind: "standard"
|
|
31640
|
+
};
|
|
31641
|
+
const doc = parseXml(next.sourceXml ?? `<a:${next.name} xmlns:a="${NS.a}"/>`);
|
|
31642
|
+
applyStandardPictureEffect(doc.documentElement, next);
|
|
31643
|
+
if (index === void 0) {
|
|
31644
|
+
const ext = result.findIndex(
|
|
31645
|
+
(effect) => effect.kind === "artistic" || effect.kind === "unsupported" && effect.name === "extLst"
|
|
31646
|
+
);
|
|
31647
|
+
result.splice(ext < 0 ? result.length : ext, 0, next);
|
|
31648
|
+
} else result[index] = next;
|
|
31649
|
+
}
|
|
31650
|
+
return result;
|
|
31651
|
+
}
|
|
31588
31652
|
|
|
31589
31653
|
// drawingml/read-3d-values.ts
|
|
31590
31654
|
var integer = (value) => {
|
|
@@ -51971,6 +52035,7 @@ exports.parseVmlElements = parseVmlElements;
|
|
|
51971
52035
|
exports.parseXml = parseXml;
|
|
51972
52036
|
exports.patchDrawingColorIn = patchDrawingColorIn;
|
|
51973
52037
|
exports.patchDrawingLine = patchDrawingLine;
|
|
52038
|
+
exports.patchPictureEffects = patchPictureEffects;
|
|
51974
52039
|
exports.picturePercentage = picturePercentage;
|
|
51975
52040
|
exports.positiveFixedAngleAttribute = positiveFixedAngleAttribute;
|
|
51976
52041
|
exports.pptxActionToElementAction = pptxActionToElementAction;
|