You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/05/26 12:31:02 UTC

[jira] [Closed] (PDFBOX-1554) You can extract text with Foxit Reader or Adobe Reader but not with PDFBox

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

Tilman Hausherr closed PDFBOX-1554.
-----------------------------------

    Resolution: Cannot Reproduce

Closing as it works with the nonSeq parser.

> 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: PDFBOX1554-test_1e6a2e_001_test.txt, 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 was sent by Atlassian JIRA
(v6.2#6252)