Class PdfCopyFormsImp

All Implemented Interfaces:
DocListener, ElementListener, PdfAnnotations, PdfDocumentActions, PdfEncryptionSettings, PdfPageActions, PdfRunDirection, PdfVersion, PdfViewerPreferences, PdfXConformance, AutoCloseable, EventListener

class PdfCopyFormsImp extends PdfCopyFieldsImp
Allows you to add one (or more) existing PDF document(s) and add the form(s) of (an)other PDF document(s).
Since:
2.1.5
  • Constructor Details

  • Method Details

    • copyDocumentFields

      public void copyDocumentFields(PdfReader reader) throws DocumentException
      This method feeds in the source document
      Parameters:
      reader - The PDF reader containing the source document
      Throws:
      DocumentException
    • mergeFields

      void mergeFields()
      This merge fields is slightly different from the mergeFields method of PdfCopyFields.
      Overrides:
      mergeFields in class PdfCopyFieldsImp