Class FormWriter


  • public class FormWriter
    extends Object
    Utility class with static methods to all the writing of forms to a PDF
    • Constructor Detail

      • FormWriter

        public FormWriter()
    • Method Detail

      • writeForms

        public static void writeForms​(File input,
                                      File output,
                                      org.jpedal.objects.raw.FormObject[] formArr)
                               throws IOException
        Update forms values in a PDF and save to the file specified.
        Parameters:
        input - File object representing the PDF containing forms
        output - File object representing where the modified PDF should be saved
        formArr - FormObject array representing the new form values
        Throws:
        IOException - if an I/O error occurs during writing