Adobe acrobat 7.0.5 sdk User Manual
55
Working with PDF Documents
Spell-Checking
5
Spell-Checking
Acrobat provides a Spelling plug-in that can scan a document for spelling errors.
Using any of the Acrobat SDK technologies, you can do the following:
●
Add or remove a dictionary from the list of available dictionaries
●
Add or remove a spelling domain (search scope) from the Spell Check dialog box
●
Add or remove a word in the user’s dictionary
●
Check the spelling of an individual word
●
Ignore all occurrences of a word in a document when spell-checking
●
Scan a text buffer and return the next word
●
Set the document’s dictionary search order
●
Set the document’s dictionary search order from an array of ISO 639-2 and 3166
language codes, allowing you to identify a dictionary by language rather than by name
language codes, allowing you to identify a dictionary by language rather than by name
The following additional functionality is available to plug-ins and external applications, but
is not available using Acrobat JavaScript:
is not available using Acrobat JavaScript:
●
Check a text object and optionally receive a callback for each change as the user
interacts with the Spell Check dialog box
interacts with the Spell Check dialog box
●
Count the words in a text buffer that are contained in each of a set of dictionaries
●
Create a new custom user dictionary and add it to the list of available dictionaries
Using Multimedia
Multimedia objects can be included in the content of PDF documents, as well as in
annotations. You can only manipulate multimedia objects and players using JavaScript; you
cannot use a plug-in.
annotations. You can only manipulate multimedia objects and players using JavaScript; you
cannot use a plug-in.
Using Acrobat JavaScript, you can:
●
Customize the settings, renditions, and events associated with media players
●
Access and control the properties for all monitors connected to the system
●
Add movie and sound clips
●
Add and edit renditions
●
Control rendition settings
●
Set multimedia preferences that apply throughout a document
For more information, see the Acrobat SDK JavaScript Scripting Guide and the Acrobat SDK
JavaScript Scripting Reference.
JavaScript Scripting Reference.