Class FormWriter

  • public final class FormWriter
    extends Object
    Utility class with static methods to all the writing of forms to a PDF
    • 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.
        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
        IOException - if an I/O error occurs during writing