[ https://issues.apache.org/jira/browse/PDFBOX-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276847#comment-13276847 ]
Andreas Lehmkühler edited comment on PDFBOX-1297 at 5/16/12 4:08 PM: --------------------------------------------------------------------- I applied the patch in revision 1339245 as proposed with one exception. I removed the else part about other formats as only pdfs are relevant here. Thanks for the contribution! was (Author: lehmi): I applied the in revision 1339245 as proposed with one exception. I removed the else part about other formats as only pdfs are relevant here. Thanks for the contribution! > ExtractText fails to extract text from packaged PDFs > ---------------------------------------------------- > > Key: PDFBOX-1297 > URL: https://issues.apache.org/jira/browse/PDFBOX-1297 > Project: PDFBox > Issue Type: Improvement > Components: Text extraction > Affects Versions: 1.6.0 > Environment: Fedora 13 Linux > Reporter: Michael McCandless > Assignee: Andreas Lehmkühler > Fix For: 1.7.0 > > Attachments: PDFBOX-1297.patch, PDFPackage.pdf, testPDFPackage.pdf > > > Apparently a PDF is able to contain multiple files (like a Zip file); it's > called > a PDF Package, described at > http://help.adobe.com/en_US/Reader/8.0/help.html?content=WSE034CA46-D08F-4fff-AA3C-FF04510DAEF0.html > I have a simple example PDF Package, containing two sub-PDFs, but ExtractText > fails to extract their text. > It does run successfully (no exceptions), but the text it extracts is just > the boilerplate text > saying you should upgrade to Adobe Acrobat version 8 or later to view this > PDF. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira