How to search a PDF in Acrobat Reader AND jump to a certain page via parameter?

Posted by agez on Stack Overflow See other posts from Stack Overflow or by agez
Published on 2010-05-07T12:39:26Z Indexed on 2010/05/09 10:38 UTC
Read the original article Hit count: 291

Filed under:
|
|
|
|

Hi,

we are using lucene within a web application to search in a great number of PDF documents.

The workflow is like this:

  1. A user enters a search term

  2. A list of search results is presented to the user.

  3. Each search result represents one PDF document and shows the user on which page the search term was found. Each of these pages is represented as a hyperlink.

  4. If the user now clicks on such a hyperlink, he directly jumps to that page.

  5. But now the user has the problem that the search term isn't highlighted on the page. Therefore the user has to look on his own to find the search term on the page.

What we wanted is a way to highlight the search term on the specific page in the PDF.

The open parameters for Acrobat Reader allow for either searching a PDF document (with hit highlighting) OR jumping to a specific page. But the combination of both parameters - which we would need - doesn't work.

Does anyone have an idea how jumping to a page and highlighting a search term in a pdf document could work? I had a look at the Acrobat SDK but don't see how we can use it (it's terribly documented).

Cheers, Helmut

© Stack Overflow or respective owner

Related posts about acrobat

Related posts about pdf