Files
genoffice/apps
ANIRUDDHA ADAKandAniruddha Adak 692c929c8d fix(pdf): stream print pages with per-page budget and cleanup (#354)
* fix(pdf): stream print pages with per-page budget and cleanup

* fix(sheets): satisfy exactOptionalPropertyTypes for LazyCellMatch rawValue

* fix(pdf): render over-budget pages at reduced scale instead of skipping

- Keep the skip only for degenerate NaN/zero-area pages; pages exceeding MAX_PAGE_PIXELS now render at scale * sqrt(MAX_PAGE_PIXELS / (w*h)). Per-page cleanup retained.

Test updated: huge page renders reduced (2 imgs), NaN skipped; getPage mock selects viewports by page number so measure+render passes align.

* fix(pdf): update print tests for measure-then-render getPage counts

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-15 11:20:18 +08:00
..
2026-09-14 07:03:41 +08:00