Closed zhongguogu closed 2 years ago
"Indeed, I would create a new form XObject and replace the reference to the old one in the page resources by a reference to the new one"
Please share an example PDF for testing that.
Closing due to missing response
https://github.com/mkl-public/testarea-pdfbox2/blob/master/src/test/java/mkl/testarea/pdfbox2/content/RemoveText.java#L49 ` public void processForm(PDFormXObject form) throws IOException {
` how to update the PDFormXObjects' stream?