ooxml-core 1.49.0 → 1.50.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 +1 -1
- package/dist/PptxHandler-MZDYUDWY.cjs +14 -0
- package/dist/PptxHandler-SAD6KJTW.mjs +5 -0
- package/dist/{PptxHandler-A43I376K.mjs → PptxHandler-YMMRMHXL.mjs} +2 -2
- package/dist/{PresentationBuilder-4F5AX7KC.mjs → PresentationBuilder-46225RH4.mjs} +3 -3
- package/dist/{PresentationBuilder-KP4YCLDA.cjs → PresentationBuilder-QEKPEOEF.cjs} +6 -6
- package/dist/{PresentationBuilder-TND2UD6G.mjs → PresentationBuilder-TFZ77BHK.mjs} +2 -2
- package/dist/{chunk-EMW5UEGW.cjs → chunk-4JWPX7CC.cjs} +1206 -1216
- package/dist/{chunk-7VKM37CI.mjs → chunk-53KMIHYN.mjs} +1 -1
- package/dist/{chunk-ZF5CBLVS.mjs → chunk-7IEQDXTC.mjs} +52 -5
- package/dist/{chunk-EQ4UAZQR.mjs → chunk-BBQGII7T.mjs} +1 -1
- package/dist/{chunk-W3PAVRHF.mjs → chunk-JV7SMDBE.mjs} +1 -1
- package/dist/{chunk-DFWGDF2X.mjs → chunk-R523BFEU.mjs} +5 -15
- package/dist/{chunk-IZBM6DPD.mjs → chunk-UBVU7OT5.mjs} +4 -4
- package/dist/{chunk-EOBXIRVU.mjs → chunk-WUWAERVF.mjs} +4 -14
- package/dist/{chunk-4XFC5UQ2.cjs → chunk-X4RL5AZ7.cjs} +3 -3
- package/dist/index.cjs +49 -1
- package/dist/index.mjs +49 -1
- package/dist/pptx/automation/index.cjs +4 -14
- package/dist/pptx/automation/index.d.ts +3 -3
- package/dist/pptx/automation/index.mjs +5 -5
- package/dist/pptx/chunks/{index-DtYuxPlO.d.ts → index-DH0ZfLzt.d.ts} +3 -3
- package/dist/pptx/chunks/{index-DtYuxPlO.d.ts.map → index-DH0ZfLzt.d.ts.map} +1 -1
- package/dist/pptx/chunks/{index-CcEodQAX.d.ts → index-DcscVTAw.d.ts} +2 -2
- package/dist/pptx/chunks/{index-CcEodQAX.d.ts.map → index-DcscVTAw.d.ts.map} +1 -1
- package/dist/pptx/chunks/{index-PfcOm5CG.d.ts → index-LjoVDuEa.d.ts} +23 -15
- package/dist/pptx/chunks/index-LjoVDuEa.d.ts.map +1 -0
- package/dist/pptx/cli/index.cjs +4 -14
- 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 +72 -24
- 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/dist/text/index.cjs +49 -1
- package/dist/text/index.mjs +49 -2
- package/dist/text/webfonts/google-fonts-catalogue.d.ts +10 -7
- package/dist/text/webfonts/google-fonts-catalogue.d.ts.map +1 -1
- package/dist/text/webfonts/google-fonts-variants.d.ts +15 -0
- package/dist/text/webfonts/google-fonts-variants.d.ts.map +1 -0
- package/dist/text/webfonts/index.d.ts +1 -0
- package/dist/text/webfonts/index.d.ts.map +1 -1
- package/dist/xlsx/index.cjs +15 -0
- package/dist/xlsx/index.mjs +15 -0
- package/dist/xlsx/ui/commands/i18n/navigation.d.ts.map +1 -1
- package/dist/xlsx/ui/context.d.ts +2 -0
- package/dist/xlsx/ui/context.d.ts.map +1 -1
- package/dist/xlsx/ui/find-order.d.ts +6 -0
- package/dist/xlsx/ui/find-order.d.ts.map +1 -0
- package/dist/xlsx/ui/format-cells-state.d.ts +25 -0
- package/dist/xlsx/ui/format-cells-state.d.ts.map +1 -0
- package/dist/xlsx/ui/index.cjs +138 -3
- package/dist/xlsx/ui/index.d.ts +4 -0
- package/dist/xlsx/ui/index.d.ts.map +1 -1
- package/dist/xlsx/ui/index.mjs +132 -4
- package/dist/xlsx/ui/replace-validation.d.ts +46 -0
- package/dist/xlsx/ui/replace-validation.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/PptxHandler-3PYE3IGO.mjs +0 -5
- package/dist/PptxHandler-CXLJ6KIC.cjs +0 -14
- package/dist/pptx/chunks/index-PfcOm5CG.d.ts.map +0 -1
- /package/dist/{chunk-A6RRUPRT.cjs → chunk-EN3KSEW5.cjs} +0 -0
- /package/dist/{chunk-FFEVDPRE.mjs → chunk-PRGXRAAU.mjs} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { openNestedZip, openZip, openPptxZip } from './chunk-U7YXYOA7.mjs';
|
|
1
|
+
import { openNestedZip, resolveReferenceUriToPart, openZip, openPptxZip } from './chunk-U7YXYOA7.mjs';
|
|
2
2
|
import { cloneTextStyle, cloneElement, cloneXmlObject, resolveDiagramLayoutCategory, parseOrderedWhen } from './chunk-VDUNZTJC.mjs';
|
|
3
3
|
import { themeColorRefToSolidFillWithOpacity, hexToRgbChannels, toHex, rgbToHsl, hslToRgb, parseDrawingPercent, linearToSrgb255, srgb255ToLinear, parseDrawingHueDegrees, parseDrawingFraction, clampUnitInterval, normalizeHexColor, scrgbLinearToSrgb8, applyDrawingColorTransforms, parseOoxmlPercent, resolveThemeColorRef } from './chunk-7DJEJTN7.mjs';
|
|
4
4
|
import { DOMParser, XMLSerializer } from '@xmldom/xmldom';
|
|
5
|
-
import
|
|
5
|
+
import JSZip2 from 'jszip';
|
|
6
6
|
import { XMLBuilder, XMLParser } from 'fast-xml-parser';
|
|
7
7
|
|
|
8
8
|
// units/constants.ts
|
|
@@ -7091,7 +7091,7 @@ function createChartWorkbookFromRows(rows, sheetName = DEFAULT_CHART_SHEET_NAME)
|
|
|
7091
7091
|
return workbookPackage(chartWorkbookRowsXml(rows), sheetName);
|
|
7092
7092
|
}
|
|
7093
7093
|
function workbookPackage(worksheetXml, sheetName) {
|
|
7094
|
-
const zip = new
|
|
7094
|
+
const zip = new JSZip2();
|
|
7095
7095
|
zip.file(
|
|
7096
7096
|
"[Content_Types].xml",
|
|
7097
7097
|
`${DECLARATION4}<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/></Types>`
|
|
@@ -34922,7 +34922,7 @@ function findTextBearingElementById(elements3, elementId) {
|
|
|
34922
34922
|
}
|
|
34923
34923
|
async function loadNestedDeck(pptxBytes) {
|
|
34924
34924
|
try {
|
|
34925
|
-
const { PptxHandler } = await import('./PptxHandler-
|
|
34925
|
+
const { PptxHandler } = await import('./PptxHandler-YMMRMHXL.mjs');
|
|
34926
34926
|
const handler = new PptxHandler();
|
|
34927
34927
|
const data = await handler.load(pptxBytes.buffer.slice(0));
|
|
34928
34928
|
return { handler, slides: data.slides };
|
|
@@ -57095,6 +57095,53 @@ async function createSaltlessModifyVerifierForTesting(password, options) {
|
|
|
57095
57095
|
cryptAlgorithmType: "typeAny"
|
|
57096
57096
|
};
|
|
57097
57097
|
}
|
|
57098
|
+
var SIGNATURE_PART = /^_xmlsignatures\/.+\.xml$/u;
|
|
57099
|
+
function signatureParser() {
|
|
57100
|
+
return new XMLParser({
|
|
57101
|
+
ignoreAttributes: false,
|
|
57102
|
+
attributeNamePrefix: "@_",
|
|
57103
|
+
parseAttributeValue: false,
|
|
57104
|
+
parseTagValue: false,
|
|
57105
|
+
processEntities: false,
|
|
57106
|
+
tagValueProcessor: (_tagName, tagValue) => decodeXmlEntities(tagValue),
|
|
57107
|
+
attributeValueProcessor: (_attrName, attrValue) => decodeXmlEntities(attrValue)
|
|
57108
|
+
});
|
|
57109
|
+
}
|
|
57110
|
+
async function readSignatures(zip) {
|
|
57111
|
+
const parser = signatureParser();
|
|
57112
|
+
const result = [];
|
|
57113
|
+
for (const path3 of Object.keys(zip.files)) {
|
|
57114
|
+
const file = zip.file(path3);
|
|
57115
|
+
if (file && SIGNATURE_PART.test(path3)) {
|
|
57116
|
+
result.push(parseSignatureXml(parser.parse(await file.async("string")), path3));
|
|
57117
|
+
}
|
|
57118
|
+
}
|
|
57119
|
+
return result;
|
|
57120
|
+
}
|
|
57121
|
+
async function parseSignaturesFromBuffer(buffer) {
|
|
57122
|
+
try {
|
|
57123
|
+
return await readSignatures(await JSZip2.loadAsync(buffer));
|
|
57124
|
+
} catch {
|
|
57125
|
+
return [];
|
|
57126
|
+
}
|
|
57127
|
+
}
|
|
57128
|
+
async function inspectSignaturesFromBuffer(buffer) {
|
|
57129
|
+
try {
|
|
57130
|
+
const zip = await JSZip2.loadAsync(buffer);
|
|
57131
|
+
const result = [];
|
|
57132
|
+
for (const signature of await readSignatures(zip)) {
|
|
57133
|
+
const integrity = await verifySignatureDigests(signature, async (uri) => {
|
|
57134
|
+
const path3 = resolveReferenceUriToPart(uri.split("?")[0] ?? uri);
|
|
57135
|
+
const file = path3 ? zip.file(path3) : null;
|
|
57136
|
+
return file ? await file.async("arraybuffer") : void 0;
|
|
57137
|
+
}).catch(() => "unverified");
|
|
57138
|
+
result.push({ ...signature, integrity });
|
|
57139
|
+
}
|
|
57140
|
+
return result;
|
|
57141
|
+
} catch {
|
|
57142
|
+
return [];
|
|
57143
|
+
}
|
|
57144
|
+
}
|
|
57098
57145
|
|
|
57099
57146
|
// pptx/core/utils/chart-layout.ts
|
|
57100
57147
|
var child9 = (node, name, localName15) => {
|
|
@@ -77229,4 +77276,4 @@ async function blobUrlToDataUrl(blobUrl, fallbackMimeType) {
|
|
|
77229
77276
|
}
|
|
77230
77277
|
}
|
|
77231
77278
|
|
|
77232
|
-
export { ALL_ANIMATION_PRESETS, ARABIC_ABJADI_LETTERS, ARABIC_HIJAI_LETTERS, ARTISTIC_PRIMARY_ATTRIBUTE, BACKGROUND_STYLE_PRESETS, BLIP_FILL_ORDER, CAMERA_PRESETS, CHART_COLOR_STYLE_NS, CHART_STYLE_PARTS, CHART_WORKBOOK_CONTENT_TYPE, 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_CHART_SHEET_NAME, 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, NEUTRAL_CHART_TYPE_TARGETS, 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, 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, addChartExSeries, addChartSeries, addSmartArtNode, addSmartArtNodeAbove, addSmartArtNodeAsChild, addSmartArtNodeBefore, algorithmParam, alphaLabel, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, appendChartExWorkbookData, appendChartWorkbookSheet, applyActiveXControlsToSlide, applyBubbleChartOptions, applyChartAppearance, 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, assertChartModelLabelPosition, avLstForPreset, backgroundRefNode, backgroundRefNodeForPreset, backgroundStyleColorMap, backgroundStylePreset, backgroundStylePresetFor, backgroundStyleRefIsCurrent, base64Decode, base64Encode2 as base64Encode, 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, chartDrawingColorFromHex, chartExDataChanged, chartExSpaceWorkbookWrites, chartFormatTargetKey, chartGradientsEqual, chartGridAddCategory, chartGridAddSeries, chartGridRemoveCategory, chartGridRemoveSeries, chartGridSetCategoryLabel, chartGridSetCellValue, chartGroupElement, chartIssuesLostOnWrite, chartModelLabelPositions, chartPercentUnionValue, chartSeriesEntries, chartSeriesEntryAt, chartSpaceWorkbookWrites, chartTargetDraftShapes, chartTrendlineKind, chartTrendlineType, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, chevronPoints, children, chooseAlgType2 as chooseAlgType, circleNode, clampByRules, classifyPanose, clearChartAreaPaint, collectAllText, collectTransitionText, colorsEqual, colour, combineShapes, computeContrastRatio, computeSmartArtElementsWithoutCache, concatArrays, connectionLabel, containsConvertibleStrictNamespaceAttribute, convertMetafileToDataUrl, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartExSpace, createDrawingObjectId, createEditorId, createLineStyleGate, createModifyVerifier, createOfficeGuid, createSaltlessModifyVerifierForTesting, createTemplateConnectorRawXml, createTemplateShapeRawXml, createUniformTextSegments, cropShapeForPresetGeometry, cssDegreesToOoxmlGradientAngle, customGeometryPathsToSvg, customGeometryPathsToSvgSubpaths, customShowActionId, decodeBase64, decodeJsonValue, decodeOle10Native, decodePngDimensions, decodePptxJsonText, decodeXmlEntities, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveSlideTitle, deriveSlideTitles, descendants, deserializePptxFromJson, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectOlePayloadEditorKind, detectStrictConformance, diagramPictureRelationships, discoverArrangement2 as discoverArrangement, distributeSegmentsAcrossChain, douglasPeucker, drawingColorXml, drawingFillXml, editChartExAxis, editChartExLabels, editChartExPointLabel, editChartExStyle, editChartShapeProperties, editChartSpace, effectChild, effectIsPurelyStyleMatrix, elementActionToPptxAction, elementHasAction, elements, emu, encodeCompressedPng, encodeJsonValue, encodeOle10Native, encodePasswordUtf16LE, encodePng, encodeXmlAttributeValue, encodeXmlTextValue, encryptPptx, ensureArrayValue, ensureContentTypeOverride, ensureXmlChild, ensureXmlChildOrCreate, ensureXmlChildren, esc, escAttr, escText, escapeDiagramXml, estimateMediaDurationMs, estimateTextBoxCapacity, evaluateCustomGeometryPathData, evaluateCustomGeometryPaths, evaluateGeometryPaths, evaluateGuides, evaluatePresetShape, expandRangeAddresses, extractColorChoiceXml, extractCxSeriesColor, extractGuidFromPartName, extractModel3DTransform, extractStyleReferenceColorXml, fetchUrlToBytes, fillAppearancePatch, fillIsPurelyStyleMatrix, filterValidShapeAdjustmentEntries, findChartExtByUri, findChildByLocalName, findCnvPrNode, findConstraint, findCustomShow, findKey6 as findKey, findThemeEffectScheme, findThemeEffectSchemeByName, first, firstParagraphRuns, fitFontSize, flattenChartUserShapes, flattenNodes, formatAutoNumberMarker, 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, joinChartGroups, loadThemeVariants, lookupPresetConnectionSites, lookupPresetShape, lookupPresetTextRectOverride, makeStoreAwareId, mapCustomShowActions, mergeAttributeEffectNode, mergeEffectNode, mergeShapes, mergeSmartArtConnectionXml, mergeSmartArtPointXml, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, moveChartSeries, multiplyTextOrientationMatrices, navigateCustomShow, newChartSpace, newChartWorkbookLayout, newSmartArtGuid, nextRelationshipId, nodeFill, nodeOpacity, nodeStroke, nodeTextStyle, normalizeCustomShowIds, normalizeNamespaceUri, normalizePositiveFixedAngleDegrees, normalizeStShapeType, normalizeStrictXml, normalizeStrokeDashType, numberSource, numericParam, obfuscateFont, oleBytesToDataUrl, oleObjectTypeToGlyph, ooxmlArcToSvg, ooxmlGradientAngleToCssDegrees, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseAlignmentAttr, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseBulletSizePercent, parseChart3DSurfaces, parseChartAxes, parseChartDataLabelOptions, parseChartDataPointPicture, parseChartDataPointPictureBlipRel, parseChartExSpace, parseChartFormatTargetKey, parseChartFormulaRange, parseChartLayouts, parseChartManualLayout, parseChartSpace, parseChartUniqueId, parseChartUpDownBars, parseChartUserShapesDrawing, parseChartWideTextStyle, parseCustomShows, parseCxAxes, parseCxChartSeries, parseCxDataLabels, parseCxRegionMapOptions, parseDataTable2 as parseDataTable, parseDataUrlToBytes, parseDefRPrTextStyle, parseDiagramColors, parseDiagramDataModel, parseDiagramDrawing, parseDiagramLayoutSummary, parseDiagramQuickStyle, parseDiagramRelationshipIds, parseDrawingColor2 as parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingEffects, parseDrawingLineDash, parseDrawingMediaReference, parseDrawingRichTextBody, parseEmbeddedXlsx, parseEncryptionInfo, parseGuideDefinitions, parseHexColor, parseImplicitBlipPictureFill, parseInkMlContent, parseKinsoku, parseLineSpacingExactPt, parseLineSpacingMultiplier, parseLineStyle, parseMarker2 as 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, patchPictureEffects, picturePercentage, planNeutralChartType, polygonNode, polygonsToSvgPath, positiveFixedAngleAttribute, pptxActionToElementAction, pptxDataFromJsonDocument, preservesSpreadsheetXmlWhitespace, preservesXmlWhitespace, presetGeometryForCropShape, previewDiagramLayout, prismFamilyFlags, prismFamilyTypeForFlags, prismFamilyTypeOfNode, projectSmartArtNodeText, promoteSmartArtNode, ratioConstraint, reResolveElementColors, reResolveElementFonts, reResolveElementsForColorMapChange, reResolveSlideColors, reResolveSlideFonts, readChartStyle, readCommentMentions, readDisplayNaAsBlank, readFileAsDataUrl, readOleDocParagraphs, readOleDocumentParagraphs, readOleNestedDeckDetail, readOleNestedDeckFirstSlideTextLines, readOleSheetGrid, readOleXlsGrid, readPathListCommandOrder, readPictureEffect, readScene3DValues, readText3DValues, realignOrCollapseRuns, reapplyAlternateContentToTree, reassignDescendantIds, rebaseChartData, rebaseCommentMentions, rectNode, reflowSmartArtLayout, reflowSmartArtPictures, regenerateClonedUniqueId, regenerateSmartArtDrawingShapes, relAttr, relationshipsPartFor, relativeLuminance, relayoutSmartArt, remapElementShapeIds, remapShapeIdReferences, removeChartExSeries, removeChartSeries, removeSmartArtNode, renameChartExSeries, renameChartSeries, renderOleDeckPreviewPng, renderOleDocumentPreviewPng, renderOleIconPng, renderOleSheetPreviewPng, reorderObjectKeys, reorderObjectKeysByLocalName, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, repeatedLabel, replaceFirstText, replaceOleEmbedding, replaceOleFile, resetDecomposeCounter, resetSmartArtEditCounter, resetSpPrFormattingForStyleMatrix, resolveChartStyleDefinition, 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, saveChartWorkbookUpdates, scaleVectorToIntegers, selectAlternateContentBranch, selectArrangedNodes, serializeColorChoice, serializeColorChoiceWithRef, serializePptxToJson, serializeSmartArtDefinitionHeaderList, serializeTabStop, setAutoTitleDeleted, setChartAxis, setChartAxisTitleText, setChartCategories, setChartCategoryLevels, setChartChrome, setChartDataLabelFormatting, setChartDataLabels, setChartDataLabelsRange, setChartDataTable, setChartDisplayUnitsLabel, setChartErrorBars, setChartExBinning, setChartExBoxWhisker, setChartExCategories, setChartExDataLabelsVisible, setChartExLayout, setChartExLegend, setChartExParentLabelLayout, setChartExSeriesFill, setChartExSeriesValues, setChartExTitle, setChartExWaterfall, setChartGroupDecorations, setChartGroupOptions, setChartLayout, setChartLegend, setChartLegendEntries, setChartMarker, setChartNumericCategories, setChartPointLabel, setChartPointOptions, setChartProtection, setChartSeriesAxis, setChartSeriesBubbleSizes, setChartSeriesColor, setChartSeriesOptions, setChartSeriesSecondaryAxis, setChartSeriesValues, setChartSeriesXValues, setChartStyle, setChartSurface, setChartTargetText, setChartTitle, setChartTitleRuns, setChartTitleVisible, setChartTrendline, setChartTypedCategories, setChartView3D, setOleObjectName, setSmartArtNodeStyle, shadowOffsetToDistanceAndDirection, shouldRebuildFromParagraphs, shouldRebuildFromRuns, shouldRenderFallbackLabel, shouldReturnToZoomSlide, slideBackgroundStyleRefFromNode, smartArtParagraphsText, smartArtQuickStyleHas3d, solidFill, stageChartPartWithWorkbook, 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, wrapFormatSchemeXml, writeBodyPrBooleanAttrs, writeChartColorChoice, writeChartExSpace, writeChartExSpaceOverSource, writeChartShapeProps, writeChartSpace, writeChartSpaceOverSource, writeChartWorkbookUpdates, writeGeneratedDiagramDrawing, writeOleDocParagraphEdit, writeOleDocumentParagraphEdit, writeOleNestedDeckElementText, writeOleSheetCellEdit, writeOleXlsNumericCellEdit, writeOleXlsStringCellEdit, writeShapeEffects, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlHasChild, xmlPath, xmlText, zlibDeflate, zlibStore };
|
|
77279
|
+
export { ALL_ANIMATION_PRESETS, ARABIC_ABJADI_LETTERS, ARABIC_HIJAI_LETTERS, ARTISTIC_PRIMARY_ATTRIBUTE, BACKGROUND_STYLE_PRESETS, BLIP_FILL_ORDER, CAMERA_PRESETS, CHART_COLOR_STYLE_NS, CHART_STYLE_PARTS, CHART_WORKBOOK_CONTENT_TYPE, 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_CHART_SHEET_NAME, 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, NEUTRAL_CHART_TYPE_TARGETS, 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, 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, addChartExSeries, addChartSeries, addSmartArtNode, addSmartArtNodeAbove, addSmartArtNodeAsChild, addSmartArtNodeBefore, algorithmParam, alphaLabel, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, appendChartExWorkbookData, appendChartWorkbookSheet, applyActiveXControlsToSlide, applyBubbleChartOptions, applyChartAppearance, 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, assertChartModelLabelPosition, avLstForPreset, backgroundRefNode, backgroundRefNodeForPreset, backgroundStyleColorMap, backgroundStylePreset, backgroundStylePresetFor, backgroundStyleRefIsCurrent, base64Decode, base64Encode2 as base64Encode, 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, chartDrawingColorFromHex, chartExDataChanged, chartExSpaceWorkbookWrites, chartFormatTargetKey, chartGradientsEqual, chartGridAddCategory, chartGridAddSeries, chartGridRemoveCategory, chartGridRemoveSeries, chartGridSetCategoryLabel, chartGridSetCellValue, chartGroupElement, chartIssuesLostOnWrite, chartModelLabelPositions, chartPercentUnionValue, chartSeriesEntries, chartSeriesEntryAt, chartSpaceWorkbookWrites, chartTargetDraftShapes, chartTrendlineKind, chartTrendlineType, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, chevronPoints, children, chooseAlgType2 as chooseAlgType, circleNode, clampByRules, classifyPanose, clearChartAreaPaint, collectAllText, collectTransitionText, colorsEqual, colour, combineShapes, computeContrastRatio, computeSmartArtElementsWithoutCache, concatArrays, connectionLabel, containsConvertibleStrictNamespaceAttribute, convertMetafileToDataUrl, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartExSpace, createDrawingObjectId, createEditorId, createLineStyleGate, createModifyVerifier, createOfficeGuid, createSaltlessModifyVerifierForTesting, createTemplateConnectorRawXml, createTemplateShapeRawXml, createUniformTextSegments, cropShapeForPresetGeometry, cssDegreesToOoxmlGradientAngle, customGeometryPathsToSvg, customGeometryPathsToSvgSubpaths, customShowActionId, decodeBase64, decodeJsonValue, decodeOle10Native, decodePngDimensions, decodePptxJsonText, decodeXmlEntities, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveSlideTitle, deriveSlideTitles, descendants, deserializePptxFromJson, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectOlePayloadEditorKind, detectStrictConformance, diagramPictureRelationships, discoverArrangement2 as discoverArrangement, distributeSegmentsAcrossChain, douglasPeucker, drawingColorXml, drawingFillXml, editChartExAxis, editChartExLabels, editChartExPointLabel, editChartExStyle, editChartShapeProperties, editChartSpace, effectChild, effectIsPurelyStyleMatrix, elementActionToPptxAction, elementHasAction, elements, emu, encodeCompressedPng, encodeJsonValue, encodeOle10Native, encodePasswordUtf16LE, encodePng, encodeXmlAttributeValue, encodeXmlTextValue, encryptPptx, ensureArrayValue, ensureContentTypeOverride, ensureXmlChild, ensureXmlChildOrCreate, ensureXmlChildren, esc, escAttr, escText, escapeDiagramXml, estimateMediaDurationMs, estimateTextBoxCapacity, evaluateCustomGeometryPathData, evaluateCustomGeometryPaths, evaluateGeometryPaths, evaluateGuides, evaluatePresetShape, expandRangeAddresses, extractColorChoiceXml, extractCxSeriesColor, extractGuidFromPartName, extractModel3DTransform, extractStyleReferenceColorXml, fetchUrlToBytes, fillAppearancePatch, fillIsPurelyStyleMatrix, filterValidShapeAdjustmentEntries, findChartExtByUri, findChildByLocalName, findCnvPrNode, findConstraint, findCustomShow, findKey6 as findKey, findThemeEffectScheme, findThemeEffectSchemeByName, first, firstParagraphRuns, fitFontSize, flattenChartUserShapes, flattenNodes, formatAutoNumberMarker, 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, inspectSignaturesFromBuffer, 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, joinChartGroups, loadThemeVariants, lookupPresetConnectionSites, lookupPresetShape, lookupPresetTextRectOverride, makeStoreAwareId, mapCustomShowActions, mergeAttributeEffectNode, mergeEffectNode, mergeShapes, mergeSmartArtConnectionXml, mergeSmartArtPointXml, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, moveChartSeries, multiplyTextOrientationMatrices, navigateCustomShow, newChartSpace, newChartWorkbookLayout, newSmartArtGuid, nextRelationshipId, nodeFill, nodeOpacity, nodeStroke, nodeTextStyle, normalizeCustomShowIds, normalizeNamespaceUri, normalizePositiveFixedAngleDegrees, normalizeStShapeType, normalizeStrictXml, normalizeStrokeDashType, numberSource, numericParam, obfuscateFont, oleBytesToDataUrl, oleObjectTypeToGlyph, ooxmlArcToSvg, ooxmlGradientAngleToCssDegrees, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseAlignmentAttr, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseBulletSizePercent, parseChart3DSurfaces, parseChartAxes, parseChartDataLabelOptions, parseChartDataPointPicture, parseChartDataPointPictureBlipRel, parseChartExSpace, parseChartFormatTargetKey, parseChartFormulaRange, parseChartLayouts, parseChartManualLayout, parseChartSpace, parseChartUniqueId, parseChartUpDownBars, parseChartUserShapesDrawing, parseChartWideTextStyle, parseCustomShows, parseCxAxes, parseCxChartSeries, parseCxDataLabels, parseCxRegionMapOptions, parseDataTable2 as parseDataTable, parseDataUrlToBytes, parseDefRPrTextStyle, parseDiagramColors, parseDiagramDataModel, parseDiagramDrawing, parseDiagramLayoutSummary, parseDiagramQuickStyle, parseDiagramRelationshipIds, parseDrawingColor2 as parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingEffects, parseDrawingLineDash, parseDrawingMediaReference, parseDrawingRichTextBody, parseEmbeddedXlsx, parseEncryptionInfo, parseGuideDefinitions, parseHexColor, parseImplicitBlipPictureFill, parseInkMlContent, parseKinsoku, parseLineSpacingExactPt, parseLineSpacingMultiplier, parseLineStyle, parseMarker2 as 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, parseSignaturesFromBuffer, parseSlideDrawingGuides, parseSmartArtColorListHexes, parseSmartArtColorStyleLabels, parseSmartArtConnection, parseSmartArtDefinitionHeaderList, parseSmartArtDefinitionMetadata, parseSmartArtPointCustomLayout, parseSmartArtPresLayoutVars, parseSmartArtQuickStyleLabels, parseSmartArtStyleLabelRefs, parseSmartArtTextParagraphs, parseStructuredCustomGeometry, parseTabStops, parseVmlElement, parseVmlElements, parseXml, patchPictureEffects, picturePercentage, planNeutralChartType, polygonNode, polygonsToSvgPath, positiveFixedAngleAttribute, pptxActionToElementAction, pptxDataFromJsonDocument, preservesSpreadsheetXmlWhitespace, preservesXmlWhitespace, presetGeometryForCropShape, previewDiagramLayout, prismFamilyFlags, prismFamilyTypeForFlags, prismFamilyTypeOfNode, projectSmartArtNodeText, promoteSmartArtNode, ratioConstraint, reResolveElementColors, reResolveElementFonts, reResolveElementsForColorMapChange, reResolveSlideColors, reResolveSlideFonts, readChartStyle, readCommentMentions, readDisplayNaAsBlank, readFileAsDataUrl, readOleDocParagraphs, readOleDocumentParagraphs, readOleNestedDeckDetail, readOleNestedDeckFirstSlideTextLines, readOleSheetGrid, readOleXlsGrid, readPathListCommandOrder, readPictureEffect, readScene3DValues, readText3DValues, realignOrCollapseRuns, reapplyAlternateContentToTree, reassignDescendantIds, rebaseChartData, rebaseCommentMentions, rectNode, reflowSmartArtLayout, reflowSmartArtPictures, regenerateClonedUniqueId, regenerateSmartArtDrawingShapes, relAttr, relationshipsPartFor, relativeLuminance, relayoutSmartArt, remapElementShapeIds, remapShapeIdReferences, removeChartExSeries, removeChartSeries, removeSmartArtNode, renameChartExSeries, renameChartSeries, renderOleDeckPreviewPng, renderOleDocumentPreviewPng, renderOleIconPng, renderOleSheetPreviewPng, reorderObjectKeys, reorderObjectKeysByLocalName, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, repeatedLabel, replaceFirstText, replaceOleEmbedding, replaceOleFile, resetDecomposeCounter, resetSmartArtEditCounter, resetSpPrFormattingForStyleMatrix, resolveChartStyleDefinition, 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, saveChartWorkbookUpdates, scaleVectorToIntegers, selectAlternateContentBranch, selectArrangedNodes, serializeColorChoice, serializeColorChoiceWithRef, serializePptxToJson, serializeSmartArtDefinitionHeaderList, serializeTabStop, setAutoTitleDeleted, setChartAxis, setChartAxisTitleText, setChartCategories, setChartCategoryLevels, setChartChrome, setChartDataLabelFormatting, setChartDataLabels, setChartDataLabelsRange, setChartDataTable, setChartDisplayUnitsLabel, setChartErrorBars, setChartExBinning, setChartExBoxWhisker, setChartExCategories, setChartExDataLabelsVisible, setChartExLayout, setChartExLegend, setChartExParentLabelLayout, setChartExSeriesFill, setChartExSeriesValues, setChartExTitle, setChartExWaterfall, setChartGroupDecorations, setChartGroupOptions, setChartLayout, setChartLegend, setChartLegendEntries, setChartMarker, setChartNumericCategories, setChartPointLabel, setChartPointOptions, setChartProtection, setChartSeriesAxis, setChartSeriesBubbleSizes, setChartSeriesColor, setChartSeriesOptions, setChartSeriesSecondaryAxis, setChartSeriesValues, setChartSeriesXValues, setChartStyle, setChartSurface, setChartTargetText, setChartTitle, setChartTitleRuns, setChartTitleVisible, setChartTrendline, setChartTypedCategories, setChartView3D, setOleObjectName, setSmartArtNodeStyle, shadowOffsetToDistanceAndDirection, shouldRebuildFromParagraphs, shouldRebuildFromRuns, shouldRenderFallbackLabel, shouldReturnToZoomSlide, slideBackgroundStyleRefFromNode, smartArtParagraphsText, smartArtQuickStyleHas3d, solidFill, stageChartPartWithWorkbook, 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, wrapFormatSchemeXml, writeBodyPrBooleanAttrs, writeChartColorChoice, writeChartExSpace, writeChartExSpaceOverSource, writeChartShapeProps, writeChartSpace, writeChartSpaceOverSource, writeChartWorkbookUpdates, writeGeneratedDiagramDrawing, writeOleDocParagraphEdit, writeOleDocumentParagraphEdit, writeOleNestedDeckElementText, writeOleSheetCellEdit, writeOleXlsNumericCellEdit, writeOleXlsStringCellEdit, writeShapeEffects, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlHasChild, xmlPath, xmlText, zlibDeflate, zlibStore };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { hasTextProperties, isImageLikeElement, blobUrlToDataUrl, getSubstituteFontFamily, stripXmlOrderSuffix } from './chunk-
|
|
1
|
+
import { hasTextProperties, isImageLikeElement, blobUrlToDataUrl, getSubstituteFontFamily, stripXmlOrderSuffix } from './chunk-7IEQDXTC.mjs';
|
|
2
2
|
|
|
3
3
|
// pptx/converter/media-context.ts
|
|
4
4
|
var MIME_TO_EXT = {
|
|
@@ -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, stageChartPartWithWorkbook, CHART_WORKBOOK_CONTENT_TYPE, BLIP_FILL_ORDER, SP_PR_ORDER, ensureXmlChild, inkElementToStrokes, buildInkMlContent, ensureXmlChildOrCreate, isXmlNode, applyChartLayouts, stripXmlOrderSuffix, ooxmlGradientAngleToCssDegrees, serializeTabStop, newChartWorkbookLayout, DEFAULT_CHART_SHEET_NAME, writeChartSpace, chartIssuesLostOnWrite, parseChartSpace, joinChartGroups, createChartExSpace, setChartExDataLabelsVisible, writeChartExSpace, readCommentMentions, rebaseCommentMentions, applyCommentMentions, colorsEqual, generateFontGuid, NEUTRAL_CHART_TYPE_TARGETS, planNeutralChartType, newChartSpace, setChartSeriesSecondaryAxis, editChartSpace, chartModelLabelPositions, setChartExLayout, setChartExSeriesFill, setChartExWaterfall, setChartExBinning, setChartExParentLabelLayout, setChartExBoxWhisker, applyBubbleChartOptions, applyChartUpDownBars, applyDataLabelsRangeToDLbls, applyChartAxisScaling, applyChartAxisLabelFormatting, upsertChartAxisChild, applyChartDateAxisUnits, applyChartAxisDisplayUnitsToXml, writeChartShapeProps, resolveTxPrDefRPr, buildDefRPrTextProperties, buildChartGradFillXml, drawingFillXml, removeChartSeries, chartSeriesEntries, moveChartSeries, addChartSeries, setChartSeriesColor, setChartTitleRuns, setChartTitle, setChartTitleVisible, setChartLegend, setChartAxis, setChartGroupOptions, setChartTrendline, setChartErrorBars, setChartSeriesAxis, setChartSeriesOptions, setChartNumericCategories, setChartCategoryLevels, setChartTypedCategories, setChartSeriesXValues, setChartSeriesBubbleSizes, renameChartSeries, setChartSeriesValues, setChartCategories, setChartDataLabels, setChartDataLabelsRange, parseChartFormatTargetKey, setChartTargetText, setChartLegendEntries, setChartAxisTitleText, setChartLayout, setChartDisplayUnitsLabel, setChartProtection, setChartChrome, setChartStyle, setChartView3D, setChartDataTable, setChartSurface, setChartGroupDecorations, clearChartAreaPaint, applyChartAppearance, chartGroupElement, chartPercentUnionValue, applySeriesMarkerToXml, applySeriesDataPointsToXml, chartColorHex, chartDrawingColorFromHex, chartTrendlineType, chartSeriesEntryAt, numberSource, setChartMarker, editChartShapeProperties, setChartDataLabelFormatting, chartFormatTargetKey, chartTargetDraftShapes, fillAppearancePatch, setChartPointOptions, applyChartManualLayout, serializeColorChoice, replaceOleEmbedding, findKey, collectAllText, buildNodeGuidMap, buildPresentationGuidMap, regenerateSmartArtDrawingShapes, buildFabricatedDrawingXml, buildFabricatedDiagramDataXml, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, 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, parseXml, first, parseDiagramColors, resolveDrawingColor, children, parseDrawingRichTextBody, writeGeneratedDiagramDrawing, descendants, GENERATED_DIAGRAM_CACHE_NS, generatedDrawingDigest, buildXml, parseChartUserShapesDrawing, xmlChildren, chartSpaceWorkbookWrites, writeChartSpaceOverSource, applyChartGradientToSpPr, setAutoTitleDeleted, realignOrCollapseRuns, insertAt, replaceFirstText, saveChartWorkbookUpdates, shouldRebuildFromParagraphs, buildPointFromParagraphs, shouldRebuildFromRuns, buildPointFromRuns, buildPointText, resolveThemeFillStyle, resolveThemeLineStyle, resolveThemeEffectStyle, relAttr, ensureXmlChildren, TC_PR_BORDERS_ORDER, appendChartWorkbookSheet, rebaseChartData, writeChartColorChoice, parseChartExSpace, chartExDataChanged, relationshipsPartFor, chartExSpaceWorkbookWrites, writeChartWorkbookUpdates, appendChartExWorkbookData, writeChartExSpaceOverSource, elements, stripParentDirSegments, parseChartUniqueId, buildChartMarkerXml, chartGradientsEqual, chartColorChoiceValue, setChartExTitle, setChartExLegend, editChartExStyle, editChartExAxis, renameChartExSeries, setChartExSeriesValues, setChartExCategories, parseDrawingEffects, editChartExLabels, removeChartExSeries, addChartExSeries, buildEffectDagTreeFromXml, syncPictureShapeTypeWithCropShape, buildSrgbColorChoice, picturePercentage, ARTISTIC_PRIMARY_ATTRIBUTE, fetchUrlToBytes, parseChartWideTextStyle, hasLocalName, parseDefRPrTextStyle, parseChartDataLabelOptions, shadowOffsetToDistanceAndDirection, positiveFixedAngleAttribute, xmlAttrNumber, parseCustomShows, parseShapeProps, parseActiveXControlsFromSlide, convertMetafileToDataUrl, readPictureEffect, isAlternateContentChoiceSupported, detectStrictConformance, normalizeStrictXml, relayoutSmartArt, setChartPointLabel, editChartExPointLabel, 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, cssDegreesToOoxmlGradientAngle, svgToCustomGeometryPaths, IncorrectPasswordError, customGeometryPathsToSvg, patchPictureEffects, 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, parseDrawingLineDash, assertChartModelLabelPosition, findThemeEffectScheme, wrapFormatSchemeXml, effectIsPurelyStyleMatrix, prismFamilyFlags, prismFamilyTypeOfNode, prismFamilyTypeForFlags, P14_DIR_IS_ORIENTATION_TYPE, estimateMediaDurationMs, parseVmlElements, parseLineSpacingMultiplier, parseLineSpacingExactPt, formatSchemeKey, ensureContentTypeOverride, buildRelationshipsXml, loadThemeVariants, parsePresentationDrawingGuides, parsePresentationSmartTags, resolveLayoutDisplayName, guardZip, detectDigitalSignatures, unwrapOleEmbedding, mimeTypeForOleFile, oleBytesToDataUrl, themeColorRefFromSchemeClr, ZipBombError, parseKinsoku, deobfuscateFont, detectFontFormat, parseDataTable, parseChartAxes, parseBubbleChartOptions, extractGuidFromPartName, parseChartLayouts, parseCxChartSeries, parseChartFormulaRange, expandRangeAddresses, parseChartDataPointPictureBlipRel, readDisplayNaAsBlank, extractCxSeriesColor, parseCxDataLabels, parseCxRegionMapOptions, parseCxAxes, parseSeriesDataLabels, parseChartDataPointPicture, parseImplicitBlipPictureFill, parseEmbeddedXlsx, CHART_STYLE_PARTS, CHART_COLOR_STYLE_NS, readChartStyle, resolveChartStyleDefinition, drawingColorXml, chartTrendlineKind, parseChartManualLayout, parseDiagramRelationshipIds, parseSmartArtTextParagraphs, firstParagraphRuns, smartArtParagraphsText, parseSmartArtLayoutDefinition, decodeBase64, parseSmartArtPresLayoutVars, parseSmartArtConnection, connectionLabel, projectSmartArtNodeText, resolveSmartArtNodeStyleRoles, resolveSmartArtNodeCoherent3DOff, resolveDiagramLayoutCategory, captureDiagramPictures, parseDiagramDrawing, parseSmartArtDefinitionMetadata, parseSmartArtColorStyleLabels, buildSmartArtColorLists, buildSmartArtColorRoleMap, collectTransitionText, parseSmartArtQuickStyleLabels, parseDiagramQuickStyle, parseDiagramLayoutSummary, resolveSmartArtEffectIntensity, parseSmartArtStyleLabelRefs, extractStyleReferenceColorXml, withThemePlaceholderColor, blendColorOntoWhite } from './chunk-FFEVDPRE.mjs';
|
|
1
|
+
import { DEFAULT_ROW_HEIGHT_EMU, createDefaultXmlCell, tableCellTextBodyMatches } from './chunk-53KMIHYN.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, stageChartPartWithWorkbook, CHART_WORKBOOK_CONTENT_TYPE, BLIP_FILL_ORDER, SP_PR_ORDER, ensureXmlChild, inkElementToStrokes, buildInkMlContent, ensureXmlChildOrCreate, isXmlNode, applyChartLayouts, stripXmlOrderSuffix, ooxmlGradientAngleToCssDegrees, serializeTabStop, newChartWorkbookLayout, DEFAULT_CHART_SHEET_NAME, writeChartSpace, chartIssuesLostOnWrite, parseChartSpace, joinChartGroups, createChartExSpace, setChartExDataLabelsVisible, writeChartExSpace, readCommentMentions, rebaseCommentMentions, applyCommentMentions, colorsEqual, generateFontGuid, NEUTRAL_CHART_TYPE_TARGETS, planNeutralChartType, newChartSpace, setChartSeriesSecondaryAxis, editChartSpace, chartModelLabelPositions, setChartExLayout, setChartExSeriesFill, setChartExWaterfall, setChartExBinning, setChartExParentLabelLayout, setChartExBoxWhisker, applyBubbleChartOptions, applyChartUpDownBars, applyDataLabelsRangeToDLbls, applyChartAxisScaling, applyChartAxisLabelFormatting, upsertChartAxisChild, applyChartDateAxisUnits, applyChartAxisDisplayUnitsToXml, writeChartShapeProps, resolveTxPrDefRPr, buildDefRPrTextProperties, buildChartGradFillXml, drawingFillXml, removeChartSeries, chartSeriesEntries, moveChartSeries, addChartSeries, setChartSeriesColor, setChartTitleRuns, setChartTitle, setChartTitleVisible, setChartLegend, setChartAxis, setChartGroupOptions, setChartTrendline, setChartErrorBars, setChartSeriesAxis, setChartSeriesOptions, setChartNumericCategories, setChartCategoryLevels, setChartTypedCategories, setChartSeriesXValues, setChartSeriesBubbleSizes, renameChartSeries, setChartSeriesValues, setChartCategories, setChartDataLabels, setChartDataLabelsRange, parseChartFormatTargetKey, setChartTargetText, setChartLegendEntries, setChartAxisTitleText, setChartLayout, setChartDisplayUnitsLabel, setChartProtection, setChartChrome, setChartStyle, setChartView3D, setChartDataTable, setChartSurface, setChartGroupDecorations, clearChartAreaPaint, applyChartAppearance, chartGroupElement, chartPercentUnionValue, applySeriesMarkerToXml, applySeriesDataPointsToXml, chartColorHex, chartDrawingColorFromHex, chartTrendlineType, chartSeriesEntryAt, numberSource, setChartMarker, editChartShapeProperties, setChartDataLabelFormatting, chartFormatTargetKey, chartTargetDraftShapes, fillAppearancePatch, setChartPointOptions, applyChartManualLayout, serializeColorChoice, replaceOleEmbedding, findKey, collectAllText, buildNodeGuidMap, buildPresentationGuidMap, regenerateSmartArtDrawingShapes, buildFabricatedDrawingXml, buildFabricatedDiagramDataXml, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, 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, parseXml, first, parseDiagramColors, resolveDrawingColor, children, parseDrawingRichTextBody, writeGeneratedDiagramDrawing, descendants, GENERATED_DIAGRAM_CACHE_NS, generatedDrawingDigest, buildXml, parseChartUserShapesDrawing, xmlChildren, chartSpaceWorkbookWrites, writeChartSpaceOverSource, applyChartGradientToSpPr, setAutoTitleDeleted, realignOrCollapseRuns, insertAt, replaceFirstText, saveChartWorkbookUpdates, shouldRebuildFromParagraphs, buildPointFromParagraphs, shouldRebuildFromRuns, buildPointFromRuns, buildPointText, resolveThemeFillStyle, resolveThemeLineStyle, resolveThemeEffectStyle, relAttr, ensureXmlChildren, TC_PR_BORDERS_ORDER, appendChartWorkbookSheet, rebaseChartData, writeChartColorChoice, parseChartExSpace, chartExDataChanged, relationshipsPartFor, chartExSpaceWorkbookWrites, writeChartWorkbookUpdates, appendChartExWorkbookData, writeChartExSpaceOverSource, elements, stripParentDirSegments, parseChartUniqueId, buildChartMarkerXml, chartGradientsEqual, chartColorChoiceValue, setChartExTitle, setChartExLegend, editChartExStyle, editChartExAxis, renameChartExSeries, setChartExSeriesValues, setChartExCategories, parseDrawingEffects, editChartExLabels, removeChartExSeries, addChartExSeries, buildEffectDagTreeFromXml, syncPictureShapeTypeWithCropShape, buildSrgbColorChoice, picturePercentage, ARTISTIC_PRIMARY_ATTRIBUTE, fetchUrlToBytes, parseChartWideTextStyle, hasLocalName, parseDefRPrTextStyle, parseChartDataLabelOptions, shadowOffsetToDistanceAndDirection, positiveFixedAngleAttribute, xmlAttrNumber, parseCustomShows, parseShapeProps, parseActiveXControlsFromSlide, convertMetafileToDataUrl, readPictureEffect, isAlternateContentChoiceSupported, detectStrictConformance, normalizeStrictXml, relayoutSmartArt, setChartPointLabel, editChartExPointLabel, 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, cssDegreesToOoxmlGradientAngle, svgToCustomGeometryPaths, IncorrectPasswordError, customGeometryPathsToSvg, patchPictureEffects, 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, parseDrawingLineDash, assertChartModelLabelPosition, findThemeEffectScheme, wrapFormatSchemeXml, effectIsPurelyStyleMatrix, prismFamilyFlags, prismFamilyTypeOfNode, prismFamilyTypeForFlags, P14_DIR_IS_ORIENTATION_TYPE, estimateMediaDurationMs, parseVmlElements, parseLineSpacingMultiplier, parseLineSpacingExactPt, formatSchemeKey, ensureContentTypeOverride, buildRelationshipsXml, loadThemeVariants, parsePresentationDrawingGuides, parsePresentationSmartTags, resolveLayoutDisplayName, guardZip, detectDigitalSignatures, unwrapOleEmbedding, mimeTypeForOleFile, oleBytesToDataUrl, themeColorRefFromSchemeClr, ZipBombError, parseKinsoku, deobfuscateFont, detectFontFormat, parseDataTable, parseChartAxes, parseBubbleChartOptions, extractGuidFromPartName, parseChartLayouts, parseCxChartSeries, parseChartFormulaRange, expandRangeAddresses, parseChartDataPointPictureBlipRel, readDisplayNaAsBlank, extractCxSeriesColor, parseCxDataLabels, parseCxRegionMapOptions, parseCxAxes, parseSeriesDataLabels, parseChartDataPointPicture, parseImplicitBlipPictureFill, parseEmbeddedXlsx, CHART_STYLE_PARTS, CHART_COLOR_STYLE_NS, readChartStyle, resolveChartStyleDefinition, drawingColorXml, chartTrendlineKind, parseChartManualLayout, parseDiagramRelationshipIds, parseSmartArtTextParagraphs, firstParagraphRuns, smartArtParagraphsText, parseSmartArtLayoutDefinition, decodeBase64, parseSmartArtPresLayoutVars, parseSmartArtConnection, connectionLabel, projectSmartArtNodeText, resolveSmartArtNodeStyleRoles, resolveSmartArtNodeCoherent3DOff, resolveDiagramLayoutCategory, captureDiagramPictures, parseDiagramDrawing, parseSmartArtDefinitionMetadata, parseSmartArtColorStyleLabels, buildSmartArtColorLists, buildSmartArtColorRoleMap, collectTransitionText, parseSmartArtQuickStyleLabels, parseDiagramQuickStyle, parseDiagramLayoutSummary, resolveSmartArtEffectIntensity, parseSmartArtStyleLabelRefs, extractStyleReferenceColorXml, withThemePlaceholderColor, blendColorOntoWhite } from './chunk-PRGXRAAU.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 JSZip from 'jszip';
|
|
@@ -58399,6 +58399,7 @@ var TemplateElementBaselineTracker = class {
|
|
|
58399
58399
|
};
|
|
58400
58400
|
|
|
58401
58401
|
// pptx/core/core/runtime/PptxHandlerRuntimeState.ts
|
|
58402
|
+
var alternateContentBlocks = /* @__PURE__ */ new WeakMap();
|
|
58402
58403
|
var PptxHandlerRuntime = class {
|
|
58403
58404
|
/** The in-memory ZIP archive representing the OPC (.pptx) package. */
|
|
58404
58405
|
zip;
|
|
@@ -58674,19 +58675,8 @@ var PptxHandlerRuntime = class {
|
|
|
58674
58675
|
signatureDetection = null;
|
|
58675
58676
|
/** Custom XML data parts parsed from `customXml/` in the OPC package. */
|
|
58676
58677
|
customXmlParts = [];
|
|
58677
|
-
/**
|
|
58678
|
-
|
|
58679
|
-
* envelope that originally wrapped it (CC-4). Populated during slide
|
|
58680
|
-
* (and `p:grpSp`) parsing; consulted at save time to re-emit the
|
|
58681
|
-
* original `<mc:Choice>` / `<mc:Fallback>` shape so legacy renderers
|
|
58682
|
-
* keep their fallback content.
|
|
58683
|
-
*
|
|
58684
|
-
* Multiple sibling elements may share the same `AlternateContentBlock`
|
|
58685
|
-
* value (a single AC envelope often wraps several child shapes — e.g.
|
|
58686
|
-
* `p14:media` + its `p:pic` fallback nest one each). WeakMap so AC
|
|
58687
|
-
* envelopes are GC'd if the parsed XmlObject is dropped.
|
|
58688
|
-
*/
|
|
58689
|
-
alternateContentBlockByRawXml = /* @__PURE__ */ new WeakMap();
|
|
58678
|
+
/** The original compatibility envelope for a parsed `rawXml` node. */
|
|
58679
|
+
alternateContentBlockByRawXml = alternateContentBlocks;
|
|
58690
58680
|
/** Embedded fonts extracted during load, preserved for automatic re-embedding on save. */
|
|
58691
58681
|
loadedEmbeddedFonts = [];
|
|
58692
58682
|
/** Decode every embedded font variant during load (see `PptxHandlerLoadOptions`). */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { findText, replaceText, replaceTextInSlide, mergePresentation } from './chunk-
|
|
2
|
-
import { PresentationBuilder, PptxHandler, SlideBuilder, validateSeriesIndex, removeEmptyDataPoint, ensureDataPoint, ensureChartData, assertChartGradientSupported, toChartGradientFill, countExistingLayouts, addLayoutToSlideMaster, addLayoutContentType, createLayout, STANDARD_LAYOUTS, generateLayoutXml, layoutRelsXml, createTextElement, createShapeElement, createImageElement, createTableElement, createChartElement, createConnectorElement, createMediaElement, createGroupElement, clonePartGraph, buildBlankPresentationArchive, FILL_CHOICE_ELEMENTS, relativePartTarget, PptxXmlBuilder } from './chunk-
|
|
3
|
-
import { SP_PR_ORDER, EMU_PER_PIXEL, EMU_PER_INCH, parseXml, first, relationshipsPartFor, parseRelationships, resolvePartPath, elements, buildXml, buildRelationshipsXml, bytesToBase64, base64ToBytes, LN_CHILD_ORDER, BLIP_FILL_ORDER, EFFECT_LST_ORDER, SHAPE_STYLE_ORDER, TC_PR_BORDERS_ORDER, hasTextProperties, nextRelationshipId, escAttr, NS } from './chunk-
|
|
1
|
+
import { findText, replaceText, replaceTextInSlide, mergePresentation } from './chunk-JV7SMDBE.mjs';
|
|
2
|
+
import { PresentationBuilder, PptxHandler, SlideBuilder, validateSeriesIndex, removeEmptyDataPoint, ensureDataPoint, ensureChartData, assertChartGradientSupported, toChartGradientFill, countExistingLayouts, addLayoutToSlideMaster, addLayoutContentType, createLayout, STANDARD_LAYOUTS, generateLayoutXml, layoutRelsXml, createTextElement, createShapeElement, createImageElement, createTableElement, createChartElement, createConnectorElement, createMediaElement, createGroupElement, clonePartGraph, buildBlankPresentationArchive, FILL_CHOICE_ELEMENTS, relativePartTarget, PptxXmlBuilder } from './chunk-WUWAERVF.mjs';
|
|
3
|
+
import { SP_PR_ORDER, EMU_PER_PIXEL, EMU_PER_INCH, parseXml, first, relationshipsPartFor, parseRelationships, resolvePartPath, elements, buildXml, buildRelationshipsXml, bytesToBase64, base64ToBytes, LN_CHILD_ORDER, BLIP_FILL_ORDER, EFFECT_LST_ORDER, SHAPE_STYLE_ORDER, TC_PR_BORDERS_ORDER, hasTextProperties, nextRelationshipId, escAttr, NS } from './chunk-7IEQDXTC.mjs';
|
|
4
4
|
import { openPptxZip, openZip } from './chunk-U7YXYOA7.mjs';
|
|
5
5
|
import { cloneSlide, cloneElement } from './chunk-VDUNZTJC.mjs';
|
|
6
6
|
|
|
@@ -14696,7 +14696,7 @@ async function setPresentationRunText(bytes, slideIndex, elementId, runIndex, te
|
|
|
14696
14696
|
async function createPresentationFromOutline(slides, options = {}) {
|
|
14697
14697
|
if (!(slides instanceof Array) || !slides.length || slides.length > 200)
|
|
14698
14698
|
throw new Error("A presentation outline has 1 to 200 slides");
|
|
14699
|
-
const { PresentationBuilder: PresentationBuilder2 } = await import('./PresentationBuilder-
|
|
14699
|
+
const { PresentationBuilder: PresentationBuilder2 } = await import('./PresentationBuilder-TFZ77BHK.mjs');
|
|
14700
14700
|
const { handler, data, createSlide } = await PresentationBuilder2.create({
|
|
14701
14701
|
...options.title ? { title: options.title } : {}
|
|
14702
14702
|
});
|
|
@@ -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, stageChartPartWithWorkbook, CHART_WORKBOOK_CONTENT_TYPE, BLIP_FILL_ORDER, SP_PR_ORDER, ensureXmlChild, hasShapeProperties, hasTextProperties, inkElementToStrokes, buildInkMlContent, ensureXmlChildOrCreate, isXmlNode, applyChartLayouts, stripXmlOrderSuffix, ooxmlGradientAngleToCssDegrees, serializeTabStop, newChartWorkbookLayout, DEFAULT_CHART_SHEET_NAME, writeChartSpace, chartIssuesLostOnWrite, parseChartSpace, joinChartGroups, createChartExSpace, setChartExDataLabelsVisible, writeChartExSpace, readCommentMentions, rebaseCommentMentions, applyCommentMentions, colorsEqual, generateFontGuid, NEUTRAL_CHART_TYPE_TARGETS, planNeutralChartType, newChartSpace, setChartSeriesSecondaryAxis, editChartSpace, chartModelLabelPositions, setChartExLayout, setChartExSeriesFill, setChartExWaterfall, setChartExBinning, setChartExParentLabelLayout, setChartExBoxWhisker, applyBubbleChartOptions, applyChartUpDownBars, applyDataLabelsRangeToDLbls, applyChartAxisScaling, applyChartAxisLabelFormatting, upsertChartAxisChild, applyChartDateAxisUnits, applyChartAxisDisplayUnitsToXml, writeChartShapeProps, resolveTxPrDefRPr, buildDefRPrTextProperties, buildChartGradFillXml, drawingFillXml, removeChartSeries, chartSeriesEntries, moveChartSeries, addChartSeries, setChartSeriesColor, setChartTitleRuns, setChartTitle, setChartTitleVisible, setChartLegend, setChartAxis, setChartGroupOptions, setChartTrendline, setChartErrorBars, setChartSeriesAxis, setChartSeriesOptions, setChartNumericCategories, setChartCategoryLevels, setChartTypedCategories, setChartSeriesXValues, setChartSeriesBubbleSizes, renameChartSeries, setChartSeriesValues, setChartCategories, setChartDataLabels, setChartDataLabelsRange, parseChartFormatTargetKey, setChartTargetText, setChartLegendEntries, setChartAxisTitleText, setChartLayout, setChartDisplayUnitsLabel, setChartProtection, setChartChrome, setChartStyle, setChartView3D, setChartDataTable, setChartSurface, setChartGroupDecorations, clearChartAreaPaint, applyChartAppearance, chartGroupElement, chartPercentUnionValue, applySeriesMarkerToXml, applySeriesDataPointsToXml, chartColorHex, chartDrawingColorFromHex, chartTrendlineType, chartSeriesEntryAt, numberSource, setChartMarker, editChartShapeProperties, setChartDataLabelFormatting, chartFormatTargetKey, chartTargetDraftShapes, fillAppearancePatch, setChartPointOptions, applyChartManualLayout, buildTrendlineLabel, serializeColorChoice, replaceOleEmbedding, findKey, collectAllText, buildNodeGuidMap, buildPresentationGuidMap, regenerateSmartArtDrawingShapes, buildFabricatedDrawingXml, buildFabricatedDiagramDataXml, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, 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, parseXml, first, parseDiagramColors, resolveDrawingColor, children, parseDrawingRichTextBody, writeGeneratedDiagramDrawing, descendants, GENERATED_DIAGRAM_CACHE_NS, generatedDrawingDigest, buildXml, parseChartUserShapesDrawing, xmlChildren, chartSpaceWorkbookWrites, writeChartSpaceOverSource, applyChartGradientToSpPr, setAutoTitleDeleted, realignOrCollapseRuns, insertAt, replaceFirstText, saveChartWorkbookUpdates, shouldRebuildFromParagraphs, buildPointFromParagraphs, shouldRebuildFromRuns, buildPointFromRuns, buildPointText, resolveThemeFillStyle, resolveThemeLineStyle, resolveThemeEffectStyle, relAttr, ensureXmlChildren, TC_PR_BORDERS_ORDER, appendChartWorkbookSheet, rebaseChartData, writeChartColorChoice, parseChartExSpace, chartExDataChanged, relationshipsPartFor, chartExSpaceWorkbookWrites, writeChartWorkbookUpdates, appendChartExWorkbookData, writeChartExSpaceOverSource, elements, stripParentDirSegments, parseChartUniqueId, buildChartMarkerXml, chartGradientsEqual, chartColorChoiceValue, setChartExTitle, setChartExLegend, editChartExStyle, editChartExAxis, renameChartExSeries, setChartExSeriesValues, setChartExCategories, parseDrawingEffects, editChartExLabels, removeChartExSeries, addChartExSeries, buildEffectDagTreeFromXml, 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, setChartPointLabel, editChartExPointLabel, MIN_ELEMENT_SIZE, createDrawingObjectId, DEFAULT_TEXT_FONT_SIZE, EncryptedFileError, decodePptxJsonText, parsePptxJson, pptxDataFromJsonDocument, applyImportedPptxData, DEFAULT_CHART_GRADIENT_ANGLE, supportsChartGradientFill, assertChartModelLabelPosition, svgToCustomGeometryPaths, escAttr, ensureContentTypeOverride, 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, customGeometryPathsToSvg, base64Encode, 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, parseChartFormulaRange, expandRangeAddresses, parseChartDataPointPictureBlipRel, readDisplayNaAsBlank, extractCxSeriesColor, parseCxDataLabels, parseCxRegionMapOptions, parseCxAxes, parseSeriesDataLabels, parseChartDataPointPicture, parseImplicitBlipPictureFill, parseEmbeddedXlsx, CHART_STYLE_PARTS, CHART_COLOR_STYLE_NS, readChartStyle, resolveChartStyleDefinition, drawingColorXml, EMU_PER_POINT, chartTrendlineKind, parseChartManualLayout, parseDiagramRelationshipIds, parseSmartArtTextParagraphs, firstParagraphRuns, smartArtParagraphsText, decodeBase64, parseSmartArtPresLayoutVars, 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-ZF5CBLVS.mjs';
|
|
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, stageChartPartWithWorkbook, CHART_WORKBOOK_CONTENT_TYPE, BLIP_FILL_ORDER, SP_PR_ORDER, ensureXmlChild, hasShapeProperties, hasTextProperties, inkElementToStrokes, buildInkMlContent, ensureXmlChildOrCreate, isXmlNode, applyChartLayouts, stripXmlOrderSuffix, ooxmlGradientAngleToCssDegrees, serializeTabStop, newChartWorkbookLayout, DEFAULT_CHART_SHEET_NAME, writeChartSpace, chartIssuesLostOnWrite, parseChartSpace, joinChartGroups, createChartExSpace, setChartExDataLabelsVisible, writeChartExSpace, readCommentMentions, rebaseCommentMentions, applyCommentMentions, colorsEqual, generateFontGuid, NEUTRAL_CHART_TYPE_TARGETS, planNeutralChartType, newChartSpace, setChartSeriesSecondaryAxis, editChartSpace, chartModelLabelPositions, setChartExLayout, setChartExSeriesFill, setChartExWaterfall, setChartExBinning, setChartExParentLabelLayout, setChartExBoxWhisker, applyBubbleChartOptions, applyChartUpDownBars, applyDataLabelsRangeToDLbls, applyChartAxisScaling, applyChartAxisLabelFormatting, upsertChartAxisChild, applyChartDateAxisUnits, applyChartAxisDisplayUnitsToXml, writeChartShapeProps, resolveTxPrDefRPr, buildDefRPrTextProperties, buildChartGradFillXml, drawingFillXml, removeChartSeries, chartSeriesEntries, moveChartSeries, addChartSeries, setChartSeriesColor, setChartTitleRuns, setChartTitle, setChartTitleVisible, setChartLegend, setChartAxis, setChartGroupOptions, setChartTrendline, setChartErrorBars, setChartSeriesAxis, setChartSeriesOptions, setChartNumericCategories, setChartCategoryLevels, setChartTypedCategories, setChartSeriesXValues, setChartSeriesBubbleSizes, renameChartSeries, setChartSeriesValues, setChartCategories, setChartDataLabels, setChartDataLabelsRange, parseChartFormatTargetKey, setChartTargetText, setChartLegendEntries, setChartAxisTitleText, setChartLayout, setChartDisplayUnitsLabel, setChartProtection, setChartChrome, setChartStyle, setChartView3D, setChartDataTable, setChartSurface, setChartGroupDecorations, clearChartAreaPaint, applyChartAppearance, chartGroupElement, chartPercentUnionValue, applySeriesMarkerToXml, applySeriesDataPointsToXml, chartColorHex, chartDrawingColorFromHex, chartTrendlineType, chartSeriesEntryAt, numberSource, setChartMarker, editChartShapeProperties, setChartDataLabelFormatting, chartFormatTargetKey, chartTargetDraftShapes, fillAppearancePatch, setChartPointOptions, applyChartManualLayout, buildTrendlineLabel, serializeColorChoice, replaceOleEmbedding, findKey, collectAllText, buildNodeGuidMap, buildPresentationGuidMap, regenerateSmartArtDrawingShapes, buildFabricatedDrawingXml, buildFabricatedDiagramDataXml, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, 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, parseXml, first, parseDiagramColors, resolveDrawingColor, children, parseDrawingRichTextBody, writeGeneratedDiagramDrawing, descendants, GENERATED_DIAGRAM_CACHE_NS, generatedDrawingDigest, buildXml, parseChartUserShapesDrawing, xmlChildren, chartSpaceWorkbookWrites, writeChartSpaceOverSource, applyChartGradientToSpPr, setAutoTitleDeleted, realignOrCollapseRuns, insertAt, replaceFirstText, saveChartWorkbookUpdates, shouldRebuildFromParagraphs, buildPointFromParagraphs, shouldRebuildFromRuns, buildPointFromRuns, buildPointText, resolveThemeFillStyle, resolveThemeLineStyle, resolveThemeEffectStyle, relAttr, ensureXmlChildren, TC_PR_BORDERS_ORDER, appendChartWorkbookSheet, rebaseChartData, writeChartColorChoice, parseChartExSpace, chartExDataChanged, relationshipsPartFor, chartExSpaceWorkbookWrites, writeChartWorkbookUpdates, appendChartExWorkbookData, writeChartExSpaceOverSource, elements, stripParentDirSegments, parseChartUniqueId, buildChartMarkerXml, chartGradientsEqual, chartColorChoiceValue, setChartExTitle, setChartExLegend, editChartExStyle, editChartExAxis, renameChartExSeries, setChartExSeriesValues, setChartExCategories, parseDrawingEffects, editChartExLabels, removeChartExSeries, addChartExSeries, buildEffectDagTreeFromXml, 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, setChartPointLabel, editChartExPointLabel, MIN_ELEMENT_SIZE, createDrawingObjectId, DEFAULT_TEXT_FONT_SIZE, EncryptedFileError, decodePptxJsonText, parsePptxJson, pptxDataFromJsonDocument, applyImportedPptxData, DEFAULT_CHART_GRADIENT_ANGLE, supportsChartGradientFill, assertChartModelLabelPosition, svgToCustomGeometryPaths, escAttr, ensureContentTypeOverride, 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, customGeometryPathsToSvg, base64Encode, 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, parseChartFormulaRange, expandRangeAddresses, parseChartDataPointPictureBlipRel, readDisplayNaAsBlank, extractCxSeriesColor, parseCxDataLabels, parseCxRegionMapOptions, parseCxAxes, parseSeriesDataLabels, parseChartDataPointPicture, parseImplicitBlipPictureFill, parseEmbeddedXlsx, CHART_STYLE_PARTS, CHART_COLOR_STYLE_NS, readChartStyle, resolveChartStyleDefinition, drawingColorXml, EMU_PER_POINT, chartTrendlineKind, parseChartManualLayout, parseDiagramRelationshipIds, parseSmartArtTextParagraphs, firstParagraphRuns, smartArtParagraphsText, decodeBase64, parseSmartArtPresLayoutVars, 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-7IEQDXTC.mjs';
|
|
2
2
|
import { openPptxZip, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, MAX_ZIP_ENTRY_COUNT, DEFAULT_MAX_UNCOMPRESSED_BYTES, guardZip, ZipBombError } from './chunk-U7YXYOA7.mjs';
|
|
3
3
|
import { resolveSmartArtLayoutCategory } from './chunk-2N7RZQLC.mjs';
|
|
4
4
|
import { cloneXmlObject, applySmartArtLayoutDefinition, cloneSlide, parseSmartArtLayoutDefinition } from './chunk-VDUNZTJC.mjs';
|
|
@@ -56981,6 +56981,7 @@ var TemplateElementBaselineTracker = class {
|
|
|
56981
56981
|
};
|
|
56982
56982
|
|
|
56983
56983
|
// pptx/core/core/runtime/PptxHandlerRuntimeState.ts
|
|
56984
|
+
var alternateContentBlocks = /* @__PURE__ */ new WeakMap();
|
|
56984
56985
|
var PptxHandlerRuntime = class {
|
|
56985
56986
|
/** The in-memory ZIP archive representing the OPC (.pptx) package. */
|
|
56986
56987
|
zip;
|
|
@@ -57256,19 +57257,8 @@ var PptxHandlerRuntime = class {
|
|
|
57256
57257
|
signatureDetection = null;
|
|
57257
57258
|
/** Custom XML data parts parsed from `customXml/` in the OPC package. */
|
|
57258
57259
|
customXmlParts = [];
|
|
57259
|
-
/**
|
|
57260
|
-
|
|
57261
|
-
* envelope that originally wrapped it (CC-4). Populated during slide
|
|
57262
|
-
* (and `p:grpSp`) parsing; consulted at save time to re-emit the
|
|
57263
|
-
* original `<mc:Choice>` / `<mc:Fallback>` shape so legacy renderers
|
|
57264
|
-
* keep their fallback content.
|
|
57265
|
-
*
|
|
57266
|
-
* Multiple sibling elements may share the same `AlternateContentBlock`
|
|
57267
|
-
* value (a single AC envelope often wraps several child shapes — e.g.
|
|
57268
|
-
* `p14:media` + its `p:pic` fallback nest one each). WeakMap so AC
|
|
57269
|
-
* envelopes are GC'd if the parsed XmlObject is dropped.
|
|
57270
|
-
*/
|
|
57271
|
-
alternateContentBlockByRawXml = /* @__PURE__ */ new WeakMap();
|
|
57260
|
+
/** The original compatibility envelope for a parsed `rawXml` node. */
|
|
57261
|
+
alternateContentBlockByRawXml = alternateContentBlocks;
|
|
57272
57262
|
/** Embedded fonts extracted during load, preserved for automatic re-embedding on save. */
|
|
57273
57263
|
loadedEmbeddedFonts = [];
|
|
57274
57264
|
/** Decode every embedded font variant during load (see `PptxHandlerLoadOptions`). */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEN3KSEW5_cjs = require('./chunk-EN3KSEW5.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 += chunkEN3KSEW5_cjs.xmlText(run?.["a:t"]) ?? "";
|
|
48
48
|
}
|
|
49
49
|
for (const field of fields) {
|
|
50
|
-
lineText +=
|
|
50
|
+
lineText += chunkEN3KSEW5_cjs.xmlText(field?.["a:t"]) ?? "";
|
|
51
51
|
}
|
|
52
52
|
lines.push(lineText);
|
|
53
53
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -23372,6 +23372,7 @@ __export(text_exports, {
|
|
|
23372
23372
|
fontWeightShorthand: () => fontWeightShorthand,
|
|
23373
23373
|
formatDatePicture: () => formatDatePicture,
|
|
23374
23374
|
formatLocaleNumber: () => formatLocaleNumber,
|
|
23375
|
+
getGoogleFontsVariants: () => getGoogleFontsVariants,
|
|
23375
23376
|
getLeaderCharacter: () => getLeaderCharacter,
|
|
23376
23377
|
getLeaderStyles: () => getLeaderStyles,
|
|
23377
23378
|
getPanoseWeight: () => getPanoseWeight,
|
|
@@ -24875,7 +24876,7 @@ function subsetTrueType(font, used) {
|
|
|
24875
24876
|
}
|
|
24876
24877
|
|
|
24877
24878
|
// text/webfonts/google-fonts-catalogue.ts
|
|
24878
|
-
var GOOGLE_FONTS_CATALOGUE_DATE = "2026-
|
|
24879
|
+
var GOOGLE_FONTS_CATALOGUE_DATE = "2026-11-12";
|
|
24879
24880
|
var GOOGLE_FONTS_FAMILIES = [
|
|
24880
24881
|
"ABeeZee",
|
|
24881
24882
|
"Abel",
|
|
@@ -24893,6 +24894,7 @@ var GOOGLE_FONTS_FAMILIES = [
|
|
|
24893
24894
|
"Afacad Flux",
|
|
24894
24895
|
"Agbalumo",
|
|
24895
24896
|
"Agdasima",
|
|
24897
|
+
"Agrave Pro",
|
|
24896
24898
|
"Agu Display",
|
|
24897
24899
|
"Aguafina Script",
|
|
24898
24900
|
"Akatab",
|
|
@@ -25225,6 +25227,7 @@ var GOOGLE_FONTS_FAMILIES = [
|
|
|
25225
25227
|
"Chonburi",
|
|
25226
25228
|
"Cinzel",
|
|
25227
25229
|
"Cinzel Decorative",
|
|
25230
|
+
"Clarity City",
|
|
25228
25231
|
"Clicker Script",
|
|
25229
25232
|
"Climate Crisis",
|
|
25230
25233
|
"Coda",
|
|
@@ -25395,6 +25398,7 @@ var GOOGLE_FONTS_FAMILIES = [
|
|
|
25395
25398
|
"Fira Sans",
|
|
25396
25399
|
"Fira Sans Condensed",
|
|
25397
25400
|
"Fira Sans Extra Condensed",
|
|
25401
|
+
"Firjar",
|
|
25398
25402
|
"Fjalla One",
|
|
25399
25403
|
"Fjord One",
|
|
25400
25404
|
"Flamenco",
|
|
@@ -25587,6 +25591,7 @@ var GOOGLE_FONTS_FAMILIES = [
|
|
|
25587
25591
|
"Iosevka Charon Mono",
|
|
25588
25592
|
"Irish Grover",
|
|
25589
25593
|
"Island Moments",
|
|
25594
|
+
"Isometra",
|
|
25590
25595
|
"Istok Web",
|
|
25591
25596
|
"Italiana",
|
|
25592
25597
|
"Italianno",
|
|
@@ -25681,6 +25686,7 @@ var GOOGLE_FONTS_FAMILIES = [
|
|
|
25681
25686
|
"Koulen",
|
|
25682
25687
|
"Kranky",
|
|
25683
25688
|
"Kreon",
|
|
25689
|
+
"Kripa",
|
|
25684
25690
|
"Kristi",
|
|
25685
25691
|
"Krona One",
|
|
25686
25692
|
"Krub",
|
|
@@ -25732,6 +25738,7 @@ var GOOGLE_FONTS_FAMILIES = [
|
|
|
25732
25738
|
"Libre Barcode EAN13 Text",
|
|
25733
25739
|
"Libre Baskerville",
|
|
25734
25740
|
"Libre Bodoni",
|
|
25741
|
+
"Libre Caslon Condensed",
|
|
25735
25742
|
"Libre Caslon Display",
|
|
25736
25743
|
"Libre Caslon Text",
|
|
25737
25744
|
"Libre Franklin",
|
|
@@ -26418,6 +26425,13 @@ var GOOGLE_FONTS_FAMILIES = [
|
|
|
26418
26425
|
"Red Rose",
|
|
26419
26426
|
"Redacted",
|
|
26420
26427
|
"Redacted Script",
|
|
26428
|
+
"Redaction",
|
|
26429
|
+
"Redaction 10",
|
|
26430
|
+
"Redaction 100",
|
|
26431
|
+
"Redaction 20",
|
|
26432
|
+
"Redaction 35",
|
|
26433
|
+
"Redaction 50",
|
|
26434
|
+
"Redaction 70",
|
|
26421
26435
|
"Reddit Mono",
|
|
26422
26436
|
"Reddit Sans",
|
|
26423
26437
|
"Reddit Sans Condensed",
|
|
@@ -26683,6 +26697,7 @@ var GOOGLE_FONTS_FAMILIES = [
|
|
|
26683
26697
|
"Timmana",
|
|
26684
26698
|
"Tinos",
|
|
26685
26699
|
"Tiny5",
|
|
26700
|
+
"Tiny5 Duo",
|
|
26686
26701
|
"Tiro Bangla",
|
|
26687
26702
|
"Tiro Devanagari Hindi",
|
|
26688
26703
|
"Tiro Devanagari Marathi",
|
|
@@ -26775,6 +26790,7 @@ var GOOGLE_FONTS_FAMILIES = [
|
|
|
26775
26790
|
"Work Sans",
|
|
26776
26791
|
"Workbench",
|
|
26777
26792
|
"Xanh Mono",
|
|
26793
|
+
"Xmind",
|
|
26778
26794
|
"Yaldevi",
|
|
26779
26795
|
"Yanone Kaffeesatz",
|
|
26780
26796
|
"Yantramanav",
|
|
@@ -26824,6 +26840,7 @@ var GOOGLE_FONTS_FAMILIES = [
|
|
|
26824
26840
|
"Zilla Slab",
|
|
26825
26841
|
"Zilla Slab Highlight"
|
|
26826
26842
|
];
|
|
26843
|
+
var GOOGLE_FONTS_VARIANT_MASKS = "03600008006w000800080008000800080008000800085m9r1bi000e700080020003j0008000800e0000800080008003g00e7000800e4000800085m9r000800205ji058t958t956u05m9r000800e7000800080008000800080008003c002000080008000800080008005o0si0000800085m9r0360036003605m9r00e400080si01e9r00200008002w0si000080020006w5m9r5l302q600si000730073007300730073007300730073007300730008002000080si0000800080008000800080008003j003j5m9r0008003c03600008000800085m9r00081bi0000800200020003j1bi0000800080si00si000080si000205m9r5lvi5m9r0008000800080072007000200020003i0si02sji2sji003g00080008000800080008000800080u300u300u305m9r0si00si000080008000800080008000800081dvi00080008006w006w006w006w006w006w006w006w006w006w0si0000800085m9r5m9r5m9r0008000800081bi0003c0099000800080008000800085m9r0008000800e6002w0008000800080u300u3000240008000800085ji0000800080008000800080360000800e700e700e700080008000800080072005q0008000o00dq00e700e700e700e700e700e700e700e700e700e700e700e75m9r0020002000200020003c00080008000800080008000800dr5ji05ji000080008037s037s0008000800080008000800080008000800080008002000080072000800081bi0000800080004003c000800080008000800080008000800080008000800081bi0003c002000080008000800e600e600080si0000800080si0000800080si0000800080008000800080008037s0si000080008000800081dvi1dvi1bi0000800e70si000e7003c0008000800081d300072036000080si000200020005p0360000800080008000800080008002000080008000800e65lvi5lvi5m9r5m9r00080008000800e000945m9r00080008003s000c00080008003g000800080u300020000800e700e700080008002000080008000800080008002000201d301d301d30003g003g003g0020002000080si00si0007c00080008000803605lvi1560000800081bi00008000800081d300008003c0008000800e4000800e7002g00080008000800080008000800080020000800080008000800080008000800080b305m9r0360036000080008003c00080024000800080072000800e7000800080008003c0008000800082q600si0006w003c003c003c003c003c003c003c003c003c003c003c003c003c003c003c003c003c00085m9r007c007c0008000800e700e700e700e700e700e700080008003c00085m9r5l305l300008000800e700080008000800085m9r5m9r1bi0000800081dvi1bi00360002k0008000800080008000800082rr0000800080008000800085l3000085m9r5m9r003g002g5m9r5m9r5m9r007300080008000c0008000800080008000800e70360000800080360000800e45m9r00080008003g000800080008000803600008000800702rr000720020000800e0000800240008000800080008000800085m9r000800215m9r5m9r00081bi000725m9r0si00si0036000e75l3000725m9r00080008000800080si000080008000800080008000800080020000800082sxr00e700080008002000e01bi02rr000e7002000e700080008002000080008000800085m9r00080008000800085m9r00e7000800080008037s00080008002g0008000800200008000800e7003g00080008000800e700085m9r00e70008003c00080008000800e7000800e70008000800080008003g003g003g003g003g003g00080008000800082rr000085lvi0008000800081bi01e9r1e9r003j1e9r003j003j003j003j003j003j1e9r00080008000e036000080360000803600008036000080360000800e7000800081d3000e6000800080008002000e40u300u3000081bi003601d305m9r5m9r10f010f00008000800080si0000800080008000800080008000800080008000800080008000800200008000800080008000800080008000800082sxr0008000800080008000800081e9r1e9r5m9r00080008037s000800080008003g000800082sxr00080020002g002g002g00600024003j003j003c003c5m9r1e9r000c00242sji00200020003g0008000800080008003c0008000800e000080008003g0008006k000800080008000s001400081dvi003c00991dvi0008000800080008000800080008003g00e7000800081dvi5ji017ji0008000800e7000800085m9r0008003g000800080008000800723nt900080008000800e700080008037s0008003g00e700e700e700e700e700e700e700e7000800080008037s1560000800080008000800080008000800081bi01bi01bi00008037s5m9r0008005k1e9r0008000800080360005l00e75lvi00085lvi000847lr00080si0000800080008007h00081bi000080008000800080008000800080020002000080008000800080024002400e7003j00d900e7003j00d900e700080008000800e6000800200008003i000800081dvi0008000800080021007200082rr000080008000800080008003g003c0008000800dq00dq00730si000e403600008000800e000080008000800080008000800080008003j000800e45l302rr000080008000800080008000800080008000800080020000800081bi0003c003c0008003i0008000800080008007000081d3000080008035s0008000800725lvi003c000800080008000800080008003j0008000800085m9r5m9r5m9r0008000800080008000800200008003i003i00080008000800080008000800720072007200725lvi00e75m9r0008000800080008006w0008005k0020005k0008006w00e7007200080008000803bi00080008000800202sji00081dvi00080yu000e700080008000800080si00008003g00e70008003c003c00e75m9r003c003c000800e700e70008003c003c003c000800e7000800080008000800e700080008000800e700e700080008000800080008000800e75m9r002000080008000800e700e700080008000800e7003c00e7003c0008000800e700e70008000800080008003c00e7000800e7003c003c000800e70008000800e700e700e70008000800080008003c00080008000800e7000800080008000800080008003c00e70008000800080008000800e70008000800e70008003c0008003c00080008003c00080008003c0008000800080008000800080008000800e700080008000800080008000800080008000800080008000800e7000800080008000800e70008003c0008003c0008000800e7000800e700e700e7000800080008003c0008000800e70008003c00e700e700e700e700e70008000800080008003c00080008000800085m9r000800e7000800e700e75m9r0008000800e700e7000800e700e700e700e600e600e600e7000800e7003c00e600e7000800e700e7003c0008003c000800e600e75m9r000800e600e700e700e70008003c003c003c003g000800080008000800080008000800080008000800085lvi5lvi000800080008000800080072037s000800080020002000e700082rr00008000800e00360000800080008003i00e700083lu000085m9r003g0008007200240008000800200008003j003c000800080008003c000800700008009400085m9r0008000800080008000800080008000800080008000800085m9r00200si000e45m9r000800080008003c00082rr0002000085l305ji03lu000730073007300730073000f000805xr0360000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f000f00080008000f0008000f000805xr036005xr0360000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f000f00080008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f0008000f00085m9r2sji0008006w0008000800081bi00360000800080008003g00085m9r00080008000800200008000800080008003i000800085m9r000800080008000800082q6000080si0002000200si003605m9r00080si00008000800080si000200si00008003g00080008002000081d301bi00360003g00085m9r0008000800080si00008000800080008000800201d3000080008003i00e45l301d301d30003g00080024037s037s037s037s037s037s037s00e65lvi00e60008003c003c0008000800085m9r2q6000080008000800080008000800085m9r5m9r00e71e9r5m9r00e700080008000800085m9r000803601d3003600008002400085l3000080008000800080008000800080008000800080008000800080008000800080008000800080008000800080008000800080008000800e00020000800080008000800080008003c00080008002000085m9r00e700e700e75m9r00080360000800080u3050i000e42sxr0020000800e0000800085lvi000800080si0003c5ji0000800e700082sji0008000803600008000800080008006w00080008000800080008000800082rr000080si00008000800080008006w006w0008000800080008000800080008003g003g00202wi00008002000080008000800080008002000080008000800080008000800e700085lvi003s00080008000800085m9r5m9r5m9r5m9r000800641bi0000800720008007303605m9r5lvi5lvi5lvi003g0si00008003c000800082sji2sji0008000800080008003g1d30000800080008000800200008003i003i003i000800080020000800720008000800081bi0000c0008000800e0000800080008000800240020002c000800080020000800085m9r2sxr009900080020006w0008000800080008002000da002000080008006w006w00085m9r2q60003g00e000080008000800085m9r0si000080020009400e4006w00080008000800080si05m9r5m9r0360036003600360036003600360036000e0000817qm5m9r5m9r0008000800085m9r00730008037s00e70008003g0si000080066000810f000080si02sxr1bi00008000800e6000800080008001s0008002000080si0000800085m9r5m9r000800080008003g000800e71d30009k0008000800081e9r00080008000800080si05ji000a000080008000800080008000800080008000800e7000800080008000800080008000o5l305l3000085ji0006w2q605m9r000803605m9r003i003i009p000800080008000800080008000800080008000800081d305m9r5m9r5m9r00e700080008000800080008000800080008053i5lvi5lvi5lvi000800080008000800080008009o009o00080360009o00ag0008000800081d300020";
|
|
26827
26844
|
|
|
26828
26845
|
// text/webfonts/google-fonts-lookup.ts
|
|
26829
26846
|
var catalogueIndex;
|
|
@@ -26837,6 +26854,37 @@ function normaliseFamily(family) {
|
|
|
26837
26854
|
return family.trim().replace(/\s+/gu, " ").toLowerCase();
|
|
26838
26855
|
}
|
|
26839
26856
|
|
|
26857
|
+
// text/webfonts/google-fonts-variants.ts
|
|
26858
|
+
var EMPTY_VARIANTS = Object.freeze([]);
|
|
26859
|
+
var variantsByMask = /* @__PURE__ */ new Map();
|
|
26860
|
+
var familyMasks;
|
|
26861
|
+
function getGoogleFontsVariants(family) {
|
|
26862
|
+
const canonical = findGoogleFontsFamily(family);
|
|
26863
|
+
if (!canonical) return EMPTY_VARIANTS;
|
|
26864
|
+
if (!familyMasks) {
|
|
26865
|
+
familyMasks = new Map(
|
|
26866
|
+
GOOGLE_FONTS_FAMILIES.map((name2, index) => [
|
|
26867
|
+
name2,
|
|
26868
|
+
parseInt(GOOGLE_FONTS_VARIANT_MASKS.slice(index * 4, index * 4 + 4), 36)
|
|
26869
|
+
])
|
|
26870
|
+
);
|
|
26871
|
+
}
|
|
26872
|
+
const mask = familyMasks.get(canonical) ?? 0;
|
|
26873
|
+
const cached = variantsByMask.get(mask);
|
|
26874
|
+
if (cached) return cached;
|
|
26875
|
+
const variants = [];
|
|
26876
|
+
for (const italic of [false, true]) {
|
|
26877
|
+
for (let weight = 100; weight <= 900; weight += 100) {
|
|
26878
|
+
if (mask & 1 << weight / 100 - 1 + (italic ? 9 : 0)) {
|
|
26879
|
+
variants.push(Object.freeze({ weight, italic }));
|
|
26880
|
+
}
|
|
26881
|
+
}
|
|
26882
|
+
}
|
|
26883
|
+
const result = Object.freeze(variants);
|
|
26884
|
+
variantsByMask.set(mask, result);
|
|
26885
|
+
return result;
|
|
26886
|
+
}
|
|
26887
|
+
|
|
26840
26888
|
// text/webfonts/metric-clones.ts
|
|
26841
26889
|
var METRIC_COMPATIBLE_CLONES = {
|
|
26842
26890
|
Calibri: "Carlito",
|