Help:Manual PDFjavascript

From Scribus Wiki
Jump to navigation Jump to search

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.

There is an article on the wiki:

How to enhance your PDF Forms with JavaScript

which shows some basic examples. There are more comprehensive resources as well. At Adobe's site:

JavaScript for Acrobat

look for links under Acrobat 8: JavaScript for Acrobat API Reference and Developing Acrobat Applications Using JavaScript, which are downloadable PDFs which have more than enough documentation to get you started. If you go to the above Scribus wiki link you see that in Scribus you enter your JavaScript commands in a dialog.

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."