Adobe acrobat 7.0.5 sdk 사용자 설명서
Forms and the Acrobat SDK
Guidelines for Creating a New Form
9
82
G u i d e l i n e s fo r C re a t i n g a N e w Fo r m
Creating a new form, whether using Adobe LiveCycle Designer or programmatically using
Acrobat JavaScript, requires you to consider specific issues. For guidelines, see the Acrobat
JavaScript Scripting Guide.
Acrobat JavaScript, requires you to consider specific issues. For guidelines, see the Acrobat
JavaScript Scripting Guide.
Your form design may have dynamically changing features such as the current date, as well
as convenience options such as automatic generation of email messages. It may even have
a dynamically changing appearance and layout which is responsive to user interactions.
as convenience options such as automatic generation of email messages. It may even have
a dynamically changing appearance and layout which is responsive to user interactions.
Acrobat Forms and the Acrobat SDK
For Acrobat forms, there is a rich set of APIs that allows you to create and manipulate form
fields, and to retrieve form data using Acrobat JavaScript, a plug-in or an external
application.
fields, and to retrieve form data using Acrobat JavaScript, a plug-in or an external
application.
Though you can manipulate form fields and form data from a plug-in, it is much quicker to
develop Acrobat forms using Acrobat JavaScript.
develop Acrobat forms using Acrobat JavaScript.
Using the Acrobat SDK, you can:
●
Create Adobe PDF forms from scratch or from a template
●
Add or remove form fields
●
Set form field properties
●
Make forms web-ready (see
)
●
Extract and export form data (see
)
●
)
Acrobat JavaScript for Acrobat Forms
You can extend the functionality of Acrobat forms through the application of Acrobat
JavaScript.
JavaScript.
Acrobat JavaScript can be integrated into your forms to enhance their interactive
capabilities. You can extend the capability of your forms by using Acrobat JavaScript to:
capabilities. You can extend the capability of your forms by using Acrobat JavaScript to:
●
Automate formatting, calculations, and data validation
●
Develop customized actions assigned to user events
●
Interact with databases and Web services
Acrobat JavaScript provides a
field
object, which has properties that define the field’s
type, appearance and data values.