iText 8.0.2 API
iText.Kernel.Pdf.IPdfPageFormCopier Interface Reference

This interface extends the logic of the {#link IPdfPageExtraCopier} interface to copy AcroForm fields to a new page. More...

Inheritance diagram for iText.Kernel.Pdf.IPdfPageFormCopier:
iText.Kernel.Pdf.IPdfPageExtraCopier iText.Forms.PdfPageFormCopier

Public Member Functions

void  RecreateAcroformToProcessCopiedFields (PdfDocument documentTo)
  Create Acroform from its PDF object to process form field objects added to the Acroform during copying. More...
 
- Public Member Functions inherited from iText.Kernel.Pdf.IPdfPageExtraCopier
void  Copy (PdfPage fromPage, PdfPage toPage)
  Copies a page. More...
 

Detailed Description

This interface extends the logic of the {#link IPdfPageExtraCopier} interface to copy AcroForm fields to a new page.

Member Function Documentation

◆ RecreateAcroformToProcessCopiedFields()

void iText.Kernel.Pdf.IPdfPageFormCopier.RecreateAcroformToProcessCopiedFields ( PdfDocument  documentTo )

Create Acroform from its PDF object to process form field objects added to the Acroform during copying.

Create Acroform from its PDF object to process form field objects added to the Acroform during copying.

All pages must already be copied to the target document before calling this. So fields with the same names will be merged and target document tag structure will be correct.

Parameters
documentTo the target document.

Implemented in iText.Forms.PdfPageFormCopier.