ooxml-core 1.40.0 → 1.42.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/README.md +4 -0
- package/dist/PptxHandler-73QIJ6SD.cjs +14 -0
- package/dist/{PptxHandler-2WYH66TS.mjs → PptxHandler-A2J4PCOB.mjs} +2 -2
- package/dist/PptxHandler-OGLVLX2T.mjs +5 -0
- package/dist/{PresentationBuilder-BUUVVMNI.cjs → PresentationBuilder-6S5PJXXF.cjs} +6 -6
- package/dist/{PresentationBuilder-VHDHLGIK.mjs → PresentationBuilder-APJKCMVS.mjs} +2 -2
- package/dist/{PresentationBuilder-RTHLLHLE.mjs → PresentationBuilder-F3BWDERK.mjs} +3 -3
- package/dist/automation/index.cjs +5322 -3452
- package/dist/automation/index.mjs +5322 -3452
- package/dist/chart/index.cjs +5 -5
- package/dist/chart/index.mjs +5 -5
- package/dist/{chunk-EXSPNK6W.cjs → chunk-3J6VIKLP.cjs} +3 -3
- package/dist/chunk-CODMW5KF.cjs +110 -0
- package/dist/{chunk-3E4GSBC7.mjs → chunk-CPSTCCRD.mjs} +4 -4
- package/dist/{chunk-6XAAJTA3.mjs → chunk-IPV3J3I5.mjs} +4925 -3049
- package/dist/{chunk-HLBIT5H4.mjs → chunk-MXA67O7R.mjs} +1 -1
- package/dist/{chunk-OGD5OQK2.mjs → chunk-N6X5CJZP.mjs} +6723 -4840
- package/dist/chunk-O3YGBYGZ.mjs +104 -0
- package/dist/{chunk-SEGPDD5W.cjs → chunk-QZPOPUI5.cjs} +4925 -3048
- package/dist/{chunk-5BVSDSJZ.mjs → chunk-VKFKEVHK.mjs} +1 -1
- package/dist/{chunk-AZNF3IOI.mjs → chunk-VV724DWE.mjs} +87 -11
- package/dist/{chunk-NHV47JOE.mjs → chunk-XVB3CBNM.mjs} +53 -9
- package/dist/{chunk-U6FMLGWH.cjs → chunk-YNQRXFTC.cjs} +1317 -1273
- package/dist/{chunk-725QJW4K.mjs → chunk-ZUEN4RQG.mjs} +1 -1
- package/dist/color/index.cjs +36 -0
- package/dist/color/index.d.ts +1 -0
- package/dist/color/index.d.ts.map +1 -1
- package/dist/color/index.mjs +35 -1
- package/dist/color/office-gradient-stops.d.ts +27 -0
- package/dist/color/office-gradient-stops.d.ts.map +1 -0
- package/dist/diagram/index.cjs +5223 -3170
- package/dist/diagram/index.d.ts +1 -0
- package/dist/diagram/index.d.ts.map +1 -1
- package/dist/diagram/index.mjs +5218 -3171
- package/dist/docx/embedded.cjs +4862 -3000
- package/dist/docx/embedded.mjs +4862 -3000
- package/dist/docx/index.cjs +4970 -3072
- package/dist/docx/index.mjs +4970 -3072
- package/dist/docx/layout/index.cjs +4952 -3054
- package/dist/docx/layout/index.mjs +4952 -3054
- package/dist/docx/load/index.cjs +4999 -3137
- package/dist/docx/load/index.mjs +4999 -3137
- package/dist/docx/shape-svg.d.ts.map +1 -1
- package/dist/docx/ui/index.cjs +4907 -3045
- package/dist/docx/ui/index.mjs +4907 -3045
- package/dist/drawingml/dash-pattern.d.ts +61 -0
- package/dist/drawingml/dash-pattern.d.ts.map +1 -0
- package/dist/drawingml/index.cjs +319 -53
- package/dist/drawingml/index.d.ts +3 -0
- package/dist/drawingml/index.d.ts.map +1 -1
- package/dist/drawingml/index.mjs +310 -54
- package/dist/drawingml/path-data.d.ts.map +1 -1
- package/dist/drawingml/rect-path-gradient.d.ts +17 -0
- package/dist/drawingml/rect-path-gradient.d.ts.map +1 -1
- package/dist/drawingml/shape-path-gradient.d.ts +57 -0
- package/dist/drawingml/shape-path-gradient.d.ts.map +1 -0
- package/dist/geometry/index.cjs +4117 -2254
- package/dist/geometry/index.mjs +4117 -2255
- package/dist/geometry/ooxml-arc.d.ts +10 -1
- package/dist/geometry/ooxml-arc.d.ts.map +1 -1
- package/dist/geometry/preset-shape-definitions-action-buttons.d.ts +7 -36
- package/dist/geometry/preset-shape-definitions-action-buttons.d.ts.map +1 -1
- package/dist/geometry/preset-shape-definitions-connectors-brackets.d.ts.map +1 -1
- package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts +19 -0
- package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-exact-arcs.d.ts +14 -0
- package/dist/geometry/preset-shape-definitions-exact-arcs.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-exact-arrows.d.ts +11 -0
- package/dist/geometry/preset-shape-definitions-exact-arrows.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-exact-basic.d.ts +12 -0
- package/dist/geometry/preset-shape-definitions-exact-basic.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-exact-circular.d.ts +18 -0
- package/dist/geometry/preset-shape-definitions-exact-circular.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-exact-ellipse-ribbons.d.ts +16 -0
- package/dist/geometry/preset-shape-definitions-exact-ellipse-ribbons.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-exact-funnel.d.ts +13 -0
- package/dist/geometry/preset-shape-definitions-exact-funnel.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-exact-left-right-ribbon.d.ts +13 -0
- package/dist/geometry/preset-shape-definitions-exact-left-right-ribbon.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-exact-math.d.ts +14 -0
- package/dist/geometry/preset-shape-definitions-exact-math.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-exact-misc.d.ts +11 -0
- package/dist/geometry/preset-shape-definitions-exact-misc.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-exact-ribbons.d.ts +12 -0
- package/dist/geometry/preset-shape-definitions-exact-ribbons.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-exact-scrolls.d.ts +13 -0
- package/dist/geometry/preset-shape-definitions-exact-scrolls.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-flowchart.d.ts.map +1 -1
- package/dist/geometry/preset-shape-definitions-misc.d.ts.map +1 -1
- package/dist/geometry/preset-shape-definitions-table.d.ts.map +1 -1
- package/dist/geometry/preset-shape-exact-dsl.d.ts +30 -0
- package/dist/geometry/preset-shape-exact-dsl.d.ts.map +1 -0
- package/dist/index.cjs +7637 -5216
- package/dist/index.mjs +7637 -5216
- package/dist/pptx/automation/index.cjs +5683 -3508
- package/dist/pptx/automation/index.d.ts +11 -17
- package/dist/pptx/automation/index.d.ts.map +1 -1
- package/dist/pptx/automation/index.mjs +156 -71
- package/dist/pptx/chunks/{elements-DheCTwi0.d.ts → elements-PBugbKtv.d.ts} +3 -848
- package/dist/pptx/chunks/elements-PBugbKtv.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-Jcce8TlI.d.ts → index-BJuR8GLL.d.ts} +4 -4
- package/dist/pptx/chunks/{index-Jcce8TlI.d.ts.map → index-BJuR8GLL.d.ts.map} +1 -1
- package/dist/pptx/chunks/{index-CYukxWbl.d.ts → index-Rbvl2WaM.d.ts} +32 -13
- package/dist/pptx/chunks/index-Rbvl2WaM.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-B4ofjG6_.d.ts → index-xoJGYTgQ.d.ts} +5 -3
- package/dist/pptx/chunks/index-xoJGYTgQ.d.ts.map +1 -0
- package/dist/pptx/chunks/table-C7ITXL3Y.d.ts +875 -0
- package/dist/pptx/chunks/table-C7ITXL3Y.d.ts.map +1 -0
- package/dist/pptx/chunks/{text-operations-CdgEnFuK.d.ts → text-operations-BNJr7aGa.d.ts} +3 -2
- package/dist/pptx/chunks/text-operations-BNJr7aGa.d.ts.map +1 -0
- package/dist/pptx/cli/index.cjs +5419 -3335
- package/dist/pptx/cli/index.d.ts +1 -1
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.cjs +4936 -2978
- 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 +2 -2
- 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/editor/render/table-data-grid-ops.cjs +5 -5
- package/dist/pptx/editor/render/table-data-grid-ops.mjs +1 -1
- package/dist/pptx/editor/render/table-layout.cjs +6 -6
- package/dist/pptx/editor/render/table-layout.d.ts +8 -37
- package/dist/pptx/editor/render/table-layout.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-layout.mjs +1 -1
- package/dist/pptx/editor/render/text-runs-style-patch.d.ts +1 -1
- package/dist/pptx/editor/render/text-style-scope.d.ts +1 -1
- package/dist/pptx/index.cjs +7298 -5162
- package/dist/pptx/index.d.ts +7 -6
- package/dist/pptx/index.mjs +5 -5
- package/dist/pptx/node/index.d.ts +1 -1
- package/dist/teams/index.cjs +5332 -3307
- package/dist/teams/index.mjs +5332 -3307
- package/dist/text/font-metrics/design-advances.generated.d.ts +3 -1
- package/dist/text/font-metrics/design-advances.generated.d.ts.map +1 -1
- package/dist/text/font-metrics/office-font-metrics.generated.d.ts +23 -0
- package/dist/text/font-metrics/office-font-metrics.generated.d.ts.map +1 -0
- package/dist/text/font-metrics/vertical-metrics.d.ts +35 -0
- package/dist/text/font-metrics/vertical-metrics.d.ts.map +1 -0
- package/dist/text/index.cjs +268 -0
- package/dist/text/index.d.ts +1 -0
- package/dist/text/index.d.ts.map +1 -1
- package/dist/text/index.mjs +267 -1
- package/dist/visio/index.cjs +8 -0
- package/dist/visio/index.mjs +8 -0
- package/dist/visio/ui/index.cjs +8 -0
- package/dist/visio/ui/index.mjs +8 -0
- package/dist/xlsx/collab/index.cjs +5084 -3222
- package/dist/xlsx/collab/index.mjs +5084 -3222
- package/dist/xlsx/index.cjs +5298 -3404
- package/dist/xlsx/index.mjs +5298 -3404
- package/dist/xlsx/layout/shape-paint.d.ts.map +1 -1
- package/dist/xlsx/load/index.cjs +5103 -3241
- package/dist/xlsx/load/index.mjs +5103 -3241
- package/dist/xlsx/ui/index.cjs +5261 -3399
- package/dist/xlsx/ui/index.mjs +5261 -3399
- package/package.json +1 -1
- package/dist/PptxHandler-SD6VWF3I.mjs +0 -5
- package/dist/PptxHandler-ZHWWOO2X.cjs +0 -14
- package/dist/chunk-3IT6ZD7K.mjs +0 -213
- package/dist/chunk-FRUB573B.cjs +0 -219
- package/dist/pptx/chunks/elements-DheCTwi0.d.ts.map +0 -1
- package/dist/pptx/chunks/index-B4ofjG6_.d.ts.map +0 -1
- package/dist/pptx/chunks/index-CYukxWbl.d.ts.map +0 -1
- package/dist/pptx/chunks/text-operations-CdgEnFuK.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, 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, ooxmlGradientAngleToCssDegrees, 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, 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, estimateMediaDurationMs, parseVmlElements, prismFamilyFlags, prismFamilyTypeOfNode, prismFamilyTypeForFlags, P14_DIR_IS_ORIENTATION_TYPE, IncorrectPasswordError, applyThemeToData, detectFileFormat, parseOle2, decryptPptx, encryptPptx, escText, parseDrawingLineDash, 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, 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, ooxmlGradientAngleToCssDegrees, 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, estimateMediaDurationMs, parseVmlElements, prismFamilyFlags, prismFamilyTypeOfNode, prismFamilyTypeForFlags, P14_DIR_IS_ORIENTATION_TYPE, IncorrectPasswordError, applyThemeToData, detectFileFormat, parseOle2, decryptPptx, encryptPptx, escText, parseDrawingLineDash, 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-N6X5CJZP.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';
|
|
@@ -6600,6 +6600,11 @@ function parseBorderSide(side) {
|
|
|
6600
6600
|
border.dash = dashVal;
|
|
6601
6601
|
has2 = true;
|
|
6602
6602
|
}
|
|
6603
|
+
const cmpd = String(ln["@_cmpd"] || "").trim();
|
|
6604
|
+
if (cmpd && cmpd !== "sng") {
|
|
6605
|
+
border.compound = cmpd;
|
|
6606
|
+
has2 = true;
|
|
6607
|
+
}
|
|
6603
6608
|
const solidFill2 = ln["a:solidFill"];
|
|
6604
6609
|
const fill3 = parseSolidFillStyle(solidFill2);
|
|
6605
6610
|
if (fill3) {
|
|
@@ -7745,8 +7750,8 @@ var PptxTableDataParser = class {
|
|
|
7745
7750
|
style: this.extractTableCellStyleFromXml(cellNode, slidePath),
|
|
7746
7751
|
gridSpan: cellNode["@_gridSpan"] ? parseInt(String(cellNode["@_gridSpan"]), 10) : void 0,
|
|
7747
7752
|
rowSpan: cellNode["@_rowSpan"] ? parseInt(String(cellNode["@_rowSpan"]), 10) : void 0,
|
|
7748
|
-
vMerge: cellNode
|
|
7749
|
-
hMerge: cellNode
|
|
7753
|
+
vMerge: xmlAttrBool(cellNode, "vMerge") ?? false,
|
|
7754
|
+
hMerge: xmlAttrBool(cellNode, "hMerge") ?? false,
|
|
7750
7755
|
...extraAttributes ? { extraAttributes } : {}
|
|
7751
7756
|
};
|
|
7752
7757
|
})
|
|
@@ -63301,15 +63306,17 @@ function parseTableBackground(tblBg, formatScheme, colorMap) {
|
|
|
63301
63306
|
const schemeColor = schemeClr ? String(schemeClr["@_val"] || "").trim() || void 0 : void 0;
|
|
63302
63307
|
const fill3 = schemeColor ? { schemeColor } : void 0;
|
|
63303
63308
|
const hasEffectLst = Boolean(tblBg["a:effectLst"]);
|
|
63309
|
+
const effectRef = parseTableBackgroundFillRef(tblBg["a:effectRef"]);
|
|
63304
63310
|
const fillRefNode = fillNode ? void 0 : tblBg["a:fillRef"];
|
|
63305
63311
|
const fillRef = parseTableBackgroundFillRef(fillRefNode);
|
|
63306
63312
|
const resolvedFill = fill3 ?? (fillRef ? resolveTableBackgroundFillRef(fillRef, formatScheme, colorMap) : void 0);
|
|
63307
|
-
if (!resolvedFill && !hasEffectLst && !fillRef) {
|
|
63313
|
+
if (!resolvedFill && !hasEffectLst && !fillRef && !effectRef) {
|
|
63308
63314
|
return void 0;
|
|
63309
63315
|
}
|
|
63310
63316
|
return {
|
|
63311
63317
|
...resolvedFill ? { fill: resolvedFill } : {},
|
|
63312
63318
|
...fillRef ? { fillRef } : {},
|
|
63319
|
+
...effectRef ? { effectRef } : {},
|
|
63313
63320
|
...hasEffectLst ? { hasEffectLst } : {}
|
|
63314
63321
|
};
|
|
63315
63322
|
}
|
|
@@ -63392,6 +63399,15 @@ function parseTableBackgroundFillRef(fillRefNode) {
|
|
|
63392
63399
|
}
|
|
63393
63400
|
return { idx };
|
|
63394
63401
|
}
|
|
63402
|
+
function resolveTcStyleFillRef(section, themeContext) {
|
|
63403
|
+
const tcStyle = section?.["a:tcStyle"];
|
|
63404
|
+
if (!tcStyle || tcStyle["a:fill"]) {
|
|
63405
|
+
return void 0;
|
|
63406
|
+
}
|
|
63407
|
+
const fillRef = parseTableBackgroundFillRef(tcStyle["a:fillRef"]);
|
|
63408
|
+
const fill3 = fillRef ? resolveTableBackgroundFillRef(fillRef, themeContext?.formatScheme, themeContext?.colorMap) : void 0;
|
|
63409
|
+
return fill3 ? { ...fill3, fillRefSnapshot: JSON.stringify(fill3) } : void 0;
|
|
63410
|
+
}
|
|
63395
63411
|
function parseTableStyleEntry(style, resolveImagePath, themeContext) {
|
|
63396
63412
|
const rawId = String(style["@_styleId"] || "").trim();
|
|
63397
63413
|
if (!rawId) {
|
|
@@ -63406,7 +63422,7 @@ function parseTableStyleEntry(style, resolveImagePath, themeContext) {
|
|
|
63406
63422
|
const cell3DProps = {};
|
|
63407
63423
|
for (const name of TABLE_STYLE_PART_SEQUENCE) {
|
|
63408
63424
|
const node = section(name);
|
|
63409
|
-
const fill3 = parseTableStyleSectionFill(node, resolveImagePath);
|
|
63425
|
+
const fill3 = parseTableStyleSectionFill(node, resolveImagePath) ?? resolveTcStyleFillRef(node, themeContext);
|
|
63410
63426
|
if (fill3) {
|
|
63411
63427
|
fills[`${name}Fill`] = fill3;
|
|
63412
63428
|
}
|
|
@@ -68878,6 +68894,9 @@ var PptxHandlerRuntime21 = class extends PptxHandlerRuntime20 {
|
|
|
68878
68894
|
}
|
|
68879
68895
|
return stack.join("/");
|
|
68880
68896
|
}
|
|
68897
|
+
if (target.startsWith("/")) {
|
|
68898
|
+
return target.substring(1);
|
|
68899
|
+
}
|
|
68881
68900
|
return `ppt/${stripParentDirSegments(target)}`;
|
|
68882
68901
|
}
|
|
68883
68902
|
}
|
|
@@ -70379,8 +70398,7 @@ function cells(row) {
|
|
|
70379
70398
|
}
|
|
70380
70399
|
function promoteTextBody(source, next, removed, survivor, axis) {
|
|
70381
70400
|
const span = axis === "row" ? "rowSpan" : "gridSpan";
|
|
70382
|
-
|
|
70383
|
-
if (!source?.text || !next || !removed || !survivor || source[continuation] || (source[span] ?? 1) <= 1 || next[continuation] || (next[span] ?? 1) !== (source[span] ?? 1) - 1) {
|
|
70401
|
+
if (!source?.text || !next || !removed || !survivor || source.hMerge || source.vMerge || (source[span] ?? 1) <= 1 || next.hMerge || next.vMerge || (next[span] ?? 1) !== (source[span] ?? 1) - 1) {
|
|
70384
70402
|
return;
|
|
70385
70403
|
}
|
|
70386
70404
|
if (removed["a:txBody"] !== void 0) {
|
|
@@ -74568,6 +74586,19 @@ var PptxHandlerRuntime30 = class extends PptxHandlerRuntime29 {
|
|
|
74568
74586
|
};
|
|
74569
74587
|
|
|
74570
74588
|
// pptx/core/core/runtime/PptxHandlerRuntimeSaveTextWriter.ts
|
|
74589
|
+
var ADJ1_WARP_PRESETS = /* @__PURE__ */ new Set([
|
|
74590
|
+
"textWave1",
|
|
74591
|
+
"textWave2",
|
|
74592
|
+
"textWave4",
|
|
74593
|
+
"textDoubleWave1",
|
|
74594
|
+
"textArchUpPour",
|
|
74595
|
+
"textArchDownPour",
|
|
74596
|
+
"textCirclePour",
|
|
74597
|
+
"textButtonPour"
|
|
74598
|
+
]);
|
|
74599
|
+
function firstWarpGuideName(preset) {
|
|
74600
|
+
return preset !== void 0 && ADJ1_WARP_PRESETS.has(preset) ? "adj1" : "adj";
|
|
74601
|
+
}
|
|
74571
74602
|
var PptxHandlerRuntime31 = class _PptxHandlerRuntime extends PptxHandlerRuntime30 {
|
|
74572
74603
|
/**
|
|
74573
74604
|
* Build and write the text body (`p:txBody`) for shapes, text boxes,
|
|
@@ -74653,7 +74684,7 @@ var PptxHandlerRuntime31 = class _PptxHandlerRuntime extends PptxHandlerRuntime3
|
|
|
74653
74684
|
const adjGds = [];
|
|
74654
74685
|
if (el.textStyle.textWarpAdj !== void 0 && Number.isFinite(el.textStyle.textWarpAdj)) {
|
|
74655
74686
|
adjGds.push({
|
|
74656
|
-
"@_name":
|
|
74687
|
+
"@_name": firstWarpGuideName(el.textStyle.textWarpPreset),
|
|
74657
74688
|
"@_fmla": `val ${el.textStyle.textWarpAdj}`
|
|
74658
74689
|
});
|
|
74659
74690
|
}
|
|
@@ -79341,7 +79372,16 @@ function applyTableStyleEntryToNode(styleNode, entry2) {
|
|
|
79341
79372
|
const existing = styleNode[xmlKey];
|
|
79342
79373
|
const existingSection = existing && typeof existing === "object" && !Array.isArray(existing) ? existing : void 0;
|
|
79343
79374
|
const existingTcStyle = existingSection?.["a:tcStyle"];
|
|
79344
|
-
|
|
79375
|
+
let fill3 = unchanged(sectionFill(entry2, name), parseTableStyleSectionFill(existingSection));
|
|
79376
|
+
if (existingTcStyle?.["a:fillRef"]) {
|
|
79377
|
+
const candidate = sectionFill(entry2, name);
|
|
79378
|
+
const { fillRefSnapshot, ...rest } = candidate ?? { schemeColor: "" };
|
|
79379
|
+
if (candidate && fillRefSnapshot !== void 0 && fillRefSnapshot === JSON.stringify(rest)) {
|
|
79380
|
+
fill3 = void 0;
|
|
79381
|
+
} else if (candidate) {
|
|
79382
|
+
fill3 = candidate;
|
|
79383
|
+
}
|
|
79384
|
+
}
|
|
79345
79385
|
const text = unchanged(sectionText(entry2, name), parseTableStyleSectionText(existingSection));
|
|
79346
79386
|
const borders = unchanged(sectionBorders(entry2, name), parseTableStyleBorders(existingTcStyle));
|
|
79347
79387
|
const cell3D = unchanged(
|
|
@@ -82499,7 +82539,7 @@ var PptxHandlerRuntime64 = class _PptxHandlerRuntime extends PptxHandlerRuntime6
|
|
|
82499
82539
|
if (!Number.isFinite(val)) {
|
|
82500
82540
|
continue;
|
|
82501
82541
|
}
|
|
82502
|
-
if (name === "adj") {
|
|
82542
|
+
if (name === "adj" || name === "adj1") {
|
|
82503
82543
|
textStyle.textWarpAdj = val;
|
|
82504
82544
|
} else if (name === "adj2") {
|
|
82505
82545
|
textStyle.textWarpAdj2 = val;
|
|
@@ -91310,6 +91350,9 @@ var PptxHandlerRuntime99 = class extends PptxHandlerRuntime98 {
|
|
|
91310
91350
|
}
|
|
91311
91351
|
return stack.join("/");
|
|
91312
91352
|
}
|
|
91353
|
+
if (target.startsWith("/")) {
|
|
91354
|
+
return target.substring(1);
|
|
91355
|
+
}
|
|
91313
91356
|
return `ppt/${stripParentDirSegments(target)}`;
|
|
91314
91357
|
}
|
|
91315
91358
|
}
|
|
@@ -93041,6 +93084,39 @@ function deleteTableStyleFromMap(map, styleId) {
|
|
|
93041
93084
|
return true;
|
|
93042
93085
|
}
|
|
93043
93086
|
|
|
93087
|
+
// pptx/core/core/runtime/table-style-effect-ref.ts
|
|
93088
|
+
function hexOf2(color2) {
|
|
93089
|
+
return color2 && /^#[0-9a-f]{6}$/iu.test(color2) ? color2 : void 0;
|
|
93090
|
+
}
|
|
93091
|
+
function resolveTableBackgroundEffectRef(effectRef, formatScheme, colorMap) {
|
|
93092
|
+
const effect = effectRef.idx >= 1 ? formatScheme?.effectStyles[effectRef.idx - 1] : void 0;
|
|
93093
|
+
if (!effect) {
|
|
93094
|
+
return void 0;
|
|
93095
|
+
}
|
|
93096
|
+
let color2 = hexOf2(effect.shadowColor);
|
|
93097
|
+
if (!color2) {
|
|
93098
|
+
const overrideKey = effectRef.color?.schemeColor;
|
|
93099
|
+
const base = overrideKey && colorMap ? colorMap[overrideKey] : effectRef.color?.color;
|
|
93100
|
+
const lst = effect.rawNode?.["a:effectLst"];
|
|
93101
|
+
const shadow = lst?.["a:outerShdw"];
|
|
93102
|
+
const colorNode = shadow?.["a:schemeClr"];
|
|
93103
|
+
if (!shadow || !base) {
|
|
93104
|
+
return void 0;
|
|
93105
|
+
}
|
|
93106
|
+
color2 = hexOf2(colorNode ? applyDrawingColorTransforms(base, colorNode) : base) ?? hexOf2(base);
|
|
93107
|
+
}
|
|
93108
|
+
if (!color2) {
|
|
93109
|
+
return void 0;
|
|
93110
|
+
}
|
|
93111
|
+
return {
|
|
93112
|
+
color: color2,
|
|
93113
|
+
opacity: effect.shadowOpacity ?? 1,
|
|
93114
|
+
blur: effect.shadowBlur ?? 0,
|
|
93115
|
+
offsetX: effect.shadowOffsetX ?? 0,
|
|
93116
|
+
offsetY: effect.shadowOffsetY ?? 0
|
|
93117
|
+
};
|
|
93118
|
+
}
|
|
93119
|
+
|
|
93044
93120
|
// pptx/core/core/runtime/table-style-line-ref.ts
|
|
93045
93121
|
function hasChild(rawNode, key2) {
|
|
93046
93122
|
return !!rawNode && typeof rawNode === "object" && Object.prototype.hasOwnProperty.call(rawNode, key2) && rawNode[key2] !== void 0;
|
|
@@ -98763,4 +98839,4 @@ var PresentationBuilder = class {
|
|
|
98763
98839
|
* `<p:extLst>` (optional)
|
|
98764
98840
|
*/
|
|
98765
98841
|
|
|
98766
|
-
export { AFTER_ANIMATION_VALUES, ConnectorXmlFactory, DEFAULT_AFTER_ANIMATION_DIM_COLOR, DEFAULT_ANIMATION_DURATION_MS, DEFAULT_ANIMATION_TRIGGER, DEFAULT_POWERPOINT_TABLE_STYLE_ID, DEFAULT_PPTX_LOAD_LIMITS, ELEMENT_PARAGRAPH_GEOMETRY_KEYS, EncryptedPptError, FILL_CHOICE_ELEMENTS, MediaGraphicFrameXmlFactory, OOXML_TO_PRESET_EMPH, OOXML_TO_PRESET_ENTR, OOXML_TO_PRESET_EXIT, PRESET_TO_OOXML, PictureXmlFactory, PptxAnimationWriteService, PptxColorStyleCodec, PptxCommentAuthorsXmlFactory, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxConnectorParser, PptxContentTypesBuilder, PptxDocumentPropertiesUpdater, PptxEditorAnimationService, PptxElementTransformUpdater, PptxElementXmlBuilder, PptxGraphicFrameParser, PptxHandler, PptxHandlerRuntime107 as PptxHandlerRuntime, PptxHandlerRuntimeFactory, PptxLoadDataBuilder, PptxLoadLimitError, PptxMediaDataParser, PptxNativeAnimationService, PptxPresentationSaveBuilder, PptxPresentationSlidesReconciler, PptxRuntimeDependencyFactory, PptxSaveConstantsFactory, PptxSaveState, PptxSaveStateBuilder, PptxShapeIdValidator, PptxShapeStyleExtractor, PptxSlideBackgroundBuilder, PptxSlideBuilder, PptxSlideCommentPartWriter, PptxSlideCommentsXmlFactory, PptxSlideElementsBuilder, PptxSlideLoaderService, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, PptxSlideRelationshipRegistry, PptxSlideTransitionService, PptxTableDataParser, PptxTemplateBackgroundService, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, PresentationBuilder, STANDARD_LAYOUTS, SlideBuilder, TABLE_STYLE_PART_SEQUENCE, TextShapeXmlFactory, addChartCategory, addChartSeries2 as addChartSeries, addLayoutContentType, addLayoutToSlideMaster, addTableStyleToMap, animationFor, applyAfterAnimationBehavior, applyAfterAnimationFromEditorList, applyChartGroupOptionsInput, applyConnectorShapeIds, applyGradient, applySoundToEffectCTn, applySpeedToDuration, applyTableCellTextAndStyle, assertChartGradientSupported, breakAutoNumberRun, buildBlankPresentationArchive, buildSingleEffectNode, buildSlideReferenceRemap, capturedPresetIds, capturedPresetNativeAnimation, capturedSubtypes, chartFormatTargetKey, chartFormatTargetSupports, clonePartGraph, convertPptToPptx, countExistingLayouts, createAutoNumberSequence, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createPptxSaveConstants, createShapeElement, createTableCellXml, createTableElement, createTableGraphicFrameRawXml, createTableStyleEntry, createTextElement, deleteTableStyleFromMap, ensureChartData, ensureDataPoint, extractAfterAnimationFromSubTnLst, extractGraphicBuilds, extractTableCellTextRuns, findLayoutByName, findLayoutByType, generateLayoutXml, generateTableStyleGuid, getAfterAnimation, getAfterAnimationState, getCapturedPreset, getCapturedTree, getPptxLoadLimitViolation, hasAnimation, hasGradientField, isEncryptedLegacyPpt, isLegacyPpt, isNativeAfterAnimationOnly, layoutRelsXml, mergeNativeAfterAnimationIntoEditorAnimations, mergeNativeSoundIntoEditorAnimations, mirrorFlatFields, mirrorTextColor, nextAutoNumber, normalizeTableStyleGuid, ooxmlToPresetName, parseAnimEffectFilter, parseChartFormatTargetKey, parseCondition, parseConditionList, parseFilterToken, parseTimeTargetElement, readChartElementFormat, rebuildTableStructureInRawXml, reconcileAnimationTargets, relativePartTarget, remapEditorAnimationsToShapeIds, removeChartCategory, removeChartSeries2 as removeChartSeries, removeEmptyDataPoint, resetIdCounter, resolveConnectorShapeIds, resolveDirectionSubtype, resolveEffectTiming, resolveIterationCount, resolveOoxmlPresetMapping, resolveOpacitySet, resolveTableBackgroundFillRef, resolveTableStyleLineRef, resolveTableStyleLineRefColor, resolveVisibilitySetTiming, serializeCondition, serializeConditionList, serializeGraphicBuild, serializeTimeTargetElement, setAfterAnimation, setAfterAnimationColor, setChartAreaFormat, setChartAxis2 as setChartAxis, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategories2 as setChartCategories, setChartDataLabels2 as setChartDataLabels, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartGroupOptions2 as setChartGroupOptions, setChartGrouping2 as setChartGrouping, setChartLegend2 as setChartLegend, setChartSeriesChartType, setChartSeriesColor2 as setChartSeriesColor, setChartSeriesErrorBars, setChartSeriesMarker, setChartSeriesTrendline, setChartTitle2 as setChartTitle, setChartType2 as setChartType, shouldHoldEndState, timingCurveToAccelDecel, toChartGradientFill, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateChartDataPoint, updateChartSeriesValues, updateMergeAttrsInRawXml, upsert, validateSeriesIndex, withSeries };
|
|
98842
|
+
export { AFTER_ANIMATION_VALUES, ConnectorXmlFactory, DEFAULT_AFTER_ANIMATION_DIM_COLOR, DEFAULT_ANIMATION_DURATION_MS, DEFAULT_ANIMATION_TRIGGER, DEFAULT_POWERPOINT_TABLE_STYLE_ID, DEFAULT_PPTX_LOAD_LIMITS, ELEMENT_PARAGRAPH_GEOMETRY_KEYS, EncryptedPptError, FILL_CHOICE_ELEMENTS, MediaGraphicFrameXmlFactory, OOXML_TO_PRESET_EMPH, OOXML_TO_PRESET_ENTR, OOXML_TO_PRESET_EXIT, PRESET_TO_OOXML, PictureXmlFactory, PptxAnimationWriteService, PptxColorStyleCodec, PptxCommentAuthorsXmlFactory, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxConnectorParser, PptxContentTypesBuilder, PptxDocumentPropertiesUpdater, PptxEditorAnimationService, PptxElementTransformUpdater, PptxElementXmlBuilder, PptxGraphicFrameParser, PptxHandler, PptxHandlerRuntime107 as PptxHandlerRuntime, PptxHandlerRuntimeFactory, PptxLoadDataBuilder, PptxLoadLimitError, PptxMediaDataParser, PptxNativeAnimationService, PptxPresentationSaveBuilder, PptxPresentationSlidesReconciler, PptxRuntimeDependencyFactory, PptxSaveConstantsFactory, PptxSaveState, PptxSaveStateBuilder, PptxShapeIdValidator, PptxShapeStyleExtractor, PptxSlideBackgroundBuilder, PptxSlideBuilder, PptxSlideCommentPartWriter, PptxSlideCommentsXmlFactory, PptxSlideElementsBuilder, PptxSlideLoaderService, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, PptxSlideRelationshipRegistry, PptxSlideTransitionService, PptxTableDataParser, PptxTemplateBackgroundService, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, PresentationBuilder, STANDARD_LAYOUTS, SlideBuilder, TABLE_STYLE_PART_SEQUENCE, TextShapeXmlFactory, addChartCategory, addChartSeries2 as addChartSeries, addLayoutContentType, addLayoutToSlideMaster, addTableStyleToMap, animationFor, applyAfterAnimationBehavior, applyAfterAnimationFromEditorList, applyChartGroupOptionsInput, applyConnectorShapeIds, applyGradient, applySoundToEffectCTn, applySpeedToDuration, applyTableCellTextAndStyle, assertChartGradientSupported, breakAutoNumberRun, buildBlankPresentationArchive, buildSingleEffectNode, buildSlideReferenceRemap, capturedPresetIds, capturedPresetNativeAnimation, capturedSubtypes, chartFormatTargetKey, chartFormatTargetSupports, clonePartGraph, convertPptToPptx, countExistingLayouts, createAutoNumberSequence, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createPptxSaveConstants, createShapeElement, createTableCellXml, createTableElement, createTableGraphicFrameRawXml, createTableStyleEntry, createTextElement, deleteTableStyleFromMap, ensureChartData, ensureDataPoint, extractAfterAnimationFromSubTnLst, extractGraphicBuilds, extractTableCellTextRuns, findLayoutByName, findLayoutByType, generateLayoutXml, generateTableStyleGuid, getAfterAnimation, getAfterAnimationState, getCapturedPreset, getCapturedTree, getPptxLoadLimitViolation, hasAnimation, hasGradientField, isEncryptedLegacyPpt, isLegacyPpt, isNativeAfterAnimationOnly, layoutRelsXml, mergeNativeAfterAnimationIntoEditorAnimations, mergeNativeSoundIntoEditorAnimations, mirrorFlatFields, mirrorTextColor, nextAutoNumber, normalizeTableStyleGuid, ooxmlToPresetName, parseAnimEffectFilter, parseChartFormatTargetKey, parseCondition, parseConditionList, parseFilterToken, parseTimeTargetElement, readChartElementFormat, rebuildTableStructureInRawXml, reconcileAnimationTargets, relativePartTarget, remapEditorAnimationsToShapeIds, removeChartCategory, removeChartSeries2 as removeChartSeries, removeEmptyDataPoint, resetIdCounter, resolveConnectorShapeIds, resolveDirectionSubtype, resolveEffectTiming, resolveIterationCount, resolveOoxmlPresetMapping, resolveOpacitySet, resolveTableBackgroundEffectRef, resolveTableBackgroundFillRef, resolveTableStyleLineRef, resolveTableStyleLineRefColor, resolveVisibilitySetTiming, serializeCondition, serializeConditionList, serializeGraphicBuild, serializeTimeTargetElement, setAfterAnimation, setAfterAnimationColor, setChartAreaFormat, setChartAxis2 as setChartAxis, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategories2 as setChartCategories, setChartDataLabels2 as setChartDataLabels, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartGroupOptions2 as setChartGroupOptions, setChartGrouping2 as setChartGrouping, setChartLegend2 as setChartLegend, setChartSeriesChartType, setChartSeriesColor2 as setChartSeriesColor, setChartSeriesErrorBars, setChartSeriesMarker, setChartSeriesTrendline, setChartTitle2 as setChartTitle, setChartType2 as setChartType, shouldHoldEndState, timingCurveToAccelDecel, toChartGradientFill, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateChartDataPoint, updateChartSeriesValues, updateMergeAttrsInRawXml, upsert, validateSeriesIndex, withSeries };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DEFAULT_ROW_HEIGHT_EMU, createDefaultXmlCell, tableCellTextBodyMatches } from './chunk-
|
|
2
|
-
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, themeColorRefFromColorChoice, formatAutoNumberMarker, readText3DValues, cloneXmlObject, readScene3DValues, parseParagraphSpacingPx, parseOoxmlPercent, createBuiltinVariables, resolveCoordinate, readPathListCommandOrder, parseAdjustmentValues, parseGuideDefinitions, evaluateGuides, orderedPathCommandEntries, ooxmlArcToSvg, inheritCustomGeometryCommandOrder, parseInkMlContent, parseModel3DScene, nextRelationshipId, remapElementShapeIds, normalizeCustomShowIds, mapCustomShowActions, parseShapeId, isTemplateElementId, remapShapeIdReferences, reapplyAlternateContentToTree, openPptxZip, buildOle2, SHAPE_TREE_ELEMENT_TAGS, MAX_SHAPE_ID, parseRelationships, resolvePartPath, orderedXmlKey, safeResolveZipPath, parseDataUrlToBytes, base64Decode, 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, ensureXmlChild, inkElementToStrokes, buildInkMlContent, ensureXmlChildOrCreate, isXmlNode, applyChartLayouts, stripXmlOrderSuffix, 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, serializeColorChoice, replaceOleEmbedding, findKey, collectAllText, buildNodeGuidMap, buildPresentationGuidMap, regenerateSmartArtDrawingShapes, buildFabricatedDrawingXml, buildFabricatedDiagramDataXml, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, drawingColorXml, applyDiagramRelationshipIds, applyDrawingMediaReference, DIAGRAM_XML_PROLOG, DIAGRAM_DATA_XMLNS, escapeDiagramXml, writeBodyPrBooleanAttrs, applyTextBodySp3d, customGeometryPathsToXml, ensureArrayValue, lookupPresetShape, writeShapeEffects, SHAPE_STYLE_ORDER, CAMERA_PRESETS, LIGHT_RIGS, LIGHT_DIRECTIONS, roundCoordinate, scaleVectorToIntegers, P14_GUIDE_URI, P15_GUIDE_URI, buildGuideListExtension, resetSpPrFormattingForStyleMatrix, restorePathListCommandOrder, fillIsPurelyStyleMatrix, serializeColorChoiceWithRef, createLineStyleGate, applyDrawingLineDash, reorderObjectKeysByLocalName, getSignaturePathsToStrip, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, mergeSmartArtPointXml, mergeSmartArtConnectionXml, withDiagramPictureSources, diagramPictureRelationships, applySmartArtLayoutDefinition, 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, openZip, attr, parseDrawingEffects, drawingEffectsXml, readChartManualLayoutValues, buildEffectDagTreeFromXml, appendInSchemaOrder, RUN_PROPERTIES_ORDER, syncPictureShapeTypeWithCropShape, buildSrgbColorChoice, picturePercentage, ARTISTIC_PRIMARY_ATTRIBUTE, fetchUrlToBytes, parseChartWideTextStyle, hasLocalName, parseDefRPrTextStyle, parseChartDataLabelOptions, shadowOffsetToDistanceAndDirection, positiveFixedAngleAttribute, xmlAttrNumber, parseCustomShows, parseShapeProps, parseActiveXControlsFromSlide, convertMetafileToDataUrl, readPictureEffect, ooxmlGradientAngleToCssDegrees, isAlternateContentChoiceSupported, detectStrictConformance, normalizeStrictXml, relayoutSmartArt, patchDrawingColorIn, themeColorRefToSolidFillWithOpacity, FONT_ADVANCE_TABLES, DEFAULT_FONT_ADVANCE_TABLE, measureTextWidth, applyDrawingColorTransforms, applyThemeToData, detectFileFormat, parseOle2, EncryptedFileError, decryptPptx, encryptPptx, MAX_ZIP_ENTRY_COUNT, DEFAULT_MAX_UNCOMPRESSED_BYTES, encodeXmlAttributeValue, encodeXmlTextValue, svgToCustomGeometryPaths, IncorrectPasswordError, parseEncryptionInfo, RC4_ALG_ID, isOle2CompoundFile, ENTRY_TYPE_ROOT, supportsChartGradientFill, DEFAULT_CHART_GRADIENT_ANGLE, decodeXmlEntities, preservesXmlWhitespace, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, stripXmlOrderMarkers, normalizeStShapeType, applyCustomShows, applySections, PRESENTATION_CHILD_ORDER, applyKinsokuToXml, normalizeNamespaceUri, backgroundStyleRefIsCurrent, backgroundRefNode, captureStyleBaseline, STYLE_MATRIX_FILL_KEYS, STYLE_MATRIX_LINE_KEYS, STYLE_MATRIX_EFFECT_KEYS, detectOleObjectType, inferOleExtensionFromTarget, backgroundStylePreset, isDarkColorMap, backgroundStyleColorMap, reResolveElementsForColorMapChange, deriveSlideTitles, parseP14DirectChild, parseP14FromExtLst, P14_TRANSITION_TYPES, parseSlideDrawingGuides, slideBackgroundStyleRefFromNode, cloneSlide, parseDrawingFraction, scrgbLinearToSrgb8, parseDrawingHueDegrees, hslToRgb, themeColorRefToXml, effectChild, mergeEffectNode, mergeAttributeEffectNode, findThemeEffectScheme, wrapFormatSchemeXml, effectIsPurelyStyleMatrix, prismFamilyFlags, prismFamilyTypeOfNode, prismFamilyTypeForFlags, P14_DIR_IS_ORIENTATION_TYPE, estimateMediaDurationMs, parseVmlElements, parseDrawingLineDash, parseLineSpacingMultiplier, parseLineSpacingExactPt, formatSchemeKey, buildRelationshipsXml, loadThemeVariants, parsePresentationDrawingGuides, parsePresentationSmartTags, resolveLayoutDisplayName, guardZip, detectDigitalSignatures, unwrapOleEmbedding, mimeTypeForOleFile, oleBytesToDataUrl, themeColorRefFromSchemeClr, ZipBombError, parseKinsoku, deobfuscateFont, detectFontFormat, parseDataTable, parseChartAxes, parseBubbleChartOptions, extractGuidFromPartName, parseChartLayouts, parseCxChartSeries, parseChartDataPointPictureBlipRel, extractCxSeriesColor, parseCxDataLabels, parseCxRegionMapOptions, parseCxAxes, parseSeriesDataLabels, parseChartDataPointPicture, parseImplicitBlipPictureFill, parseEmbeddedXlsx, parseChartManualLayout, parseDiagramRelationshipIds, parseSmartArtTextParagraphs, firstParagraphRuns, smartArtParagraphsText, parseSmartArtLayoutDefinition, decodeBase64, parseSmartArtPresLayoutVars, parseDrawingColorIn, parseSmartArtConnection, connectionLabel, projectSmartArtNodeText, resolveSmartArtNodeStyleRoles, resolveSmartArtNodeCoherent3DOff, resolveDiagramLayoutCategory, captureDiagramPictures, parseDiagramDrawing, parseSmartArtDefinitionMetadata, parseSmartArtColorStyleLabels, buildSmartArtColorLists, buildSmartArtColorRoleMap, collectTransitionText, parseSmartArtQuickStyleLabels, parseDiagramQuickStyle, parseDiagramLayoutSummary, resolveSmartArtEffectIntensity, parseSmartArtStyleLabelRefs, extractStyleReferenceColorXml, withThemePlaceholderColor, blendColorOntoWhite } from './chunk-
|
|
1
|
+
import { DEFAULT_ROW_HEIGHT_EMU, createDefaultXmlCell, tableCellTextBodyMatches } from './chunk-VKFKEVHK.mjs';
|
|
2
|
+
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, themeColorRefFromColorChoice, formatAutoNumberMarker, readText3DValues, cloneXmlObject, readScene3DValues, parseParagraphSpacingPx, parseOoxmlPercent, createBuiltinVariables, resolveCoordinate, readPathListCommandOrder, parseAdjustmentValues, parseGuideDefinitions, evaluateGuides, orderedPathCommandEntries, ooxmlArcToSvg, inheritCustomGeometryCommandOrder, parseInkMlContent, parseModel3DScene, nextRelationshipId, remapElementShapeIds, normalizeCustomShowIds, mapCustomShowActions, parseShapeId, isTemplateElementId, remapShapeIdReferences, reapplyAlternateContentToTree, openPptxZip, buildOle2, SHAPE_TREE_ELEMENT_TAGS, MAX_SHAPE_ID, parseRelationships, resolvePartPath, orderedXmlKey, safeResolveZipPath, parseDataUrlToBytes, base64Decode, 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, ensureXmlChild, inkElementToStrokes, buildInkMlContent, ensureXmlChildOrCreate, isXmlNode, applyChartLayouts, stripXmlOrderSuffix, 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, serializeColorChoice, replaceOleEmbedding, findKey, collectAllText, buildNodeGuidMap, buildPresentationGuidMap, regenerateSmartArtDrawingShapes, buildFabricatedDrawingXml, buildFabricatedDiagramDataXml, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, drawingColorXml, applyDiagramRelationshipIds, applyDrawingMediaReference, DIAGRAM_XML_PROLOG, DIAGRAM_DATA_XMLNS, escapeDiagramXml, writeBodyPrBooleanAttrs, applyTextBodySp3d, customGeometryPathsToXml, ensureArrayValue, lookupPresetShape, writeShapeEffects, SHAPE_STYLE_ORDER, CAMERA_PRESETS, LIGHT_RIGS, LIGHT_DIRECTIONS, roundCoordinate, scaleVectorToIntegers, P14_GUIDE_URI, P15_GUIDE_URI, buildGuideListExtension, resetSpPrFormattingForStyleMatrix, restorePathListCommandOrder, fillIsPurelyStyleMatrix, serializeColorChoiceWithRef, createLineStyleGate, applyDrawingLineDash, reorderObjectKeysByLocalName, getSignaturePathsToStrip, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, mergeSmartArtPointXml, mergeSmartArtConnectionXml, withDiagramPictureSources, diagramPictureRelationships, applySmartArtLayoutDefinition, 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, openZip, attr, parseDrawingEffects, drawingEffectsXml, readChartManualLayoutValues, buildEffectDagTreeFromXml, appendInSchemaOrder, RUN_PROPERTIES_ORDER, syncPictureShapeTypeWithCropShape, buildSrgbColorChoice, picturePercentage, ARTISTIC_PRIMARY_ATTRIBUTE, fetchUrlToBytes, parseChartWideTextStyle, hasLocalName, parseDefRPrTextStyle, parseChartDataLabelOptions, shadowOffsetToDistanceAndDirection, positiveFixedAngleAttribute, xmlAttrNumber, parseCustomShows, parseShapeProps, parseActiveXControlsFromSlide, convertMetafileToDataUrl, readPictureEffect, ooxmlGradientAngleToCssDegrees, isAlternateContentChoiceSupported, detectStrictConformance, normalizeStrictXml, relayoutSmartArt, patchDrawingColorIn, themeColorRefToSolidFillWithOpacity, FONT_ADVANCE_TABLES, DEFAULT_FONT_ADVANCE_TABLE, measureTextWidth, applyDrawingColorTransforms, applyThemeToData, detectFileFormat, parseOle2, EncryptedFileError, decryptPptx, encryptPptx, MAX_ZIP_ENTRY_COUNT, DEFAULT_MAX_UNCOMPRESSED_BYTES, encodeXmlAttributeValue, encodeXmlTextValue, svgToCustomGeometryPaths, IncorrectPasswordError, parseEncryptionInfo, RC4_ALG_ID, isOle2CompoundFile, ENTRY_TYPE_ROOT, supportsChartGradientFill, DEFAULT_CHART_GRADIENT_ANGLE, decodeXmlEntities, preservesXmlWhitespace, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, stripXmlOrderMarkers, 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, backgroundStylePreset, isDarkColorMap, backgroundStyleColorMap, reResolveElementsForColorMapChange, deriveSlideTitles, parseP14DirectChild, parseP14FromExtLst, P14_TRANSITION_TYPES, parseSlideDrawingGuides, slideBackgroundStyleRefFromNode, cloneSlide, parseDrawingFraction, scrgbLinearToSrgb8, parseDrawingHueDegrees, hslToRgb, themeColorRefToXml, effectChild, mergeEffectNode, mergeAttributeEffectNode, findThemeEffectScheme, wrapFormatSchemeXml, effectIsPurelyStyleMatrix, prismFamilyFlags, prismFamilyTypeOfNode, prismFamilyTypeForFlags, P14_DIR_IS_ORIENTATION_TYPE, estimateMediaDurationMs, parseVmlElements, parseDrawingLineDash, parseLineSpacingMultiplier, parseLineSpacingExactPt, formatSchemeKey, buildRelationshipsXml, loadThemeVariants, parsePresentationDrawingGuides, parsePresentationSmartTags, resolveLayoutDisplayName, guardZip, detectDigitalSignatures, unwrapOleEmbedding, mimeTypeForOleFile, oleBytesToDataUrl, themeColorRefFromSchemeClr, ZipBombError, parseKinsoku, deobfuscateFont, detectFontFormat, parseDataTable, parseChartAxes, parseBubbleChartOptions, extractGuidFromPartName, parseChartLayouts, parseCxChartSeries, parseChartDataPointPictureBlipRel, extractCxSeriesColor, parseCxDataLabels, parseCxRegionMapOptions, parseCxAxes, parseSeriesDataLabels, parseChartDataPointPicture, parseImplicitBlipPictureFill, parseEmbeddedXlsx, parseChartManualLayout, parseDiagramRelationshipIds, parseSmartArtTextParagraphs, firstParagraphRuns, smartArtParagraphsText, parseSmartArtLayoutDefinition, decodeBase64, parseSmartArtPresLayoutVars, parseDrawingColorIn, parseSmartArtConnection, connectionLabel, projectSmartArtNodeText, resolveSmartArtNodeStyleRoles, resolveSmartArtNodeCoherent3DOff, resolveDiagramLayoutCategory, captureDiagramPictures, parseDiagramDrawing, parseSmartArtDefinitionMetadata, parseSmartArtColorStyleLabels, buildSmartArtColorLists, buildSmartArtColorRoleMap, collectTransitionText, parseSmartArtQuickStyleLabels, parseDiagramQuickStyle, parseDiagramLayoutSummary, resolveSmartArtEffectIntensity, parseSmartArtStyleLabelRefs, extractStyleReferenceColorXml, withThemePlaceholderColor, blendColorOntoWhite } from './chunk-IPV3J3I5.mjs';
|
|
3
3
|
import { hasShapeProperties, hasTextProperties } from './chunk-GXHKNSZX.mjs';
|
|
4
4
|
import { EMU_PER_PX, EMU_PER_PIXEL, SYSTEM_COLOR_MAP, PRESET_COLOR_MAP, OOXML_PERCENT_UNITS, EMU_PER_POINT } from './chunk-CA7KCNL3.mjs';
|
|
5
5
|
import JSZip2 from 'jszip';
|
|
@@ -7688,6 +7688,11 @@ function parseBorderSide(side) {
|
|
|
7688
7688
|
border.dash = dashVal;
|
|
7689
7689
|
has2 = true;
|
|
7690
7690
|
}
|
|
7691
|
+
const cmpd = String(ln["@_cmpd"] || "").trim();
|
|
7692
|
+
if (cmpd && cmpd !== "sng") {
|
|
7693
|
+
border.compound = cmpd;
|
|
7694
|
+
has2 = true;
|
|
7695
|
+
}
|
|
7691
7696
|
const solidFill2 = ln["a:solidFill"];
|
|
7692
7697
|
const fill3 = parseSolidFillStyle(solidFill2);
|
|
7693
7698
|
if (fill3) {
|
|
@@ -8833,8 +8838,8 @@ var PptxTableDataParser = class {
|
|
|
8833
8838
|
style: this.extractTableCellStyleFromXml(cellNode, slidePath),
|
|
8834
8839
|
gridSpan: cellNode["@_gridSpan"] ? parseInt(String(cellNode["@_gridSpan"]), 10) : void 0,
|
|
8835
8840
|
rowSpan: cellNode["@_rowSpan"] ? parseInt(String(cellNode["@_rowSpan"]), 10) : void 0,
|
|
8836
|
-
vMerge: cellNode
|
|
8837
|
-
hMerge: cellNode
|
|
8841
|
+
vMerge: xmlAttrBool(cellNode, "vMerge") ?? false,
|
|
8842
|
+
hMerge: xmlAttrBool(cellNode, "hMerge") ?? false,
|
|
8838
8843
|
...extraAttributes ? { extraAttributes } : {}
|
|
8839
8844
|
};
|
|
8840
8845
|
})
|
|
@@ -64885,15 +64890,17 @@ function parseTableBackground(tblBg, formatScheme, colorMap) {
|
|
|
64885
64890
|
const schemeColor = schemeClr ? String(schemeClr["@_val"] || "").trim() || void 0 : void 0;
|
|
64886
64891
|
const fill3 = schemeColor ? { schemeColor } : void 0;
|
|
64887
64892
|
const hasEffectLst = Boolean(tblBg["a:effectLst"]);
|
|
64893
|
+
const effectRef = parseTableBackgroundFillRef(tblBg["a:effectRef"]);
|
|
64888
64894
|
const fillRefNode = fillNode ? void 0 : tblBg["a:fillRef"];
|
|
64889
64895
|
const fillRef = parseTableBackgroundFillRef(fillRefNode);
|
|
64890
64896
|
const resolvedFill = fill3 ?? (fillRef ? resolveTableBackgroundFillRef(fillRef, formatScheme, colorMap) : void 0);
|
|
64891
|
-
if (!resolvedFill && !hasEffectLst && !fillRef) {
|
|
64897
|
+
if (!resolvedFill && !hasEffectLst && !fillRef && !effectRef) {
|
|
64892
64898
|
return void 0;
|
|
64893
64899
|
}
|
|
64894
64900
|
return {
|
|
64895
64901
|
...resolvedFill ? { fill: resolvedFill } : {},
|
|
64896
64902
|
...fillRef ? { fillRef } : {},
|
|
64903
|
+
...effectRef ? { effectRef } : {},
|
|
64897
64904
|
...hasEffectLst ? { hasEffectLst } : {}
|
|
64898
64905
|
};
|
|
64899
64906
|
}
|
|
@@ -64976,6 +64983,15 @@ function parseTableBackgroundFillRef(fillRefNode) {
|
|
|
64976
64983
|
}
|
|
64977
64984
|
return { idx };
|
|
64978
64985
|
}
|
|
64986
|
+
function resolveTcStyleFillRef(section, themeContext) {
|
|
64987
|
+
const tcStyle = section?.["a:tcStyle"];
|
|
64988
|
+
if (!tcStyle || tcStyle["a:fill"]) {
|
|
64989
|
+
return void 0;
|
|
64990
|
+
}
|
|
64991
|
+
const fillRef = parseTableBackgroundFillRef(tcStyle["a:fillRef"]);
|
|
64992
|
+
const fill3 = fillRef ? resolveTableBackgroundFillRef(fillRef, themeContext?.formatScheme, themeContext?.colorMap) : void 0;
|
|
64993
|
+
return fill3 ? { ...fill3, fillRefSnapshot: JSON.stringify(fill3) } : void 0;
|
|
64994
|
+
}
|
|
64979
64995
|
function parseTableStyleEntry(style, resolveImagePath, themeContext) {
|
|
64980
64996
|
const rawId = String(style["@_styleId"] || "").trim();
|
|
64981
64997
|
if (!rawId) {
|
|
@@ -64990,7 +65006,7 @@ function parseTableStyleEntry(style, resolveImagePath, themeContext) {
|
|
|
64990
65006
|
const cell3DProps = {};
|
|
64991
65007
|
for (const name of TABLE_STYLE_PART_SEQUENCE) {
|
|
64992
65008
|
const node = section(name);
|
|
64993
|
-
const fill3 = parseTableStyleSectionFill(node, resolveImagePath);
|
|
65009
|
+
const fill3 = parseTableStyleSectionFill(node, resolveImagePath) ?? resolveTcStyleFillRef(node, themeContext);
|
|
64994
65010
|
if (fill3) {
|
|
64995
65011
|
fills[`${name}Fill`] = fill3;
|
|
64996
65012
|
}
|
|
@@ -70462,6 +70478,9 @@ var PptxHandlerRuntime21 = class extends PptxHandlerRuntime20 {
|
|
|
70462
70478
|
}
|
|
70463
70479
|
return stack.join("/");
|
|
70464
70480
|
}
|
|
70481
|
+
if (target.startsWith("/")) {
|
|
70482
|
+
return target.substring(1);
|
|
70483
|
+
}
|
|
70465
70484
|
return `ppt/${stripParentDirSegments(target)}`;
|
|
70466
70485
|
}
|
|
70467
70486
|
}
|
|
@@ -75617,6 +75636,19 @@ var PptxHandlerRuntime30 = class extends PptxHandlerRuntime29 {
|
|
|
75617
75636
|
};
|
|
75618
75637
|
|
|
75619
75638
|
// pptx/core/core/runtime/PptxHandlerRuntimeSaveTextWriter.ts
|
|
75639
|
+
var ADJ1_WARP_PRESETS = /* @__PURE__ */ new Set([
|
|
75640
|
+
"textWave1",
|
|
75641
|
+
"textWave2",
|
|
75642
|
+
"textWave4",
|
|
75643
|
+
"textDoubleWave1",
|
|
75644
|
+
"textArchUpPour",
|
|
75645
|
+
"textArchDownPour",
|
|
75646
|
+
"textCirclePour",
|
|
75647
|
+
"textButtonPour"
|
|
75648
|
+
]);
|
|
75649
|
+
function firstWarpGuideName(preset) {
|
|
75650
|
+
return preset !== void 0 && ADJ1_WARP_PRESETS.has(preset) ? "adj1" : "adj";
|
|
75651
|
+
}
|
|
75620
75652
|
var PptxHandlerRuntime31 = class _PptxHandlerRuntime extends PptxHandlerRuntime30 {
|
|
75621
75653
|
/**
|
|
75622
75654
|
* Build and write the text body (`p:txBody`) for shapes, text boxes,
|
|
@@ -75702,7 +75734,7 @@ var PptxHandlerRuntime31 = class _PptxHandlerRuntime extends PptxHandlerRuntime3
|
|
|
75702
75734
|
const adjGds = [];
|
|
75703
75735
|
if (el.textStyle.textWarpAdj !== void 0 && Number.isFinite(el.textStyle.textWarpAdj)) {
|
|
75704
75736
|
adjGds.push({
|
|
75705
|
-
"@_name":
|
|
75737
|
+
"@_name": firstWarpGuideName(el.textStyle.textWarpPreset),
|
|
75706
75738
|
"@_fmla": `val ${el.textStyle.textWarpAdj}`
|
|
75707
75739
|
});
|
|
75708
75740
|
}
|
|
@@ -80390,7 +80422,16 @@ function applyTableStyleEntryToNode(styleNode, entry2) {
|
|
|
80390
80422
|
const existing = styleNode[xmlKey];
|
|
80391
80423
|
const existingSection = existing && typeof existing === "object" && !Array.isArray(existing) ? existing : void 0;
|
|
80392
80424
|
const existingTcStyle = existingSection?.["a:tcStyle"];
|
|
80393
|
-
|
|
80425
|
+
let fill3 = unchanged(sectionFill(entry2, name), parseTableStyleSectionFill(existingSection));
|
|
80426
|
+
if (existingTcStyle?.["a:fillRef"]) {
|
|
80427
|
+
const candidate = sectionFill(entry2, name);
|
|
80428
|
+
const { fillRefSnapshot, ...rest } = candidate ?? { schemeColor: "" };
|
|
80429
|
+
if (candidate && fillRefSnapshot !== void 0 && fillRefSnapshot === JSON.stringify(rest)) {
|
|
80430
|
+
fill3 = void 0;
|
|
80431
|
+
} else if (candidate) {
|
|
80432
|
+
fill3 = candidate;
|
|
80433
|
+
}
|
|
80434
|
+
}
|
|
80394
80435
|
const text = unchanged(sectionText(entry2, name), parseTableStyleSectionText(existingSection));
|
|
80395
80436
|
const borders = unchanged(sectionBorders(entry2, name), parseTableStyleBorders(existingTcStyle));
|
|
80396
80437
|
const cell3D = unchanged(
|
|
@@ -83548,7 +83589,7 @@ var PptxHandlerRuntime64 = class _PptxHandlerRuntime extends PptxHandlerRuntime6
|
|
|
83548
83589
|
if (!Number.isFinite(val)) {
|
|
83549
83590
|
continue;
|
|
83550
83591
|
}
|
|
83551
|
-
if (name === "adj") {
|
|
83592
|
+
if (name === "adj" || name === "adj1") {
|
|
83552
83593
|
textStyle.textWarpAdj = val;
|
|
83553
83594
|
} else if (name === "adj2") {
|
|
83554
83595
|
textStyle.textWarpAdj2 = val;
|
|
@@ -92364,6 +92405,9 @@ var PptxHandlerRuntime99 = class extends PptxHandlerRuntime98 {
|
|
|
92364
92405
|
}
|
|
92365
92406
|
return stack.join("/");
|
|
92366
92407
|
}
|
|
92408
|
+
if (target.startsWith("/")) {
|
|
92409
|
+
return target.substring(1);
|
|
92410
|
+
}
|
|
92367
92411
|
return `ppt/${stripParentDirSegments(target)}`;
|
|
92368
92412
|
}
|
|
92369
92413
|
}
|