mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 12:32:52 +00:00
- XFDF export: the finished appearance XML is checked against the import limit; a page whose /Type is a reference stays out; stream data with a carriage return goes out as hex (XML 1.0 §2.11 end-of-line handling); where /AS selects one of several states, the selected stream is written. - XFDF import: dash arrays of any length come back; consecutive <br/> keep the blank line in /Contents; rich text written as text on a comment with no /Contents comes back as /RC; namespace prefixes rich text inherits are declared on it; appearances share one budget over the import (now tested through it). - Redaction marks: the file's /AP and a /BE (none in ISO 32000-2 Table 195) are dropped and the mark is drawn by PdfCraft; one with an area it cannot draw is refused rather than placed invisible. - FDF import: /P is not copied (the page is /Page, §12.7.8.3.4 Table 254); a comment nested past 256 levels refuses the file instead of nulling part of its appearance (a chain of 60 forms comes back whole). - Engine: appearances an import left out go to the repair log for Import and Paste comments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCHD1R3rywQBPCHXZA