Open SciencePiggy opened 7 years ago
Truth be told I wasn't paying close enough attention when I opened my PR. That said ...
I agree RE: fillFormWithFlatten()
but I didn't want to rock the boat in terms of deprecating code, which I failed to do with fillFormWithOptions()
. Current commit is a half measure but may be the safer approach?
Adding options args seems to be the wanted approach for a while.
fillFormWithFlatten()
would be redundant iffillFormWithOptions()
arguments are going to be modified to support theoptions
arg.Looking at the pdftk args, this could also be a property within options, instead of written checks for specific edge cases (ie. drop_xfa).