I have a PDF file called "test.pdf" and it has values for all of the fields. The "form" variable of type "AcroFields" contains the field names and values of the PDF file. How would I change the values of the PDF file?
Here is some code that I have so far:
PdfReader reader = new PdfReader("test.pdf");
PdfStamper stamper = new PdfStamper(reader, new FileOutputStream("myFile.txt"));
AcroFields form = stamper.getAcroFields();