mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
Opening or placing a PDF or .ai with several pages or a password shows the Import PDF / Place PDF dialog: a page preview with page navigation, Pages (All or a range) when opening, Crop To (Bounding Box, Art, Crop, Trim, Bleed, Media) and a password prompt for encrypted files. - vectorcraft-pdf: ImportOptions.pages / crop / password, CropTo, info() (pages, sizes, rotation, boxes); NeedsPassword / WrongPassword / BadPage errors; images keyed by content so placed pages merge safely. - document.open takes pages, page, cropTo (or crop) and password; document.pdfInfo (query) lists pages and boxes, reports needsPassword and renders a page thumbnail. - file.place and file.place.info read only the page placed and take every PDF box as crop (art, trim, bleed, media besides crop and bounding) and a password; the UI's File > Place asks with the dialog when no page is given, keeping Link, Template and the other place params. - testkit::pdf writes hand-made PDFs with page boxes and RC4 encryption. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>