mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 21:11:52 +00:00
A portfolio (ISO 32000-2 §7.11.6) keeps its documents as embedded files; its pages are only a cover sheet for viewers without a file list. DocInfo::portfolio reads the collection dictionary (Table 153): the attachment /D names, decoded as the name-tree keys are, and /View. Opening one presents that PDF in a tab of its own, on the next frame so a nested portfolio waits for the reader, and the portfolio's tab shows its files in the Attachments panel even with the right panel closed (not with /View /H), giving the replaced panel back when the tab is left. doc_info reports the portfolio; organize.portfolio-view is partial. Fixes #1652