@silurus/ooxml 0.34.0 → 0.35.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 +4 -1
- package/dist/docx-BSqY4T0s.js +1133 -0
- package/dist/docx-CxZXjtTA.cjs +1 -0
- package/dist/docx.cjs +1 -1
- package/dist/docx.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +3 -3
- package/dist/pptx-CLc84h6v.cjs +1 -0
- package/dist/pptx-DdpPwDWz.js +23301 -0
- package/dist/pptx.cjs +1 -1
- package/dist/pptx.mjs +1 -1
- package/dist/types/docx.d.ts +55 -1
- package/dist/types/index.d.ts +59 -0
- package/dist/xlsx-BlpzIqe6.cjs +11 -0
- package/dist/xlsx-Cnu9YR5Z.js +3166 -0
- package/dist/xlsx.cjs +1 -1
- package/dist/xlsx.mjs +1 -1
- package/package.json +1 -1
- package/dist/docx-CLU-JjMc.js +0 -1112
- package/dist/docx-DpX3h8ly.cjs +0 -1
- package/dist/pptx-BiCFrgHM.js +0 -23301
- package/dist/pptx-fT7k8Zgz.cjs +0 -1
- package/dist/xlsx-B2JQRvXf.cjs +0 -11
- package/dist/xlsx-hRYBeCtQ.js +0 -3166
package/README.md
CHANGED
|
@@ -386,7 +386,8 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
386
386
|
| | Images (inline and anchored, with text wrap) | ✅ |
|
|
387
387
|
| | Text boxes / drawing shapes | ✅ |
|
|
388
388
|
| **Advanced** | Footnote / endnote reference markers | ✅ |
|
|
389
|
-
| | Track changes /
|
|
389
|
+
| | Track changes (`w:ins` / `w:del` — author-coloured underline / strikethrough) | ✅ |
|
|
390
|
+
| | Comments / footnote bodies (parsed, not yet rendered inline) | ⚠️ |
|
|
390
391
|
| | Mail merge fields | ❌ Not planned |
|
|
391
392
|
| **Interaction** | Text selection (transparent overlay, native copy) | ✅ |
|
|
392
393
|
|
|
@@ -523,6 +524,8 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
523
524
|
|
|
524
525
|
## Companion packages
|
|
525
526
|
|
|
527
|
+
- **[`packages/markdown/`](packages/markdown/)** — `@silurus/ooxml-markdown` and the `ooxml-md` CLI convert `.pptx` / `.docx` / `.xlsx` to GitHub-flavoured markdown via the workspace WASM parsers. Same projection used by the MCP server (~21× smaller than the raw XML on the demo deck, ~8% bigger than a flat-text extractor). Includes a node20-based GitHub Action for bulk repo-wide conversion.
|
|
528
|
+
- **[`packages/node/`](packages/node/)** — Node-side parsers (`@silurus/ooxml-node`) exposing `parsePptx` / `parseDocx` / `parseXlsx` / `parseXlsxAllSheets` against the workspace WASM artifacts, with no DOM or Web Worker dependency. Useful for CI checks, headless rendering pipelines, and CLI tools. Pairs with `@silurus/ooxml-diff` for server-side diffing. Includes an `ooxml-thumbnail` CLI (pptx-only first pass; requires `skia-canvas`).
|
|
526
529
|
- **[`packages/vscode-extension/`](packages/vscode-extension/)** — VS Code extension (`ooxml-viewer`) that registers `CustomEditorProvider`s for `.docx`, `.xlsx`, and `.pptx`, and (opt-in) auto-installs and registers the `ooxml-mcp-server` so AI coding agents in the same window (Copilot Agent mode, Claude, …) can read those files via dedicated tools.
|
|
527
530
|
- **[`packages/mcp-server/`](packages/mcp-server/)** — Rust MCP server (`ooxml-mcp-server`) exposing the parsers as tools for AI agents (Claude, Copilot, Codex, etc.). Provides structured queries (`docx_get_structure`, `xlsx_get_cell_range`, `pptx_get_slide_structure`, …) so agents can inspect OOXML files without shelling out to `unzip`. Prebuilt binaries are attached to each [GitHub Release](https://github.com/yukiyokotani/office-open-xml-viewer/releases) for macOS / Linux / Windows; the VS Code extension downloads them on demand.
|
|
528
531
|
|