The JavaScript element specifies a document-level script to be added to the result PDF document. When the PDF document is opened, all document-level scripts are executed. The NoJavaScripts element may be used to not include any scripts either in the result or from a source. (See NoJavaScripts.)In the following example, a document level JavaScript named "onOpen" is added to the result PDF document. Even if pdf1 contains a document level JavaScript by the name of "onOpen", it is not included in the result. The input data stream associated with "js1" is included in resultDoc as the JavaScript named "onOpen" instead.<PDF result="resultDoc"><PDF source="pdf1"/><JavaScript source="js1", name="onOpen"/></PDF>In the next example, the only document level JavaScript that appears in the result PDF document is the one that exists in the base document, pdf1. Any scripts contained in pdf2, pdf3, or pdf4 are excluded from the result. This is accomplished by specifying the NoJavaScripts element.<PDF result="resultDoc"><PDF source="pdf1"/><PDFGroup><NoJavaScripts/><PDF source="pdf2"/><PDF source="pdf3"/><PDF source="pdf4"/></PDFGroup></PDF>
| Document Description XML (DDX) Help |
| LiveCycle ES Update 1 |
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/8.2/ddxRef/000677.html
Comments
Blue Nuit said on Feb 26, 2009 at 10:53 AM :