Unplanned
Last Updated: 26 Aug 2026 09:28 by Tony
Tony
Created on: 26 Aug 2026 09:28
Category: PdfProcessing
Type: Bug Report
1
PdfProcessing: PdfStreamWriter creates invalid AcroForm hierarchy when merging PDFs with form fields
When two PDFs containing AcroForm fields are merged with PdfStreamWriter, the generated PDF contains page widget annotations whose parent field dictionaries are not correctly registered in the document-level /AcroForm/Fields tree.

The issue is reproducible by merging the same four-page form twice. The resulting PDF contains all widget annotations, but PDF viewers do not resolve the second form’s interactive fields correctly.
0 comments