pptx-vanilla-viewer 4.1.2 → 4.2.1
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 +174 -0
- package/README.md +65 -67
- package/dist/i18n/de.cjs +134 -5
- package/dist/i18n/de.mjs +134 -5
- package/dist/i18n/es.cjs +132 -3
- package/dist/i18n/es.mjs +132 -3
- package/dist/i18n/fr.cjs +132 -3
- package/dist/i18n/fr.mjs +132 -3
- package/dist/i18n/ja.cjs +132 -3
- package/dist/i18n/ja.mjs +132 -3
- package/dist/i18n/ko.cjs +132 -3
- package/dist/i18n/ko.mjs +132 -3
- package/dist/i18n/zh-CN.cjs +132 -3
- package/dist/i18n/zh-CN.mjs +132 -3
- package/dist/index.cjs +74 -74
- package/dist/index.d.ts +10 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +70 -70
- package/dist/styles.css +104 -10
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,180 @@
|
|
|
3
3
|
All notable changes to this package, newest first. Major releases are written by hand; the other
|
|
4
4
|
entries are generated from [Conventional Commits](https://www.conventionalcommits.org).
|
|
5
5
|
|
|
6
|
+
## [4.2.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vanilla-viewer@4.2.1) - 2026-11-28
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **drawingml:** Escape inkml svg attributes ([6e19859](https://github.com/ChristopherVR/ooxml/commit/6e1985955b4936e9652e2d7a67a4232092576abc))
|
|
11
|
+
- **math:** Escape backslashes in linear normal text ([2814400](https://github.com/ChristopherVR/ooxml/commit/2814400a85edec7e44e218b32b7a5fd891e6e71b))
|
|
12
|
+
- **docx:** Draw symbol characters and symbol fonts in the pdf export ([ad17f8e](https://github.com/ChristopherVR/ooxml/commit/ad17f8edf96b102fe16b4bdaf79222c7174c795a))
|
|
13
|
+
- **docx:** Map symbol font list bullets to their glyphs ([18fb1d9](https://github.com/ChristopherVR/ooxml/commit/18fb1d93e7ba6ecb5a1df2656ebe2b6e90d7cf04))
|
|
14
|
+
- **docx:** Keep paragraphs with text-font symbols editable ([d5dce39](https://github.com/ChristopherVR/ooxml/commit/d5dce3996bc34a1734f3b77f80fe8b56da355f2c))
|
|
15
|
+
- **docx:** Shear text shadow outlines and detect italic fonts in PDF export ([8ba9d52](https://github.com/ChristopherVR/ooxml/commit/8ba9d525fbb5805ed1d938f99160a7fd4c1f2ee5))
|
|
16
|
+
|
|
17
|
+
### Performance
|
|
18
|
+
|
|
19
|
+
- **docx:** Trim the symbol and caps helpers in the layout bundle ([d3c1290](https://github.com/ChristopherVR/ooxml/commit/d3c129025fc83e0687198fafeba3bb5582f8ad39))
|
|
20
|
+
|
|
21
|
+
## [4.2.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vanilla-viewer@4.2.0) - 2026-11-27
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
- **visio:** Insert svg, bmp, tiff and bounded emf pictures ([5a9f3c5](https://github.com/ChristopherVR/ooxml/commit/5a9f3c5e2394a974b5391578c422bccc42e6145f))
|
|
26
|
+
- **pptx:** Enable animation painter and ribbon timing ([4b1dda0](https://github.com/ChristopherVR/ooxml/commit/4b1dda0d031e2039e2ab07b3ad04b73e38f88554))
|
|
27
|
+
- **docx:** Enable document design galleries and defaults ([efeb0d6](https://github.com/ChristopherVR/ooxml/commit/efeb0d6b4384bd5ca9cdc6cec8accac3a2742657))
|
|
28
|
+
- **math:** Add excel equations and visio equation previews ([39a38b6](https://github.com/ChristopherVR/ooxml/commit/39a38b64a207fffd9d751d066a0ded87028df929))
|
|
29
|
+
- **xlsx:** Add pivot charts and recommended pivot tables ([927d085](https://github.com/ChristopherVR/ooxml/commit/927d085027d31fc9e7caa43330a7e84f395c1ee2))
|
|
30
|
+
- **pptx:** Add shared picture format editing commands ([7acd30a](https://github.com/ChristopherVR/ooxml/commit/7acd30a9ea9d1bcb95a33c41b78140ed6142d5b0))
|
|
31
|
+
- **automation:** Install local office add-in manifests ([dfd5768](https://github.com/ChristopherVR/ooxml/commit/dfd57686e61253d0d087cfd2891afd19a2f40644))
|
|
32
|
+
- **docx:** Expand document design themes and effects ([97cde01](https://github.com/ChristopherVR/ooxml/commit/97cde0140c73a4ff3aeef6dbaa1fb80459e112f8))
|
|
33
|
+
- **pptx:** Add media and smartart contextual tabs ([42ed8d3](https://github.com/ChristopherVR/ooxml/commit/42ed8d373afa2c9cda2c428268d7041db0b6af4e))
|
|
34
|
+
- **pptx:** Preserve native animation behavior and edit timing ([130dc41](https://github.com/ChristopherVR/ooxml/commit/130dc414d2030d0ae91dc2f4856909f0b36f9e77))
|
|
35
|
+
- **pptx:** Extend draw with ink editing and replay ([034838b](https://github.com/ChristopherVR/ooxml/commit/034838bd7a7a9c7e34154a845292ab49c3f76439))
|
|
36
|
+
- **ui:** Dock PowerPoint comments and streamline Home ([899dcc2](https://github.com/ChristopherVR/ooxml/commit/899dcc266d6f3c0a984e66d9cf2076e303c1a860))
|
|
37
|
+
- **ui:** Add PowerPoint Arrange rotation commands ([6a4849b](https://github.com/ChristopherVR/ooxml/commit/6a4849b7808e4386b06c2c5a7703b44b90c6c436))
|
|
38
|
+
- **math:** Add linear format build-up and equation galleries ([76f1bcf](https://github.com/ChristopherVR/ooxml/commit/76f1bcf233c2c64f92b9044484e7295df41dba9a))
|
|
39
|
+
- **drawingml:** Share the InkML model, part reader and writer ([dd55273](https://github.com/ChristopherVR/ooxml/commit/dd5527362a3a8a6e947d3352a8f9e6bc96a1d173))
|
|
40
|
+
- **opc:** Add shared reproducible save options and theme fonts ([d7239e0](https://github.com/ChristopherVR/ooxml/commit/d7239e03f9f63d953e2a7ee3cd568022d28857cc))
|
|
41
|
+
- **pptx:** Format the second value axis of a new chart ([f33b769](https://github.com/ChristopherVR/ooxml/commit/f33b769f157782cf9beb144d4057052f906a3f71))
|
|
42
|
+
- **math:** Edit one equation of a display paragraph with several ([4c9f813](https://github.com/ChristopherVR/ooxml/commit/4c9f813003cbef044518cb885f6c06ff7d0d7bf4))
|
|
43
|
+
- **pptx:** Regroup click groups when an imported effect start changes ([c21cdc4](https://github.com/ChristopherVR/ooxml/commit/c21cdc49c71c4fb8d753d9c419c13290772b1991))
|
|
44
|
+
- **pptx:** Convert pictures into a built-in picture smartart layout ([c81bea0](https://github.com/ChristopherVR/ooxml/commit/c81bea0addb0879904789d2cb70dd87c29ebaaeb))
|
|
45
|
+
- **ui:** Enable picture format picture layout in every binding ([259cf4d](https://github.com/ChristopherVR/ooxml/commit/259cf4d1e1ca6ee2a1657c38e3ca74ac41a4f214))
|
|
46
|
+
- **docx:** Draw legacy VML ink read only ([1016b92](https://github.com/ChristopherVR/ooxml/commit/1016b92b93b4f90e41ea2902a60eb940e3c08400))
|
|
47
|
+
- **xlsx:** Draw picture style 3-D effects in the grid ([a2c977a](https://github.com/ChristopherVR/ooxml/commit/a2c977a9ea4aa7a73c35eccda514d6e8e7a725bf))
|
|
48
|
+
- **xlsx:** Add the chart format contextual tab ([88cc132](https://github.com/ChristopherVR/ooxml/commit/88cc132cb47987817886491bb452e900010b31d5))
|
|
49
|
+
- **drawingml:** Add four measured legacy Word themes ([5dcf37f](https://github.com/ChristopherVR/ooxml/commit/5dcf37ff2e29cc3a65a4898edd46064379e2f358))
|
|
50
|
+
- **drawingml:** Keep theme picture fills with their pictures ([51a8763](https://github.com/ChristopherVR/ooxml/commit/51a8763374340b94525ea41a5a79b887978c173d))
|
|
51
|
+
- **opc:** Sign packages with a host-supplied signer ([fb04631](https://github.com/ChristopherVR/ooxml/commit/fb04631d74ee1d5ee3cc582efd7603fed1f042d0))
|
|
52
|
+
- **text:** Read kerning and vertical metrics of truetype fonts ([4ef4156](https://github.com/ChristopherVR/ooxml/commit/4ef4156197deb48dc65a94fc6b9efcd0d35d8604))
|
|
53
|
+
- **docx:** Save as pdf in node without the editor ([1b1e7f7](https://github.com/ChristopherVR/ooxml/commit/1b1e7f721debc7903ca2327bf9fd482e77e0d257))
|
|
54
|
+
|
|
55
|
+
### Bug Fixes
|
|
56
|
+
|
|
57
|
+
- **chart:** Shift cells and shrink table on row and series removal ([6d581bd](https://github.com/ChristopherVR/ooxml/commit/6d581bd4d1df8bdceb43092c93edda94898232a0))
|
|
58
|
+
- **pptx:** Sync picture source and removal state with peers ([ba919ac](https://github.com/ChristopherVR/ooxml/commit/ba919ac34e76987ba91f8d20b4898d9df0bb020a))
|
|
59
|
+
- **pptx:** Disable alt text when the vanilla pane is absent ([4489fd9](https://github.com/ChristopherVR/ooxml/commit/4489fd90f9e2d9790a4580474f1a1d0a29b6e5ba))
|
|
60
|
+
- **automation:** Cap add-in package compression ratios ([ed599e3](https://github.com/ChristopherVR/ooxml/commit/ed599e3c7747c3c5b6024b66d92584fa6bc08ef3))
|
|
61
|
+
- **automation:** Accept documented XML add-in hosts ([5640294](https://github.com/ChristopherVR/ooxml/commit/5640294136bce91df8576bc41b28ed715d2c4993))
|
|
62
|
+
- **add-ins:** Preserve compatibility details across hosts ([4117186](https://github.com/ChristopherVR/ooxml/commit/4117186695e7b6b3f855ed623c013fc01fa2d08d))
|
|
63
|
+
- **add-ins:** Scope compatibility issues to the active host ([167857e](https://github.com/ChristopherVR/ooxml/commit/167857ede4c18c98b92789014fc3b1c2df0a3bc5))
|
|
64
|
+
- **drawingml:** Validate standalone theme xml before importing ([ee1009b](https://github.com/ChristopherVR/ooxml/commit/ee1009bee5a157aadd94340cec3cb977d7832151))
|
|
65
|
+
- **drawingml:** Use verified Word theme palettes ([1c33667](https://github.com/ChristopherVR/ooxml/commit/1c33667b683935b744792001d33a2a3b68e999e0))
|
|
66
|
+
- **drawingml:** Apply each measured Word theme matrix ([56e9293](https://github.com/ChristopherVR/ooxml/commit/56e929386d5956105c18e2520094b5197223ad44))
|
|
67
|
+
- **docx:** Apply Word effect matrices and paint shape reflection ([c13ab69](https://github.com/ChristopherVR/ooxml/commit/c13ab692c9b573ac83319ee27e63a1eecdf02aaf))
|
|
68
|
+
- **drawingml:** Warn and replace standalone theme picture fills ([5db1a5b](https://github.com/ChristopherVR/ooxml/commit/5db1a5bdc49e2f65cb0230099fa8cc86e2c363c9))
|
|
69
|
+
- **docx:** Preload Design without eager theme data ([1cf3230](https://github.com/ChristopherVR/ooxml/commit/1cf3230c60793518ce29562735803745e8d7a3a1))
|
|
70
|
+
- **xlsx:** Share native shape and picture style catalogues ([4ef63af](https://github.com/ChristopherVR/ooxml/commit/4ef63af1eb973e6c62ca595a126bb1ec6f1b6a2a))
|
|
71
|
+
- **pptx:** Preserve authored media start conditions ([6db0507](https://github.com/ChristopherVR/ooxml/commit/6db050707f76e06a52201544b3a9cb2460893f35))
|
|
72
|
+
- **pptx:** Round-trip all native media start modes ([80130f3](https://github.com/ChristopherVR/ooxml/commit/80130f359d93476a145b564c12f1aabac0f6f3b1))
|
|
73
|
+
- **pptx:** Preserve media start and volume settings ([79bec19](https://github.com/ChristopherVR/ooxml/commit/79bec197816a7411c66ea51a09c959a1ecf73511))
|
|
74
|
+
- **pptx:** Share the crop-to-shape gallery with media ([c86d1ad](https://github.com/ChristopherVR/ooxml/commit/c86d1ad1048ae47e61d17c495192c868661f1e0d))
|
|
75
|
+
- **pptx:** Format selected SmartArt nodes from the canvas ([9590ea7](https://github.com/ChristopherVR/ooxml/commit/9590ea7b62d8f7ef0f16d908346de075241e1548))
|
|
76
|
+
- **pptx:** Fit contextual format groups in the ribbon ([d9854af](https://github.com/ChristopherVR/ooxml/commit/d9854afdc9a157eb41c42bd17b64fbfe6dee1898))
|
|
77
|
+
- **pptx:** Display media bookmarks to hundredths ([bfd046e](https://github.com/ChristopherVR/ooxml/commit/bfd046ef32d43ae97f2c2f0b0d70b3bb4e5a3a29))
|
|
78
|
+
- **pptx:** Target canvas nodes in SmartArt hierarchy commands ([2b56d77](https://github.com/ChristopherVR/ooxml/commit/2b56d77cc5f94e9c89b90b4b39e308be06a04803))
|
|
79
|
+
- **pptx:** Reset only direct SmartArt node formatting ([6bea40a](https://github.com/ChristopherVR/ooxml/commit/6bea40ac0e8d460a62d60e35de5f5edf0a4437a5))
|
|
80
|
+
- **pptx:** Keep the selected native animation during edits ([5a49a27](https://github.com/ChristopherVR/ooxml/commit/5a49a27adcaf31916b3b62de78f136e95bb9344a))
|
|
81
|
+
- **pptx:** Embed cross-slide animation sounds once ([7f9b885](https://github.com/ChristopherVR/ooxml/commit/7f9b8855900cc4cc6d8e8095e2ef7c5e4d219885))
|
|
82
|
+
- **pptx:** Reflow native after-previous timing ([f88a5c2](https://github.com/ChristopherVR/ooxml/commit/f88a5c24480509f5ce619c8bd16fd5d73cbf889d))
|
|
83
|
+
- **pptx:** Materialize painted animation behavior once ([9128c89](https://github.com/ChristopherVR/ooxml/commit/9128c89a8b3c89518e79c586dcdff515bd4c712c))
|
|
84
|
+
- **pptx:** Expose supported native animation start modes ([aa4c1b0](https://github.com/ChristopherVR/ooxml/commit/aa4c1b06a2c4a59237530c7f5d76e88ba9705184))
|
|
85
|
+
- **pptx:** Select native effects from animation pane rows ([f39a0a4](https://github.com/ChristopherVR/ooxml/commit/f39a0a45effa381cac90e235ee2650280dd0c572))
|
|
86
|
+
- **pptx:** Offer both faded zoom centers ([030c55e](https://github.com/ChristopherVR/ooxml/commit/030c55e281f82dcb0c0f4def9ffffb092d1f2333))
|
|
87
|
+
- **pptx:** Replay ink at recorded sample times ([af6ab3c](https://github.com/ChristopherVR/ooxml/commit/af6ab3c77e0a9a1cfdd0171376727ceaa2f01665))
|
|
88
|
+
- **pptx:** Bound InkML parsing before trace decoding ([f2bb560](https://github.com/ChristopherVR/ooxml/commit/f2bb560963ff23ad5d9f12d598a5f5b97ae8877d))
|
|
89
|
+
- **pptx:** Write InkML time as offsets from a timestamp ([d996562](https://github.com/ChristopherVR/ooxml/commit/d996562622807d9c3a197e05c8b8817b643475c5))
|
|
90
|
+
- **pptx:** Share Draw edit eligibility across bindings ([865860c](https://github.com/ChristopherVR/ooxml/commit/865860ca71345e137334ad8aa86fb1a373682d2d))
|
|
91
|
+
- **drawingml:** Export shared ink geometry and timing ([96b99e7](https://github.com/ChristopherVR/ooxml/commit/96b99e78163e4e51b432273a155590ba1875d758))
|
|
92
|
+
- **pptx:** Keep partially collected ink visible during replay ([6360bc4](https://github.com/ChristopherVR/ooxml/commit/6360bc48036cc85c4111e5ba3825bd252943fc90))
|
|
93
|
+
- **pptx:** Make the Draw ruler movable and persistent ([56f5189](https://github.com/ChristopherVR/ooxml/commit/56f51898d13435a8e19793bedeb86846c1dd5d37))
|
|
94
|
+
- **pptx:** Surface Draw load errors and use the shared dialog ([3d7017e](https://github.com/ChristopherVR/ooxml/commit/3d7017e7d81d01da60b5e264827258108389bc62))
|
|
95
|
+
- **pptx:** Localize preset names in the crop gallery ([1da669b](https://github.com/ChristopherVR/ooxml/commit/1da669b6e145f5b45ed529b052a66f11f4ccae87))
|
|
96
|
+
- **pptx:** Sync SmartArt inspector with the active colour scheme ([5399deb](https://github.com/ChristopherVR/ooxml/commit/5399deb5c06da82bbc3e6f11c45ab3375a8c8477))
|
|
97
|
+
- **ui:** Explain why PowerPoint Arrange commands are disabled ([009b518](https://github.com/ChristopherVR/ooxml/commit/009b51879b26e07126892a779be1fbb05fc25ca1))
|
|
98
|
+
- **ui:** Open the selected comment thread from its marker ([ef2dbb2](https://github.com/ChristopherVR/ooxml/commit/ef2dbb2871f75136a24551d34d13bc87fea52e7d))
|
|
99
|
+
- **ui:** Use the German PowerPoint Quick Styles label ([d94e3af](https://github.com/ChristopherVR/ooxml/commit/d94e3af8492036257a25258e9aedcfae3769ad7b))
|
|
100
|
+
- **pptx:** Describe the Freeform and Curve drawing tools ([d513c08](https://github.com/ChristopherVR/ooxml/commit/d513c08f96bee8050048f8d19e8c0d1c25db3d35))
|
|
101
|
+
- **pptx:** Present Drawing Arrange as a vertical menu ([7f24524](https://github.com/ChristopherVR/ooxml/commit/7f245244cf729ee4f543368d2bf2838698fc46a8))
|
|
102
|
+
- **pptx:** Dock Selection Pane in the editor task rail ([bf81b5d](https://github.com/ChristopherVR/ooxml/commit/bf81b5dc2f6052bc227d94e930957e655f9e70af))
|
|
103
|
+
- **pptx:** Share the Comments close and post controls ([4a77f5a](https://github.com/ChristopherVR/ooxml/commit/4a77f5a21e457b2c1c824804b9cd207c991c0827))
|
|
104
|
+
- **vanilla:** Match timeline directions to the selected effect ([c7b622f](https://github.com/ChristopherVR/ooxml/commit/c7b622fbebdd5c5a2335aa15948ae024c931530f))
|
|
105
|
+
- **docx:** Localize date and time field names ([86e41a5](https://github.com/ChristopherVR/ooxml/commit/86e41a5c58d84d126e1b184f12fe029161637303))
|
|
106
|
+
- **text:** Keep the standalone month when the day form is numeric ([0e9efd1](https://github.com/ChristopherVR/ooxml/commit/0e9efd19a725135c7436f60b09bddcb30fc79465))
|
|
107
|
+
- **pptx:** Retain the preset when changing transition timing ([81a10ba](https://github.com/ChristopherVR/ooxml/commit/81a10baf2a2a1d2db666abbca16af968be1bf3ba))
|
|
108
|
+
- **math:** Keep equations exact through linear editing ([512cc08](https://github.com/ChristopherVR/ooxml/commit/512cc080ecffa6b75609f8cb701b63366ba6a5f5))
|
|
109
|
+
- **math:** Refuse linear edits that would lose equation content ([bcd5780](https://github.com/ChristopherVR/ooxml/commit/bcd5780052f425b55017301ce617dbee873cef2c))
|
|
110
|
+
- **drawingml:** Keep partly read ink parts and their brush properties ([7703b80](https://github.com/ChristopherVR/ooxml/commit/7703b805e097166b4339dcd9dc5f2f83b7f8a33c))
|
|
111
|
+
- **drawingml:** Compare ink in full and share the box helpers ([1f297a3](https://github.com/ChristopherVR/ooxml/commit/1f297a3f357aa28e2e4e4483962c02f9b9d080de))
|
|
112
|
+
- **pptx:** Declare what the viewer packages import ([6e50efd](https://github.com/ChristopherVR/ooxml/commit/6e50efdd796bc76aa3b535ec6c1e6673c39a2a0e))
|
|
113
|
+
- **chart:** Date chart workbooks 1980 and name the host body font ([8b8cb3f](https://github.com/ChristopherVR/ooxml/commit/8b8cb3fb5610df9a916b5bb00c11e82c6abaefe9))
|
|
114
|
+
- **pptx:** Route save clock and ids through shared save options ([cc75176](https://github.com/ChristopherVR/ooxml/commit/cc751767809eefdd7f455a96d9a1a1541195f7f4))
|
|
115
|
+
- **automation:** Review detached manifests and bounded package icons ([c9510cb](https://github.com/ChristopherVR/ooxml/commit/c9510cb198a9a824977e1eff787e1427d9545c6c))
|
|
116
|
+
- **automation:** Validate consent metadata and re-encode ZIP icons ([c877c81](https://github.com/ChristopherVR/ooxml/commit/c877c81dba9084e8a63204e2b98927e303fd8180))
|
|
117
|
+
- **automation:** Require a unified add-in runtime type ([436e4d0](https://github.com/ChristopherVR/ooxml/commit/436e4d0ddee8fc1653090c09803e7b28f931c034))
|
|
118
|
+
- **pptx:** Give Home Add-ins its own ribbon group ([12daac6](https://github.com/ChristopherVR/ooxml/commit/12daac6b4ba7a00771c88bef8a6c5bdbe0ba220c))
|
|
119
|
+
- **pptx:** Keep a scatter series that draws no line lineless ([f2ab6b5](https://github.com/ChristopherVR/ooxml/commit/f2ab6b54207362ddb4d883f7478d07fca3d312f6))
|
|
120
|
+
- **pptx:** Save a chart without a legend with its embedded workbook ([31bdc6e](https://github.com/ChristopherVR/ooxml/commit/31bdc6e492eb18223f6b37e882357e4630df9c05))
|
|
121
|
+
- **pptx:** Keep the arrows of a new process or cycle SmartArt ([29c77e3](https://github.com/ChristopherVR/ooxml/commit/29c77e33e0ceb73b6d8b5d7afa5bffe3007abcef))
|
|
122
|
+
- **opc:** Open a package to sign through the guarded zip reader ([de28cc3](https://github.com/ChristopherVR/ooxml/commit/de28cc3f2ba6206de1e05d21da4166b383025a7f))
|
|
123
|
+
- **chart:** Leave a series line without fill unpainted by a colour edit ([99a2fe7](https://github.com/ChristopherVR/ooxml/commit/99a2fe7a48d2ba8fe082645fde9984861e5db3fa))
|
|
124
|
+
- **chart:** Write no folder entries in a new chart workbook ([c3e1e99](https://github.com/ChristopherVR/ooxml/commit/c3e1e99a93ee98cfd41ae5f497f76858146280c3))
|
|
125
|
+
- **diagram:** Colour every style label a built-in smartart layout names ([0f9798f](https://github.com/ChristopherVR/ooxml/commit/0f9798f2dea2399a201498bfffec35f486444642))
|
|
126
|
+
|
|
127
|
+
### Performance
|
|
128
|
+
|
|
129
|
+
- **pptx:** Reuse parsed chart style definitions ([8c1feca](https://github.com/ChristopherVR/ooxml/commit/8c1fecadd661e66c97b5a2cd7e4ebf6f205f3bb7))
|
|
130
|
+
- **pptx:** Reuse relationships during save part binding ([ca3d21c](https://github.com/ChristopherVR/ooxml/commit/ca3d21cb9165ec462a45e3f8de33a9ba10d561c2))
|
|
131
|
+
- **pptx:** Scan smartart text order in one pass ([15444c2](https://github.com/ChristopherVR/ooxml/commit/15444c2d3e6be3adcf9d9d53ec65ce54ee9fbf0c))
|
|
132
|
+
- **xml:** Avoid allocating arrays for first child lookup ([d95c79a](https://github.com/ChristopherVR/ooxml/commit/d95c79af01f944fea9f0ef11241d0e2a9d49ab64))
|
|
133
|
+
- **opc:** Retain compressed media and unchanged zip entries ([c20a088](https://github.com/ChristopherVR/ooxml/commit/c20a0889aebf0bcf9e1062a8acac517dbe1798cd))
|
|
134
|
+
- **pptx:** Reuse parsed template, theme and chart xml ([bcedde8](https://github.com/ChristopherVR/ooxml/commit/bcedde8266cfa1690b73194dce927b7c04a43eec))
|
|
135
|
+
- **pptx:** Hash sampled slide payloads directly ([3b5eb6d](https://github.com/ChristopherVR/ooxml/commit/3b5eb6d439f7bd5f3cc3b2006b870264f712e24d))
|
|
136
|
+
- **pptx:** Keep deflate level 6 for new and edited parts ([0173788](https://github.com/ChristopherVR/ooxml/commit/0173788bef28a24918dd99869307b51ca904996d))
|
|
137
|
+
- **pptx:** Share chart source parses across load and save ([1dc4129](https://github.com/ChristopherVR/ooxml/commit/1dc41295f58e04cb55234cff0a16dd54f49d08ec))
|
|
138
|
+
- **pptx:** Reduce work in slide fingerprint hashing ([02591a5](https://github.com/ChristopherVR/ooxml/commit/02591a545490550b93200696ecea4a45740baaae))
|
|
139
|
+
- **pptx:** Hash slide records without sorting keys ([6c38c4b](https://github.com/ChristopherVR/ooxml/commit/6c38c4b1de2a44ef893b60c25f7f716e3a6473ed))
|
|
140
|
+
- **pptx:** Decode OLE previews lazily like pictures ([70643d2](https://github.com/ChristopherVR/ooxml/commit/70643d2d13c36df212090131d40cbe7ac75ba534))
|
|
141
|
+
- **visio:** Defer spreadsheet and metafile code ([e768457](https://github.com/ChristopherVR/ooxml/commit/e76845772276f47363881ff778395447eab0b645))
|
|
142
|
+
- **pptx:** Preview slides while a deck opens ([2f2ab15](https://github.com/ChristopherVR/ooxml/commit/2f2ab150aad5545103759c1d59847d8248aac5c2))
|
|
143
|
+
- **pptx:** Load legacy import code on demand ([5ff80fe](https://github.com/ChristopherVR/ooxml/commit/5ff80fe74c166f341fadaae141d33abf9ebc1c12))
|
|
144
|
+
- **drawingml:** Load shared ink tools on demand ([9b55bfd](https://github.com/ChristopherVR/ooxml/commit/9b55bfd67e2549eafe7f996deda1ba81bab825bf))
|
|
145
|
+
- **pptx:** Load the smartart layout engine on a picture layout ([4e958d7](https://github.com/ChristopherVR/ooxml/commit/4e958d7a021563a4b4ccec7216599d76d4e52b62))
|
|
146
|
+
- **opc:** Load the package signer on the first signing ([8e5ec28](https://github.com/ChristopherVR/ooxml/commit/8e5ec28473b6ae809a97b56e237dbe633cb9f283))
|
|
147
|
+
- **math:** Read placeholder flags without the latex helpers ([6ba8554](https://github.com/ChristopherVR/ooxml/commit/6ba85547ef2831a1e88c8ede8a8f88034106ef81))
|
|
148
|
+
|
|
149
|
+
### Refactor
|
|
150
|
+
|
|
151
|
+
- **drawingml:** Share the insert shapes palette across products ([bc83e4f](https://github.com/ChristopherVR/ooxml/commit/bc83e4fec93f54174702433ae08314946ab2d503))
|
|
152
|
+
- **ui:** Remove obsolete PowerPoint desktop ribbon paths ([9fb1a7b](https://github.com/ChristopherVR/ooxml/commit/9fb1a7b2232dc756bb62afb276d3dafd681bdc2e))
|
|
153
|
+
|
|
154
|
+
### Documentation
|
|
155
|
+
|
|
156
|
+
- **drawingml:** Note the ink brush width change and fix moved paths ([9028e25](https://github.com/ChristopherVR/ooxml/commit/9028e258d375119aa3c5aeac5cb940e093c43b88))
|
|
157
|
+
- Rewrite the PowerPoint viewer READMEs ([26e0f5d](https://github.com/ChristopherVR/ooxml/commit/26e0f5d4066765857ff411139a963d2ee5d55fa7))
|
|
158
|
+
- Close the privacy gaps for sharing, recovery and links ([72dfa8c](https://github.com/ChristopherVR/ooxml/commit/72dfa8cfe34f2073b6805a48b5c8f267b32f20fe))
|
|
159
|
+
|
|
160
|
+
### Testing
|
|
161
|
+
|
|
162
|
+
- **pptx:** Reuse fixture work and split integration sweeps ([c23c720](https://github.com/ChristopherVR/ooxml/commit/c23c72070f97636539c9d20015a1f0c8c9efe186))
|
|
163
|
+
- **ci:** Share vitest worker limits and balance unit shards ([1d6667b](https://github.com/ChristopherVR/ooxml/commit/1d6667b903f3387e16a641359c4d773b7991346e))
|
|
164
|
+
- **pptx:** Check projected chart trees against the parser corpus-wide ([cfddf44](https://github.com/ChristopherVR/ooxml/commit/cfddf44cba028f0c1a5e6947ddeeb413abbd692c))
|
|
165
|
+
- **pptx:** Snapshot native animation fixtures and timing ([34aa5ce](https://github.com/ChristopherVR/ooxml/commit/34aa5cebdca2e8af25fcff24059cf0f66f5751a4))
|
|
166
|
+
- **pptx:** Catalogue the native animation decks ([bd05a93](https://github.com/ChristopherVR/ooxml/commit/bd05a93c9b24c95e3ebf6c4eb940168c62def14c))
|
|
167
|
+
- **ui:** Cover Arrange and Comments across PowerPoint bindings ([7db167c](https://github.com/ChristopherVR/ooxml/commit/7db167cc699e5f8c118f3d2b62a596bebc324f4a))
|
|
168
|
+
- **pptx:** Preserve audio Start when playing across slides ([f9a3112](https://github.com/ChristopherVR/ooxml/commit/f9a3112ab7116c19918ecbab36f4f93dcbaf2794))
|
|
169
|
+
- **pptx:** Expect the German Quick Styles label ([1bd2878](https://github.com/ChristopherVR/ooxml/commit/1bd287839d6de2ac31bc638830a15fb194b4aa88))
|
|
170
|
+
- **automation:** Verify guarded streaming stops excess output ([6965dd9](https://github.com/ChristopherVR/ooxml/commit/6965dd9fa51da19e0a0b153783f577bc0ab3a74c))
|
|
171
|
+
- **opc:** Prove deflated add-in entries stop at their declared size ([f1ebb1e](https://github.com/ChristopherVR/ooxml/commit/f1ebb1e39b1d9d9e9a7f864f20801fceaf1a42b0))
|
|
172
|
+
- **math:** Pin run property and radical degree order in omml output ([0193fb7](https://github.com/ChristopherVR/ooxml/commit/0193fb7d7b0b6afdd64034cad7ff159e2608fdc1))
|
|
173
|
+
- **chart:** Type the shape format test colour as a drawing colour ([7e075ff](https://github.com/ChristopherVR/ooxml/commit/7e075ff60a25dc8034a796f7e62b7c8a2b2d3c85))
|
|
174
|
+
- **pptx:** Embed the workbook whose fonts the theme font test reads ([e51638a](https://github.com/ChristopherVR/ooxml/commit/e51638afd3c6ec31790476085b4a859599601322))
|
|
175
|
+
|
|
176
|
+
### Dependencies
|
|
177
|
+
|
|
178
|
+
- **deps:** Take emf-converter 5.0.1 ([59b8fb7](https://github.com/ChristopherVR/ooxml/commit/59b8fb7544a0579eafcc51f6953275af8bb68ae1))
|
|
179
|
+
|
|
6
180
|
## [4.1.2](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vanilla-viewer@4.1.2) - 2026-11-25
|
|
7
181
|
|
|
8
182
|
## [4.1.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vanilla-viewer@4.1.1) - 2026-11-25
|
package/README.md
CHANGED
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
# pptx-vanilla-viewer
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**A zero-framework PowerPoint viewer and editor: one function call opens, edits, presents and saves `.pptx`, `.pptm`, `.ppsx`, `.potx` and legacy `.ppt` files in any web page, with no server.**
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/pptx-vanilla-viewer)
|
|
6
6
|
[](https://github.com/ChristopherVR/ooxml/blob/main/viewers/pptx/LICENSE)
|
|
7
|
+
[](https://www.npmjs.com/package/pptx-vanilla-viewer)
|
|
7
8
|
|
|
8
|
-
[Live demo](https://christophervr.github.io/ooxml/pptx/demo-vanilla/) · [
|
|
9
|
+
[Live demo](https://christophervr.github.io/ooxml/pptx/demo-vanilla/) · [Documentation](https://christophervr.github.io/ooxml/pptx/) · [Vanilla JS guide](https://christophervr.github.io/ooxml/pptx/vanilla/) · [Changelog](https://github.com/ChristopherVR/ooxml/blob/main/viewers/pptx/packages/vanilla/CHANGELOG.md) · [Report a bug](https://github.com/ChristopherVR/ooxml/issues)
|
|
9
10
|
|
|
10
11
|

|
|
11
12
|
|
|
12
|
-
Slides are drawn as HTML, CSS and SVG, not as a canvas bitmap, so text stays sharp at any zoom, can be selected and is read by screen readers. The [`pptx-viewer-core`](https://www.npmjs.com/package/pptx-viewer-core) engine that parses and writes the file is bundled in.
|
|
13
|
-
|
|
14
13
|
## Install
|
|
15
14
|
|
|
16
15
|
```bash
|
|
17
16
|
npm install pptx-vanilla-viewer
|
|
18
17
|
```
|
|
19
18
|
|
|
20
|
-
There are no required
|
|
19
|
+
There are no required peers; the engine comes with it (`ooxml-core` and `ooxml-ui` are dependencies). Optional extras:
|
|
21
20
|
|
|
22
|
-
| For | Add
|
|
23
|
-
| ------------------------------------ |
|
|
24
|
-
| Real-time collaboration | `yjs` (`y-websocket` and `y-webrtc` are optional dependencies)
|
|
25
|
-
| 3D models, 3D SmartArt and 3D charts | `three`
|
|
26
|
-
| The AI assistant panel | `ai`
|
|
21
|
+
| For | Add |
|
|
22
|
+
| ------------------------------------ | ------------------------------------------------------------------------ |
|
|
23
|
+
| Real-time collaboration | `yjs` (`y-websocket` and `y-webrtc` are optional dependencies) |
|
|
24
|
+
| 3D models, 3D SmartArt and 3D charts | nothing: `three` is an optional dependency that npm installs when it can |
|
|
25
|
+
| The AI assistant panel | `ai` (6 or 7) |
|
|
27
26
|
|
|
28
|
-
Without them
|
|
27
|
+
Without them those features stay off and everything else works.
|
|
29
28
|
|
|
30
29
|
## Quick start
|
|
31
30
|
|
|
@@ -39,90 +38,89 @@ const viewer = createPptxViewer(document.getElementById('host')!, {
|
|
|
39
38
|
onDirtyChange: (dirty) => console.log('unsaved edits:', dirty),
|
|
40
39
|
});
|
|
41
40
|
|
|
42
|
-
const bytes = await viewer.save(); //
|
|
41
|
+
const bytes = await viewer.save(); // the edited .pptx
|
|
43
42
|
await viewer.downloadPptx('quarterly-edited.pptx');
|
|
44
43
|
|
|
45
44
|
viewer.destroy(); // removes the DOM, listeners, blob URLs and the engine handler
|
|
46
45
|
```
|
|
47
46
|
|
|
48
|
-
The viewer fills its container, so give the container a size. Styles are injected once per document;
|
|
47
|
+
The viewer fills its container, so give the container a size. Styles are injected once per document; under a strict Content Security Policy import `pptx-vanilla-viewer/styles.css` instead (`getViewerCss()` returns the same text). For a complete Vite project, see [getting started](https://christophervr.github.io/ooxml/pptx/vanilla/getting-started).
|
|
48
|
+
|
|
49
|
+
## Options
|
|
49
50
|
|
|
50
|
-
|
|
51
|
+
The most used options. Every binding takes the same set (here the bytes are `source` and the edit switch is `editable`); the [options reference](https://christophervr.github.io/ooxml/pptx/vanilla/options) has all of them.
|
|
51
52
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
| Option | What it does |
|
|
54
|
+
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------- |
|
|
55
|
+
| `source` | The deck: a URL, `ArrayBuffer`, `Uint8Array`, `Blob` or `File`. |
|
|
56
|
+
| `editable`, `readOnly` | Turn editing on, or force the deck read-only (`readOnly` wins). |
|
|
57
|
+
| `initialSlide`, `showToolbar`, `showThumbnails` | Starting slide and which chrome to show. |
|
|
58
|
+
| `locale`, `messages` | The UI language and your dictionaries. |
|
|
59
|
+
| `theme`, `defaultThemeKey`, `availableThemes` | Viewer chrome colours and radius, and the File > Options appearance choices. |
|
|
60
|
+
| `customization`, `hiddenActions`, `ribbonAddIns` | Hide, lock or remap ribbon tabs, commands, options, menus, shortcuts and panels; add your tabs. |
|
|
61
|
+
| `fonts`, `googleFonts` | Supply licensed fonts; turn off or redirect web font downloads. |
|
|
62
|
+
| `allowExternalContent` | Fetch a deck's linked pictures and media without asking (`true`) or block them (`false`). |
|
|
63
|
+
| `limits` | Bound the work a load may do, for decks you do not trust. |
|
|
64
|
+
| `collaboration`, `shareDefaults` | Join or seed a real-time session. |
|
|
65
|
+
| `storage`, `fileProviders`, `autosave` | Save to your own storage or a cloud provider, and control recovery autosave. |
|
|
66
|
+
| `registry` | Your own element renderers. |
|
|
67
|
+
| `ai` | The optional assistant, from `createAiAssistant` in `pptx-vanilla-viewer/ai`. |
|
|
68
|
+
| `fitPadding`, `maxFitScale` | How the slide fits its viewport. |
|
|
60
69
|
|
|
61
|
-
|
|
70
|
+
The instance (`PptxViewerInstance`) has the shared slide and element API (`getContent`, `getSlides`, `addSlide`, `addElement`, `updateElement`, `deleteElements`, `undo`, `redo`, zoom, mode and selection) plus loading (`loadFile`, `loadUrl`), navigation (`next`, `prev`, `goToSlide`, `zoomToFit`), `enterPresentation`, saving and export (`save`, `downloadAs`, `downloadPptx`, `exportPdf`, `exportSlidePng`, `print`), `startCollaboration`, `setTheme`, `setLocale`, `getRegistry()`, `getHandler()` for the live engine and `destroy`. See [the API](https://christophervr.github.io/ooxml/pptx/vanilla/api).
|
|
62
71
|
|
|
63
|
-
##
|
|
72
|
+
## Events
|
|
64
73
|
|
|
65
|
-
|
|
74
|
+
Callback options, most used first: `onContentChange` (the edited bytes), `onDirtyChange`, `onSlideChange`, `onSelectionChange`, `onLoad`, `onError`, `onChange`, `onModeChange`, `onZoomChange`, `onSlideCountChange`, `onAutosave`, `onCollaborationChange`, `onHyperlinkClick`, `onOpenFile`, `onThemeChange`, `onLocaleChange` and `onPdfExportReport`. See the [options reference](https://christophervr.github.io/ooxml/pptx/vanilla/options).
|
|
66
75
|
|
|
67
|
-
|
|
76
|
+
## Your own UI
|
|
68
77
|
|
|
69
|
-
|
|
78
|
+
`createViewerBuildingBlocks` runs the full viewer engine behind a canvas, a compact toolbar and the slide rail that you mount where you like (`mountCanvas`, `mountToolbar`, `mountSlidesPane`), and lets you answer picker and dialog requests with your own UI. Elements are drawn through an open registry, so you can replace one kind without forking: `viewer.getRegistry().register('table', renderTable)`. See [building blocks](https://christophervr.github.io/ooxml/pptx/vanilla/building-blocks) and [renderers](https://christophervr.github.io/ooxml/pptx/vanilla/renderers).
|
|
70
79
|
|
|
71
|
-
|
|
80
|
+
## Theming
|
|
72
81
|
|
|
73
|
-
|
|
82
|
+
The chrome inherits the shared `--office-*` tokens: put `data-office-theme="light"`, `"dark"` or `"auto"` on a containing element, or set tokens such as `--office-accent` there. The `theme` option (a partial `ViewerTheme`, also `viewer.setTheme(theme)`) overrides them through the viewer's `--pptx-*` properties; `vermilionLightTheme` and `vermilionDarkTheme` are ready-made. See [theming](https://christophervr.github.io/ooxml/pptx/vanilla/theming).
|
|
74
83
|
|
|
75
|
-
##
|
|
84
|
+
## Localisation
|
|
76
85
|
|
|
77
|
-
The
|
|
86
|
+
English (built in), French, Spanish, German, Simplified Chinese, Japanese and Korean. Pass `messages` (one `pptx.*` dictionary per locale) with `locale`, or call `setLocale`; missing keys fall back to English. The dictionaries are at `pptx-vanilla-viewer/i18n/fr`, `/es`, `/de`, `/zh-CN`, `/ja` and `/ko`. See [localisation](https://christophervr.github.io/ooxml/pptx/guide/localization).
|
|
78
87
|
|
|
79
|
-
|
|
80
|
-
| ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------- |
|
|
81
|
-
| `editable`, `readOnly` | Turn editing on, or force the deck read-only. |
|
|
82
|
-
| `initialSlide`, `showToolbar`, `showThumbnails` | Starting slide and which chrome to show. |
|
|
83
|
-
| `locale`, `messages` | The UI language and your dictionaries. |
|
|
84
|
-
| `theme`, `defaultThemeKey`, `availableThemes` | Colours and radius as `--pptx-*` tokens, and the File > Options appearance choices. |
|
|
85
|
-
| `customization`, `hiddenActions`, `ribbonAddIns` | Hide, lock or remap ribbon tabs, commands, options, menus, shortcuts and panels; add your own tabs. |
|
|
86
|
-
| `fonts`, `googleFonts` | Supply licensed fonts, and control or redirect web font downloads. |
|
|
87
|
-
| `allowExternalContent` | Download a deck's linked pictures and media without asking (`true`) or block them silently (`false`). |
|
|
88
|
-
| `limits` | Bound the work a load may do, for decks you do not trust. |
|
|
89
|
-
| `collaboration`, `shareDefaults` | Join or seed a real-time session. |
|
|
90
|
-
| `storage`, `fileProviders`, `autosave` | Save to your own storage or OneDrive, and control recovery autosave. |
|
|
91
|
-
| `registry` | Your own element renderers. |
|
|
92
|
-
| `ai` | The optional assistant. |
|
|
93
|
-
| `fitPadding`, `maxFitScale` | How the slide fits its viewport ([viewport fit](https://christophervr.github.io/ooxml/pptx/guide/viewport-fit)). |
|
|
88
|
+
## Status and limits
|
|
94
89
|
|
|
95
|
-
|
|
90
|
+
PowerPoint carries no stability label yet: it has not been assessed against the [stability policy](https://github.com/ChristopherVR/ooxml/blob/main/docs/stability.md).
|
|
96
91
|
|
|
97
|
-
|
|
92
|
+
- Saving keeps the parts you did not touch, but saving an edited slide can still rewrite minor markup; it is not a lossless round trip.
|
|
93
|
+
- Some effects are approximated (3D materials, some WordArt warps, SmartArt without its cached drawing). A deck that uses an approximated construct reports it as a load warning.
|
|
94
|
+
- The editor covers a subset of PowerPoint: Remove Background, narration, Notes Master, Handout Master, Notes Page view, Grayscale views and Designer are not there yet.
|
|
95
|
+
- OneDrive stores files through an adapter whose sign-in your host provides; there is no Office co-authoring.
|
|
98
96
|
|
|
99
|
-
|
|
100
|
-
- Any bundler that resolves ES modules, or none: the package has no framework dependency.
|
|
101
|
-
- Node.js 22.3 or newer to install, build and test.
|
|
97
|
+
See the [limitations page](https://christophervr.github.io/ooxml/pptx/guide/limitations) and the [Office parity checklist](https://github.com/ChristopherVR/ooxml/blob/main/docs/parity-checklist.md#powerpoint).
|
|
102
98
|
|
|
103
99
|
## Privacy and network use
|
|
104
100
|
|
|
105
|
-
The viewer renders and saves decks in the browser and never uploads them. It contacts other servers only in these cases:
|
|
101
|
+
The viewer renders and saves decks in the browser and never uploads them. Nothing collects analytics or telemetry. It contacts other servers only in these cases:
|
|
102
|
+
|
|
103
|
+
- **Web fonts (on by default).** A font that is neither installed nor embedded, when the bundled Google Fonts catalogue serves it or a stand-in, is downloaded from `fonts.googleapis.com` and `fonts.gstatic.com`; Google sees the reader's IP address and the family names. Set `googleFonts` to `false` to turn it off, or to `{ baseUrl }` to use your own mirror; readers can turn it off in File > Options > Trust Center. Offline, the deck opens with substitute fonts.
|
|
104
|
+
- **Linked pictures and media (off by default).** Fetched only after the reader chooses Enable Content on the security bar, or always with `allowExternalContent: true`; `false` blocks them without the bar.
|
|
105
|
+
- **Share and Broadcast (only when started).** Updates go to the server you configure; without one, peers meet through y-webrtc's public signalling server and public STUN servers. Pass your own `collaboration.signaling` list to avoid them.
|
|
106
|
+
- **AI assistant (off unless you pass `ai`).** Requests go to the connection you configure, with the conversation and deck context (`contextStrategy: 'none'` sends no deck context).
|
|
107
|
+
- **Links** (hyperlinks, Microsoft Forms responses) open only when clicked, in a new tab without opener or referrer. `file:` and `ftp:` links never open, and relative links (`notes.html`, `#part`) open, against your page's address, only after you call `setOpenRelativeHyperlinks(true)` from `ooxml-ui/pptx`.
|
|
108
|
+
- **A `source` URL** is fetched by the viewer; pass bytes instead to avoid it.
|
|
106
109
|
|
|
107
|
-
|
|
108
|
-
- **Linked pictures and media** are not fetched when a deck opens, as in PowerPoint. A security bar ("References to external pictures and other media have been blocked") offers **Enable Content**, which draws them without reloading: edits and undo history stay, and in a shared session each participant chooses for themselves. The choice lasts until another presentation opens. The Trust Center option "Allow external content" (off by default) fetches them without asking; `allowExternalContent: true` does the same and `false` blocks them without the bar, each locking that option.
|
|
109
|
-
- **Hyperlinks** open only when the reader clicks them, always in a new tab with `noopener` and `noreferrer`, so the linked site receives no referrer and cannot script the viewer's page, whatever frame the deck names. `file:` and `ftp:` links stay in the deck but never open. Relative links (no scheme, such as `notes.html`) open, against the host page's address, only after the host calls `setOpenRelativeHyperlinks(true)` from `ooxml-ui/pptx`.
|
|
110
|
-
- **Share and Broadcast**, only when started. Updates go to the server you configure. With no server, peers meet through y-webrtc's public signaling server and public STUN servers; the signaling server sees a hash of the secret in the invitation link's `#key=` fragment (never the room name), the participants' IP addresses and encrypted signaling messages.
|
|
110
|
+
Autosave, recovery and preferences stay on the device (IndexedDB and localStorage). The full list, including Ink to Math and the camera, is in [PRIVACY.md](https://github.com/ChristopherVR/ooxml/blob/main/PRIVACY.md#powerpoint-ooxml-uipptx-and-the-pptx--viewer-packages).
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
## Browser support
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
- The last two major versions of Chrome, Edge, Firefox and Safari; Safari 16.4 at least ([browser support](https://github.com/ChristopherVR/ooxml/blob/main/docs/browser-support.md)).
|
|
115
|
+
- Any bundler that resolves ES modules (CommonJS builds ship too); no framework.
|
|
116
|
+
- Node.js 22.3 or newer to install and build.
|
|
115
117
|
|
|
116
|
-
|
|
117
|
-
| -------------------------------------------------------------------------- | -------------------------------------------------------------- |
|
|
118
|
-
| [`pptx-react-viewer`](https://www.npmjs.com/package/pptx-react-viewer) | The same viewer for React. |
|
|
119
|
-
| [`pptx-vue-viewer`](https://www.npmjs.com/package/pptx-vue-viewer) | The same viewer for Vue 3. |
|
|
120
|
-
| [`pptx-angular-viewer`](https://www.npmjs.com/package/pptx-angular-viewer) | The same viewer for Angular. |
|
|
121
|
-
| [`pptx-svelte-viewer`](https://www.npmjs.com/package/pptx-svelte-viewer) | The same viewer for Svelte 5. |
|
|
122
|
-
| [`pptx-viewer-core`](https://www.npmjs.com/package/pptx-viewer-core) | Reading, building and saving decks in Node or a worker, no UI. |
|
|
123
|
-
| [`pptx-viewer-mcp`](https://www.npmjs.com/package/pptx-viewer-mcp) | PowerPoint editing tools for AI agents, as an MCP server. |
|
|
118
|
+
## Documentation and demos
|
|
124
119
|
|
|
125
|
-
|
|
120
|
+
- [Documentation](https://christophervr.github.io/ooxml/pptx/), the [Vanilla JS guide](https://christophervr.github.io/ooxml/pptx/vanilla/) and the [live demo](https://christophervr.github.io/ooxml/pptx/demo-vanilla/).
|
|
121
|
+
- The same viewer for [React](https://www.npmjs.com/package/pptx-react-viewer), [Vue](https://www.npmjs.com/package/pptx-vue-viewer), [Angular](https://www.npmjs.com/package/pptx-angular-viewer) and [Svelte](https://www.npmjs.com/package/pptx-svelte-viewer).
|
|
122
|
+
- [`pptx-viewer-core`](https://www.npmjs.com/package/pptx-viewer-core) for decks without a UI, and [`pptx-viewer-mcp`](https://www.npmjs.com/package/pptx-viewer-mcp) for AI agents.
|
|
123
|
+
- Part of [ooxml](https://github.com/ChristopherVR/ooxml#readme), with Word, Excel and Visio editors.
|
|
126
124
|
|
|
127
125
|
## License
|
|
128
126
|
|