[ 
https://issues.apache.org/jira/browse/PDFBOX-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Czech updated PDFBOX-1554:
------------------------------------

    Attachment: test_1e6a2e_001_test.pdf

PDF document with an error with extract text
                
> You can extract text with Foxit Reader or Adobe Reader but not with PDFBox
> --------------------------------------------------------------------------
>
>                 Key: PDFBOX-1554
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1554
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.8.0
>         Environment: Windows XP
> JRE 1.6.0_39-b04
>            Reporter: Christian Czech
>         Attachments: test_1e6a2e_001_test.pdf
>
>
> With Foxit Reader or Adobe Reader it's possibel save the PDF Document as text 
> without password.
> With PDFBox you get the error:
> WARN  (PDFBoxExtractor.java:113) - [ test_1e6a2e_001_test.pdf ] Could not 
> decypt document, object not found
> Code:
> PDDocument document = null;
> document = PDDocument.load(pdfFile, true);
>       
> try {
>   if (document.isEncrypted()) {
>   StandardDecryptionMaterial sdm = new StandardDecryptionMaterial("");
>   document.openProtection(sdm);
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to