Hello,
We used the code below to remove javascript code and hyperlink actions from PDF files:
PdfJavaScriptStripper stripper = new PdfJavaScriptStripper();
stripper.strip(sourceFile, destinFile);
but some files are corrupted after that. Please find below the pdf header in text as we can’t attach the file due to our client’s privacy policies.
Could you help us know why we’re having this problem?
Thank you