@silurus/ooxml 0.89.8 → 0.89.10

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 (36) hide show
  1. package/README.md +9 -3
  2. package/dist/assets/{render-worker-DJiGqgi0.js → render-worker-Coh33rbW.js} +11 -11
  3. package/dist/assets/{render-worker-hPLJ82d2.js → render-worker-jGsxSIGb.js} +23 -23
  4. package/dist/{comment-overlay-controller-B7AoyoDK.js → comment-overlay-controller-b3tKmzMa.js} +11 -7
  5. package/dist/{comment-ui-runtime-C5eWtZSW.js → comment-ui-runtime-BkpFlPT0.js} +3 -3
  6. package/dist/{comment-ui-runtime-CV0I9faV.js → comment-ui-runtime-Bp37ytDC.js} +2 -2
  7. package/dist/{document-model-source-90ext13g.js → document-model-source-Ca2fk_Fc.js} +4 -4
  8. package/dist/{document-pull-client-DSYpUET2.js → document-pull-client-CTGM4i1m.js} +2447 -2406
  9. package/dist/{docx-DCCDnwrG.js → docx-B-47Ff78.js} +5 -5
  10. package/dist/{docx-G7pt7ajR.js → docx-DwdB7I59.js} +3 -3
  11. package/dist/{docx-model-source-Beon3BD5.js → docx-model-source-CWuvf9jk.js} +2 -2
  12. package/dist/docx.mjs +1 -1
  13. package/dist/docx_parser_bg.wasm +0 -0
  14. package/dist/{host-layout-measure-Z2fIsmDw.js → host-layout-measure-IFLllYwV.js} +1 -1
  15. package/dist/index.mjs +3 -3
  16. package/dist/internal-companion.mjs +2 -2
  17. package/dist/node.mjs +2 -2
  18. package/dist/{pptx-Ci1Y9SS_.js → pptx-DbjWegUB.js} +27 -12
  19. package/dist/pptx.mjs +1 -1
  20. package/dist/pptx_parser_bg.wasm +0 -0
  21. package/dist/{presentation-model-source-3N7xLtmI.js → presentation-model-source-DLNioq7T.js} +2 -2
  22. package/dist/{render-worker-host-BZoh-wqR.js → render-worker-host-80mSndWp.js} +1 -1
  23. package/dist/{render-worker-host-BmVeB_mR.js → render-worker-host-pKls3F_t.js} +1 -1
  24. package/dist/{renderer-CCA_bQB8.js → renderer-DuYC3xXi.js} +1029 -917
  25. package/dist/types/docx.d.ts +3 -3
  26. package/dist/types/index.d.ts +7 -5
  27. package/dist/types/node.d.ts +2 -2
  28. package/dist/types/pptx.d.ts +3 -1
  29. package/dist/types/xlsx.d.ts +1 -1
  30. package/dist/{workbook-model-source-BHR8shXr.js → workbook-model-source-D1dmkDMP.js} +3 -3
  31. package/dist/{xlsx-7aY3Pbvh.js → xlsx-DA0uR1B1.js} +1 -1
  32. package/dist/{xlsx-DTtDjzFq.js → xlsx-DBhYlJKp.js} +652 -640
  33. package/dist/{xlsx-model-source-DXKvb90T.js → xlsx-model-source-zemVDAfl.js} +2 -2
  34. package/dist/xlsx.mjs +1 -1
  35. package/dist/xlsx_parser_bg.wasm +0 -0
  36. package/package.json +1 -1
package/README.md CHANGED
@@ -551,7 +551,11 @@ For a large DOCX file, set `progressiveLayout: true` to resolve `load()` when th
551
551
  opening pages are paintable while the same paginator continues in the background.
552
552
  It is available on `DocxViewer`, `DocxScrollViewer`, and `DocxDocument.load()` in
553
553
  both render modes. Pair it with `mode: 'worker'` when the remaining layout and
554
- paint work should also stay off the UI thread.
554
+ paint work should also stay off the UI thread. Pages shown before layout
555
+ completes are provisional: page breaks may move and content can occasionally
556
+ overlap. `DocxViewer` and `DocxScrollViewer` redraw every page once layout
557
+ completes; code that calls `DocxDocument.renderPage()` directly must render its
558
+ pages again after `waitUntilLayoutComplete()`.
555
559
 
556
560
  ```typescript
557
561
  import { DocxScrollViewer } from '@silurus/ooxml/docx';
@@ -580,8 +584,10 @@ While `layoutComplete` is false, `pageCount` and the callback's `total` argument
580
584
  mean pages available so far, not the final total. The page callbacks fire again
581
585
  when that count grows, even if the visible page does not change. Await
582
586
  `waitUntilLayoutComplete()` before printing, exporting, or snapshotting a final count.
583
- In-document `NUMPAGES` fields are repainted with their authoritative value after
584
- pagination converges. See the [progressive layout guide](https://ooxml.silurus.dev/docx#progressive-layout)
587
+ `DocxViewer` and `DocxScrollViewer` repaint provisional pages, including
588
+ in-document `NUMPAGES` fields, with their authoritative layout after pagination
589
+ converges. Code that calls `DocxDocument.renderPage()` directly owns its canvases
590
+ and must render those pages again after `waitUntilLayoutComplete()`. See the [progressive layout guide](https://ooxml.silurus.dev/docx#progressive-layout)
585
591
  and [DOCX API reference](https://ooxml.silurus.dev/api/docx).
586
592
 
587
593
  ### Progressive PPTX layout