Help:Manual PDFjavascript: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
[[Help:TOC|Table of Contents]] | [[Help:TOC|Table of Contents]] | ||
===Enhancing Scribus PDF with JavaScript=== | |||
Scribus has very complete support for adding interactive features to PDF. With the exception of Acrobat Pro, perhaps no other application can offer more in the area of PDF forms, presentations or other interactive elements than Scribus. This is enabled via dialog boxes in the field properties and by adding JavaScript based functions attached to PDF buttons and text fields. | |||
The best way to demonstrate this is via a PDF tutorial which has these features: | |||
The "JavaScripting PDF " from [http://docs.scribus.net] is a step by step guide for beginners to enhance PDF with JavaScript. | |||
Direct Link: [http://docs.scribus.net/content/en/pdfs/javascriptpdf.pdf http://docs.scribus.net/content/en/pdfs/javascriptpdf.pdf] | |||
After reading this PDF tutorial, the next section, PDF Web Forms walks you through the step by step creation of a web based PDF form with a sample .php snippet to read the submitted data.</p> <p>This is best viewed by Acrobat Reader 5.x downloaded and run outside of a browser. You can typically right click the links to the PDF and <em>Save As.*</em>. to save the file locally. Other PDF viewers do not have the JavaScript support to view this properly.</p> <p>Lastly, a good link for with code examples: [http://www.accesspdf.com/article.php/20050510131850979#comments http://www.accesspdf.com/article.php/20050510131850979] for using the pdftk utilities to allow using html as a front end to filling in PDF forms.</p> | |||
[[Category:Help_Manual]] {{OPL}} | [[Category:Help_Manual]] {{OPL}} |
Revision as of 21:37, 28 June 2012
Enhancing Scribus PDF with JavaScript
Scribus has very complete support for adding interactive features to PDF. With the exception of Acrobat Pro, perhaps no other application can offer more in the area of PDF forms, presentations or other interactive elements than Scribus. This is enabled via dialog boxes in the field properties and by adding JavaScript based functions attached to PDF buttons and text fields.
The best way to demonstrate this is via a PDF tutorial which has these features:
The "JavaScripting PDF " from [1] is a step by step guide for beginners to enhance PDF with JavaScript.
Direct Link: http://docs.scribus.net/content/en/pdfs/javascriptpdf.pdf
After reading this PDF tutorial, the next section, PDF Web Forms walks you through the step by step creation of a web based PDF form with a sample .php snippet to read the submitted data.
This is best viewed by Acrobat Reader 5.x downloaded and run outside of a browser. You can typically right click the links to the PDF and Save As.*. to save the file locally. Other PDF viewers do not have the JavaScript support to view this properly.
Lastly, a good link for with code examples: http://www.accesspdf.com/article.php/20050510131850979 for using the pdftk utilities to allow using html as a front end to filling in PDF forms.
This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later. Distribution of the work or derivative of the work in any standard (paper) book form is prohibited unless prior permission is obtained from the copyright holder. A copy of the license is included in the section entitled "Text of the Open Publication License." |