Interface OnDuplicateFormFieldNameStrategy

    • Method Detail

      • execute

        boolean execute​(PdfFormField firstField,
                        PdfFormField secondField,
                        boolean throwExceptionOnError)
        executes the strategy.
        Parameters:
        firstField - the first field
        secondField - the second field
        throwExceptionOnError - if true, an exception will be thrown
        Returns:
        true if the second field was renamed successfully, false otherwise