pptx-react-viewer 3.1.0 → 3.1.2
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/CHANGELOG.md +58 -0
- package/dist/{AiChatPanel-WVORGKRT.js → AiChatPanel-4EYZDQXM.js} +24 -24
- package/dist/AiChatPanel-4EYZDQXM.js.br +0 -0
- package/dist/AiChatPanel-4EYZDQXM.js.gz +0 -0
- package/dist/{AiChatPanel-5LCCN7FG.mjs → AiChatPanel-UCFQIWOQ.mjs} +4 -4
- package/dist/AiChatPanel-UCFQIWOQ.mjs.br +0 -0
- package/dist/AiChatPanel-UCFQIWOQ.mjs.gz +0 -0
- package/dist/{Area3DChartScene-W6UZTRDP.mjs → Area3DChartScene-PMYXO4MR.mjs} +1 -1
- package/dist/Area3DChartScene-PMYXO4MR.mjs.br +0 -0
- package/dist/Area3DChartScene-PMYXO4MR.mjs.gz +0 -0
- package/dist/{Area3DChartScene-DY5CSLE2.js → Area3DChartScene-YBMC6NKY.js} +2 -2
- package/dist/Area3DChartScene-YBMC6NKY.js.br +0 -0
- package/dist/Area3DChartScene-YBMC6NKY.js.gz +0 -0
- package/dist/{Bar3DChartScene-7HZSPYG4.js → Bar3DChartScene-75DCA2ZA.js} +2 -2
- package/dist/Bar3DChartScene-75DCA2ZA.js.br +0 -0
- package/dist/Bar3DChartScene-75DCA2ZA.js.gz +0 -0
- package/dist/{Bar3DChartScene-FCWQEQLH.mjs → Bar3DChartScene-CEOI6SU6.mjs} +1 -1
- package/dist/Bar3DChartScene-CEOI6SU6.mjs.br +0 -0
- package/dist/Bar3DChartScene-CEOI6SU6.mjs.gz +0 -0
- package/dist/{Line3DChartScene-EPPWQOHS.mjs → Line3DChartScene-EZZKWUZR.mjs} +1 -1
- package/dist/Line3DChartScene-EZZKWUZR.mjs.br +0 -0
- package/dist/Line3DChartScene-EZZKWUZR.mjs.gz +0 -0
- package/dist/{Line3DChartScene-BKO24WYO.js → Line3DChartScene-STGX6N6V.js} +2 -2
- package/dist/Line3DChartScene-STGX6N6V.js.br +0 -0
- package/dist/Line3DChartScene-STGX6N6V.js.gz +0 -0
- package/dist/{Model3DScene-JFVRE5VL.js → Model3DScene-DWRD63FH.js} +2 -2
- package/dist/Model3DScene-DWRD63FH.js.br +0 -0
- package/dist/Model3DScene-DWRD63FH.js.gz +0 -0
- package/dist/{Model3DScene-IAY33GO2.mjs → Model3DScene-FGQJKWL6.mjs} +1 -1
- package/dist/Model3DScene-FGQJKWL6.mjs.br +0 -0
- package/dist/Model3DScene-FGQJKWL6.mjs.gz +0 -0
- package/dist/{PieChart3DScene-ZP5TSL62.mjs → PieChart3DScene-DH6RSJO6.mjs} +1 -1
- package/dist/PieChart3DScene-DH6RSJO6.mjs.br +0 -0
- package/dist/PieChart3DScene-DH6RSJO6.mjs.gz +0 -0
- package/dist/{PieChart3DScene-IPH7GLKU.js → PieChart3DScene-R3Y7OVVO.js} +2 -2
- package/dist/PieChart3DScene-R3Y7OVVO.js.br +0 -0
- package/dist/PieChart3DScene-R3Y7OVVO.js.gz +0 -0
- package/dist/PowerPointViewer-Cl6jBPNw.d.ts.map +1 -1
- package/dist/{SurfaceChart3DScene-DOMJGPAD.mjs → SurfaceChart3DScene-BMBU5RKI.mjs} +1 -1
- package/dist/SurfaceChart3DScene-BMBU5RKI.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-BMBU5RKI.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-TGDBVJSW.js → SurfaceChart3DScene-UM5HA3VO.js} +2 -2
- package/dist/SurfaceChart3DScene-UM5HA3VO.js.br +0 -0
- package/dist/SurfaceChart3DScene-UM5HA3VO.js.gz +0 -0
- package/dist/{chunk-7JZLE56X.js → chunk-2HLDBQH7.js} +157 -157
- package/dist/chunk-2HLDBQH7.js.br +0 -0
- package/dist/chunk-2HLDBQH7.js.gz +0 -0
- package/dist/{chunk-VMLKJDA5.mjs → chunk-4VVOTEQ4.mjs} +359 -336
- package/dist/chunk-4VVOTEQ4.mjs.br +0 -0
- package/dist/chunk-4VVOTEQ4.mjs.gz +0 -0
- package/dist/{chunk-T7BAPZBY.js → chunk-7ZQ2FZXE.js} +305 -45
- package/dist/chunk-7ZQ2FZXE.js.br +0 -0
- package/dist/chunk-7ZQ2FZXE.js.gz +0 -0
- package/dist/{chunk-MKPSUHUH.mjs → chunk-ARJE3V6V.mjs} +5 -6
- package/dist/chunk-ARJE3V6V.mjs.br +0 -0
- package/dist/chunk-ARJE3V6V.mjs.gz +0 -0
- package/dist/{chunk-A5EUD6UU.js → chunk-MQEG5GOV.js} +1343 -1250
- package/dist/chunk-MQEG5GOV.js.br +0 -0
- package/dist/chunk-MQEG5GOV.js.gz +0 -0
- package/dist/{chunk-PQNZCSB7.mjs → chunk-O5DKWJDK.mjs} +1 -1
- package/dist/chunk-O5DKWJDK.mjs.br +0 -0
- package/dist/{chunk-PQNZCSB7.mjs.gz → chunk-O5DKWJDK.mjs.gz} +0 -0
- package/dist/{chunk-BP2L2KOZ.mjs → chunk-S546O4W2.mjs} +291 -45
- package/dist/chunk-S546O4W2.mjs.br +0 -0
- package/dist/chunk-S546O4W2.mjs.gz +0 -0
- package/dist/{chunk-PIUB7R2K.js → chunk-SWRY3SI5.js} +5 -6
- package/dist/chunk-SWRY3SI5.js.br +0 -0
- package/dist/chunk-SWRY3SI5.js.gz +0 -0
- package/dist/{chunk-TIEUZCYQ.mjs → chunk-VLLZ3QL2.mjs} +265 -172
- package/dist/chunk-VLLZ3QL2.mjs.br +0 -0
- package/dist/chunk-VLLZ3QL2.mjs.gz +0 -0
- package/dist/{chunk-SNWAM2XJ.mjs → chunk-W3J6SNVE.mjs} +2 -2
- package/dist/chunk-W3J6SNVE.mjs.br +0 -0
- package/dist/chunk-W3J6SNVE.mjs.gz +0 -0
- package/dist/{chunk-POAZ53L5.js → chunk-WVIKFMNS.js} +725 -704
- package/dist/chunk-WVIKFMNS.js.br +0 -0
- package/dist/chunk-WVIKFMNS.js.gz +0 -0
- package/dist/{chunk-VQVC27WL.js → chunk-YNUYFR2T.js} +3 -3
- package/dist/chunk-YNUYFR2T.js.br +0 -0
- package/dist/chunk-YNUYFR2T.js.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +27 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +47 -47
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +99 -22
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +79 -79
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -4
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/{useViewerBuildingBlocks-DC1O_op4.d.ts → useViewerBuildingBlocks-X1L8BjsQ.d.ts} +19 -2
- package/dist/useViewerBuildingBlocks-X1L8BjsQ.d.ts.map +1 -0
- package/dist/viewer/index.js +27 -27
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -6
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-5LCCN7FG.mjs.br +0 -0
- package/dist/AiChatPanel-5LCCN7FG.mjs.gz +0 -0
- package/dist/AiChatPanel-WVORGKRT.js.br +0 -0
- package/dist/AiChatPanel-WVORGKRT.js.gz +0 -0
- package/dist/Area3DChartScene-DY5CSLE2.js.br +0 -0
- package/dist/Area3DChartScene-DY5CSLE2.js.gz +0 -0
- package/dist/Area3DChartScene-W6UZTRDP.mjs.br +0 -0
- package/dist/Area3DChartScene-W6UZTRDP.mjs.gz +0 -0
- package/dist/Bar3DChartScene-7HZSPYG4.js.br +0 -0
- package/dist/Bar3DChartScene-7HZSPYG4.js.gz +0 -0
- package/dist/Bar3DChartScene-FCWQEQLH.mjs.br +0 -0
- package/dist/Bar3DChartScene-FCWQEQLH.mjs.gz +0 -0
- package/dist/Line3DChartScene-BKO24WYO.js.br +0 -0
- package/dist/Line3DChartScene-BKO24WYO.js.gz +0 -0
- package/dist/Line3DChartScene-EPPWQOHS.mjs.br +0 -0
- package/dist/Line3DChartScene-EPPWQOHS.mjs.gz +0 -0
- package/dist/Model3DScene-IAY33GO2.mjs.br +0 -0
- package/dist/Model3DScene-IAY33GO2.mjs.gz +0 -0
- package/dist/Model3DScene-JFVRE5VL.js.br +0 -0
- package/dist/Model3DScene-JFVRE5VL.js.gz +0 -0
- package/dist/PieChart3DScene-IPH7GLKU.js.br +0 -0
- package/dist/PieChart3DScene-IPH7GLKU.js.gz +0 -0
- package/dist/PieChart3DScene-ZP5TSL62.mjs.br +0 -0
- package/dist/PieChart3DScene-ZP5TSL62.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-DOMJGPAD.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-DOMJGPAD.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-TGDBVJSW.js.br +0 -0
- package/dist/SurfaceChart3DScene-TGDBVJSW.js.gz +0 -0
- package/dist/chunk-7JZLE56X.js.br +0 -0
- package/dist/chunk-7JZLE56X.js.gz +0 -0
- package/dist/chunk-A5EUD6UU.js.br +0 -0
- package/dist/chunk-A5EUD6UU.js.gz +0 -0
- package/dist/chunk-BP2L2KOZ.mjs.br +0 -0
- package/dist/chunk-BP2L2KOZ.mjs.gz +0 -0
- package/dist/chunk-MKPSUHUH.mjs.br +0 -0
- package/dist/chunk-MKPSUHUH.mjs.gz +0 -0
- package/dist/chunk-PIUB7R2K.js.br +0 -0
- package/dist/chunk-PIUB7R2K.js.gz +0 -0
- package/dist/chunk-POAZ53L5.js.br +0 -0
- package/dist/chunk-POAZ53L5.js.gz +0 -0
- package/dist/chunk-PQNZCSB7.mjs.br +0 -0
- package/dist/chunk-SNWAM2XJ.mjs.br +0 -0
- package/dist/chunk-SNWAM2XJ.mjs.gz +0 -0
- package/dist/chunk-T7BAPZBY.js.br +0 -0
- package/dist/chunk-T7BAPZBY.js.gz +0 -0
- package/dist/chunk-TIEUZCYQ.mjs.br +0 -0
- package/dist/chunk-TIEUZCYQ.mjs.gz +0 -0
- package/dist/chunk-VMLKJDA5.mjs.br +0 -0
- package/dist/chunk-VMLKJDA5.mjs.gz +0 -0
- package/dist/chunk-VQVC27WL.js.br +0 -0
- package/dist/chunk-VQVC27WL.js.gz +0 -0
- package/dist/useViewerBuildingBlocks-DC1O_op4.d.ts.map +0 -1
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemePresets, PptxMarkdownConverter } from './chunk-
|
|
1
|
+
import { ThemePresets, PptxMarkdownConverter } from './chunk-S546O4W2.mjs';
|
|
2
2
|
import { __export } from './chunk-XGB3TDIC.mjs';
|
|
3
3
|
import * as mcp from 'pptx-viewer-mcp';
|
|
4
4
|
import * as mcpSchemas from 'pptx-viewer-mcp/schemas';
|
|
Binary file
|
|
Binary file
|
|
@@ -33532,7 +33532,7 @@ function chartDataAddCategory(chartData, categoryName) {
|
|
|
33532
33532
|
}))
|
|
33533
33533
|
};
|
|
33534
33534
|
}
|
|
33535
|
-
function chartDataRemoveCategory(chartData, categoryIndex) {
|
|
33535
|
+
function chartDataRemoveCategory(chartData, categoryIndex, followDataPoint = true) {
|
|
33536
33536
|
if (categoryIndex < 0 || categoryIndex >= chartData.categories.length) {
|
|
33537
33537
|
throw new RangeError(
|
|
33538
33538
|
`Category index ${categoryIndex} is out of range. Chart has ${chartData.categories.length} categories.`
|
|
@@ -33543,10 +33543,14 @@ function chartDataRemoveCategory(chartData, categoryIndex) {
|
|
|
33543
33543
|
categories: chartData.categories.filter((_, i) => i !== categoryIndex),
|
|
33544
33544
|
series: chartData.series.map((s) => ({
|
|
33545
33545
|
...s,
|
|
33546
|
-
values: s.values.filter((_, i) => i !== categoryIndex)
|
|
33546
|
+
values: s.values.filter((_, i) => i !== categoryIndex),
|
|
33547
|
+
...s.dataPoints && followDataPoint ? { dataPoints: reindexDataPoints(s.dataPoints, categoryIndex) } : {}
|
|
33547
33548
|
}))
|
|
33548
33549
|
};
|
|
33549
33550
|
}
|
|
33551
|
+
function reindexDataPoints(dataPoints, removedIndex) {
|
|
33552
|
+
return dataPoints.filter((dp) => dp.idx !== removedIndex).map((dp) => dp.idx > removedIndex ? { ...dp, idx: dp.idx - 1 } : dp);
|
|
33553
|
+
}
|
|
33550
33554
|
var EMU_PER_PX4 = 914400 / 96;
|
|
33551
33555
|
var EMU_PER_POS_UNIT = 12700 / 8;
|
|
33552
33556
|
var P14_GUIDE_URI = "{72B1D4B2-8646-4E06-B1EF-53B0C71A9B0A}";
|
|
@@ -111417,10 +111421,15 @@ function buildParetoAxis(layout) {
|
|
|
111417
111421
|
}
|
|
111418
111422
|
var CHART_TYPE_OPTIONS = [
|
|
111419
111423
|
{ value: "bar", label: "Bar", labelKey: "pptx.chart.typeBar" },
|
|
111424
|
+
{ value: "bar3D", label: "Bar (3-D)", labelKey: "pptx.chart.typeBar3D" },
|
|
111420
111425
|
{ value: "line", label: "Line", labelKey: "pptx.chart.typeLine" },
|
|
111426
|
+
{ value: "line3D", label: "Line (3-D)", labelKey: "pptx.chart.typeLine3D" },
|
|
111421
111427
|
{ value: "pie", label: "Pie", labelKey: "pptx.chart.typePie" },
|
|
111428
|
+
{ value: "pie3D", label: "Pie (3-D)", labelKey: "pptx.chart.typePie3D" },
|
|
111422
111429
|
{ value: "doughnut", label: "Doughnut", labelKey: "pptx.chart.typeDoughnut" },
|
|
111423
111430
|
{ value: "area", label: "Area", labelKey: "pptx.chart.typeArea" },
|
|
111431
|
+
{ value: "area3D", label: "Area (3-D)", labelKey: "pptx.chart.typeArea3D" },
|
|
111432
|
+
{ value: "surface", label: "Surface", labelKey: "pptx.chart.typeSurface" },
|
|
111424
111433
|
{ value: "scatter", label: "Scatter", labelKey: "pptx.chart.typeScatter" },
|
|
111425
111434
|
{ value: "bubble", label: "Bubble", labelKey: "pptx.chart.typeBubble" },
|
|
111426
111435
|
{ value: "radar", label: "Radar", labelKey: "pptx.chart.typeRadar" },
|
|
@@ -111719,11 +111728,11 @@ function removeChartSeries(data, seriesIndex) {
|
|
|
111719
111728
|
function addChartCategory(data) {
|
|
111720
111729
|
return chartDataAddCategory(data, `Cat ${data.categories.length + 1}`);
|
|
111721
111730
|
}
|
|
111722
|
-
function removeChartCategory(data, categoryIndex) {
|
|
111731
|
+
function removeChartCategory(data, categoryIndex, followDataPoint = true) {
|
|
111723
111732
|
if (data.categories.length <= 1 || categoryIndex < 0 || categoryIndex >= data.categories.length) {
|
|
111724
111733
|
return null;
|
|
111725
111734
|
}
|
|
111726
|
-
return chartDataRemoveCategory(data, categoryIndex);
|
|
111735
|
+
return chartDataRemoveCategory(data, categoryIndex, followDataPoint);
|
|
111727
111736
|
}
|
|
111728
111737
|
function setChartCategoryLabel(data, categoryIndex, label) {
|
|
111729
111738
|
if (categoryIndex < 0 || categoryIndex >= data.categories.length) {
|
|
@@ -120287,6 +120296,7 @@ var translationsEn = {
|
|
|
120287
120296
|
// Print
|
|
120288
120297
|
"pptx.print.title": "Print",
|
|
120289
120298
|
"pptx.print.printButton": "Print",
|
|
120299
|
+
"pptx.print.preparingToPrint": "Preparing to print\u2026",
|
|
120290
120300
|
// Export
|
|
120291
120301
|
"pptx.export.processing": "Processing\u2026",
|
|
120292
120302
|
"pptx.export.cancel": "Cancel",
|
|
@@ -121596,6 +121606,8 @@ var translationsEn = {
|
|
|
121596
121606
|
"pptx.security.hidePassword": "Hide password",
|
|
121597
121607
|
"pptx.security.show": "Show",
|
|
121598
121608
|
"pptx.security.hide": "Hide",
|
|
121609
|
+
"pptx.security.protectedViewTitle": "PROTECTED VIEW",
|
|
121610
|
+
"pptx.security.enableEditing": "Enable Editing",
|
|
121599
121611
|
"pptx.ribbon.slideShowOptions": "Slide show options",
|
|
121600
121612
|
"pptx.ribbon.fromBeginning": "From Beginning",
|
|
121601
121613
|
"pptx.ribbon.presenterView": "Presenter View",
|
|
@@ -122026,8 +122038,6 @@ var translationsEn = {
|
|
|
122026
122038
|
"pptx.file.copyImageTooltip": "Copy Slide as Image",
|
|
122027
122039
|
"pptx.file.fonts": "Fonts",
|
|
122028
122040
|
"pptx.file.gif": "GIF",
|
|
122029
|
-
"pptx.file.package": "Package",
|
|
122030
|
-
"pptx.file.packageTooltip": "Package for Sharing",
|
|
122031
122041
|
"pptx.file.pdf": "PDF",
|
|
122032
122042
|
"pptx.file.png": "PNG",
|
|
122033
122043
|
"pptx.file.saveAsPpsx": "Save .ppsx",
|
|
@@ -122821,6 +122831,8 @@ var translationsEn = {
|
|
|
122821
122831
|
"pptx.options.advanced.display": "Display",
|
|
122822
122832
|
"pptx.options.advanced.recentCount": "Show this number of Recent Presentations",
|
|
122823
122833
|
"pptx.options.advanced.disableHardwareAcceleration": "Disable hardware graphics acceleration",
|
|
122834
|
+
"pptx.options.advanced.disable3DRendering": "Disable 3D rendering (for performance)",
|
|
122835
|
+
"pptx.options.advanced.disable3DRenderingInfo": "Forces every 3D chart and SmartArt scene to fall back to flat 2D rendering, even in a presentation that enables 3D. Turn this on if 3D scenes run slowly on this device.",
|
|
122824
122836
|
"pptx.options.advanced.openDocumentsView": "Open all documents using this view",
|
|
122825
122837
|
"pptx.options.openView.savedView": "The view saved in the file",
|
|
122826
122838
|
"pptx.options.openView.normal": "Normal",
|
|
@@ -123130,8 +123142,6 @@ var translationsEn = {
|
|
|
123130
123142
|
"pptx.backstage.card.saveAsPpsx.body": "Save a .ppsx file that opens directly in slide show.",
|
|
123131
123143
|
"pptx.backstage.card.saveAsPptm.title": "Macro-Enabled Presentation",
|
|
123132
123144
|
"pptx.backstage.card.saveAsPptm.body": "Preserve VBA content in a .pptm file.",
|
|
123133
|
-
"pptx.backstage.card.package.title": "Package for Sharing",
|
|
123134
|
-
"pptx.backstage.card.package.body": "Bundle the presentation and linked assets.",
|
|
123135
123145
|
"pptx.backstage.card.pdf.title": "Create PDF",
|
|
123136
123146
|
"pptx.backstage.card.pdf.body": "Publish a portable document with one page per slide.",
|
|
123137
123147
|
"pptx.backstage.card.png.title": "Export current slide",
|
|
@@ -123148,8 +123158,6 @@ var translationsEn = {
|
|
|
123148
123158
|
"pptx.backstage.card.print.body": "Choose a printer, layout, copies, and output settings in your browser print dialog.",
|
|
123149
123159
|
"pptx.backstage.card.share.title": "Share with People",
|
|
123150
123160
|
"pptx.backstage.card.share.body": "Invite collaborators and work on the presentation together.",
|
|
123151
|
-
"pptx.backstage.card.sharePackage.title": "Package for Sharing",
|
|
123152
|
-
"pptx.backstage.card.sharePackage.body": "Download a self-contained package for offline sharing.",
|
|
123153
123161
|
// OOXML wire tokens that controls used to render verbatim. Wording follows
|
|
123154
123162
|
// PowerPoint's own dialogs; see `render/schema-label-keys.ts` for the
|
|
123155
123163
|
// token -> key lookups these back.
|
|
@@ -129693,7 +129701,7 @@ function buildActiveSessionUsers(params) {
|
|
|
129693
129701
|
const local = {
|
|
129694
129702
|
id: "local",
|
|
129695
129703
|
name: params.localUserName,
|
|
129696
|
-
initials: getUserInitials(params.localUserName),
|
|
129704
|
+
initials: params.localUserInitials?.trim() ? params.localUserInitials.trim().slice(0, 2).toUpperCase() : getUserInitials(params.localUserName),
|
|
129697
129705
|
color: params.localUserColor ?? DEFAULT_LOCAL_COLOR,
|
|
129698
129706
|
isLocal: true
|
|
129699
129707
|
}, remote = params.remoteUsers.map((user) => ({
|
|
@@ -139884,6 +139892,9 @@ function runPresentationAction(action, options, runner) {
|
|
|
139884
139892
|
runner.endShow();
|
|
139885
139893
|
return true;
|
|
139886
139894
|
case "openUrl":
|
|
139895
|
+
if (runner.confirmUrl && !runner.confirmUrl(intent.url)) {
|
|
139896
|
+
return true;
|
|
139897
|
+
}
|
|
139887
139898
|
return safeOpenUrl(intent.url);
|
|
139888
139899
|
default:
|
|
139889
139900
|
return false;
|
|
@@ -142588,13 +142599,14 @@ function splitFilePath(path, translate) {
|
|
|
142588
142599
|
location: parts.slice(0, -1).join("/") || label("pptx.backstage.browserStorage", "Browser storage")
|
|
142589
142600
|
};
|
|
142590
142601
|
}
|
|
142591
|
-
async function listBackstageRecentFiles(translate) {
|
|
142602
|
+
async function listBackstageRecentFiles(translate, limit) {
|
|
142592
142603
|
if (typeof indexedDB === "undefined") {
|
|
142593
142604
|
return [];
|
|
142594
142605
|
}
|
|
142595
142606
|
try {
|
|
142596
142607
|
const snapshots = await listAutosaveSnapshots();
|
|
142597
|
-
|
|
142608
|
+
const sorted = snapshots.map((snapshot) => ({ ...snapshot, ...splitFilePath(snapshot.key, translate) })).sort((a, b) => b.timestamp - a.timestamp);
|
|
142609
|
+
return limit === void 0 ? sorted : sorted.slice(0, Math.max(0, limit));
|
|
142598
142610
|
} catch {
|
|
142599
142611
|
return [];
|
|
142600
142612
|
}
|
|
@@ -142674,7 +142686,6 @@ var BACKSTAGE_CARDS = {
|
|
|
142674
142686
|
"Macro-Enabled Presentation",
|
|
142675
142687
|
"Preserve VBA content in a .pptm file."
|
|
142676
142688
|
),
|
|
142677
|
-
package: card("package", "Package for Sharing", "Bundle the presentation and linked assets."),
|
|
142678
142689
|
pdf: card("pdf", "Create PDF", "Publish a portable document with one page per slide."),
|
|
142679
142690
|
png: card("png", "Export current slide", "Create a high-quality PNG image."),
|
|
142680
142691
|
video: card("video", "Create a Video", "Export slide timings and animations as WebM."),
|
|
@@ -142694,19 +142705,14 @@ var BACKSTAGE_CARDS = {
|
|
|
142694
142705
|
"share",
|
|
142695
142706
|
"Share with People",
|
|
142696
142707
|
"Invite collaborators and work on the presentation together."
|
|
142697
|
-
),
|
|
142698
|
-
sharePackage: card(
|
|
142699
|
-
"sharePackage",
|
|
142700
|
-
"Package for Sharing",
|
|
142701
|
-
"Download a self-contained package for offline sharing."
|
|
142702
142708
|
)
|
|
142703
142709
|
};
|
|
142704
142710
|
var BACKSTAGE_PAGE_CARDS = {
|
|
142705
142711
|
info: ["protect", "inspect", "embedFonts", "signatures", "versionHistory"],
|
|
142706
|
-
saveAs: ["saveAsPptx", "saveAsPpsx", "saveAsPptm"
|
|
142712
|
+
saveAs: ["saveAsPptx", "saveAsPpsx", "saveAsPptm"],
|
|
142707
142713
|
export: ["pdf", "png", "video", "gif", "json", "copyImage"],
|
|
142708
142714
|
print: ["print"],
|
|
142709
|
-
share: ["share"
|
|
142715
|
+
share: ["share"]
|
|
142710
142716
|
};
|
|
142711
142717
|
function backstageCardsFor(page) {
|
|
142712
142718
|
return (BACKSTAGE_PAGE_CARDS[page] ?? []).map((id) => BACKSTAGE_CARDS[id]);
|
|
@@ -143213,6 +143219,111 @@ var TOOLBAR_TABS = [
|
|
|
143213
143219
|
function isActionHidden(id, hiddenActions) {
|
|
143214
143220
|
return hiddenActions !== void 0 && hiddenActions.includes(id);
|
|
143215
143221
|
}
|
|
143222
|
+
var DAY_NAMES = ["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"];
|
|
143223
|
+
var FRACTIONS = [
|
|
143224
|
+
["1/2", "\xBD"],
|
|
143225
|
+
["1/4", "\xBC"],
|
|
143226
|
+
["3/4", "\xBE"]
|
|
143227
|
+
];
|
|
143228
|
+
var ORDINAL_SUFFIXES = {
|
|
143229
|
+
st: "\u02E2\u1D57",
|
|
143230
|
+
nd: "\u207F\u1D48",
|
|
143231
|
+
rd: "\u02B3\u1D48",
|
|
143232
|
+
th: "\u1D57\u02B0"
|
|
143233
|
+
};
|
|
143234
|
+
function fixTwoInitialCapitals(word) {
|
|
143235
|
+
if (/^[A-Z]{2}[a-z]/.test(word) && !/^[A-Z]{3,}$/.test(word)) {
|
|
143236
|
+
const second = word.charAt(1).toLowerCase();
|
|
143237
|
+
return `${word.charAt(0)}${second}${word.slice(2)}`;
|
|
143238
|
+
}
|
|
143239
|
+
return word;
|
|
143240
|
+
}
|
|
143241
|
+
function capitalizeDayName(word) {
|
|
143242
|
+
const bare = word.toLowerCase();
|
|
143243
|
+
if (DAY_NAMES.includes(bare) && word === bare) {
|
|
143244
|
+
return `${bare.charAt(0).toUpperCase()}${bare.slice(1)}`;
|
|
143245
|
+
}
|
|
143246
|
+
return word;
|
|
143247
|
+
}
|
|
143248
|
+
function replaceFractions(word) {
|
|
143249
|
+
for (const [plain, glyph] of FRACTIONS) {
|
|
143250
|
+
if (word === plain) {
|
|
143251
|
+
return glyph;
|
|
143252
|
+
}
|
|
143253
|
+
}
|
|
143254
|
+
return word;
|
|
143255
|
+
}
|
|
143256
|
+
function replaceOrdinal(word) {
|
|
143257
|
+
const match = /^(\d+)(st|nd|rd|th)$/i.exec(word);
|
|
143258
|
+
if (!match || match[1] === void 0 || match[2] === void 0) {
|
|
143259
|
+
return word;
|
|
143260
|
+
}
|
|
143261
|
+
const superscript = ORDINAL_SUFFIXES[match[2].toLowerCase()];
|
|
143262
|
+
return superscript ? `${match[1]}${superscript}` : word;
|
|
143263
|
+
}
|
|
143264
|
+
function transformWord(word, proofing) {
|
|
143265
|
+
let result = word;
|
|
143266
|
+
if (proofing.autoCorrectTwoInitialCapitals) {
|
|
143267
|
+
result = fixTwoInitialCapitals(result);
|
|
143268
|
+
}
|
|
143269
|
+
if (proofing.autoCorrectCapitalizeDayNames) {
|
|
143270
|
+
result = capitalizeDayName(result);
|
|
143271
|
+
}
|
|
143272
|
+
if (proofing.autoCorrectFractions) {
|
|
143273
|
+
result = replaceFractions(result);
|
|
143274
|
+
}
|
|
143275
|
+
if (proofing.autoCorrectOrdinals) {
|
|
143276
|
+
result = replaceOrdinal(result);
|
|
143277
|
+
}
|
|
143278
|
+
return result;
|
|
143279
|
+
}
|
|
143280
|
+
function applySmartQuotes(text2) {
|
|
143281
|
+
let result = "";
|
|
143282
|
+
for (let i = 0; i < text2.length; i += 1) {
|
|
143283
|
+
const char = text2.charAt(i);
|
|
143284
|
+
if (char !== '"' && char !== "'") {
|
|
143285
|
+
result += char;
|
|
143286
|
+
continue;
|
|
143287
|
+
}
|
|
143288
|
+
const previous = i === 0 ? "" : text2.charAt(i - 1);
|
|
143289
|
+
const opening = previous === "" || /[\s([{‘“-]/.test(previous);
|
|
143290
|
+
if (char === '"') {
|
|
143291
|
+
result += opening ? "\u201C" : "\u201D";
|
|
143292
|
+
} else {
|
|
143293
|
+
result += opening ? "\u2018" : "\u2019";
|
|
143294
|
+
}
|
|
143295
|
+
}
|
|
143296
|
+
return result;
|
|
143297
|
+
}
|
|
143298
|
+
function applyHyphensToDash(text2) {
|
|
143299
|
+
return text2.replace(/(\S)--(?=\S)/g, "$1\u2014").replace(/ -- /g, " \u2013 ");
|
|
143300
|
+
}
|
|
143301
|
+
function capitalizeSentences(text2) {
|
|
143302
|
+
return text2.replace(
|
|
143303
|
+
/(^|[.!?]\s+)([a-z])/g,
|
|
143304
|
+
(_match, lead, letter) => `${lead}${letter.toUpperCase()}`
|
|
143305
|
+
);
|
|
143306
|
+
}
|
|
143307
|
+
function applyAutoCorrect(text2, proofing) {
|
|
143308
|
+
if (text2.length === 0) {
|
|
143309
|
+
return text2;
|
|
143310
|
+
}
|
|
143311
|
+
let result = text2;
|
|
143312
|
+
if (proofing.autoCorrectSmartQuotes) {
|
|
143313
|
+
result = applySmartQuotes(result);
|
|
143314
|
+
}
|
|
143315
|
+
if (proofing.autoCorrectHyphensToDash) {
|
|
143316
|
+
result = applyHyphensToDash(result);
|
|
143317
|
+
}
|
|
143318
|
+
const needsWordPass = proofing.autoCorrectTwoInitialCapitals || proofing.autoCorrectCapitalizeDayNames || proofing.autoCorrectFractions || proofing.autoCorrectOrdinals;
|
|
143319
|
+
if (needsWordPass) {
|
|
143320
|
+
result = result.split(/(\s+)/).map((part) => /^\s+$/.test(part) ? part : transformWord(part, proofing)).join("");
|
|
143321
|
+
}
|
|
143322
|
+
if (proofing.autoCorrectCapitalizeFirstLetter) {
|
|
143323
|
+
result = capitalizeSentences(result);
|
|
143324
|
+
}
|
|
143325
|
+
return result;
|
|
143326
|
+
}
|
|
143216
143327
|
var QUICK_ACCESS_COMMAND_CATALOG = [
|
|
143217
143328
|
{ id: "save", labelKey: "pptx.toolbar.save", icon: "save" },
|
|
143218
143329
|
{ id: "undo", labelKey: "pptx.toolbar.undo", icon: "undo" },
|
|
@@ -143388,6 +143499,7 @@ var DEFAULT_VIEWER_OPTIONS = {
|
|
|
143388
143499
|
showGrid: false,
|
|
143389
143500
|
snapToGrid: false,
|
|
143390
143501
|
disableHardwareAcceleration: false,
|
|
143502
|
+
disable3DRendering: false,
|
|
143391
143503
|
openDocumentsView: "savedView",
|
|
143392
143504
|
slideShowShowMenuOnRightClick: true,
|
|
143393
143505
|
slideShowShowPopupToolbar: true,
|
|
@@ -143510,16 +143622,132 @@ function applyPreferenceToOptions(options, key2, value) {
|
|
|
143510
143622
|
}
|
|
143511
143623
|
return next;
|
|
143512
143624
|
}
|
|
143625
|
+
function resolveHistoryDepth(options) {
|
|
143626
|
+
const steps = Math.round(options.advanced.maximumUndoSteps);
|
|
143627
|
+
return Math.min(150, Math.max(3, Number.isFinite(steps) ? steps : 100));
|
|
143628
|
+
}
|
|
143513
143629
|
function resolveAutosaveIntervalSeconds(options) {
|
|
143514
143630
|
const seconds = Math.round(options.save.autoRecoverIntervalMinutes * 60);
|
|
143515
143631
|
return Math.max(AUTOSAVE_MIN_INTERVAL_SECONDS, Number.isFinite(seconds) ? seconds : 120);
|
|
143516
143632
|
}
|
|
143633
|
+
function resolveScreenTip(options, label, description, shortcut) {
|
|
143634
|
+
const style = options.general.screenTipStyle;
|
|
143635
|
+
if (style === "off") {
|
|
143636
|
+
return void 0;
|
|
143637
|
+
}
|
|
143638
|
+
let tip = label;
|
|
143639
|
+
if (style === "descriptions" && description) {
|
|
143640
|
+
tip = `${tip}: ${description}`;
|
|
143641
|
+
}
|
|
143642
|
+
if (shortcut && options.accessibility.showShortcutKeysInScreenTips) {
|
|
143643
|
+
tip = `${tip} (${shortcut})`;
|
|
143644
|
+
}
|
|
143645
|
+
return tip;
|
|
143646
|
+
}
|
|
143647
|
+
function resolveDefaultPrintSettings(options) {
|
|
143648
|
+
if (options.advanced.printUseMostRecentSettings) {
|
|
143649
|
+
return void 0;
|
|
143650
|
+
}
|
|
143651
|
+
return {
|
|
143652
|
+
printWhat: options.advanced.printWhat,
|
|
143653
|
+
colorMode: options.advanced.printColorMode,
|
|
143654
|
+
frameSlides: options.advanced.printFrameSlides,
|
|
143655
|
+
scaleToFit: options.advanced.printScaleToFit
|
|
143656
|
+
};
|
|
143657
|
+
}
|
|
143658
|
+
function resolveImageResolutionPpi(preset) {
|
|
143659
|
+
switch (preset) {
|
|
143660
|
+
case "ppi330":
|
|
143661
|
+
return 330;
|
|
143662
|
+
case "ppi220":
|
|
143663
|
+
return 220;
|
|
143664
|
+
case "ppi150":
|
|
143665
|
+
return 150;
|
|
143666
|
+
case "ppi96":
|
|
143667
|
+
return 96;
|
|
143668
|
+
default:
|
|
143669
|
+
return void 0;
|
|
143670
|
+
}
|
|
143671
|
+
}
|
|
143672
|
+
function resolveImageResolutionScale(options) {
|
|
143673
|
+
if (options.advanced.doNotCompressImages) {
|
|
143674
|
+
return 1;
|
|
143675
|
+
}
|
|
143676
|
+
const ppi = resolveImageResolutionPpi(options.advanced.imageDefaultResolution);
|
|
143677
|
+
return ppi === void 0 ? 1 : Math.max(0.25, Math.min(4, ppi / 96));
|
|
143678
|
+
}
|
|
143517
143679
|
function shouldConfirmExternalHyperlink(options, href) {
|
|
143518
143680
|
if (!options.trust.confirmExternalHyperlinks) {
|
|
143519
143681
|
return false;
|
|
143520
143682
|
}
|
|
143521
143683
|
return /^https?:/i.test(href);
|
|
143522
143684
|
}
|
|
143685
|
+
function resolve3DRenderingFlags(hostFlags, options) {
|
|
143686
|
+
if (!options.advanced.disable3DRendering) {
|
|
143687
|
+
return hostFlags;
|
|
143688
|
+
}
|
|
143689
|
+
return {
|
|
143690
|
+
smartArt3D: false,
|
|
143691
|
+
surfaceChart3D: false,
|
|
143692
|
+
barChart3D: false,
|
|
143693
|
+
lineChart3D: false,
|
|
143694
|
+
areaChart3D: false,
|
|
143695
|
+
pieChart3D: false
|
|
143696
|
+
};
|
|
143697
|
+
}
|
|
143698
|
+
function resolveOptionRootClasses(options, prefix) {
|
|
143699
|
+
const classes = [];
|
|
143700
|
+
if (options.accessibility.reducedMotion) {
|
|
143701
|
+
classes.push(`${prefix}-reduced-motion`);
|
|
143702
|
+
}
|
|
143703
|
+
if (options.advanced.disableHardwareAcceleration) {
|
|
143704
|
+
classes.push(`${prefix}-no-hw-accel`);
|
|
143705
|
+
}
|
|
143706
|
+
if (options.general.displayOptimization === "compatibility") {
|
|
143707
|
+
classes.push(`${prefix}-compat-display`);
|
|
143708
|
+
}
|
|
143709
|
+
return classes;
|
|
143710
|
+
}
|
|
143711
|
+
function shouldDiscardAutosaveOnSuccessfulSave(options) {
|
|
143712
|
+
return !options.save.keepLastAutoRecoveredVersion;
|
|
143713
|
+
}
|
|
143714
|
+
function shouldClearAutosaveCacheOnClose(options) {
|
|
143715
|
+
return options.save.clearCacheOnClose;
|
|
143716
|
+
}
|
|
143717
|
+
function resolveExpiredAutosaveSnapshots(snapshots, options, now = Date.now()) {
|
|
143718
|
+
const days = options.save.cacheRetentionDays;
|
|
143719
|
+
if (!Number.isFinite(days) || days <= 0) {
|
|
143720
|
+
return [];
|
|
143721
|
+
}
|
|
143722
|
+
const maxAgeMs = days * 24 * 60 * 60 * 1e3;
|
|
143723
|
+
return snapshots.filter((snapshot) => now - snapshot.timestamp > maxAgeMs).map((s) => s.key);
|
|
143724
|
+
}
|
|
143725
|
+
function playFeedbackSound(options) {
|
|
143726
|
+
if (!options.accessibility.feedbackWithSound || typeof window === "undefined") {
|
|
143727
|
+
return;
|
|
143728
|
+
}
|
|
143729
|
+
const AudioContextCtor = window.AudioContext;
|
|
143730
|
+
if (!AudioContextCtor) {
|
|
143731
|
+
return;
|
|
143732
|
+
}
|
|
143733
|
+
try {
|
|
143734
|
+
const context = new AudioContextCtor();
|
|
143735
|
+
const oscillator = context.createOscillator();
|
|
143736
|
+
const gain = context.createGain();
|
|
143737
|
+
const modern = options.accessibility.soundScheme === "modern";
|
|
143738
|
+
oscillator.frequency.value = modern ? 880 : 660;
|
|
143739
|
+
oscillator.type = modern ? "sine" : "square";
|
|
143740
|
+
gain.gain.setValueAtTime(0.04, context.currentTime);
|
|
143741
|
+
gain.gain.exponentialRampToValueAtTime(1e-4, context.currentTime + 0.15);
|
|
143742
|
+
oscillator.connect(gain).connect(context.destination);
|
|
143743
|
+
oscillator.start();
|
|
143744
|
+
oscillator.stop(context.currentTime + 0.16);
|
|
143745
|
+
oscillator.onended = () => {
|
|
143746
|
+
void context.close();
|
|
143747
|
+
};
|
|
143748
|
+
} catch {
|
|
143749
|
+
}
|
|
143750
|
+
}
|
|
143523
143751
|
function toggle(group2, key2, labelKey, extra) {
|
|
143524
143752
|
return { kind: "toggle", group: group2, key: key2, labelKey, ...extra };
|
|
143525
143753
|
}
|
|
@@ -143624,6 +143852,9 @@ var ADVANCED_TAB = {
|
|
|
143624
143852
|
"disableHardwareAcceleration",
|
|
143625
143853
|
"pptx.options.advanced.disableHardwareAcceleration"
|
|
143626
143854
|
),
|
|
143855
|
+
toggle("advanced", "disable3DRendering", "pptx.options.advanced.disable3DRendering", {
|
|
143856
|
+
infoKey: "pptx.options.advanced.disable3DRenderingInfo"
|
|
143857
|
+
}),
|
|
143627
143858
|
select(
|
|
143628
143859
|
"advanced",
|
|
143629
143860
|
"openDocumentsView",
|
|
@@ -144186,22 +144417,6 @@ function canvasToJpegData(canvas, quality = 0.92) {
|
|
|
144186
144417
|
}
|
|
144187
144418
|
return { bytes, w: canvas.width, h: canvas.height };
|
|
144188
144419
|
}
|
|
144189
|
-
function generatePackageReadme(presentationFilename) {
|
|
144190
|
-
return [
|
|
144191
|
-
"Presentation Package",
|
|
144192
|
-
"====================",
|
|
144193
|
-
"",
|
|
144194
|
-
`This folder contains the presentation "${presentationFilename}" along with`,
|
|
144195
|
-
"all linked media files (images, audio, video) in the /media subfolder.",
|
|
144196
|
-
"",
|
|
144197
|
-
"To view this presentation:",
|
|
144198
|
-
"1. Open the presentation file with any compatible presentation software",
|
|
144199
|
-
"2. Ensure the /media folder remains alongside the presentation file",
|
|
144200
|
-
"",
|
|
144201
|
-
`Packaged on ${(/* @__PURE__ */ new Date()).toLocaleDateString()}`,
|
|
144202
|
-
""
|
|
144203
|
-
].join("\n");
|
|
144204
|
-
}
|
|
144205
144420
|
function encodeGif(frames, delay = {}) {
|
|
144206
144421
|
if (frames.length === 0) {
|
|
144207
144422
|
throw new Error("[gif-encoder] encodeGif: frames array must not be empty");
|
|
@@ -144693,9 +144908,15 @@ function sanitizeSlideSvg(svg, width, height) {
|
|
|
144693
144908
|
return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${safeWidth} ${safeHeight}" width="${safeWidth}" height="${safeHeight}">${sanitized}</svg>`;
|
|
144694
144909
|
}
|
|
144695
144910
|
function buildPrintDocument(svgs, width, height, options = {}) {
|
|
144696
|
-
const {
|
|
144911
|
+
const {
|
|
144912
|
+
title = "Print",
|
|
144913
|
+
orientation = "landscape",
|
|
144914
|
+
colorFilter = "",
|
|
144915
|
+
scaleToFit = true
|
|
144916
|
+
} = options;
|
|
144697
144917
|
const safeOrientation = sanitizeOrientation(orientation);
|
|
144698
144918
|
const safeColorFilter = sanitizeCssDeclaration(colorFilter);
|
|
144919
|
+
const svgSizeStyle = scaleToFit ? ".print-slide-page svg { max-width: 100%; max-height: 100%; width: auto; height: auto; }" : `.print-slide-page svg { max-width: none; max-height: none; width: ${width}px; height: ${height}px; }`;
|
|
144699
144920
|
const slidePages = svgs.map((svg, i) => {
|
|
144700
144921
|
const safeSvg = sanitizeSlideSvg(svg, width, height);
|
|
144701
144922
|
return `<section class="print-slide-page" aria-label="Slide ${i + 1}">
|
|
@@ -144726,12 +144947,7 @@ function buildPrintDocument(svgs, width, height, options = {}) {
|
|
|
144726
144947
|
.print-slide-page:last-child {
|
|
144727
144948
|
page-break-after: auto;
|
|
144728
144949
|
}
|
|
144729
|
-
|
|
144730
|
-
max-width: 100%;
|
|
144731
|
-
max-height: 100%;
|
|
144732
|
-
width: auto;
|
|
144733
|
-
height: auto;
|
|
144734
|
-
}
|
|
144950
|
+
${svgSizeStyle}
|
|
144735
144951
|
@page {
|
|
144736
144952
|
size: ${safeOrientation};
|
|
144737
144953
|
margin: 5mm;
|
|
@@ -145508,6 +145724,12 @@ function computeSlideIndices(slideRange, activeSlideIndex, slideCount, customRan
|
|
|
145508
145724
|
}
|
|
145509
145725
|
return Array.from({ length: slideCount }, (_, i) => i);
|
|
145510
145726
|
}
|
|
145727
|
+
function filterHiddenSlideIndices(indices, slides, includeHidden) {
|
|
145728
|
+
if (includeHidden) {
|
|
145729
|
+
return indices;
|
|
145730
|
+
}
|
|
145731
|
+
return indices.filter((index) => !slides[index]?.hidden);
|
|
145732
|
+
}
|
|
145511
145733
|
function computeColorFilter(colorMode) {
|
|
145512
145734
|
if (colorMode === "grayscale") {
|
|
145513
145735
|
return "filter: grayscale(1);";
|
|
@@ -145628,6 +145850,7 @@ function buildPrintHtmlDocument(options) {
|
|
|
145628
145850
|
const colorFilter = options.colorFilter;
|
|
145629
145851
|
const safeBodyHtml = isSafePrintBodyHtml(bodyHtml) ? sanitizeMarkupOrEmpty(bodyHtml, PRINT_BODY_SANITIZE_CONFIG) : "";
|
|
145630
145852
|
const frameStyle = frameSlides ? "img.slide-img, .notes-slide, .handout-cell img { border: 2px solid #000 !important; }" : "";
|
|
145853
|
+
const scaleToFitStyle = options.scaleToFit === false ? ".slide-page img.slide-img { max-width: none; max-height: none; width: auto; height: auto; } .handout-cell img { width: auto; height: auto; max-width: none; max-height: none; object-fit: none; }" : "";
|
|
145631
145854
|
return `<!doctype html>
|
|
145632
145855
|
<html>
|
|
145633
145856
|
<head>
|
|
@@ -145670,11 +145893,34 @@ function buildPrintHtmlDocument(options) {
|
|
|
145670
145893
|
img { break-inside: avoid; }
|
|
145671
145894
|
}
|
|
145672
145895
|
${frameStyle}
|
|
145896
|
+
${scaleToFitStyle}
|
|
145673
145897
|
</style>
|
|
145674
145898
|
</head>
|
|
145675
145899
|
<body>${safeBodyHtml}</body>
|
|
145676
145900
|
</html>`;
|
|
145677
145901
|
}
|
|
145902
|
+
function openPendingPrintWindow(preparingLabel) {
|
|
145903
|
+
const printWindow = window.open("", "_blank", "noopener,noreferrer");
|
|
145904
|
+
if (!printWindow) {
|
|
145905
|
+
return null;
|
|
145906
|
+
}
|
|
145907
|
+
const safeLabel = escapeHtml22(preparingLabel);
|
|
145908
|
+
printWindow.document.open();
|
|
145909
|
+
printWindow.document.write(
|
|
145910
|
+
`<!doctype html><title>${safeLabel}</title><body style="font:14px system-ui;color:#666;padding:2rem">${safeLabel}</body>`
|
|
145911
|
+
);
|
|
145912
|
+
printWindow.document.close();
|
|
145913
|
+
return printWindow;
|
|
145914
|
+
}
|
|
145915
|
+
function finishPrintWindow(printWindow, htmlDocument) {
|
|
145916
|
+
printWindow.document.open();
|
|
145917
|
+
printWindow.document.write(htmlDocument);
|
|
145918
|
+
printWindow.document.close();
|
|
145919
|
+
printWindow.focus();
|
|
145920
|
+
setTimeout(() => {
|
|
145921
|
+
printWindow.print();
|
|
145922
|
+
}, 300);
|
|
145923
|
+
}
|
|
145678
145924
|
var WEBM_MIME_CANDIDATES = [
|
|
145679
145925
|
"video/webm;codecs=vp9",
|
|
145680
145926
|
"video/webm;codecs=vp8",
|
|
@@ -145758,4 +146004,4 @@ function segmentFrameCount(durationMs, fps) {
|
|
|
145758
146004
|
* `<p:extLst>` (optional)
|
|
145759
146005
|
*/
|
|
145760
146006
|
|
|
145761
|
-
export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, CHART_TYPE_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMENT_MARKER_SIZE, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, CONNECTOR_SITE_SNAP_PX, CUSTOM_FONT_ACCEPT, DEBOUNCE_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_PALETTE2, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPANDED_MAX_HEIGHT, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, INDENT_PX, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_INDENT_LEVEL, MAX_ZOOM_SCALE, MEDIA_CHROME_ATTRIBUTE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PEN_COLORS, PPTX_OPEN_ACCEPT, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_HIT_TEST_CSS, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_OPEN_EXTENSIONS, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_NAVIGATOR_LABEL_KEYS, PRESENT_TOOLBAR_CLASSES, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RIBBON_SHAPE_SWATCHES, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_SLOT_LABEL_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_MORPH_OPTIONS, TRANSITION_ORIENTATION_TYPES, TRANSITION_SOUND_NONE_VALUE, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SPEED_OPTIONS, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptAutosaveRecovery, acceptsPresentationInput, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addCommentToList, addQuickAccessCommand, addSection, addSiblingAfter, addSmartArtNodeAsChild, addTagToCollections, advanceChartValueDrag, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyAnimationTimelineOrder, applyCaseTransformToSegments, applyChartBuildReveal, applyChartPartHighlight, applyColorChange, applyDuotone, applyFindReplacements, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyTableCellImagePatches, applyTableStyleImagePatches, applyTableStylePreset, applyThemeOverrideToSlide, applyThemeToData, applyTransitionSoundFile, attachPresentationVisibilityPause, authorConnectorBetweenSites, autosaveSnapshotMark, availableQuickAccessCommands, backstageCardsFor, beginChartValueDrag, beginShapeAdjustment, bringForward, bringToFront, build3DExtrusionData, buildActiveSessionUsers, buildAnimationTimelineBars, buildAnimationTimelineRows, buildAreaChart3DDataForElement, buildBarActions, buildBarChart3DDataForElement, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildChromeStyle, buildCollaborationShareUrl, buildCommentMarkers, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildFontCatalog, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildJoinCollaborationConfig, buildLayoutPreviewGeometry, buildLineChart3DDataForElement, buildMorphAnimationRules, buildMorphTransitionPlan, buildMotionPathPreview, buildNotesHtml, buildNotesPdfBytes, buildNotesPrintHtml, buildOleObjectNamePatch, buildOutline, buildOutlineHtml, buildParagraphs, buildPieChart3DDataForElement, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildRectPathGradient, buildRunTabLines, buildSaveSlides, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSubpathFillOverlay, buildSubpathPaints, buildSummaryZoomView, buildSurfaceChart3DDataForElement, buildSvgGradientDef, buildTabContext, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canAddTopLevelNode, canCommitActionType, canGoNext, canGoPrevious, canInteractWithElement, canRemoveTopLevelNode, canvasToJpegData, cellRunStyle, cellStyleToCss, centeredSvgTextLines, chartPartToAttrs, chartPreserveAspectRatio, clampCropValue, clampNotesFontSize, clampOptionNumber, clampPercent, clampSorterZoom, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, classifyExtraConnections, classifyMediaType, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, clearTransitionSound, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectConnectorSiteCandidates, collectImagePaths, collectMediaElements, collectTableCellImagePaths, collectTableStyleImagePaths, collectUsedFonts, colorWithOpacity, commentTextSegments, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeAnchoredPopupPosition, computeChartLegendLayout, computeColorFilter, computeColumnBoundaries, computeDrawingViewBox, computeEntranceAnimationDelay, computeGridSpacingPx, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSlideIndices, computeSmartArtElementLayout, computeSnapToShape, computeSplitCell, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPlainNotesSegments, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, createWheelStepBuffer, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demote, deriveSlideFieldContext, deriveViewportBreakpoints, describeFontEmbedding, describeSmartArtBounds, detectOrientation, detectTouchDevice, discardAutosaveRecovery, distributeElements, downloadBlob, downloadDataUrl, editCommentInList, elementActionToPptxAction, elementLockTogglePatch, embeddedFontSaveOptions, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, ensureChartInteractionStyles, erasePresentationInkAt, evenColumnWidths, evenRowHeights, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterInteractableIds, filterRenderedElements, findChartPartTarget, findConnectorSiteNear, findEraserHitElementId, findInSlides, findMediaElementByElementId, findSmartArtNodeText, firstShowSlideIndex, flattenNodes, flattenTagCollections, forgetSessionDeck, formatAxisValue, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateNibMarks, generateNoteLineCount, generatePackageReadme, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getComputedFillStyle, getComputedStrokeStyle, getConnectorEndpointHandles, getContentPartReplayStyles, getCurrentParagraphIndex, getDraggedShapeAdjustments, getDuotoneCachedResult, getEffectSoundState, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFitStyle, getImageSvgFilters, getImageTilingStyle, getInkReplayStyles, getInlineEditorSelection, getLocalStorageUsageSummary, getNotesPrintableArea, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx2, getSessionTabId, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTableCellBandStyle, getTextBodyRotationTransform, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hiddenSlideCue, hollowTextFillStyle, inlineElementPointerEvents, insertTableColumn, insertTableRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isCurrentLayout, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementLocked, isElementRendered, isExportAbortError, isHollowShapeElement, isImageLikeElement, isImageTiled, isInkElement, isKeyboardOpen, isLegacyBinaryPresentation, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isStrokeOnlyPresetElement, isSupportedPresentationFile, isTemplateElementId3 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, makeCloneId, makeSlideId, mapEditingWheel, mapEditorKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapSlideSorterKey, masterViewBackgroundColor, masterViewElements, masterViewPseudoSlide, mayLeaveSlideShow, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaTransportVisible, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountAreaChart3D, mountBarChart3D, mountLineChart3D, mountModel3D, mountPieChart3D, mountSurfaceChart3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, nestedTextDecorationStyle, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeStrokeDashType, notesSegmentsToSpans, observeYDocSlides, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPptxFile, openReadingView, openUrlInNewTab, paintedStrokeWidth, paragraphsToSegments, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, parseSegmentsFromRichEditor, partitionTemplateElements, patchChartData, pickSupportedMimeType, pieceLetterSpacing, placeAudienceWindow, placeCaretAtEnd, playSlideTransitionPreview, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationBaseName, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, probeAutosaveRecovery, projectDrawingShapes, promote, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readRibbonTransitionDraft, readSlideShowOption, readSlidesFromYDoc, readSoundFileAsDataUrl, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, redistributeColumnWidth, registerCollaborationTeardown, registerCustomFont, registerPersistentAudio, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeCommentFromList, removeEmptyNode, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorder2 as reorder, reorderAnimationTimelineRows, replaceMasterViewElements, replyToCommentInList, rerouteConnectorsForMovedElements, resetPresenterTimer, resetSlideLayoutPath, resolveActionType, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveChartKind, resolveConnectorEndpointUpdate, resolveDefaultFontFamily, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveElementInteractivity, resolveFontKerning, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveInlineEditAutoFitHeight, resolveMetricTrackingPx, resolveNotesSchematicBodyFontSizePx, resolveNotesSegments, resolveOleType, resolvePalette, resolveProfileInitial, resolveScriptFontSet, resolveSelectionPaneRename, resolveShapeGeometry, resolveShowSlideIndexes, resolveSlideSizeSelection, resolveTemplateBackgroundRows, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, revealedSmartArtNodeCount, ribbonTransitionUpdates, rulerDragToGuidePosition, runMediaCommand, runPresentationAction, safeOpenUrl, sanitizeColor, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveDeckWithPassword, saveViewerProfile, savedPresentationFileName, scanAvailableFontFamilies, schemaLabel, scopeLayoutOptionsToSlide, segmentFrameCount, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, sendBackward, sendToBack, setAfterAnimation, setAfterAnimationColor, setCachedResult, setCellText, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setEffectSound, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shapeFillChange, shapeOutlineChange, shouldAutoFollowBroadcaster, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldLoopContinuously, shouldProbeAutosaveRecovery, shouldRoomSlidesReplaceLoad, shouldShowAutosaveRecoveryPrompt, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, siblingCount, siblingIndex, slideProgressPercent, slideShowOptionChange, slideSizeFromPreset, slideSizeToCanvasPx, slideStatusLabel, snapBoxToGrid, splitCell, splitRunByScriptFont, splitRunForMetrics, stepPresenterZoom, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, styleShadowFilter, substituteFieldText, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, tableCellCss, tableContainerCss, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, toggleCommentResolvedInList, togglePresenterTimer, toggleSheet, toggleText3dExtrusion, transformTextCase, transitionSoundOptions, transitionSoundSelectedValue, ungroupElements, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMasterViewElement, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartTitle, withConnectorEndpointUpdate, withFrameSlides, withSlideSizeOrientation, withSlidesPerPage, writeStoredViewerPrefs };
|
|
146007
|
+
export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, CHART_TYPE_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMENT_MARKER_SIZE, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, CONNECTOR_SITE_SNAP_PX, CUSTOM_FONT_ACCEPT, DEBOUNCE_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_PALETTE2, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPANDED_MAX_HEIGHT, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, INDENT_PX, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_INDENT_LEVEL, MAX_ZOOM_SCALE, MEDIA_CHROME_ATTRIBUTE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PEN_COLORS, PPTX_OPEN_ACCEPT, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_HIT_TEST_CSS, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_OPEN_EXTENSIONS, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_NAVIGATOR_LABEL_KEYS, PRESENT_TOOLBAR_CLASSES, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RIBBON_SHAPE_SWATCHES, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_SLOT_LABEL_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_MORPH_OPTIONS, TRANSITION_ORIENTATION_TYPES, TRANSITION_SOUND_NONE_VALUE, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SPEED_OPTIONS, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptAutosaveRecovery, acceptsPresentationInput, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addCommentToList, addQuickAccessCommand, addSection, addSiblingAfter, addSmartArtNodeAsChild, addTagToCollections, advanceChartValueDrag, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyAnimationTimelineOrder, applyAutoCorrect, applyCaseTransformToSegments, applyChartBuildReveal, applyChartPartHighlight, applyColorChange, applyDuotone, applyFindReplacements, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyTableCellImagePatches, applyTableStyleImagePatches, applyTableStylePreset, applyThemeOverrideToSlide, applyThemeToData, applyTransitionSoundFile, attachPresentationVisibilityPause, authorConnectorBetweenSites, autosaveSnapshotMark, availableQuickAccessCommands, backstageCardsFor, beginChartValueDrag, beginShapeAdjustment, bringForward, bringToFront, build3DExtrusionData, buildActiveSessionUsers, buildAnimationTimelineBars, buildAnimationTimelineRows, buildAreaChart3DDataForElement, buildBarActions, buildBarChart3DDataForElement, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildChromeStyle, buildCollaborationShareUrl, buildCommentMarkers, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildFontCatalog, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildJoinCollaborationConfig, buildLayoutPreviewGeometry, buildLineChart3DDataForElement, buildMorphAnimationRules, buildMorphTransitionPlan, buildMotionPathPreview, buildNotesHtml, buildNotesPdfBytes, buildNotesPrintHtml, buildOleObjectNamePatch, buildOutline, buildOutlineHtml, buildParagraphs, buildPieChart3DDataForElement, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildRectPathGradient, buildRunTabLines, buildSaveSlides, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSubpathFillOverlay, buildSubpathPaints, buildSummaryZoomView, buildSurfaceChart3DDataForElement, buildSvgGradientDef, buildTabContext, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canAddTopLevelNode, canCommitActionType, canGoNext, canGoPrevious, canInteractWithElement, canRemoveTopLevelNode, canvasToJpegData, cellRunStyle, cellStyleToCss, centeredSvgTextLines, chartPartToAttrs, chartPreserveAspectRatio, clampCropValue, clampNotesFontSize, clampOptionNumber, clampPercent, clampSorterZoom, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, classifyExtraConnections, classifyMediaType, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, clearTransitionSound, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectConnectorSiteCandidates, collectImagePaths, collectMediaElements, collectTableCellImagePaths, collectTableStyleImagePaths, collectUsedFonts, colorWithOpacity, commentTextSegments, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeAnchoredPopupPosition, computeChartLegendLayout, computeColorFilter, computeColumnBoundaries, computeDrawingViewBox, computeEntranceAnimationDelay, computeGridSpacingPx, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSlideIndices, computeSmartArtElementLayout, computeSnapToShape, computeSplitCell, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPlainNotesSegments, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, createWheelStepBuffer, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demote, deriveSlideFieldContext, deriveViewportBreakpoints, describeFontEmbedding, describeSmartArtBounds, detectOrientation, detectTouchDevice, discardAutosaveRecovery, distributeElements, downloadBlob, downloadDataUrl, editCommentInList, elementActionToPptxAction, elementLockTogglePatch, embeddedFontSaveOptions, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, ensureChartInteractionStyles, erasePresentationInkAt, evenColumnWidths, evenRowHeights, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterHiddenSlideIndices, filterInteractableIds, filterRenderedElements, findChartPartTarget, findConnectorSiteNear, findEraserHitElementId, findInSlides, findMediaElementByElementId, findSmartArtNodeText, finishPrintWindow, firstShowSlideIndex, flattenNodes, flattenTagCollections, forgetSessionDeck, formatAxisValue, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateNibMarks, generateNoteLineCount, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getComputedFillStyle, getComputedStrokeStyle, getConnectorEndpointHandles, getContentPartReplayStyles, getCurrentParagraphIndex, getDraggedShapeAdjustments, getDuotoneCachedResult, getEffectSoundState, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFitStyle, getImageSvgFilters, getImageTilingStyle, getInkReplayStyles, getInlineEditorSelection, getLocalStorageUsageSummary, getNotesPrintableArea, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx2, getSessionTabId, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTableCellBandStyle, getTextBodyRotationTransform, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hiddenSlideCue, hollowTextFillStyle, inlineElementPointerEvents, insertTableColumn, insertTableRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isCurrentLayout, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementLocked, isElementRendered, isExportAbortError, isHollowShapeElement, isImageLikeElement, isImageTiled, isInkElement, isKeyboardOpen, isLegacyBinaryPresentation, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isStrokeOnlyPresetElement, isSupportedPresentationFile, isTemplateElementId3 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, makeCloneId, makeSlideId, mapEditingWheel, mapEditorKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapSlideSorterKey, masterViewBackgroundColor, masterViewElements, masterViewPseudoSlide, mayLeaveSlideShow, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaTransportVisible, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountAreaChart3D, mountBarChart3D, mountLineChart3D, mountModel3D, mountPieChart3D, mountSurfaceChart3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, nestedTextDecorationStyle, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeStrokeDashType, notesSegmentsToSpans, observeYDocSlides, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPendingPrintWindow, openPptxFile, openReadingView, openUrlInNewTab, paintedStrokeWidth, paragraphsToSegments, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, parseSegmentsFromRichEditor, partitionTemplateElements, patchChartData, pickSupportedMimeType, pieceLetterSpacing, placeAudienceWindow, placeCaretAtEnd, playFeedbackSound, playSlideTransitionPreview, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationBaseName, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, probeAutosaveRecovery, projectDrawingShapes, promote, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readRibbonTransitionDraft, readSlideShowOption, readSlidesFromYDoc, readSoundFileAsDataUrl, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, redistributeColumnWidth, registerCollaborationTeardown, registerCustomFont, registerPersistentAudio, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeCommentFromList, removeEmptyNode, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorder2 as reorder, reorderAnimationTimelineRows, replaceMasterViewElements, replyToCommentInList, rerouteConnectorsForMovedElements, resetPresenterTimer, resetSlideLayoutPath, resolve3DRenderingFlags, resolveActionType, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveChartKind, resolveConnectorEndpointUpdate, resolveDefaultFontFamily, resolveDefaultPrintSettings, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveElementInteractivity, resolveExpiredAutosaveSnapshots, resolveFontKerning, resolveGroupChildFill, resolveHistoryDepth, resolveImageResolutionScale, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveInlineEditAutoFitHeight, resolveMetricTrackingPx, resolveNotesSchematicBodyFontSizePx, resolveNotesSegments, resolveOleType, resolveOptionRootClasses, resolvePalette, resolvePresentationAction, resolveProfileInitial, resolveScreenTip, resolveScriptFontSet, resolveSelectionPaneRename, resolveShapeGeometry, resolveShowSlideIndexes, resolveSlideSizeSelection, resolveTemplateBackgroundRows, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, revealedSmartArtNodeCount, ribbonTransitionUpdates, rulerDragToGuidePosition, runMediaCommand, runPresentationAction, safeOpenUrl, sanitizeColor, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveDeckWithPassword, saveViewerProfile, savedPresentationFileName, scanAvailableFontFamilies, schemaLabel, scopeLayoutOptionsToSlide, segmentFrameCount, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, sendBackward, sendToBack, setAfterAnimation, setAfterAnimationColor, setCachedResult, setCellText, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setEffectSound, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shapeFillChange, shapeOutlineChange, shouldAutoFollowBroadcaster, shouldClearAutosaveCacheOnClose, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldDiscardAutosaveOnSuccessfulSave, shouldLoopContinuously, shouldProbeAutosaveRecovery, shouldRoomSlidesReplaceLoad, shouldShowAutosaveRecoveryPrompt, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, siblingCount, siblingIndex, slideProgressPercent, slideShowOptionChange, slideSizeFromPreset, slideSizeToCanvasPx, slideStatusLabel, snapBoxToGrid, splitCell, splitRunByScriptFont, splitRunForMetrics, stepPresenterZoom, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, styleShadowFilter, substituteFieldText, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, tableCellCss, tableContainerCss, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, toggleCommentResolvedInList, togglePresenterTimer, toggleSheet, toggleText3dExtrusion, transformTextCase, transitionSoundOptions, transitionSoundSelectedValue, ungroupElements, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMasterViewElement, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartTitle, withConnectorEndpointUpdate, withFrameSlides, withSlideSizeOrientation, withSlidesPerPage, writeStoredViewerPrefs };
|
|
Binary file
|
|
Binary file
|