As documented in the PDFOpenParameter Guide, it is possible to influence the display of PDFs you are opening on the command-line or through a URL using parameters. I found this to be a very cool bit of info. By appending certain parameters using the "#" character, you can have a good amount of control over the display of the PDF document. No fancy programming required.
Scenario 1: Search Results
Let's say that you are providing full-text search functionality for a set of PDF documents (as we are for a current project using a LiveCycle ECM Connector). You can pass the search terms into the PDF reader upon opening the file, making the Reader run a full-text search within the document. It's very cool.
e.g. Searching for "PDF" and "document" in the above PDF using the "search" parameter gives this:
http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf#search="PDF document"
Scenario 2: Hiding the tool-bar
It's self-explanatory: top toolbar begone!
http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf#toolbar=0
There are many other parameters to try out, so get to it!
Scenario 1: Search Results
Let's say that you are providing full-text search functionality for a set of PDF documents (as we are for a current project using a LiveCycle ECM Connector). You can pass the search terms into the PDF reader upon opening the file, making the Reader run a full-text search within the document. It's very cool.
e.g. Searching for "PDF" and "document" in the above PDF using the "search" parameter gives this:
http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf#search="PDF document"
Scenario 2: Hiding the tool-bar
It's self-explanatory: top toolbar begone!
http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf#toolbar=0
There are many other parameters to try out, so get to it!
