Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2003

Merging PDFs with interactive forms produces incorrect result

    Details

      Description

      When merging a PDF with form fields (page2.pdf) to a PDF generated via FOP (page1.pdf), the form fields of page2.pdf are not shown in the result in Acrobat Reader.
      When merging page2.pdf twice, the form fields are not shown for the first occurrence but are shown for the second occurrence.

      When merging page2.pdf with a PDF created by MS Word, the problem is not reproducible.

      Command line to reproduce the problem:
      java -classpath pdfbox-app-1.8.4.jar org.apache.pdfbox.PDFMerger page1.pdf page2.pdf page2.pdf result.pdf

        Attachments

        1. page1.pdf
          31 kB
          Gerhard Temper
        2. page2.pdf
          31 kB
          Gerhard Temper
        3. sample.pdf
          75 kB
          Luis Bernardo
        4. sample2.pdf
          73 kB
          Luis Bernardo
        5. result-r1667148.pdf
          71 kB
          Maruan Sahyoun

          Activity

            People

            • Assignee:
              msahyoun Maruan Sahyoun
              Reporter:
              gerhardt Gerhard Temper
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: