Adobe acrobat 7.0.5 sdk User Manual

Page of 122
107
13
Searching and Indexing
Using Acrobat and the Acrobat SDK, you can:
Search - locate an occurrence of a word in the document content, metadata, 
attachments or other objects.
Catalog - create a full-text index of your PDF document or document collections.
This chapter consists of the following sections:
The Acrobat Search Plug-in
With Acrobat, Adobe provides a full-text search system. Using the Acrobat search system, 
you can:
Initiate a search with options
You can pass query expressions and search settings (for example, whole words only, 
word stemming, case sensitive, and so forth) to the Acrobat search plug-in and initiate 
the search. Search results will be presented to the user.
Control the list of indexes to search
The search interface allows searches to be performed on one or more of the available 
indexes. You can control the list of active indexes.
The Acrobat Search plug-in allows users to perform text searches in PDF documents. It adds 
menus, menu items, toolbar buttons, and a Search panel to the Acrobat or Adobe Reader.
You can communicate with the Search plug-in via its plug-in API, via IAC (DDE or Apple 
events) or via Acrobat JavaScript’s 
Search
 object. You can perform all search options from 
each of these development environments.
Creating Custom Searches
The Acrobat interface can be extended with new menus and toolbar icons. For example, 
buttons to invoke a search and to find the next or previous occurrences can be added to 
the toolbar. You can also add custom, repeatable searches to a menu to increase user 
efficiency.
For more information about adding menu items and toolbar buttons, see