ooxml-core 1.16.1 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PptxHandler-ZF4G56V3.mjs → PptxHandler-K7GMS2ST.mjs} +2 -2
- package/dist/PptxHandler-L3JPWOBN.mjs +4 -0
- package/dist/{PptxHandler-MK665E6Z.cjs → PptxHandler-U6EFO73T.cjs} +3 -3
- package/dist/{PresentationBuilder-JGYSF25G.cjs → PresentationBuilder-LUR6LGHU.cjs} +5 -5
- package/dist/{PresentationBuilder-J7HAJGMB.mjs → PresentationBuilder-OK526SZ4.mjs} +2 -2
- package/dist/{PresentationBuilder-HPHJTMIB.mjs → PresentationBuilder-XC3F3OPY.mjs} +2 -2
- package/dist/automation/index.cjs +13 -7
- package/dist/automation/index.mjs +13 -7
- package/dist/chart/index.cjs +1 -1
- package/dist/chart/index.mjs +1 -1
- package/dist/{chunk-MVS2PT2Q.mjs → chunk-A7S2NYAU.mjs} +1 -1
- package/dist/{chunk-5ROLXCIY.mjs → chunk-HLZIALC5.mjs} +2 -2
- package/dist/{chunk-IBFHMYJD.mjs → chunk-IM5LFEA2.mjs} +1 -1
- package/dist/{chunk-YQ7HJOEZ.mjs → chunk-KU3SMBFU.mjs} +1 -1
- package/dist/{chunk-K7Z2EDI5.cjs → chunk-NYTR4UZ5.cjs} +1 -1
- package/dist/{chunk-HMZFUT65.mjs → chunk-UFGJNXRG.mjs} +1 -1
- package/dist/{chunk-THEWZNWS.cjs → chunk-UWWS6VVJ.cjs} +1007 -1007
- package/dist/{chunk-TWXBU7RE.mjs → chunk-XTSHZGSM.mjs} +1 -1
- package/dist/{chunk-ZBCNC5RI.mjs → chunk-YS43OMM3.mjs} +4 -4
- package/dist/crypto/index.cjs +1 -1
- package/dist/crypto/index.mjs +1 -1
- package/dist/diagram/index.cjs +1 -1
- package/dist/diagram/index.mjs +1 -1
- package/dist/docx/embedded.cjs +1 -1
- package/dist/docx/embedded.mjs +1 -1
- package/dist/docx/index.cjs +1 -1
- package/dist/docx/index.mjs +1 -1
- package/dist/docx/layout/index.cjs +1 -1
- package/dist/docx/layout/index.mjs +1 -1
- package/dist/docx/load/index.cjs +1 -1
- package/dist/docx/load/index.mjs +1 -1
- package/dist/docx/ui/index.cjs +1 -1
- package/dist/docx/ui/index.mjs +1 -1
- package/dist/drawingml/index.cjs +1 -1
- package/dist/drawingml/index.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/math/index.cjs +1 -1
- package/dist/math/index.mjs +1 -1
- package/dist/opc/index.cjs +1 -1
- package/dist/opc/index.mjs +1 -1
- package/dist/pptx/automation/index.cjs +1 -1
- package/dist/pptx/automation/index.mjs +5 -5
- package/dist/pptx/cli/index.cjs +1 -1
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.mjs +2 -2
- package/dist/pptx/editor/render/find-replace.cjs +14 -14
- package/dist/pptx/editor/render/find-replace.mjs +1 -1
- package/dist/pptx/editor/render/slide-operations.cjs +8 -8
- package/dist/pptx/editor/render/slide-operations.mjs +2 -2
- package/dist/pptx/index.cjs +1 -1
- package/dist/pptx/index.mjs +5 -5
- package/dist/teams/index.cjs +10 -4
- package/dist/teams/index.mjs +10 -4
- package/dist/visio/index.cjs +1 -1
- package/dist/visio/index.mjs +1 -1
- package/dist/visio/ui/document-history.d.ts +6 -1
- package/dist/visio/ui/document-history.d.ts.map +1 -1
- package/dist/visio/ui/index.cjs +27 -3
- package/dist/visio/ui/index.mjs +27 -4
- package/dist/xlsx/edit/context.d.ts.map +1 -1
- package/dist/xlsx/index.cjs +13 -7
- package/dist/xlsx/index.mjs +13 -7
- package/dist/xlsx/load/index.cjs +10 -4
- package/dist/xlsx/load/index.mjs +10 -4
- package/dist/xlsx/ui/dialogs/grid-chart.d.ts +25 -0
- package/dist/xlsx/ui/dialogs/grid-chart.d.ts.map +1 -0
- package/dist/xlsx/ui/index.cjs +4689 -1056
- package/dist/xlsx/ui/index.d.ts +1 -0
- package/dist/xlsx/ui/index.d.ts.map +1 -1
- package/dist/xlsx/ui/index.mjs +4682 -1056
- package/dist/xml/index.cjs +1 -1
- package/dist/xml/index.mjs +1 -1
- package/dist/xml/xml.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/PptxHandler-7RNEJ2IO.mjs +0 -4
|
@@ -29118,7 +29118,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
29118
29118
|
maxDepth: 512,
|
|
29119
29119
|
maxNodes: 5e6
|
|
29120
29120
|
};
|
|
29121
|
-
var TAG_RE = /<(\/?)([^\s
|
|
29121
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
29122
29122
|
var MARKUP_SKIPS = [
|
|
29123
29123
|
["<!--", "-->"],
|
|
29124
29124
|
["<![CDATA[", "]]>"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { findText, replaceText, replaceTextInSlide, mergePresentation } from './chunk-
|
|
2
|
-
import { PresentationBuilder, PptxHandler, SlideBuilder, validateSeriesIndex, removeEmptyDataPoint, ensureDataPoint, ensureChartData, assertChartGradientSupported, toChartGradientFill, isLineDrawnChartType, chartFormatTargetKey, applyChartGroupOptionsInput, STANDARD_LAYOUTS, createTextElement, createShapeElement, createImageElement, createTableElement, createChartElement, createConnectorElement, createMediaElement, createGroupElement, relationshipsPartFor, parseRelationships, resolvePartPath, clonePartGraph, buildRelationshipsXml, buildBlankPresentationArchive, nextRelationshipId, relativePartTarget, PptxXmlBuilder } from './chunk-
|
|
3
|
-
import { escAttr, EMU_PER_PIXEL, EMU_PER_INCH, parseXml, first, elements, buildXml, bytesToBase64, base64ToBytes, hasTextProperties } from './chunk-
|
|
1
|
+
import { findText, replaceText, replaceTextInSlide, mergePresentation } from './chunk-UFGJNXRG.mjs';
|
|
2
|
+
import { PresentationBuilder, PptxHandler, SlideBuilder, validateSeriesIndex, removeEmptyDataPoint, ensureDataPoint, ensureChartData, assertChartGradientSupported, toChartGradientFill, isLineDrawnChartType, chartFormatTargetKey, applyChartGroupOptionsInput, STANDARD_LAYOUTS, createTextElement, createShapeElement, createImageElement, createTableElement, createChartElement, createConnectorElement, createMediaElement, createGroupElement, relationshipsPartFor, parseRelationships, resolvePartPath, clonePartGraph, buildRelationshipsXml, buildBlankPresentationArchive, nextRelationshipId, relativePartTarget, PptxXmlBuilder } from './chunk-IM5LFEA2.mjs';
|
|
3
|
+
import { escAttr, EMU_PER_PIXEL, EMU_PER_INCH, parseXml, first, elements, buildXml, bytesToBase64, base64ToBytes, hasTextProperties } from './chunk-HLZIALC5.mjs';
|
|
4
4
|
import { openPptxZip } from './chunk-M4XLF4R7.mjs';
|
|
5
5
|
import { cloneSlide, cloneElement } from './chunk-54S5A5PZ.mjs';
|
|
6
6
|
|
|
@@ -14957,7 +14957,7 @@ async function setPresentationRunText(bytes, slideIndex, elementId, runIndex, te
|
|
|
14957
14957
|
async function createPresentationFromOutline(slides, options = {}) {
|
|
14958
14958
|
if (!(slides instanceof Array) || !slides.length || slides.length > 200)
|
|
14959
14959
|
throw new Error("A presentation outline has 1 to 200 slides");
|
|
14960
|
-
const { PresentationBuilder: PresentationBuilder2 } = await import('./PresentationBuilder-
|
|
14960
|
+
const { PresentationBuilder: PresentationBuilder2 } = await import('./PresentationBuilder-OK526SZ4.mjs');
|
|
14961
14961
|
const { handler, data, createSlide } = await PresentationBuilder2.create({
|
|
14962
14962
|
...options.title ? { title: options.title } : {}
|
|
14963
14963
|
});
|
package/dist/crypto/index.cjs
CHANGED
|
@@ -3210,7 +3210,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
3210
3210
|
maxDepth: 512,
|
|
3211
3211
|
maxNodes: 5e6
|
|
3212
3212
|
};
|
|
3213
|
-
var TAG_RE = /<(\/?)([^\s
|
|
3213
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
3214
3214
|
var MARKUP_SKIPS = [
|
|
3215
3215
|
["<!--", "-->"],
|
|
3216
3216
|
["<![CDATA[", "]]>"],
|
package/dist/crypto/index.mjs
CHANGED
|
@@ -3208,7 +3208,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
3208
3208
|
maxDepth: 512,
|
|
3209
3209
|
maxNodes: 5e6
|
|
3210
3210
|
};
|
|
3211
|
-
var TAG_RE = /<(\/?)([^\s
|
|
3211
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
3212
3212
|
var MARKUP_SKIPS = [
|
|
3213
3213
|
["<!--", "-->"],
|
|
3214
3214
|
["<![CDATA[", "]]>"],
|
package/dist/diagram/index.cjs
CHANGED
|
@@ -22539,7 +22539,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
22539
22539
|
maxDepth: 512,
|
|
22540
22540
|
maxNodes: 5e6
|
|
22541
22541
|
};
|
|
22542
|
-
var TAG_RE = /<(\/?)([^\s
|
|
22542
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
22543
22543
|
var MARKUP_SKIPS = [
|
|
22544
22544
|
["<!--", "-->"],
|
|
22545
22545
|
["<![CDATA[", "]]>"],
|
package/dist/diagram/index.mjs
CHANGED
|
@@ -22537,7 +22537,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
22537
22537
|
maxDepth: 512,
|
|
22538
22538
|
maxNodes: 5e6
|
|
22539
22539
|
};
|
|
22540
|
-
var TAG_RE = /<(\/?)([^\s
|
|
22540
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
22541
22541
|
var MARKUP_SKIPS = [
|
|
22542
22542
|
["<!--", "-->"],
|
|
22543
22543
|
["<![CDATA[", "]]>"],
|
package/dist/docx/embedded.cjs
CHANGED
|
@@ -35,7 +35,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
35
35
|
maxDepth: 512,
|
|
36
36
|
maxNodes: 5e6
|
|
37
37
|
};
|
|
38
|
-
var TAG_RE = /<(\/?)([^\s
|
|
38
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
39
39
|
var MARKUP_SKIPS = [
|
|
40
40
|
["<!--", "-->"],
|
|
41
41
|
["<![CDATA[", "]]>"],
|
package/dist/docx/embedded.mjs
CHANGED
|
@@ -29,7 +29,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
29
29
|
maxDepth: 512,
|
|
30
30
|
maxNodes: 5e6
|
|
31
31
|
};
|
|
32
|
-
var TAG_RE = /<(\/?)([^\s
|
|
32
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
33
33
|
var MARKUP_SKIPS = [
|
|
34
34
|
["<!--", "-->"],
|
|
35
35
|
["<![CDATA[", "]]>"],
|
package/dist/docx/index.cjs
CHANGED
|
@@ -35,7 +35,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
35
35
|
maxDepth: 512,
|
|
36
36
|
maxNodes: 5e6
|
|
37
37
|
};
|
|
38
|
-
var TAG_RE = /<(\/?)([^\s
|
|
38
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
39
39
|
var MARKUP_SKIPS = [
|
|
40
40
|
["<!--", "-->"],
|
|
41
41
|
["<![CDATA[", "]]>"],
|
package/dist/docx/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
29
29
|
maxDepth: 512,
|
|
30
30
|
maxNodes: 5e6
|
|
31
31
|
};
|
|
32
|
-
var TAG_RE = /<(\/?)([^\s
|
|
32
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
33
33
|
var MARKUP_SKIPS = [
|
|
34
34
|
["<!--", "-->"],
|
|
35
35
|
["<![CDATA[", "]]>"],
|
|
@@ -12,7 +12,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
12
12
|
maxDepth: 512,
|
|
13
13
|
maxNodes: 5e6
|
|
14
14
|
};
|
|
15
|
-
var TAG_RE = /<(\/?)([^\s
|
|
15
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
16
16
|
var MARKUP_SKIPS = [
|
|
17
17
|
["<!--", "-->"],
|
|
18
18
|
["<![CDATA[", "]]>"],
|
|
@@ -10,7 +10,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
10
10
|
maxDepth: 512,
|
|
11
11
|
maxNodes: 5e6
|
|
12
12
|
};
|
|
13
|
-
var TAG_RE = /<(\/?)([^\s
|
|
13
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
14
14
|
var MARKUP_SKIPS = [
|
|
15
15
|
["<!--", "-->"],
|
|
16
16
|
["<![CDATA[", "]]>"],
|
package/dist/docx/load/index.cjs
CHANGED
|
@@ -3207,7 +3207,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
3207
3207
|
maxDepth: 512,
|
|
3208
3208
|
maxNodes: 5e6
|
|
3209
3209
|
};
|
|
3210
|
-
var TAG_RE = /<(\/?)([^\s
|
|
3210
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
3211
3211
|
var MARKUP_SKIPS = [
|
|
3212
3212
|
["<!--", "-->"],
|
|
3213
3213
|
["<![CDATA[", "]]>"],
|
package/dist/docx/load/index.mjs
CHANGED
|
@@ -3201,7 +3201,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
3201
3201
|
maxDepth: 512,
|
|
3202
3202
|
maxNodes: 5e6
|
|
3203
3203
|
};
|
|
3204
|
-
var TAG_RE = /<(\/?)([^\s
|
|
3204
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
3205
3205
|
var MARKUP_SKIPS = [
|
|
3206
3206
|
["<!--", "-->"],
|
|
3207
3207
|
["<![CDATA[", "]]>"],
|
package/dist/docx/ui/index.cjs
CHANGED
|
@@ -788,7 +788,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
788
788
|
maxDepth: 512,
|
|
789
789
|
maxNodes: 5e6
|
|
790
790
|
};
|
|
791
|
-
var TAG_RE = /<(\/?)([^\s
|
|
791
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
792
792
|
var MARKUP_SKIPS = [
|
|
793
793
|
["<!--", "-->"],
|
|
794
794
|
["<![CDATA[", "]]>"],
|
package/dist/docx/ui/index.mjs
CHANGED
|
@@ -766,7 +766,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
766
766
|
maxDepth: 512,
|
|
767
767
|
maxNodes: 5e6
|
|
768
768
|
};
|
|
769
|
-
var TAG_RE = /<(\/?)([^\s
|
|
769
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
770
770
|
var MARKUP_SKIPS = [
|
|
771
771
|
["<!--", "-->"],
|
|
772
772
|
["<![CDATA[", "]]>"],
|
package/dist/drawingml/index.cjs
CHANGED
|
@@ -12,7 +12,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
12
12
|
maxDepth: 512,
|
|
13
13
|
maxNodes: 5e6
|
|
14
14
|
};
|
|
15
|
-
var TAG_RE = /<(\/?)([^\s
|
|
15
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
16
16
|
var MARKUP_SKIPS = [
|
|
17
17
|
["<!--", "-->"],
|
|
18
18
|
["<![CDATA[", "]]>"],
|
package/dist/drawingml/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
10
10
|
maxDepth: 512,
|
|
11
11
|
maxNodes: 5e6
|
|
12
12
|
};
|
|
13
|
-
var TAG_RE = /<(\/?)([^\s
|
|
13
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
14
14
|
var MARKUP_SKIPS = [
|
|
15
15
|
["<!--", "-->"],
|
|
16
16
|
["<![CDATA[", "]]>"],
|
package/dist/index.cjs
CHANGED
|
@@ -2226,7 +2226,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
2226
2226
|
maxDepth: 512,
|
|
2227
2227
|
maxNodes: 5e6
|
|
2228
2228
|
};
|
|
2229
|
-
var TAG_RE = /<(\/?)([^\s
|
|
2229
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
2230
2230
|
var MARKUP_SKIPS = [
|
|
2231
2231
|
["<!--", "-->"],
|
|
2232
2232
|
["<![CDATA[", "]]>"],
|
package/dist/index.mjs
CHANGED
|
@@ -2220,7 +2220,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
2220
2220
|
maxDepth: 512,
|
|
2221
2221
|
maxNodes: 5e6
|
|
2222
2222
|
};
|
|
2223
|
-
var TAG_RE = /<(\/?)([^\s
|
|
2223
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
2224
2224
|
var MARKUP_SKIPS = [
|
|
2225
2225
|
["<!--", "-->"],
|
|
2226
2226
|
["<![CDATA[", "]]>"],
|
package/dist/math/index.cjs
CHANGED
|
@@ -2122,7 +2122,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
2122
2122
|
maxDepth: 512,
|
|
2123
2123
|
maxNodes: 5e6
|
|
2124
2124
|
};
|
|
2125
|
-
var TAG_RE = /<(\/?)([^\s
|
|
2125
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
2126
2126
|
var MARKUP_SKIPS = [
|
|
2127
2127
|
["<!--", "-->"],
|
|
2128
2128
|
["<![CDATA[", "]]>"],
|
package/dist/math/index.mjs
CHANGED
|
@@ -2120,7 +2120,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
2120
2120
|
maxDepth: 512,
|
|
2121
2121
|
maxNodes: 5e6
|
|
2122
2122
|
};
|
|
2123
|
-
var TAG_RE = /<(\/?)([^\s
|
|
2123
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
2124
2124
|
var MARKUP_SKIPS = [
|
|
2125
2125
|
["<!--", "-->"],
|
|
2126
2126
|
["<![CDATA[", "]]>"],
|
package/dist/opc/index.cjs
CHANGED
|
@@ -138,7 +138,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
138
138
|
maxDepth: 512,
|
|
139
139
|
maxNodes: 5e6
|
|
140
140
|
};
|
|
141
|
-
var TAG_RE = /<(\/?)([^\s
|
|
141
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
142
142
|
var MARKUP_SKIPS = [
|
|
143
143
|
["<!--", "-->"],
|
|
144
144
|
["<![CDATA[", "]]>"],
|
package/dist/opc/index.mjs
CHANGED
|
@@ -132,7 +132,7 @@ var DEFAULT_XML_LIMITS = {
|
|
|
132
132
|
maxDepth: 512,
|
|
133
133
|
maxNodes: 5e6
|
|
134
134
|
};
|
|
135
|
-
var TAG_RE = /<(\/?)([^\s
|
|
135
|
+
var TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
136
136
|
var MARKUP_SKIPS = [
|
|
137
137
|
["<!--", "-->"],
|
|
138
138
|
["<![CDATA[", "]]>"],
|
|
@@ -39440,7 +39440,7 @@ var init_xml = __esm({
|
|
|
39440
39440
|
maxDepth: 512,
|
|
39441
39441
|
maxNodes: 5e6
|
|
39442
39442
|
};
|
|
39443
|
-
TAG_RE = /<(\/?)([^\s
|
|
39443
|
+
TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
39444
39444
|
MARKUP_SKIPS = [
|
|
39445
39445
|
["<!--", "-->"],
|
|
39446
39446
|
["<![CDATA[", "]]>"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { duplicateSlide, ThemePresets, getThemePreset, ChartBuilder, setChartDataPointStyle, setChartHelperLine, setChartColorMapOverride, listChartUserShapes, addChartUserShape, updateChartUserShape, removeChartUserShape, diffPresentations, findPlaceholders, applyTemplate, getSectionForSlide, moveSlidesToSection, reorderSections, removeSection, addSection, replaceWithCustomGeometry, replaceShapeGeometry, setElementLocked, findLayoutByName, findLayoutByType } from '../../chunk-
|
|
1
|
+
import { duplicateSlide, ThemePresets, getThemePreset, ChartBuilder, setChartDataPointStyle, setChartHelperLine, setChartColorMapOverride, listChartUserShapes, addChartUserShape, updateChartUserShape, removeChartUserShape, diffPresentations, findPlaceholders, applyTemplate, getSectionForSlide, moveSlidesToSection, reorderSections, removeSection, addSection, replaceWithCustomGeometry, replaceShapeGeometry, setElementLocked, findLayoutByName, findLayoutByType } from '../../chunk-YS43OMM3.mjs';
|
|
2
2
|
import '../../chunk-6Q7TP72Y.mjs';
|
|
3
|
-
import { mergePresentation } from '../../chunk-
|
|
4
|
-
import { PptxMarkdownConverter } from '../../chunk-
|
|
5
|
-
import { rebuildTableStructureInRawXml, TABLE_STYLE_PART_SEQUENCE, normalizeTableStyleGuid, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, setChartType, setChartTitle, setChartGrouping, setChartLegend, setChartDataLabels, setChartAxis, setChartCategories, addChartSeries, removeChartSeries, updateChartSeriesValues, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, setChartSeriesMarker, setChartSeriesTrendline, setChartSeriesErrorBars, PptxHandler } from '../../chunk-
|
|
6
|
-
import { hasTextProperties, resolveDisplayedChartTypeName, isTemplateElementId, makeStoreAwareId, reassignDescendantIds, groupElements, ungroupElements, decomposeSmartArt, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode, updateSmartArtNodeText, removeSmartArtNode, addSmartArtNode, SvgExporter, buildPptxJsonDocument, deserializePptxFromJson, applyImportedPptxData, validatePptx, repairPptx, resolveOleEditorKindFromPayload, getOleNestedDeckDetail, getOleDocumentParagraphs, getOleSheetGrid, applyOleSheetCellEdit, applyOleDocumentParagraphEdit, applyOleNestedDeckElementTextEdit, setOleObjectName, parseDataUrlToBytes, replaceOleFile, ELEMENT_FIELD_KIND, SLIDE_FIELD_KIND } from '../../chunk-
|
|
3
|
+
import { mergePresentation } from '../../chunk-UFGJNXRG.mjs';
|
|
4
|
+
import { PptxMarkdownConverter } from '../../chunk-A7S2NYAU.mjs';
|
|
5
|
+
import { rebuildTableStructureInRawXml, TABLE_STYLE_PART_SEQUENCE, normalizeTableStyleGuid, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, setChartType, setChartTitle, setChartGrouping, setChartLegend, setChartDataLabels, setChartAxis, setChartCategories, addChartSeries, removeChartSeries, updateChartSeriesValues, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, setChartSeriesMarker, setChartSeriesTrendline, setChartSeriesErrorBars, PptxHandler } from '../../chunk-IM5LFEA2.mjs';
|
|
6
|
+
import { hasTextProperties, resolveDisplayedChartTypeName, isTemplateElementId, makeStoreAwareId, reassignDescendantIds, groupElements, ungroupElements, decomposeSmartArt, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode, updateSmartArtNodeText, removeSmartArtNode, addSmartArtNode, SvgExporter, buildPptxJsonDocument, deserializePptxFromJson, applyImportedPptxData, validatePptx, repairPptx, resolveOleEditorKindFromPayload, getOleNestedDeckDetail, getOleDocumentParagraphs, getOleSheetGrid, applyOleSheetCellEdit, applyOleDocumentParagraphEdit, applyOleNestedDeckElementTextEdit, setOleObjectName, parseDataUrlToBytes, replaceOleFile, ELEMENT_FIELD_KIND, SLIDE_FIELD_KIND } from '../../chunk-HLZIALC5.mjs';
|
|
7
7
|
import '../../chunk-M4XLF4R7.mjs';
|
|
8
8
|
import '../../chunk-3GXV5MPC.mjs';
|
|
9
9
|
import { cloneElement } from '../../chunk-54S5A5PZ.mjs';
|
package/dist/pptx/cli/index.cjs
CHANGED
|
@@ -33321,7 +33321,7 @@ var init_xml = __esm({
|
|
|
33321
33321
|
maxDepth: 512,
|
|
33322
33322
|
maxNodes: 5e6
|
|
33323
33323
|
};
|
|
33324
|
-
TAG_RE = /<(\/?)([^\s
|
|
33324
|
+
TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
33325
33325
|
MARKUP_SKIPS = [
|
|
33326
33326
|
["<!--", "-->"],
|
|
33327
33327
|
["<![CDATA[", "]]>"],
|
package/dist/pptx/cli/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { replaceText, findText, mergePresentation } from '../../chunk-
|
|
3
|
-
import { PptxMarkdownConverter } from '../../chunk-
|
|
4
|
-
import { PptxHandler } from '../../chunk-
|
|
5
|
-
import { SvgExporter, isImageLikeElement, blobUrlToDataUrl } from '../../chunk-
|
|
2
|
+
import { replaceText, findText, mergePresentation } from '../../chunk-UFGJNXRG.mjs';
|
|
3
|
+
import { PptxMarkdownConverter } from '../../chunk-A7S2NYAU.mjs';
|
|
4
|
+
import { PptxHandler } from '../../chunk-IM5LFEA2.mjs';
|
|
5
|
+
import { SvgExporter, isImageLikeElement, blobUrlToDataUrl } from '../../chunk-HLZIALC5.mjs';
|
|
6
6
|
import '../../chunk-M4XLF4R7.mjs';
|
|
7
7
|
import '../../chunk-3GXV5MPC.mjs';
|
|
8
8
|
import '../../chunk-54S5A5PZ.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../chunk-6Q7TP72Y.mjs';
|
|
2
|
-
export { DocumentConverter, MediaContext, PptxMarkdownConverter, SlideMetadataRenderer, SlideProcessor, dataUrlToMediaBytes, deriveOutputPath, generateMediaFilename, getDirectory, normalizePath } from '../../chunk-
|
|
3
|
-
export { PPTX_JSON_FILE_EXTENSION, PPTX_JSON_FORMAT, PPTX_JSON_MIME_TYPE, PPTX_JSON_VERSION, PRESENTATION_FIELD_KEYS, PRESENTATION_FIELD_NAMES, PptxJsonConverter, PptxJsonFormatError, SvgExporter, applyImportedPptxData, base64ToBytes, buildPptxJsonDocument, bytesToBase64, decodeJsonValue, decodePptxJsonText, deserializePptxFromJson, encodeJsonValue, isPptxJsonText, parsePptxJson, parsePptxJsonDocument, pptxDataFromJsonDocument, serializePptxToJson } from '../../chunk-
|
|
2
|
+
export { DocumentConverter, MediaContext, PptxMarkdownConverter, SlideMetadataRenderer, SlideProcessor, dataUrlToMediaBytes, deriveOutputPath, generateMediaFilename, getDirectory, normalizePath } from '../../chunk-A7S2NYAU.mjs';
|
|
3
|
+
export { PPTX_JSON_FILE_EXTENSION, PPTX_JSON_FORMAT, PPTX_JSON_MIME_TYPE, PPTX_JSON_VERSION, PRESENTATION_FIELD_KEYS, PRESENTATION_FIELD_NAMES, PptxJsonConverter, PptxJsonFormatError, SvgExporter, applyImportedPptxData, base64ToBytes, buildPptxJsonDocument, bytesToBase64, decodeJsonValue, decodePptxJsonText, deserializePptxFromJson, encodeJsonValue, isPptxJsonText, parsePptxJson, parsePptxJsonDocument, pptxDataFromJsonDocument, serializePptxToJson } from '../../chunk-HLZIALC5.mjs';
|
|
4
4
|
import '../../chunk-M4XLF4R7.mjs';
|
|
5
5
|
import '../../chunk-54S5A5PZ.mjs';
|
|
6
6
|
import '../../chunk-KII4AAYH.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNYTR4UZ5_cjs = require('../../../chunk-NYTR4UZ5.cjs');
|
|
4
4
|
var chunkXZPZHXV4_cjs = require('../../../chunk-XZPZHXV4.cjs');
|
|
5
5
|
require('../../../chunk-5W2QL4SB.cjs');
|
|
6
6
|
var chunkAWIDASUW_cjs = require('../../../chunk-AWIDASUW.cjs');
|
|
@@ -145,10 +145,10 @@ function* findSlideTextTargets(slide, includeNotes = false, includeChartTitles =
|
|
|
145
145
|
function patchTableXml(element, rowIndex, colIndex, original, runs) {
|
|
146
146
|
if (!element.rawXml) return void 0;
|
|
147
147
|
const rawXml = structuredClone(element.rawXml);
|
|
148
|
-
const table =
|
|
149
|
-
const row =
|
|
150
|
-
const cell =
|
|
151
|
-
const paragraphs =
|
|
148
|
+
const table = chunkNYTR4UZ5_cjs.getTblFromRawXml(rawXml);
|
|
149
|
+
const row = chunkNYTR4UZ5_cjs.ensureArray(table?.["a:tr"])[rowIndex];
|
|
150
|
+
const cell = chunkNYTR4UZ5_cjs.ensureArray(row?.["a:tc"])[colIndex];
|
|
151
|
+
const paragraphs = chunkNYTR4UZ5_cjs.ensureArray(
|
|
152
152
|
cell?.["a:txBody"]?.["a:p"]
|
|
153
153
|
);
|
|
154
154
|
let paragraphIndex = 0, runIndex = 0, fieldIndex = 0;
|
|
@@ -163,7 +163,7 @@ function patchTableXml(element, rowIndex, colIndex, original, runs) {
|
|
|
163
163
|
if (previous.isLineBreak) continue;
|
|
164
164
|
const paragraph = paragraphs[paragraphIndex];
|
|
165
165
|
const key = previous.isField ? "a:fld" : "a:r";
|
|
166
|
-
const xmlRun =
|
|
166
|
+
const xmlRun = chunkNYTR4UZ5_cjs.ensureArray(paragraph?.[key])[previous.isField ? fieldIndex++ : runIndex++];
|
|
167
167
|
if (!xmlRun) return void 0;
|
|
168
168
|
if (previous.text !== runs[index].text) xmlRun["a:t"] = runs[index].text;
|
|
169
169
|
}
|
|
@@ -173,7 +173,7 @@ function updateNode(nodes, nodeId, text) {
|
|
|
173
173
|
return nodes.map((node) => {
|
|
174
174
|
if (node.id === nodeId) {
|
|
175
175
|
const originalParagraphs = node.paragraphs ?? (node.runs?.length ? [{ items: node.runs.map((run) => ({ kind: "run", run })) }] : void 0);
|
|
176
|
-
const paragraphs = originalParagraphs ?
|
|
176
|
+
const paragraphs = originalParagraphs ? chunkNYTR4UZ5_cjs.reconcileSmartArtTextParagraphs(originalParagraphs, text) : void 0;
|
|
177
177
|
return { ...node, text, ...paragraphs ? { paragraphs } : {} };
|
|
178
178
|
}
|
|
179
179
|
if (!node.children) return node;
|
|
@@ -252,14 +252,14 @@ function replaceLeaf(element, match, replacement) {
|
|
|
252
252
|
);
|
|
253
253
|
if (!runs) return element;
|
|
254
254
|
let text = runs.map((run) => run.isParagraphBreak ? "\n" : run.isLineBreak ? "" : run.text).join("");
|
|
255
|
-
let rawXml = cell.textRuns?.length ? patchTableXml(element, rowIndex, colIndex, original2, runs) :
|
|
255
|
+
let rawXml = cell.textRuns?.length ? patchTableXml(element, rowIndex, colIndex, original2, runs) : chunkNYTR4UZ5_cjs.updateCellTextInRawXml(element, rowIndex, colIndex, text);
|
|
256
256
|
if (rawXml) {
|
|
257
|
-
const table =
|
|
258
|
-
const xmlRow =
|
|
259
|
-
const xmlCell =
|
|
260
|
-
text =
|
|
257
|
+
const table = chunkNYTR4UZ5_cjs.getTblFromRawXml(rawXml);
|
|
258
|
+
const xmlRow = chunkNYTR4UZ5_cjs.ensureArray(table?.["a:tr"])[rowIndex];
|
|
259
|
+
const xmlCell = chunkNYTR4UZ5_cjs.ensureArray(xmlRow?.["a:tc"])[colIndex];
|
|
260
|
+
text = chunkNYTR4UZ5_cjs.flattenCellTxBodyText(
|
|
261
261
|
xmlCell?.["a:txBody"],
|
|
262
|
-
(value) =>
|
|
262
|
+
(value) => chunkNYTR4UZ5_cjs.ensureArray(value)
|
|
263
263
|
);
|
|
264
264
|
}
|
|
265
265
|
const rows = [...element.tableData.rows], cells = [...row.cells];
|
|
@@ -273,7 +273,7 @@ function replaceLeaf(element, match, replacement) {
|
|
|
273
273
|
if (!node || match.startOffset < 0 || match.startOffset + match.length > node.text.length)
|
|
274
274
|
return element;
|
|
275
275
|
const text = node.text.slice(0, match.startOffset) + replacement + node.text.slice(match.startOffset + match.length);
|
|
276
|
-
const next =
|
|
276
|
+
const next = chunkNYTR4UZ5_cjs.updateSmartArtNodeText({ ...data, nodes }, node.id, text);
|
|
277
277
|
const drawingShapes = next.drawingShapes?.map((shape, index) => {
|
|
278
278
|
if (shape === data.drawingShapes?.[index] || !shape.textSegments) return shape;
|
|
279
279
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { updateCellTextInRawXml, getTblFromRawXml, ensureArray, flattenCellTxBodyText, updateSmartArtNodeText, reconcileSmartArtTextParagraphs } from '../../../chunk-
|
|
1
|
+
import { updateCellTextInRawXml, getTblFromRawXml, ensureArray, flattenCellTxBodyText, updateSmartArtNodeText, reconcileSmartArtTextParagraphs } from '../../../chunk-XTSHZGSM.mjs';
|
|
2
2
|
import { hasTextProperties } from '../../../chunk-GXHKNSZX.mjs';
|
|
3
3
|
import '../../../chunk-CA7KCNL3.mjs';
|
|
4
4
|
import { remapTextToSegments } from '../../../chunk-CBNKBVX5.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../../../chunk-
|
|
4
|
-
var
|
|
3
|
+
require('../../../chunk-UWWS6VVJ.cjs');
|
|
4
|
+
var chunkNYTR4UZ5_cjs = require('../../../chunk-NYTR4UZ5.cjs');
|
|
5
5
|
require('../../../chunk-XZPZHXV4.cjs');
|
|
6
6
|
require('../../../chunk-5W2QL4SB.cjs');
|
|
7
7
|
|
|
@@ -20,7 +20,7 @@ function reassignElementId(element) {
|
|
|
20
20
|
return newElement;
|
|
21
21
|
}
|
|
22
22
|
function duplicateSlide(slide, newSlideNumber) {
|
|
23
|
-
const cloned =
|
|
23
|
+
const cloned = chunkNYTR4UZ5_cjs.cloneSlide(slide);
|
|
24
24
|
cloned.sourceSlideId = slide.id.startsWith("ppt/slides/") ? slide.id : slide.sourceSlideId ?? slide.id;
|
|
25
25
|
cloned.id = `slide${newSlideNumber}`;
|
|
26
26
|
cloned.rId = `rId${newSlideNumber + 1}`;
|
|
@@ -50,7 +50,7 @@ function duplicateSlide(slide, newSlideNumber) {
|
|
|
50
50
|
function captureSlideClipboard(slides, ids) {
|
|
51
51
|
return ids.flatMap((id) => {
|
|
52
52
|
const slide = slides.find((candidate) => candidate.id === id);
|
|
53
|
-
return slide ? [
|
|
53
|
+
return slide ? [chunkNYTR4UZ5_cjs.cloneSlide(slide)] : [];
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
function createSlidePaste(clipboard, insertAt, templates = {}) {
|
|
@@ -61,14 +61,14 @@ function createSlidePaste(clipboard, insertAt, templates = {}) {
|
|
|
61
61
|
})),
|
|
62
62
|
sourceIds: clipboard.map((slide) => slide.id),
|
|
63
63
|
insertAt,
|
|
64
|
-
templateElements: clipboard.map((slide) => (templates[slide.id] ?? []).map(
|
|
64
|
+
templateElements: clipboard.map((slide) => (templates[slide.id] ?? []).map(chunkNYTR4UZ5_cjs.cloneElement))
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
function insertSlidePaste(slides, request) {
|
|
68
68
|
const index = Math.max(0, Math.min(slides.length, request.insertAt));
|
|
69
69
|
const next = [
|
|
70
70
|
...slides.slice(0, index),
|
|
71
|
-
...request.copies.map(
|
|
71
|
+
...request.copies.map(chunkNYTR4UZ5_cjs.cloneSlide),
|
|
72
72
|
...slides.slice(index)
|
|
73
73
|
];
|
|
74
74
|
return next.map(
|
|
@@ -78,12 +78,12 @@ function insertSlidePaste(slides, request) {
|
|
|
78
78
|
function applySlidePasteTemplates(mapping, request) {
|
|
79
79
|
const next = { ...mapping };
|
|
80
80
|
request.copies.forEach((copy, index) => {
|
|
81
|
-
next[copy.id] = (request.templateElements[index] ?? []).map(
|
|
81
|
+
next[copy.id] = (request.templateElements[index] ?? []).map(chunkNYTR4UZ5_cjs.cloneElement);
|
|
82
82
|
});
|
|
83
83
|
return next;
|
|
84
84
|
}
|
|
85
85
|
function captureSlideClipboardTemplates(mapping, ids) {
|
|
86
|
-
return Object.fromEntries(ids.map((id) => [id, (mapping[id] ?? []).map(
|
|
86
|
+
return Object.fromEntries(ids.map((id) => [id, (mapping[id] ?? []).map(chunkNYTR4UZ5_cjs.cloneElement)]));
|
|
87
87
|
}
|
|
88
88
|
function makeSlideId(idGenerator) {
|
|
89
89
|
if (idGenerator) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../../../chunk-
|
|
2
|
-
import { cloneSlide, cloneElement } from '../../../chunk-
|
|
1
|
+
import '../../../chunk-KU3SMBFU.mjs';
|
|
2
|
+
import { cloneSlide, cloneElement } from '../../../chunk-XTSHZGSM.mjs';
|
|
3
3
|
import '../../../chunk-GXHKNSZX.mjs';
|
|
4
4
|
import '../../../chunk-CA7KCNL3.mjs';
|
|
5
5
|
|
package/dist/pptx/index.cjs
CHANGED
|
@@ -45347,7 +45347,7 @@ var init_xml = __esm({
|
|
|
45347
45347
|
maxDepth: 512,
|
|
45348
45348
|
maxNodes: 5e6
|
|
45349
45349
|
};
|
|
45350
|
-
TAG_RE = /<(\/?)([^\s
|
|
45350
|
+
TAG_RE = /<(\/?)([^\s\/><]+)(?:\s+[^\s=\/><]+\s*=\s*(?:"[^"<]*"|'[^'<]*'))*\s*(\/?)>/y;
|
|
45351
45351
|
MARKUP_SKIPS = [
|
|
45352
45352
|
["<!--", "-->"],
|
|
45353
45353
|
["<![CDATA[", "]]>"],
|
package/dist/pptx/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { ChartBuilder, ConnectorBuilder, GroupBuilder, ImageBuilder, MediaBuilder, OPENXML_COVERAGE, OPENXML_SCHEMA_CONSTRUCT_IDS, OPENXML_STRICT_SCHEMA_CONSTRUCT_IDS, OPENXML_TRANSITIONAL_SCHEMA_CONSTRUCT_IDS, Presentation, SLIDE_PACKAGE_CLIPBOARD_MIME, ShapeBuilder, SlideSizes, THEME_PRESETS, TRANSITION_PATTERN_OPTIONS, TRANSITION_THRUBLK_TYPES, TRANSITION_VALID_DIRECTIONS, TableBuilder, TextBuilder, ThemePresets, addChartUserShape, addChartUserShapeGroupChild, addSection, applyTemplate, chartFormatTargetSupports, chartSupportsSecondaryAxis, cm, cmToEmu, collectLayoutNames, collectMasterNames, createLayout, createLayouts, createPresentationFromOutline, createSlideClipboardPackage, deleteLayout, deleteSlideMaster, deserializeSlidePackageClipboard, diffPresentations, diffSlides, duplicateElement, duplicateLayout, duplicateSlide, duplicateSlideMaster, emuToPixels, findLayoutByName, findLayoutByType, findOpenXmlCoverage, findPlaceholders, generateLayoutXml, getChartUserShapeAtPath, getSectionForSlide, getThemePreset, importSlidePackage, inches, inchesToEmu, insertLayout, insertSlideMaster, inspectPresentationText, interpolateShapeGeometry, isChartSeriesOnSecondaryAxis, listChartUserShapes, listUnassessedOpenXmlCoverage, mailMerge, mm, moveSlidesToSection, parseSvgPath, pixelsToEmu, pt, readChartElementFormat, removeChartUserShape, removeChartUserShapeAtPath, removeSection, renameLayout, renameSlideMaster, reorderSections, replaceShapeGeometry, replaceWithCustomGeometry, resetChartElementFormat, resetCloneIdCounter, resetSectionIdCounter, serializeSlidePackageClipboard, serializeSvgPath, setChartColorMapOverride, setChartDataPointGradient, setChartDataPointStyle, setChartHelperLine, setChartSeriesGradient, setElementLocked, setPresentationRunText, summarizeOpenXmlCoverage, summarizeOpenXmlCoverageByVocabulary, uniqueDisplayName, uniquePrefixedName, updateChartUserShape, updateChartUserShapeAtPath, withChartAxisOptions, withChartDataLabelOptions, withChartElementFormat, withChartLegendOptions, withChartSeriesOnSecondaryAxis, withChartSeriesOptions } from '../chunk-
|
|
1
|
+
export { ChartBuilder, ConnectorBuilder, GroupBuilder, ImageBuilder, MediaBuilder, OPENXML_COVERAGE, OPENXML_SCHEMA_CONSTRUCT_IDS, OPENXML_STRICT_SCHEMA_CONSTRUCT_IDS, OPENXML_TRANSITIONAL_SCHEMA_CONSTRUCT_IDS, Presentation, SLIDE_PACKAGE_CLIPBOARD_MIME, ShapeBuilder, SlideSizes, THEME_PRESETS, TRANSITION_PATTERN_OPTIONS, TRANSITION_THRUBLK_TYPES, TRANSITION_VALID_DIRECTIONS, TableBuilder, TextBuilder, ThemePresets, addChartUserShape, addChartUserShapeGroupChild, addSection, applyTemplate, chartFormatTargetSupports, chartSupportsSecondaryAxis, cm, cmToEmu, collectLayoutNames, collectMasterNames, createLayout, createLayouts, createPresentationFromOutline, createSlideClipboardPackage, deleteLayout, deleteSlideMaster, deserializeSlidePackageClipboard, diffPresentations, diffSlides, duplicateElement, duplicateLayout, duplicateSlide, duplicateSlideMaster, emuToPixels, findLayoutByName, findLayoutByType, findOpenXmlCoverage, findPlaceholders, generateLayoutXml, getChartUserShapeAtPath, getSectionForSlide, getThemePreset, importSlidePackage, inches, inchesToEmu, insertLayout, insertSlideMaster, inspectPresentationText, interpolateShapeGeometry, isChartSeriesOnSecondaryAxis, listChartUserShapes, listUnassessedOpenXmlCoverage, mailMerge, mm, moveSlidesToSection, parseSvgPath, pixelsToEmu, pt, readChartElementFormat, removeChartUserShape, removeChartUserShapeAtPath, removeSection, renameLayout, renameSlideMaster, reorderSections, replaceShapeGeometry, replaceWithCustomGeometry, resetChartElementFormat, resetCloneIdCounter, resetSectionIdCounter, serializeSlidePackageClipboard, serializeSvgPath, setChartColorMapOverride, setChartDataPointGradient, setChartDataPointStyle, setChartHelperLine, setChartSeriesGradient, setElementLocked, setPresentationRunText, summarizeOpenXmlCoverage, summarizeOpenXmlCoverageByVocabulary, uniqueDisplayName, uniquePrefixedName, updateChartUserShape, updateChartUserShapeAtPath, withChartAxisOptions, withChartDataLabelOptions, withChartElementFormat, withChartLegendOptions, withChartSeriesOnSecondaryAxis, withChartSeriesOptions } from '../chunk-YS43OMM3.mjs';
|
|
2
2
|
import '../chunk-6Q7TP72Y.mjs';
|
|
3
|
-
export { findText, mergePresentation, replaceText, replaceTextInSlide } from '../chunk-
|
|
4
|
-
export { DocumentConverter, MediaContext, PptxMarkdownConverter, SlideProcessor, dataUrlToMediaBytes, deriveOutputPath, generateMediaFilename, getDirectory, normalizePath } from '../chunk-
|
|
5
|
-
export { AFTER_ANIMATION_VALUES, ConnectorXmlFactory, DEFAULT_AFTER_ANIMATION_DIM_COLOR, DEFAULT_ANIMATION_DURATION_MS, DEFAULT_ANIMATION_TRIGGER, DEFAULT_POWERPOINT_TABLE_STYLE_ID, ELEMENT_PARAGRAPH_GEOMETRY_KEYS, EncryptedPptError, MediaGraphicFrameXmlFactory, OOXML_TO_PRESET_EMPH, OOXML_TO_PRESET_ENTR, OOXML_TO_PRESET_EXIT, PRESET_TO_OOXML, PictureXmlFactory, PptxAnimationWriteService, PptxColorStyleCodec, PptxCommentAuthorsXmlFactory, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxConnectorParser, PptxContentTypesBuilder, PptxDocumentPropertiesUpdater, PptxEditorAnimationService, PptxElementTransformUpdater, PptxElementXmlBuilder, PptxGraphicFrameParser, PptxHandler, PptxHandlerRuntime, PptxHandlerRuntimeFactory, PptxLoadDataBuilder, PptxMediaDataParser, PptxNativeAnimationService, PptxPresentationSaveBuilder, PptxPresentationSlidesReconciler, PptxRuntimeDependencyFactory, PptxSaveConstantsFactory, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxShapeIdValidator, PptxShapeStyleExtractor, PptxSlideBackgroundBuilder, PptxSlideBuilder, PptxSlideCommentPartWriter, PptxSlideCommentsXmlFactory, PptxSlideElementsBuilder, PptxSlideLoaderService, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, PptxSlideRelationshipRegistry, PptxSlideTransitionService, PptxTableDataParser, PptxTemplateBackgroundService, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, PresentationBuilder, SlideBuilder, TABLE_STYLE_PART_SEQUENCE, TextShapeXmlFactory, addChartCategory, addChartSeries, addTableStyleToMap, animationFor, applyAfterAnimationBehavior, applyAfterAnimationFromEditorList, applyConnectorShapeIds, applySoundToEffectCTn, applySpeedToDuration, applyTableCellTextAndStyle, breakAutoNumberRun, buildBlankPresentationArchive, buildSingleEffectNode, buildSlideReferenceRemap, capturedPresetIds, capturedPresetNativeAnimation, capturedSubtypes, chartFormatTargetKey, convertPptToPptx, createAutoNumberSequence, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createFreeformElement, createGroupElement, createImageElement, createMediaElement, createPptxSaveConstants, createShapeElement, createTableCellXml, createTableElement, createTableGraphicFrameRawXml, createTableStyleEntry, createTextElement, deleteTableStyleFromMap, extractAfterAnimationFromSubTnLst, extractGraphicBuilds, extractTableCellTextRuns, generateTableStyleGuid, getAfterAnimation, getAfterAnimationState, getCapturedPreset, getCapturedTree, hasAnimation, isEncryptedLegacyPpt, isLegacyPpt, isNativeAfterAnimationOnly, mergeNativeAfterAnimationIntoEditorAnimations, mergeNativeSoundIntoEditorAnimations, nextAutoNumber, normalizeTableStyleGuid, ooxmlToPresetName, parseAnimEffectFilter, parseChartFormatTargetKey, parseCondition, parseConditionList, parseFilterToken, parseTimeTargetElement, rebuildTableStructureInRawXml, reconcileAnimationTargets, remapEditorAnimationsToShapeIds, removeChartCategory, removeChartSeries, resetIdCounter, resolveConnectorShapeIds, resolveDirectionSubtype, resolveEffectTiming, resolveIterationCount, resolveOoxmlPresetMapping, resolveOpacitySet, resolveTableBackgroundFillRef, resolveTableStyleLineRef, resolveTableStyleLineRefColor, resolveVisibilitySetTiming, serializeCondition, serializeConditionList, serializeGraphicBuild, serializeTimeTargetElement, setAfterAnimation, setAfterAnimationColor, setChartAreaFormat, setChartAxis, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategories, setChartDataLabels, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartGroupOptions, setChartGrouping, setChartLegend, setChartSeriesChartType, setChartSeriesColor, setChartSeriesErrorBars, setChartSeriesMarker, setChartSeriesTrendline, setChartTitle, setChartType, shouldHoldEndState, timingCurveToAccelDecel, toChartGradientFill, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateChartDataPoint, updateChartSeriesValues, updateMergeAttrsInRawXml, upsert } from '../chunk-
|
|
6
|
-
export { ALL_ANIMATION_PRESETS, ARABIC_ABJADI_LETTERS, ARABIC_HIJAI_LETTERS, BACKGROUND_STYLE_PRESETS, BLIP_FILL_ORDER, CLOUD_CALLOUT_TAIL_COUNT, CLOUD_LOBE_COUNT, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, 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, EXIT_PRESETS, EncryptedFileError, FONT_SUBSTITUTION_MAP, FreeformPathBuilder, HEBREW_LETTERS, HINDI_CONSONANTS, HINDI_VOWELS, IncorrectPasswordError, MAX_SHAPE_ID, MAX_TABLE_DIMENSION, MIN_ELEMENT_SIZE, MIN_TABLE_DIMENSION, MOTION_PATH_PRESETS, OOXML_ANGLE_UNITS_PER_DEGREE, OOXML_PERCENT_UNITS, Ole2ParseError, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, 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, RasterCanvas, SHAPE_TREE_ELEMENT_TAGS, SLIDE_FIELD_KIND, SMART_ART_DEFINITION_PARTS, SP_PR_ORDER, STROKE_DASH_OPTIONS, ST_SHAPE_TYPE_VALUES, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, SvgExporter, TC_PR_BORDERS_ORDER, TEXT_AUTONUMBER_SCHEMES, TEXT_ORIENTATION_IDENTITY, THAI_CONSONANTS, THEME_COLOR_SCHEME_KEYS, THEME_EFFECT_SCHEMES, VML_SHAPE_TAGS, WHITESPACE_PRESERVING_TAGS, addSmartArtNode, addSmartArtNodeAsChild, algorithmParam, alphaLabel, applyActiveXControlsToSlide, applyBubbleChartOptions, applyChartLayouts, applyChartManualLayout, applyChartUpDownBars, applyCustomGeometryGuideOverrides, applyCustomLayoutOverrides, applyCustomShows, applyDiagramRelationshipIds, applyDrawingLineDash, applyDrawingMediaReference, applyImportedPptxData, applyKinsokuToXml, applyOleDocumentParagraphEdit, applyOleNestedDeckBytes, applyOleNestedDeckElementTextEdit, applyOleSheetCellEdit, applySections, applySmartArtQuickStyle3d, applySmartArtRoleColors, applyThemeOverrideToSlide, applyThemeToData, areNamespacesSupported, arrangeComposite, arrangeConn, arrangeCycle, arrangeHierarchy, arrangeLinear, arrangePyramid, arrangeSnake, arrangeSpacer, arrangeText, backgroundRefNode, backgroundRefNodeForPreset, backgroundStyleColorMap, backgroundStylePreset, backgroundStylePresetFor, backgroundStyleRefIsCurrent, bijectiveLabel, buildActiveXControlNode, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildColorMapForBackgroundPair, buildConstraintIndex, buildCustomGeometryPathsFromNodes, buildFontFamilyString, buildForest, buildGuideListExtension, buildInkMlContent, buildLinkedTextBoxChains, buildOle2, buildPptxJsonDocument, buildSmartArtColorLists, buildSmartArtColorRoleMap, buildSrgbColorChoice, buildThemeColorMap, buildTree, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, chartGridAddCategory, chartGridAddSeries, chartGridRemoveCategory, chartGridRemoveSeries, chartGridSetCategoryLabel, chartGridSetCellValue, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, chevronPoints, chooseAlgType, circleNode, clampByRules, classifyPanose, colorsEqual, colour, combineShapes, computeContrastRatio, computeSmartArtElementsWithoutCache, containsConvertibleStrictNamespaceAttribute, convertMetafileToDataUrl, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createDrawingObjectId, createEditorId, createModifyVerifier, createSaltlessModifyVerifierForTesting, createTemplateConnectorRawXml, createTemplateShapeRawXml, createUniformTextSegments, cropShapeForPresetGeometry, cssDegreesToOoxmlGradientAngle, customGeometryPathsToSvgSubpaths, decodeOle10Native, decodePngDimensions, decodePptxJsonText, decodeXmlEntities, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveSlideTitle, deriveSlideTitles, deserializePptxFromJson, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectOlePayloadEditorKind, detectStrictConformance, discoverArrangement, distributeSegmentsAcrossChain, douglasPeucker, elementActionToPptxAction, elementHasAction, encodeCompressedPng, encodeOle10Native, encodePng, encodeXmlAttributeValue, encodeXmlTextValue, encryptPptx, ensureArrayValue, ensureXmlChild, estimateMediaDurationMs, estimateTextBoxCapacity, evaluateCustomGeometryPathData, evaluateCustomGeometryPaths, evaluateGeometryPaths, evaluateGuides, evaluatePresetShape, extractColorChoiceXml, extractGuidFromPartName, extractModel3DTransform, extractStyleReferenceColorXml, fetchUrlToBytes, filterValidShapeAdjustmentEntries, findCnvPrNode, findConstraint, findCustomShow, findThemeEffectScheme, findThemeEffectSchemeByName, fitFontSize, flattenChartUserShapes, flattenNodes, formatAutoNumberMarker, formatCommentTimestamp, formatScriptAutoNumber, fragmentShapes, gearPoints, generateFontGuid, 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, groupElements, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasReference, hasShapeProperties, hasTextProperties, hebrewAlphaLabel, inferOleExtensionFromTarget, inheritedPlaceholderFieldType, inkBounds, inkElementToStrokes, inkLengthToPx, inkPointMapper, interpretSmartArtLayout, interpretedLayoutToElements, intersectPolygons, intersectShapes, intersectSvgPaths, isAlternateContentChoiceSupported, isAlternateContentChoiceXmlSupported, isCalloutShape, isConnectorElement, isDarkColorMap, isDefaultSmartArtLabelScene, isEditableTextElement, isHeaderFooterPlaceholder, isImageLikeElement, isInkElement, isNamespaceSupported, isOle2CompoundFile, isParetoChartData, isPptxJsonText, isShapeElement, isStShapeType, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTemplateElementId, isTextElement, isTextOrientationMatrix, isTransitionalNamespaceUri, isXmlNode, isZoomElement, isZoomElement2 as isZoomElementUtil, itemNode, loadThemeVariants, lookupPresetConnectionSites, lookupPresetShape, lookupPresetTextRectOverride, makeStoreAwareId, mergeShapes, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, multiplyTextOrientationMatrices, navigateCustomShow, nodeFill, nodeOpacity, nodeStroke, nodeTextStyle, normalizeNamespaceUri, normalizePositiveFixedAngleDegrees, normalizeStShapeType, normalizeStrictXml, normalizeStrokeDashType, numericParam, obfuscateFont, oleBytesToDataUrl, oleObjectTypeToGlyph, ooxmlArcToSvg, ooxmlGradientAngleToCssDegrees, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseChart3DSurfaces, parseChartAxes, parseChartDataLabelOptions, parseChartLayouts, parseChartManualLayout, parseChartUpDownBars, parseCustomShows, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDiagramRelationshipIds, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingLineDash, parseDrawingMediaReference, parseEmbeddedXlsx, parseGuideDefinitions, parseHexColor, parseInkMlContent, parseKinsoku, parseLineStyle, parseMarker, parseModel3DScene, parseOle2, parsePanoseBytes, parsePanoseString, parsePptxJson, parsePptxJsonDocument, parsePresentationDrawingGuides, parsePresentationSmartTags, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeId, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSmartArtColorListHexes, parseSmartArtColorStyleLabels, parseSmartArtDefinitionHeaderList, parseSmartArtDefinitionMetadata, parseSmartArtPointCustomLayout, parseSmartArtQuickStyleLabels, parseSmartArtStyleLabelRefs, parseStructuredCustomGeometry, parseVmlElement, parseVmlElements, polygonNode, polygonsToSvgPath, positiveFixedAngleAttribute, pptxActionToElementAction, pptxDataFromJsonDocument, preservesSpreadsheetXmlWhitespace, preservesXmlWhitespace, presetGeometryForCropShape, promoteSmartArtNode, ratioConstraint, reResolveElementColors, reResolveElementFonts, reResolveElementsForColorMapChange, reResolveSlideColors, reResolveSlideFonts, readFileAsDataUrl, readOleDocParagraphs, readOleDocumentParagraphs, readOleNestedDeckDetail, readOleNestedDeckFirstSlideTextLines, readOleSheetGrid, readOleXlsGrid, reapplyAlternateContentToTree, reassignDescendantIds, rectNode, reflowSmartArtLayout, regenerateSmartArtDrawingShapes, relativeLuminance, relayoutSmartArt, remapElementShapeIds, remapShapeIdReferences, removeSmartArtNode, renderOleDeckPreviewPng, renderOleDocumentPreviewPng, renderOleIconPng, renderOleSheetPreviewPng, reorderObjectKeys, reorderObjectKeysByLocalName, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, repeatedLabel, replaceOleEmbedding, replaceOleFile, resetDecomposeCounter, resetSmartArtEditCounter, resolveConstraint, resolveConstraintDeclaredBy, resolveCoordinate, resolveCustomGeometryGuideContext, resolveCustomGeometryToken, resolveCustomShowSlideIndices, resolveDisplayedChartTypeName, resolveFlowDirection, resolveLayoutDisplayName, resolveModel3DMimeType, resolveModifyVerifierAlgorithmName, resolveOleEditorKindFromPayload, resolveRatioConstraint, resolveSmartArtEffectIntensity, resolveSmartArtNodeCoherent3DOff, resolveSmartArtNodeStyleRoles, resolveTableCellStyle, rgb, roleOf, romanNumeral, sampleFirstPixelColorFromBytes, selectAlternateContentBranch, selectArrangedNodes, serializeColorChoice, serializeColorChoiceWithRef, serializePptxToJson, serializeSmartArtDefinitionHeaderList, setOleObjectName, setSmartArtNodeStyle, shadowOffsetToDistanceAndDirection, shouldRenderFallbackLabel, shouldReturnToZoomSlide, slideBackgroundStyleRefFromNode, smartArtQuickStyleHas3d, stripParentDirSegments, stripXmlOrderSuffix, strokeFor, styleContext, styleShadow, styleStroke, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, syncPictureShapeTypeWithCropShape, themeColorSchemesEqual, toArabicAbjadNumeral, toChineseNumeral, toCjkDigitString, toDevanagariDigits, toEa1ChsNumeral, toEa1ChtNumeral, toFullWidthDigits, toHebrewNumeral, toStrictNamespaceUri, toThaiDigits, treeDepth, treeWidth, truncate, ungroupElements, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, unwrapOleEmbedding, updateSmartArtNodeText, validatePptx, validateSmartArtColorStyleLabels, validateSmartArtDefinitionHeaderList, validateSmartArtDefinitionMetadata, verifyModifyPassword, verifyPassword, verifySignatureDigests, visitXmlObjects, withThemePlaceholderColor, writeBodyPrBooleanAttrs, writeOleDocParagraphEdit, writeOleDocumentParagraphEdit, writeOleNestedDeckElementText, writeOleSheetCellEdit, writeOleXlsNumericCellEdit, writeOleXlsStringCellEdit, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlPath, xmlText, zlibDeflate } from '../chunk-5ROLXCIY.mjs';
|
|
3
|
+
export { findText, mergePresentation, replaceText, replaceTextInSlide } from '../chunk-UFGJNXRG.mjs';
|
|
4
|
+
export { DocumentConverter, MediaContext, PptxMarkdownConverter, SlideProcessor, dataUrlToMediaBytes, deriveOutputPath, generateMediaFilename, getDirectory, normalizePath } from '../chunk-A7S2NYAU.mjs';
|
|
5
|
+
export { AFTER_ANIMATION_VALUES, ConnectorXmlFactory, DEFAULT_AFTER_ANIMATION_DIM_COLOR, DEFAULT_ANIMATION_DURATION_MS, DEFAULT_ANIMATION_TRIGGER, DEFAULT_POWERPOINT_TABLE_STYLE_ID, ELEMENT_PARAGRAPH_GEOMETRY_KEYS, EncryptedPptError, MediaGraphicFrameXmlFactory, OOXML_TO_PRESET_EMPH, OOXML_TO_PRESET_ENTR, OOXML_TO_PRESET_EXIT, PRESET_TO_OOXML, PictureXmlFactory, PptxAnimationWriteService, PptxColorStyleCodec, PptxCommentAuthorsXmlFactory, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxConnectorParser, PptxContentTypesBuilder, PptxDocumentPropertiesUpdater, PptxEditorAnimationService, PptxElementTransformUpdater, PptxElementXmlBuilder, PptxGraphicFrameParser, PptxHandler, PptxHandlerRuntime, PptxHandlerRuntimeFactory, PptxLoadDataBuilder, PptxMediaDataParser, PptxNativeAnimationService, PptxPresentationSaveBuilder, PptxPresentationSlidesReconciler, PptxRuntimeDependencyFactory, PptxSaveConstantsFactory, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxShapeIdValidator, PptxShapeStyleExtractor, PptxSlideBackgroundBuilder, PptxSlideBuilder, PptxSlideCommentPartWriter, PptxSlideCommentsXmlFactory, PptxSlideElementsBuilder, PptxSlideLoaderService, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, PptxSlideRelationshipRegistry, PptxSlideTransitionService, PptxTableDataParser, PptxTemplateBackgroundService, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, PresentationBuilder, SlideBuilder, TABLE_STYLE_PART_SEQUENCE, TextShapeXmlFactory, addChartCategory, addChartSeries, addTableStyleToMap, animationFor, applyAfterAnimationBehavior, applyAfterAnimationFromEditorList, applyConnectorShapeIds, applySoundToEffectCTn, applySpeedToDuration, applyTableCellTextAndStyle, breakAutoNumberRun, buildBlankPresentationArchive, buildSingleEffectNode, buildSlideReferenceRemap, capturedPresetIds, capturedPresetNativeAnimation, capturedSubtypes, chartFormatTargetKey, convertPptToPptx, createAutoNumberSequence, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createFreeformElement, createGroupElement, createImageElement, createMediaElement, createPptxSaveConstants, createShapeElement, createTableCellXml, createTableElement, createTableGraphicFrameRawXml, createTableStyleEntry, createTextElement, deleteTableStyleFromMap, extractAfterAnimationFromSubTnLst, extractGraphicBuilds, extractTableCellTextRuns, generateTableStyleGuid, getAfterAnimation, getAfterAnimationState, getCapturedPreset, getCapturedTree, hasAnimation, isEncryptedLegacyPpt, isLegacyPpt, isNativeAfterAnimationOnly, mergeNativeAfterAnimationIntoEditorAnimations, mergeNativeSoundIntoEditorAnimations, nextAutoNumber, normalizeTableStyleGuid, ooxmlToPresetName, parseAnimEffectFilter, parseChartFormatTargetKey, parseCondition, parseConditionList, parseFilterToken, parseTimeTargetElement, rebuildTableStructureInRawXml, reconcileAnimationTargets, remapEditorAnimationsToShapeIds, removeChartCategory, removeChartSeries, resetIdCounter, resolveConnectorShapeIds, resolveDirectionSubtype, resolveEffectTiming, resolveIterationCount, resolveOoxmlPresetMapping, resolveOpacitySet, resolveTableBackgroundFillRef, resolveTableStyleLineRef, resolveTableStyleLineRefColor, resolveVisibilitySetTiming, serializeCondition, serializeConditionList, serializeGraphicBuild, serializeTimeTargetElement, setAfterAnimation, setAfterAnimationColor, setChartAreaFormat, setChartAxis, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategories, setChartDataLabels, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartGroupOptions, setChartGrouping, setChartLegend, setChartSeriesChartType, setChartSeriesColor, setChartSeriesErrorBars, setChartSeriesMarker, setChartSeriesTrendline, setChartTitle, setChartType, shouldHoldEndState, timingCurveToAccelDecel, toChartGradientFill, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateChartDataPoint, updateChartSeriesValues, updateMergeAttrsInRawXml, upsert } from '../chunk-IM5LFEA2.mjs';
|
|
6
|
+
export { ALL_ANIMATION_PRESETS, ARABIC_ABJADI_LETTERS, ARABIC_HIJAI_LETTERS, BACKGROUND_STYLE_PRESETS, BLIP_FILL_ORDER, CLOUD_CALLOUT_TAIL_COUNT, CLOUD_LOBE_COUNT, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, 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, EXIT_PRESETS, EncryptedFileError, FONT_SUBSTITUTION_MAP, FreeformPathBuilder, HEBREW_LETTERS, HINDI_CONSONANTS, HINDI_VOWELS, IncorrectPasswordError, MAX_SHAPE_ID, MAX_TABLE_DIMENSION, MIN_ELEMENT_SIZE, MIN_TABLE_DIMENSION, MOTION_PATH_PRESETS, OOXML_ANGLE_UNITS_PER_DEGREE, OOXML_PERCENT_UNITS, Ole2ParseError, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, 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, RasterCanvas, SHAPE_TREE_ELEMENT_TAGS, SLIDE_FIELD_KIND, SMART_ART_DEFINITION_PARTS, SP_PR_ORDER, STROKE_DASH_OPTIONS, ST_SHAPE_TYPE_VALUES, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, SvgExporter, TC_PR_BORDERS_ORDER, TEXT_AUTONUMBER_SCHEMES, TEXT_ORIENTATION_IDENTITY, THAI_CONSONANTS, THEME_COLOR_SCHEME_KEYS, THEME_EFFECT_SCHEMES, VML_SHAPE_TAGS, WHITESPACE_PRESERVING_TAGS, addSmartArtNode, addSmartArtNodeAsChild, algorithmParam, alphaLabel, applyActiveXControlsToSlide, applyBubbleChartOptions, applyChartLayouts, applyChartManualLayout, applyChartUpDownBars, applyCustomGeometryGuideOverrides, applyCustomLayoutOverrides, applyCustomShows, applyDiagramRelationshipIds, applyDrawingLineDash, applyDrawingMediaReference, applyImportedPptxData, applyKinsokuToXml, applyOleDocumentParagraphEdit, applyOleNestedDeckBytes, applyOleNestedDeckElementTextEdit, applyOleSheetCellEdit, applySections, applySmartArtQuickStyle3d, applySmartArtRoleColors, applyThemeOverrideToSlide, applyThemeToData, areNamespacesSupported, arrangeComposite, arrangeConn, arrangeCycle, arrangeHierarchy, arrangeLinear, arrangePyramid, arrangeSnake, arrangeSpacer, arrangeText, backgroundRefNode, backgroundRefNodeForPreset, backgroundStyleColorMap, backgroundStylePreset, backgroundStylePresetFor, backgroundStyleRefIsCurrent, bijectiveLabel, buildActiveXControlNode, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildColorMapForBackgroundPair, buildConstraintIndex, buildCustomGeometryPathsFromNodes, buildFontFamilyString, buildForest, buildGuideListExtension, buildInkMlContent, buildLinkedTextBoxChains, buildOle2, buildPptxJsonDocument, buildSmartArtColorLists, buildSmartArtColorRoleMap, buildSrgbColorChoice, buildThemeColorMap, buildTree, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, chartGridAddCategory, chartGridAddSeries, chartGridRemoveCategory, chartGridRemoveSeries, chartGridSetCategoryLabel, chartGridSetCellValue, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, chevronPoints, chooseAlgType, circleNode, clampByRules, classifyPanose, colorsEqual, colour, combineShapes, computeContrastRatio, computeSmartArtElementsWithoutCache, containsConvertibleStrictNamespaceAttribute, convertMetafileToDataUrl, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createDrawingObjectId, createEditorId, createModifyVerifier, createSaltlessModifyVerifierForTesting, createTemplateConnectorRawXml, createTemplateShapeRawXml, createUniformTextSegments, cropShapeForPresetGeometry, cssDegreesToOoxmlGradientAngle, customGeometryPathsToSvgSubpaths, decodeOle10Native, decodePngDimensions, decodePptxJsonText, decodeXmlEntities, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveSlideTitle, deriveSlideTitles, deserializePptxFromJson, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectOlePayloadEditorKind, detectStrictConformance, discoverArrangement, distributeSegmentsAcrossChain, douglasPeucker, elementActionToPptxAction, elementHasAction, encodeCompressedPng, encodeOle10Native, encodePng, encodeXmlAttributeValue, encodeXmlTextValue, encryptPptx, ensureArrayValue, ensureXmlChild, estimateMediaDurationMs, estimateTextBoxCapacity, evaluateCustomGeometryPathData, evaluateCustomGeometryPaths, evaluateGeometryPaths, evaluateGuides, evaluatePresetShape, extractColorChoiceXml, extractGuidFromPartName, extractModel3DTransform, extractStyleReferenceColorXml, fetchUrlToBytes, filterValidShapeAdjustmentEntries, findCnvPrNode, findConstraint, findCustomShow, findThemeEffectScheme, findThemeEffectSchemeByName, fitFontSize, flattenChartUserShapes, flattenNodes, formatAutoNumberMarker, formatCommentTimestamp, formatScriptAutoNumber, fragmentShapes, gearPoints, generateFontGuid, 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, groupElements, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasReference, hasShapeProperties, hasTextProperties, hebrewAlphaLabel, inferOleExtensionFromTarget, inheritedPlaceholderFieldType, inkBounds, inkElementToStrokes, inkLengthToPx, inkPointMapper, interpretSmartArtLayout, interpretedLayoutToElements, intersectPolygons, intersectShapes, intersectSvgPaths, isAlternateContentChoiceSupported, isAlternateContentChoiceXmlSupported, isCalloutShape, isConnectorElement, isDarkColorMap, isDefaultSmartArtLabelScene, isEditableTextElement, isHeaderFooterPlaceholder, isImageLikeElement, isInkElement, isNamespaceSupported, isOle2CompoundFile, isParetoChartData, isPptxJsonText, isShapeElement, isStShapeType, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTemplateElementId, isTextElement, isTextOrientationMatrix, isTransitionalNamespaceUri, isXmlNode, isZoomElement, isZoomElement2 as isZoomElementUtil, itemNode, loadThemeVariants, lookupPresetConnectionSites, lookupPresetShape, lookupPresetTextRectOverride, makeStoreAwareId, mergeShapes, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, multiplyTextOrientationMatrices, navigateCustomShow, nodeFill, nodeOpacity, nodeStroke, nodeTextStyle, normalizeNamespaceUri, normalizePositiveFixedAngleDegrees, normalizeStShapeType, normalizeStrictXml, normalizeStrokeDashType, numericParam, obfuscateFont, oleBytesToDataUrl, oleObjectTypeToGlyph, ooxmlArcToSvg, ooxmlGradientAngleToCssDegrees, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseChart3DSurfaces, parseChartAxes, parseChartDataLabelOptions, parseChartLayouts, parseChartManualLayout, parseChartUpDownBars, parseCustomShows, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDiagramRelationshipIds, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingLineDash, parseDrawingMediaReference, parseEmbeddedXlsx, parseGuideDefinitions, parseHexColor, parseInkMlContent, parseKinsoku, parseLineStyle, parseMarker, parseModel3DScene, parseOle2, parsePanoseBytes, parsePanoseString, parsePptxJson, parsePptxJsonDocument, parsePresentationDrawingGuides, parsePresentationSmartTags, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeId, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSmartArtColorListHexes, parseSmartArtColorStyleLabels, parseSmartArtDefinitionHeaderList, parseSmartArtDefinitionMetadata, parseSmartArtPointCustomLayout, parseSmartArtQuickStyleLabels, parseSmartArtStyleLabelRefs, parseStructuredCustomGeometry, parseVmlElement, parseVmlElements, polygonNode, polygonsToSvgPath, positiveFixedAngleAttribute, pptxActionToElementAction, pptxDataFromJsonDocument, preservesSpreadsheetXmlWhitespace, preservesXmlWhitespace, presetGeometryForCropShape, promoteSmartArtNode, ratioConstraint, reResolveElementColors, reResolveElementFonts, reResolveElementsForColorMapChange, reResolveSlideColors, reResolveSlideFonts, readFileAsDataUrl, readOleDocParagraphs, readOleDocumentParagraphs, readOleNestedDeckDetail, readOleNestedDeckFirstSlideTextLines, readOleSheetGrid, readOleXlsGrid, reapplyAlternateContentToTree, reassignDescendantIds, rectNode, reflowSmartArtLayout, regenerateSmartArtDrawingShapes, relativeLuminance, relayoutSmartArt, remapElementShapeIds, remapShapeIdReferences, removeSmartArtNode, renderOleDeckPreviewPng, renderOleDocumentPreviewPng, renderOleIconPng, renderOleSheetPreviewPng, reorderObjectKeys, reorderObjectKeysByLocalName, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, repeatedLabel, replaceOleEmbedding, replaceOleFile, resetDecomposeCounter, resetSmartArtEditCounter, resolveConstraint, resolveConstraintDeclaredBy, resolveCoordinate, resolveCustomGeometryGuideContext, resolveCustomGeometryToken, resolveCustomShowSlideIndices, resolveDisplayedChartTypeName, resolveFlowDirection, resolveLayoutDisplayName, resolveModel3DMimeType, resolveModifyVerifierAlgorithmName, resolveOleEditorKindFromPayload, resolveRatioConstraint, resolveSmartArtEffectIntensity, resolveSmartArtNodeCoherent3DOff, resolveSmartArtNodeStyleRoles, resolveTableCellStyle, rgb, roleOf, romanNumeral, sampleFirstPixelColorFromBytes, selectAlternateContentBranch, selectArrangedNodes, serializeColorChoice, serializeColorChoiceWithRef, serializePptxToJson, serializeSmartArtDefinitionHeaderList, setOleObjectName, setSmartArtNodeStyle, shadowOffsetToDistanceAndDirection, shouldRenderFallbackLabel, shouldReturnToZoomSlide, slideBackgroundStyleRefFromNode, smartArtQuickStyleHas3d, stripParentDirSegments, stripXmlOrderSuffix, strokeFor, styleContext, styleShadow, styleStroke, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, syncPictureShapeTypeWithCropShape, themeColorSchemesEqual, toArabicAbjadNumeral, toChineseNumeral, toCjkDigitString, toDevanagariDigits, toEa1ChsNumeral, toEa1ChtNumeral, toFullWidthDigits, toHebrewNumeral, toStrictNamespaceUri, toThaiDigits, treeDepth, treeWidth, truncate, ungroupElements, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, unwrapOleEmbedding, updateSmartArtNodeText, validatePptx, validateSmartArtColorStyleLabels, validateSmartArtDefinitionHeaderList, validateSmartArtDefinitionMetadata, verifyModifyPassword, verifyPassword, verifySignatureDigests, visitXmlObjects, withThemePlaceholderColor, writeBodyPrBooleanAttrs, writeOleDocParagraphEdit, writeOleDocumentParagraphEdit, writeOleNestedDeckElementText, writeOleSheetCellEdit, writeOleXlsNumericCellEdit, writeOleXlsStringCellEdit, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlPath, xmlText, zlibDeflate } from '../chunk-HLZIALC5.mjs';
|
|
7
7
|
export { DEFAULT_MAX_UNCOMPRESSED_BYTES, DIGEST_ALGORITHM_TO_HASH, DIGEST_ALGORITHM_TO_WEB_CRYPTO, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, DIGITAL_SIGNATURE_REL_TYPE, ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, ENTERPRISE_REQUIRE_REVOCATION_ENV, ENTERPRISE_REQUIRE_TIMESTAMP_ENV, ENTERPRISE_TRUST_ROOTS_FILE_ENV, ENTERPRISE_TRUST_ROOTS_PEM_ENV, MAX_ZIP_ENTRY_COUNT, OPC_RELATIONSHIP_TRANSFORM, PPTX_VIEWER_MANIFEST_NS, SUPPORTED_XML_CANON_TRANSFORMS, XMLDSIG_NS, XML_TRANSFORM_ENVELOPED_SIGNATURE, ZipBombError, computeDetailStatus, computeDigestBase64 as computeDigestBase64WebCrypto, computeVerificationStatus, escapeXmlAttr, escapeXmlText, extractAllTagText, extractFirstTagText, extractTagAttribute, isValidBase64, normalizePartPath, resolveReferenceUriToPart } from '../chunk-M4XLF4R7.mjs';
|
|
8
8
|
import '../chunk-3GXV5MPC.mjs';
|
|
9
9
|
export { applySmartArtConstraintRules, applySmartArtLayoutDefinition, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, deepCloneData, parseSmartArtConstraintRules, parseSmartArtLayoutDefinition, validateSmartArtConstraintRules, validateSmartArtLayoutDefinition } from '../chunk-54S5A5PZ.mjs';
|