forked from 1b-agent/opencadstudio-upstream
- The page transform is read as 16.16 fixed point held in single precision and each user-space coordinate as a single-precision value kept to six decimals, so imported coordinates match the reference to the last digit. - Paths wholly outside the page (crop box) or the current clip are left out. - The page's /UserUnit scales the import. - Unreadable files (no trailer, empty, not a PDF) print the "This file cannot be opened." block; encrypted files are asked for again silently. - Page prompt: digits only, "There is no N in <file>." past the last page; page list prompt keeps asking with "Please enter page number or *.". - Automation: pdf_import_pick (the path the next PDF picker returns) and pdf_import_dialog (page / on_screen / scale / rotation / ok / cancel). Co-Authored-By: Claude Opus 5.5 <[email protected]>