@silurus/ooxml 0.89.2 → 0.89.4

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.
Files changed (95) hide show
  1. package/README.md +4 -3
  2. package/dist/{abort-VrnK7mdP.js → abort-JztSoyw2.js} +0 -2
  3. package/dist/assets/render-worker-BUa1gyCE.js +15 -0
  4. package/dist/{bounded-raw-part-cache-C3daknU-.js → bounded-raw-part-cache-Bi_VqXmg.js} +7 -115
  5. package/dist/{bundled-asset-url-E2nXURF9.js → bundled-asset-url-BMJ8vNHP.js} +0 -2
  6. package/dist/{canvas-viewer-mechanics-SZWSnn6j.js → canvas-viewer-mechanics-ycCX6v-z.js} +3 -25
  7. package/dist/{cfb-guard-dNeUiANF.js → cfb-guard-BIaHdonq.js} +1 -13
  8. package/dist/chart-ex.mjs +4 -7
  9. package/dist/{chunk-Dy4uBu1J.js → chunk-D5OxutzX.js} +0 -2
  10. package/dist/{comment-overlay-controller-CHDxT0e7.js → comment-overlay-controller-CR5ySvki.js} +2 -22
  11. package/dist/{comment-ui-runtime-Dk2qrPy_.js → comment-ui-runtime-BWhLz4gq.js} +5 -7
  12. package/dist/comment-ui-runtime-BtP_TpvT.js +2 -0
  13. package/dist/{comment-ui-runtime-BcwaRnMR.js → comment-ui-runtime-CwTOCwA8.js} +5 -7
  14. package/dist/{delimited-text-worker-host-CikWU6_m.js → delimited-text-worker-host-RwvuSsP2.js} +0 -4
  15. package/dist/{document-model-source-BD2VSd2L.js → document-model-source-Csow9uxO.js} +9 -11
  16. package/dist/{document-pull-client-DhSGspvi.js → document-pull-client-CHpz0Q1p.js} +7572 -7285
  17. package/dist/{document-pull-worker-D-E0Iz3P.js → document-pull-worker-1ZJv9f9W.js} +3 -7
  18. package/dist/{docx-CXfILbzI.js → docx-D9E0vCq-.js} +12 -18
  19. package/dist/{docx-CCZBO1WQ.js → docx-GXxH0AwW.js} +13 -65
  20. package/dist/{docx-model-source-Ci6xb487.js → docx-model-source-aKx2gZH9.js} +7 -9
  21. package/dist/docx.mjs +6 -6
  22. package/dist/docx_parser_bg.wasm +0 -0
  23. package/dist/{drawingml-shape-Bp0yEZHC.js → drawingml-shape-BwELUfNW.js} +2 -6
  24. package/dist/{duotone-DN8P4aXe.js → duotone-BI7CoghW.js} +2 -6
  25. package/dist/{emf-CGFQIz6c.js → emf-DgUBx9BU.js} +2 -4
  26. package/dist/{font-preload-demand-CGOB-MoE.js → font-preload-demand-BuMy4iJ1.js} +2 -8
  27. package/dist/{grid-geometry-C3IG20ut.js → grid-geometry-CqTDvpDr.js} +1 -6
  28. package/dist/{host-layout-DVMw8hDY.js → host-layout-Cz_lCuTZ.js} +0 -1
  29. package/dist/{host-layout-measure-BAysJILu.js → host-layout-measure-GU0oJ4Me.js} +1 -3
  30. package/dist/{in-process-pull-transport-DuXcPZng.js → in-process-pull-transport-BPJ7M0uC.js} +0 -2
  31. package/dist/index.mjs +3 -3
  32. package/dist/internal-companion.mjs +3 -5
  33. package/dist/{line-distribute-DhQqysA2.js → line-distribute-C_CJisnJ.js} +2 -18
  34. package/dist/math.mjs +2 -8
  35. package/dist/{mathjax-BhwN6ilc.js → mathjax-DvwccQ8e.js} +0 -2
  36. package/dist/{model-source-kz_NkZqT.js → model-source-COXegBNA.js} +1 -3
  37. package/dist/{model-source-BkmyX_r-.js → model-source-DLXFe4_2.js} +3 -5
  38. package/dist/{model-source-session-CnPCTRDD.js → model-source-session-B3WVQCM5.js} +5 -9
  39. package/dist/{model-source-session-CF4iXav8.js → model-source-session-BVZBHZ04.js} +5 -11
  40. package/dist/{model-source-session-CJmkItIK.js → model-source-session-DfUgVpr1.js} +4 -8
  41. package/dist/node.mjs +6 -6
  42. package/dist/{pixel-budget-BpTYrepD.js → pixel-budget-DI82Hn3R.js} +0 -2
  43. package/dist/{plot-area-frame-Bs_j4uu7.js → plot-area-frame-D3JtHvov.js} +1 -167
  44. package/dist/{pptx-BhmLP_Ed.js → pptx-BD0jwWs6.js} +9 -11
  45. package/dist/{pptx-Bo9hCGQU.js → pptx-CLyebeF_.js} +16 -62
  46. package/dist/{pptx-model-source-J0SrVkO6.js → pptx-model-source-D_2mnSxI.js} +5 -7
  47. package/dist/pptx.mjs +7 -7
  48. package/dist/pptx_parser_bg.wasm +0 -0
  49. package/dist/{presentation-model-source-CebYmrOD.js → presentation-model-source-rWZ3Y-S_.js} +8 -10
  50. package/dist/{raster-target-YQ4G6rxo.js → raster-target-Ca3tyA0L.js} +0 -2
  51. package/dist/{read-only-comment-decoration-PidH0wnP.js → read-only-comment-decoration-B06YO2zk.js} +0 -4
  52. package/dist/{read-only-comment-margin-B52rDVKo.js → read-only-comment-margin-Ee9Y6vPg.js} +0 -2
  53. package/dist/region-map.mjs +4 -7
  54. package/dist/{render-hT2OVZUi.js → render-Cs1bgbEm.js} +3 -5
  55. package/dist/{render-worker-host-Desevuoc.js → render-worker-host-BR7n4xKy.js} +0 -4
  56. package/dist/render-worker-host-BxsA-yJo.js +5 -0
  57. package/dist/{render-worker-host-BmAQ-sWT.js → render-worker-host-CZC0WOn8.js} +0 -4
  58. package/dist/{renderer-CvZ4JmoL.js → renderer-DFDF48zw.js} +7 -55
  59. package/dist/{renderer-module-contract-CWM7jv6d.js → renderer-module-contract-BuTx2FWJ.js} +0 -2
  60. package/dist/{renderer-BFWqhLEt.js → renderer-xdugdcMd.js} +6 -70
  61. package/dist/{resource-measurement-DBiUwblM.js → resource-measurement-CTGrNAsD.js} +2 -18
  62. package/dist/{session-CWDKFWCh.js → session-B5CgMc2N.js} +7 -17
  63. package/dist/{slide-pull-client-BuBvXMyc.js → slide-pull-client-43mS9T70.js} +9 -63
  64. package/dist/{three-d-BKwNPAP4.js → three-d-ByHGsYrX.js} +1 -11
  65. package/dist/three-d.mjs +4 -17
  66. package/dist/{tiff-contract-C6M3QcPp.js → tiff-contract-DEd8CGuz.js} +0 -2
  67. package/dist/tiff.mjs +5 -8
  68. package/dist/types/chart-ex.d.ts +2 -2
  69. package/dist/types/docx.d.ts +12 -11
  70. package/dist/types/index.d.ts +19 -15
  71. package/dist/types/internal-companion.d.ts +1 -1
  72. package/dist/types/math.d.ts +1 -1
  73. package/dist/types/node.d.ts +7 -6
  74. package/dist/types/pptx.d.ts +11 -11
  75. package/dist/types/region-map.d.ts +2 -2
  76. package/dist/types/three-d.d.ts +2 -2
  77. package/dist/types/tiff.d.ts +1 -1
  78. package/dist/types/xlsx.d.ts +14 -11
  79. package/dist/{visible-index-FeVA0mGE.js → visible-index-vN-4BNn7.js} +0 -2
  80. package/dist/{wasm-loader-rlgHmcSv.js → wasm-loader-KAOyLXzf.js} +0 -4
  81. package/dist/{wasm-runtime-generation-BWGfM44b.js → wasm-runtime-generation-BsWKRY7U.js} +1 -3
  82. package/dist/{workbook-model-source-Che8Zbjw.js → workbook-model-source-CZtKSWad.js} +9 -11
  83. package/dist/{worker-source-UAi3GNcM.js → worker-source-C29EQNUj.js} +0 -2
  84. package/dist/{worker-source-SbudzjYL.js → worker-source-D3NwPe6l.js} +0 -2
  85. package/dist/{worker-source-DrwhR9fw.js → worker-source-ZQE9C1j6.js} +0 -2
  86. package/dist/{worksheet-pull-client-Cxzj6uuB.js → worksheet-pull-client-D5zAevQv.js} +4 -18
  87. package/dist/{xlsx-C5BSwMUd.js → xlsx-S6orTmKI.js} +8 -16
  88. package/dist/{xlsx-CUVUep5I.js → xlsx-lvftmF1U.js} +119 -131
  89. package/dist/{xlsx-model-source-C3_PiPBo.js → xlsx-model-source-Cm9ocDgT.js} +8 -12
  90. package/dist/xlsx.mjs +7 -7
  91. package/dist/xlsx_parser_bg.wasm +0 -0
  92. package/package.json +2 -2
  93. package/dist/assets/render-worker-D_SMt5nl.js +0 -15
  94. package/dist/comment-ui-runtime-B7ZvovcS.js +0 -2
  95. package/dist/render-worker-host-Cz224I38.js +0 -9
