mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-12 12:23:28 +00:00
Master-page content repeated on each page shared one SOM path (`master[0]`), so its fields shared one data node and one script node. Each page's copy is now `master[n]`: - the layout names it so; - data binds it per page, except a field bound globally or by explicit ref, which stays shared (XFA 3.3, "Page Background"); - the live form has one page-area node per page laid out from it, counted from the generated fields, so a button on page 2 runs its click script as itself. - an event listed before a script laid the form out again can name an object that is gone (a page the form no longer fills): it is not run, rather than run with `this` at the form's root, where `this.presence = "hidden"` hid the whole form. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CBVyQEwtmEw3mS1MoAiwrK