Adobe acrobat 7.0.5 sdk User Manual

Page of 122
Searching and Indexing
The Acrobat Search Plug-in
13
108
Search Options
Using the Acrobat JavaScript 
Search
 object’s properties and using 
SearchWordOptions
 flags with the Search API methods from a plug-in, you can specify 
the scope and search options for your search.
You can set the scope of the search to be one or more of the following:
Document text
Bookmarks
Document metadata (XMP)
Signatures
DocInfo fields
Object data
Attachments
EXIF data in associated JPEG images
Matching Criteria
You can also specify whether the search should match:
an exact phrase
all words without regard to order
any of the words
You can also specify whether case and diacritical marks are used or ignored in the search.
Searching across Multiple Documents
Using the Acrobat SDK, you can search any of the following:
the active document
a specified folder
a specified index
all active indices
Replacing the Acrobat Search Plug-in
The Acrobat Search plug-in provided with Acrobat is a true Acrobat plug-in. You can 
remove it from the system by simply removing it from the Plug-ins directory and restarting 
Acrobat.
Full-text search developers can create a customsearch plug-in using the Acrobat core API.
This search plug-in can be represented as one or more toolbar buttons or menu items, and 
it can use the capabilities provided in the API.