mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-30 04:58:34 -06:00
FDF export dropped /IRT, so a note's replies and its review-status reply imported as unrelated comments. Each comment is now an indirect object of the FDF (with a cross-reference table), and a reply's /IRT points at its parent's object there, as ISO 32000-2 §12.7.8.3.1 allows. Import maps the FDF objects to the placed comments and links replies in a second pass, falling back to a parent of the same /NM already in the document. FDFs with direct comment dictionaries still import. Self-references, missing parents and cycles are ignored without panicking. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>