[
https://issues.apache.org/jira/browse/PDFBOX-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler updated PDFBOX-1554:
---------------------------------------
Attachment: PDFBOX1554-test_1e6a2e_001_test.txt
The pdf has a signature which requires to use the non-sequential parser. Find
attached the results from text extraction. It is not perfect (I guess because
of the rotated text) but it works.
> 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 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