package/README.md CHANGED
@@ -753,7 +753,7 @@ owns the layout, paint and type primitives shared by DOCX, XLSX and PPTX.
753
753
  | `packages/docx/parser/src/lib.rs` | Rust WASM parser — DOCX ZIP → `Document` JSON |
754
754
  | `packages/xlsx/parser/src/lib.rs` | Rust WASM parser — XLSX ZIP → `Workbook` JSON |
755
755
  | `packages/pptx/parser/src/lib.rs` | Rust WASM parser — PPTX ZIP → `Presentation` JSON |
756
- | `packages/docx/src/renderer.ts` | DOCX Canvas 2D rendering and text layout |
756
+ | `packages/docx/src/renderer.ts` | DOCX Canvas 2D paint from retained page geometry |
757
757
  | `packages/xlsx/src/renderer.ts` | XLSX Canvas 2D viewport rendering |
758
758
  | `packages/pptx/src/renderer.ts` | PPTX Canvas 2D rendering |
759
759
  | `packages/*/src/worker.ts` | Main-mode parser Worker entry |
@@ -823,10 +823,11 @@ file without uploading it.
823
823
  | | SVG images (`asvg:svgBlip` MS-2016 extension — vector drawn from the embedded `.svg`, raster fallback) | ✅ |
824
824
  | | Text boxes / drawing shapes (inline and anchored `wps:wsp` / `wps:txbx`, including solid, gradient, and image fills; `a:prstGeom` — 186 preset geometries via the shared engine; connector arrow heads `headEnd` / `tailEnd` (§20.1.8.3) and `prstDash` dash patterns (§20.1.8.48)). Text-box paragraphs run through the **same line-layout engine as body text**, so kinsoku 行頭/行末禁則 (§17.15.1.58–60), UAX#9 bidi (`w:bidi`, §17.3.1.6), justification (§17.18.44) and tab stops (§17.3.1.37) all apply inside a box | ✅ |
