I have a PDFBOX version 0.7.3 and I would like open a pdf document that have
a password for read (when open file).

And then, read the text to export with PDFTextStripper.

 

How I do this?

 

My actual code don’t work:

 

PDDocument pdfdoc = new PDDocument();


pdfdoc = PDDocument.load(IN_documentPDF);


pdfdoc.decrypt("MyPassword");

 

Thank You very much!

 

Francesc Garrido

Àrea Tecnologia

Pedagogia Interactiva, S.L.

 

C/Marie Curie s/n 

Parc Tecnològic BCNord

08042 Barcelona

T: +34 93 253 91 94 ; F: +34 93 291 76 91 

 <http://www.pedagogiainteractiva.com> www.pedagogiainteractiva.com

 

Advertència legal  /  Advertencia legal  /  Legal Notice

 

Reply via email to