We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error in the PDF Transformation


We clean PDF with the following code :

		PdfJavaScriptStripper stripper = new PdfJavaScriptStripper();
		stripper.strip(zipWorkDir + vFileName + ".pdf", tempDir + vFileName + "_noJS.pdf");
		pdfDocument = new Document(tempDir + vFileName + "_noJS.pdf");

		// Flatten LinkAnnotations
		nbPages = pdfDocument.getPages().size();
		for (int i = 1; i <= pdfDocument.getPages().size(); i++) {

		pdfDocument.save(zipWorkDir + vFileName + ".pdf");

But the generated document miss some content.

I add the pdf input / ouput.



We could not find any input/output documents with your post. Can you please attach them so that we can further proceed to assist you accordingly?