You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jan Høydahl (Commented JIRA)" <ji...@apache.org> on 2012/02/10 12:47:59 UTC

[jira] [Commented] (TIKA-612) Specify PDFBox options via ParseContext

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

Jan Høydahl commented on TIKA-612:
----------------------------------

So how do we set a PDFBox option via ParseContext in practice? Say we want to {{setEnableAutoSpace(false)}}.
The test case attached to this issue calls {{parser.setEnableAutoSpace(false)}} directly on the parser, not via parseContext.
                
> Specify PDFBox options via ParseContext 
> ----------------------------------------
>
>                 Key: TIKA-612
>                 URL: https://issues.apache.org/jira/browse/TIKA-612
>             Project: Tika
>          Issue Type: New Feature
>          Components: parser
>    Affects Versions: 0.9
>            Reporter: Julien Nioche
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: TIKA-612-testcase.patch, TIKA-612.patch, Tika-612.patch, testPDFTwoColumns.pdf
>
>
> See https://issues.apache.org/jira/browse/TIKA-611. The options used by PDFBox are currently hardwritten in the PDFParser code, we will allow them to be specified via the ParseContext objects

--
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