[ 
https://issues.apache.org/jira/browse/TIKA-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808821#comment-16808821
 ] 

Hudson commented on TIKA-2845:
------------------------------

SUCCESS: Integrated in Jenkins build tika-branch-1x #175 (See 
[https://builds.apache.org/job/tika-branch-1x/175/])
TIKA-2845 -- need to override processPages (tallison: 
[https://github.com/apache/tika/commit/844626a1ca3c48e7e5e87ab8c0bacc4cffa409cf])
* (add) 
tika-parsers/src/test/resources/test-documents/testPDFFileEmbInAnnotation_noContents.pdf
* (edit) 
tika-parsers/src/main/java/org/apache/tika/parser/pdf/AbstractPDF2XHTML.java
* (edit) 
tika-parsers/src/test/java/org/apache/tika/parser/pdf/PDFParserTest.java
add import statement for TIKA-2845 test (tallison: 
[https://github.com/apache/tika/commit/35e2222e780e074bb307693591a1b3bf6453cb2a])
* (edit) 
tika-parsers/src/test/java/org/apache/tika/parser/pdf/PDFParserTest.java


> Override ProcessPages in PDFTextStripper
> ----------------------------------------
>
>                 Key: TIKA-2845
>                 URL: https://issues.apache.org/jira/browse/TIKA-2845
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>            Priority: Major
>             Fix For: 1.21
>
>         Attachments: testPDFFileEmbInAnnotation_noContents.pdf
>
>
> On the PDFBox user list, [~lehmi] confirmed (and [~tilman] clarified) that 
> PDFTextStripper's {{processPages}} skips pages that lack a "Contents" 
> element[1].  Inline images are part of the "Contents" element and would still 
> be processed (e.g. in OCR).  
>  
> However, there are other elements that might be on a page that does not have 
> a "Contents" element, such as an annotation with an embedded file.
>  
> We should override {{processPages()}} to process all pages.
> [1] Start of thread: 
> https://lists.apache.org/thread.html/9f34f71f764ef2ac48bb2fe3d19aa0496fd989040a6df0c1d899a885@%3Cusers.pdfbox.apache.org%3E



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to