mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-24 18:17:44 -06:00
* M10: Office export reads forms as far as the renderer and says where it stops (#3120) Export to Word, PowerPoint, HTML and RTF stopped at 12 nested forms and 4 096 forms a page and left the rest out silently. It now follows forms 50 deep, as the renderer does, and up to 50 000 a page (the renderer's budget for nested paints), still bounded on hostile files. doc_export_office lists pages past those limits in truncated_pages, with a warning. New: reading_blocks_checked and export_office_checked; reading_blocks and export_office keep their signatures. Fixes #3120 Co-Authored-By: Claude <noreply@anthropic.com> * Tests: pin the form depth limit to the renderer's 50 (#3120) The depth test built its chain from MAX_FORM_DEPTH, so it moved with the constant. Write the renderer's limit out: depth 50 is read, depth 51 is left out and reported. Fails with the constant at 49 and at 51. Co-Authored-By: Claude <noreply@anthropic.com> * Export: say which forms count toward the page limit (#3120) The page budget also counts forms the page draws itself, which the renderer does not charge, so a page can be reported as cut although the viewer shows it. The warning and the tool description now say so. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>