Open GoogleCodeExporter opened 9 years ago
Original comment by mpietrzak
on 22 Apr 2010 at 8:21
I also get the problem, the I read the source file pdfview2.c , I found the
method parse_pdf_file :
if (pdf_needs_password(pdf->xref)) {
int authenticated = 0;
authenticated = pdf_authenticate_password(pdf->xref, "");
if (!authenticated) {
/* TODO: ask for password */
__android_log_print(ANDROID_LOG_ERROR, PDFVIEW_LOG_TAG, "failed to authenticate with empty password");
return NULL;
}
}
in the source , but I don'n know how to do
Original comment by WangNin...@gmail.com
on 6 Feb 2012 at 3:11
Hi Maciel n WangNin,
If you have static pdf password, just put in this line
"authenticated = pdf_authenticate_password(pdf->xref,
"put-your-password-here");"
At least that was i'm doing :)
Best Regards,
Santo
Original comment by abun.sa...@gmail.com
on 6 Feb 2012 at 4:27
Original issue reported on code.google.com by
maciel310
on 21 Apr 2010 at 10:04