Giter Site home page Giter Site logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024

Original comment by mpietrzak on 22 Apr 2010 at 8:21

  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from apv.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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 [email protected] on 6 Feb 2012 at 3:11

from apv.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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 [email protected] on 6 Feb 2012 at 4:27

from apv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.