Hi,
I have password protected PDF file.
Is there any way to recognize the PDF and convert it to the Word Document using Abbyy OCR sdk.
Please help.
Thanks!
Hi,
I have password protected PDF file.
Is there any way to recognize the PDF and convert it to the Word Document using Abbyy OCR sdk.
Please help.
Thanks!
Hi
I was having the same question and did not find any other solution in FineReader than to include a password-file with all known passwords.
See help: AddImageFileWithPassword Method of the FRDocument Object
And see why ABBYY does not: https://forum.ocrsdk.com/thread/5149-ocrsdk-has-access-restrictions-and-cannot-be-added-to-the-document/?order=all#comment-9b723d1e-13b3-4ebf-b74c-a74500c14a36
If you are programming in Java and would really want to remove the protection, you could use Apache PDFBox in front of ABBYY's Finereader.
See: https://pdfbox.apache.org/docs/2.0.2/javadocs/org/apache/pdfbox/pdmodel/PDDocument.html
One of my samples to create a new PDF as a copy of the original PDF, but without protection;:
//Use Apache PDFBox to remove protection from PDF
PDDocument doc = null;
try {
File in = new File(inputPath);
doc = PDDocument.load(in);
if (doc.isEncrypted()) {
doc.setAllSecurityToBeRemoved(true);
}
doc.save(outputPath);
} catch (Exception e) {
e.printStackTrace();
} finally {
if (doc != null) {
doc.close();
}
}
Keep in mind that after removing the protection of a legal document, it might not be valid anymore.
So you should always consider creating a backup of the original file.
Best regards
Koen de Leijer
Try Softaken PDF Champ
Thanks for this information. It useful
Hi,
I have password protected PDF file.
Is there any way to recognize the PDF and convert it to the Word Document using Abbyy OCR sdk.
Please help.
Thanks!
Hi!
ABBYY is good for Document conversion, but if you want to remove Passwords from them I must recommend you to use Adobe DC and open the file with
Reference: Taken from a guide about how to password protect a pdf.
I think DC pro version also have feature to convert it to a doc file, but I never used it for this purpose and used Abbyy for this everytime.
Please sign in to leave a comment.