@file-viewer/docx 0.3.13 → 0.3.14
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
CHANGED
|
@@ -151,7 +151,7 @@ The production path is intentionally split into stages:
|
|
|
151
151
|
2. The Worker loads JSZip using `workerJsZipUrl`, unzips the package, parses XML parts, resolves relationships and serializes a compact document snapshot.
|
|
152
152
|
3. The main thread restores the snapshot into `WordDocument` and renders HTML pages in batches, yielding to `requestIdleCallback`, `requestAnimationFrame` or `setTimeout` between page batches.
|
|
153
153
|
4. `awaitRenderedLayout` waits for images and fonts, runs dynamic overflow pagination and returns a `LayoutSnapshot`.
|
|
154
|
-
5. `collectLayoutSnapshot` can be used in CI or telemetry to detect overflow pages, unresolved media, page count, fields and floating objects.
|
|
154
|
+
5. `collectLayoutSnapshot` can be used in CI or telemetry to detect overflow pages, unresolved media, page count, aggregate text length, fields and floating objects.
|
|
155
155
|
|
|
156
156
|
This avoids the former demo-page freeze caused by synchronous ZIP/XML parsing and very large DOM construction on the UI thread.
|
|
157
157
|
|