825
825
  | | WMF **and EMF** metafile images (legacy vector, incl. inside text boxes) — rasterized via a built-in player: window→viewport mapping (MS-EMF map modes, world transform), pens/brushes, poly/rect/ellipse, text-out, path clipping, and embedded DIB blits | ✅ |
826
+ | | Paragraph text frames (`w:framePr`) — inherited positioning and spacing, with surrounding text wrap | ✅ |
826
827
  | | Legacy VML content — positioned shapes, text boxes, image previews, and authored text wrapping | ✅ |
827
828
  | | OLE embedded objects (`w:object` — the baked VML `v:imagedata` preview is drawn; the embedded app is not run) | ✅ |
828
- | **Advanced** | Footnotes — reference markers + bottom-of-page bodies with separator rule, numbered (`w:footnoteReference` / `w:footnoteRef`, §17.11) | ✅ |
829
- | | Endnotes — reference markers + bodies at document end (`w:endnoteReference`, §17.11) | ✅ |
829
+ | **Advanced** | Footnotes — numbered markers, authored separators and paragraph continuation across pages; column placement follows document compatibility settings (`w:footnoteReference` / `w:footnoteRef`, §17.11) | ✅ |
830
+ | | Endnotes — reference markers + document-end bodies, including paragraph continuation across pages (`w:endnoteReference`, §17.11) | ✅ |
830
831
  | | Page-number formats (`w:pgNumType` restart / format §17.6.12; PAGE `\*` switches — decimal / roman / letter / hex / ordinal-dash / hebrew2 / koreanLegal, §17.18.59) | ✅ |
831
832
  | | Field date/time pictures (`TIME` / `DATE` field `\@` format, §17.16.5.72 / .16) | ✅ |
832
833
  | | `w:snapToGrid` opt-out of the document grid (§17.3.1.32) | ✅ |
@@ -1,4 +1,3 @@
1
- //#region packages/core/src/internal/abort.ts
2
1
  function e(e) {
3
2
  let t = Error(e);
4
3
  return t.name = "AbortError", t;
@@ -6,5 +5,4 @@ function e(e) {
6
5
  function t(t, n) {
7
6
  if (t?.aborted) throw e(n);
8
7
  }
9
- //#endregion
10
8
  export { t as n, e as t };