hello I have a pdf with more than 1000 pages which is a "table of contents" which has links to .pdf files ... on the first page I want to have a page that is a search page (image 1) ... ..ahi be able to search for any of the two options and when the search is done, show the result of all matches and click on any option take me to the page of the "table of contents" "where you are and from there to the .pdf file.
Could it be done?
There are a couple of ways you could implement this.
1. Search the text on all pages for matches. Very Slow to do this in real time.
2. Write a script that collects all the search data up front and places it somewhere such as a document script or form field. This will significantly speed up the search.
3. Write a script to create a bookmark for each of the entries in the TOC. This is similar to #2, but makes the navigation bit easier.
However, the complete script you'll need is complicated and will require some effort.
On the other hand, Acrobat, and just about every other PDF viewer, has a pretty good built-in search feature. Have you tried it out as a possible solution?