Using Acrobat JavaScript in Forms
Using JavaScript to Secure Forms
6
Tagging Annotations
T
ABLE
6.9
TTS Methods
Method
Description
Retrieves Nth speaker in current Text-To-Speech engine
Pauses the audio output
Queues a period of silence into the text
Inserts a sound cue using a .wav file
Inserts text into the queue
Stops playback, flush the queue, reset all Text-To-Speech
properties
Resumes playback on a paused
TTS
object
Stops playback and flush the queue
Sends queue contents to Text-To-Speech engine
getNthSpeakerName
pause
qSilence
qSound
qText
reset
resume
stop
talk
Tagged files provide the greatest degree of accessibility, and are associated with a logical
structure tree that supports the content. Annotations can be dynamically associated with a
new structure tree that is separate from the original content of the document, thus
supporting accessibility without modifying the original content. The annotation types
supported for accessibility are:
Text, FreeText, Line, Square, Circle, Polygon, Polyline, Highlight,
Underline, Squiggly, Strikeout, Stamp, Caret, Ink, Popup, FileAttachment, Sound
To add an accessible tag, select
Advanced > Accessibility
and choose
Add Tags to
Document.
Using JavaScript to Secure Forms
As you learned earlier in
Signature Properties,
you can lock any form fields you deem
appropriate once a document has been signed. In addition, you may also encrypt a
document.
Acrobat JavaScript provides a number of objects that support security. These are managed
by the
security
and
securityHander
objects for building certificates and signatures,
as well as the
certificate
,
directory
,
signatureInfo
, and
dirConnection
objects which are used to access the user certificates. (The
certificate
object provides
read-only access to an X.509 public key certificate).
Acrobat JavaScript Scripting Guide
119