Add a new example of QPDFJob
A new example demonstrating the use of QPDFJob to remove all Javascript & Action object in a PDF file.
Thanks for this submission. There's actually nothing about this that requires use of the QPDFJob interface. It could be done with straight QPDF. Is there something specific about it that makes QPDFJob a better choice?
@jberkenbilt nothing specific, just want to learn how to use QPDFJob for this example. Should I change it to use QPDF instead?
I think it is fine to use QPDFJob as a high-level API to deal with the reading and writing of the PDF file. For C++ it is neither here nor there, but from other languages it is likely to be more convenient as the whole job config can be passed as a single JSON string.