Hi codehead1953,
Yes, JavaScript is supported in Adobe PDF documents. From the Adobe
SDK information page on PDF documents located at
http://partners.adobe.com/asn/tech/pdf/acrobatsdks.jsp#javascript:
"JavaScript support
One of the easiest and most powerful ways to customize PDF files is by
using JavaScript. Based on JavaScript version 1.5 of ISO-16262
(formerly known as ECMAScript), JavaScript in Acrobat implements
objects, methods, and properties that enable you to manipulate PDF
files, produce database-driven PDF files, modify the appearance of PDF
files, and much more. You can tie Acrobat JavaScript code to a
specific PDF document, a page, field, or button within that document,
or a field or button within the PDF file, and even to a user action.
JavaScript is particularly useful for PDF/XML forms. JavaScript
enables automated forms handling, Web and database communication,
commenting, and user-interface capabilities. PDF files created with
Acrobat and Adobe server products allow data to be extracted as XML
into custom schemas. Applications written in Java & other languages
easily integrate Acrobat with Web Services using Simple Object Access
Protocol (SOAP)."
There are several JavaScript scripting references and guides available
from Adobe at http://partners.adobe.com/asn/acrobat/docs.jsp#javascript:
Acrobat 6:
Acrobat JavaScript Scripting Reference
04/2004 (PDF: 2.28 MB / 416 pages)
http://partners.adobe.com/asn/acrobat/sdk/public/docs/AcroJS.pdf
Acrobat JavaScript Scripting Guide
05/2003 (PDF: 1.06 MB / 90 pages)
http://partners.adobe.com/asn/acrobat/sdk/public/docs/AcroJSGuide.pdf
(links to test debuggers available from the index page mentioned above)
Programming Acrobat JavaScript Using Visual Basic
05/2003 (PDF: 180 KB / 14 pages)
http://partners.adobe.com/asn/acrobat/sdk/explodedSDK/Documentation/JavaScript/VBJavaScript.pdf
Multimedia JavaScript Reference
04/2004 (PDF: 776 KB / 125 pages)
http://partners.adobe.com/asn/acrobat/sdk/explodedSDK/Documentation/JavaScript/AcroJS-MM.pdf
Acrobat 5:
Acrobat JavaScript Object Specification
(PDF: 1.79 MB / 298 pages)
http://partners.adobe.com/asn/developer/pdfs/tn/5186AcroJS.pdf
Search Strategy:
pdf reference, clicking on first link to "Adobe Solutions Network |
Adobe PDF - Specifications" and then clicking on the heading
"Javascript"
If you have any questions, please post a clarification request before
closing/rating my answer and I'll be happy to reply.
Sincerely,
Andyt-ga |