@silurus/ooxml 0.73.2 → 0.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/{docx-C6i4Ut3d.js → docx-CgeW6eIH.js} +3295 -3289
- package/dist/docx.mjs +2 -2
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{find-cursor-CaGrVs7z.js → find-cursor-DtgyGs5V.js} +1358 -1337
- package/dist/{highlight-rect-DZn1OD1x.js → highlight-rect-IjFkGg4X.js} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{pptx-BVDbKJFr.js → pptx-9C5JKbFv.js} +170 -165
- package/dist/pptx.mjs +2 -2
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/render-worker-host-1rPbze5W.js +27 -0
- package/dist/render-worker-host-B-Y1DmN9.js +27 -0
- package/dist/render-worker-host-B5otq5TA.js +27 -0
- package/dist/types/index.d.ts +131 -4
- package/dist/types/pptx.d.ts +8 -2
- package/dist/types/xlsx.d.ts +124 -3
- package/dist/{visible-index-CyuaF_ZP.js → visible-index-C3_3gBg-.js} +1 -1
- package/dist/{xlsx-z4Bs4HLQ.js → xlsx-D-UFFxVs.js} +133 -121
- package/dist/xlsx.mjs +2 -2
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/render-worker-host-Bz0flu1p.js +0 -27
- package/dist/render-worker-host-Custze53.js +0 -27
- package/dist/render-worker-host-G3B-g9HJ.js +0 -27
package/README.md
CHANGED
|
@@ -32,6 +32,10 @@ A browser-based viewer for Office Open XML documents that renders to an HTML Can
|
|
|
32
32
|
The parsers are written in Rust and compiled to WebAssembly; the renderers use the Canvas 2D API.
|
|
33
33
|
Each format also exposes a headless engine (`DocxDocument` / `XlsxWorkbook` / `PptxPresentation`) that renders into any caller-supplied canvas, so you can compose your own UI — scroll views, thumbnail grids, master-detail panes — instead of being locked into the built-in viewer. See the `Examples` section in [the Storybook demo](https://ooxml.silurus.dev/storybook/).
|
|
34
34
|
|
|
35
|
+
## Project scope: read-only viewing
|
|
36
|
+
|
|
37
|
+
This project is intentionally a **read-only viewer**. Editing interfaces, mutation APIs, editable or lossless document models, saving / round-tripping, and partial editing of DOCX, XLSX, or PPTX files are out of scope. Read-only interactions such as selection, copy, search, shape IDs, hit testing, and annotation or external-tool integrations remain in scope, and editing-focused forks are welcome. See [#496](https://github.com/yukiyokotani/office-open-xml-viewer/issues/496) for the rationale.
|
|
38
|
+
|
|
35
39
|
| DOCX | XLSX | PPTX |
|
|
36
40
|
|:---:|:---:|:---:|
|
|
37
41
|
|  |  |  |
|
|
@@ -733,7 +737,7 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
733
737
|
| | Sparklines (`x14:sparklineGroup` — line / column / win-loss, with markers and high/low/first/last/negative highlights) | ✅ |
|
|
734
738
|
| **Advanced** | Conditional formatting (`cellIs`, `colorScale`, `dataBar`, `iconSet`, `top10`, `aboveAverage`) | ✅ |
|
|
735
739
|
| | Slicers (static, Office 2010 extension) | ✅ |
|
|
736
|
-
| | Pivot tables
|
|
740
|
+
| | Pivot tables (saved worksheet output renders unchanged; read-only metadata is exposed. Refresh, recalculation, filtering, restructuring, and interactivity are unsupported) | ⚠️ Partial |
|
|
737
741
|
| | Cell comments / notes (classic `xl/commentsN.xml` + Office-365 threaded comments — red triangle indicator + author / text via the worksheet model, shown in an Excel-style hover popup) | ✅ |
|
|
738
742
|
| | Data validation (rules via the worksheet model; `list`-type dropdown arrow on the selected cell whose click opens a panel showing the allowed values — read-only) | ✅ |
|
|
739
743
|
| | Markdown export (`XlsxWorkbook.toMarkdown()` — each sheet as a `## SheetName` pipe table; also `@silurus/ooxml-markdown` + the `ooxml-md` CLI) | ✅ |
|