Tutorials: Enhance PDF using JavaScript


Types: Videos Infographics Text

117 items found

TYPE

VIEWS

RATING

DATE

Creating and Using Layers (OCGs) with Acrobat JavaScript

Thom ParkerMar 12, 2006

In Acrobat, the term 'Layers' refers to Optional Content Groups (OCGs). OCGs are a mechanism for selectively controlling the visibility of page content. In Acrobat 7 (Professional and Standard) it is possible to both create and control these content layers through JavaScript, giving the document developer a totally new ability to use dynamic content purely through scripting tools already available in Acrobat Professional. This is not another kind of form field or annotation, but true page content. OCGs are used to create multilayer pages (like a stack of transparencies), for everything from multi-language documents, layered views for architectural plans, to animated displays.

Topics: Enhance PDF using JavaScript

Products covered:

1061

00000 03/12/2006

What’s New with Acrobat 8 JavaScript

Thom ParkerMay 7, 2007

With each previous version of Acrobat, the JavaScript DOM (Document Object Model) has improved by leaps and bounds. The DOM is the set of objects that expose Acrobat functionality to JavaScript. JavaScript was introduced in Acrobat 3.02 with a paltry seven objects. Acrobat 4.0 cleaned up and filled out the basic functionality. Acrobat 5.0 super-charged the DOM with the addition of Application Level services like ODBC access, text to speech, security and digital signatures, as well as increasing the functionality of existing objects. Acrobat 6 introduced advanced services like SOAP, multimedia, OCG, toolbar buttons and full custom dialogs. Acrobat 7 added XML processing and two new JavaScript DOMs — XFA (LiveCycle) and 3D.

Topics: Enhance PDF using JavaScript

Products covered:

1048

00000 05/07/2007

JavaScript in Batch Processing

Thom ParkerJul 13, 2006

Batch processing works great until you want to do something that either needs more flexibility or isn’t in the list at all. What do you do then? The answer is provided by one of the common commands built into Acrobat, the “Execute JavaScript” command. Scripting greatly increases the number of operations that Batch Processing can apply to a document. It includes, of course, everything that can be done with JavaScript and adds intelligence to how operations are applied to a PDF.

Topics: Enhance PDF using JavaScript

Products covered:

1044

00000 07/13/2006

Entering scripts for form fields

Thom ParkerSep 18, 2006

Form-field scripts can be divided into two areas: scripts associated with actions performed on the instance of a field on a page (also called Widget scripts — a specific instance of a field is called a Widget), and scripts associated with the value of a field.

Topics: Create and analyze forms, Enhance PDF using JavaScript

Products covered:

1010

00000 09/18/2006

Using Unicode Text

Thom ParkerNov 19, 2006

In JavaScript version 1.3 and later all strings are stored internally as Unicode. This built-in Unicode support gives document developers instant access to a whole world of characters not available on the keyboard or in special font sets like Wingdings or Symbols. In fact, nearly every character set ever used, including Klingon, has a Unicode encoding.

Topics: Enhance PDF using JavaScript

Products covered:

858

00000 11/19/2006

Entering Document Actions

Thom ParkerAug 15, 2006

Document Actions are JavaScript events triggered by printing, saving, and closing the PDF. These Actions give developers the opportunity to change the PDF before and after one of these activities (except for closing). Some uses for these actions are making a stamp visible before printing, changing a date field before saving, or shutting down a timer when the document is closed.

Topics: Enhance PDF using JavaScript

Products covered:

704

00000 08/15/2006

Building PDF Reports with JavaScript

Thom ParkerMay 18, 2006

Acrobat JavaScript contains a range of functions and properties for analyzing both a PDF and the Acrobat environment. But how do you display the results of an analysis? The answer is the Report Object. This object creates simple text based PDF files. It’s not fancy, but it does provide a critical resource for presenting information in an easy to read and savable format.

Topics: Enhance PDF using JavaScript

Products covered:

642

00000 05/18/2006

Popup menus, Part I

Ted Padova – Feb 27, 2007

In a previous article in this series on PDF interactivity, I talked about using bookmarks to navigate a collection of PDF files. In this article, I’ll discuss an alternative to bookmarks--popup menus that perform a similar task for document and page navigation.

Topics: Merge and combine files, Enhance PDF using JavaScript

Products covered:

620

14321 02/27/2007

Finding Page Boundaries

Thom ParkerSep 9, 2006

To script activities such as creating form fields and resizing pages it is necessary to know the dimensions of a document page. In PDF this can be a bit confusing because pages are bounded by several different Page Boxes.

Topics: Enhance PDF using JavaScript

Products covered:

582

00000 09/09/2006

Entering Page Actions

Thom ParkerAug 19, 2006

Page Actions are triggered by the opening and closing events on a PDF page in the viewer. These Actions are primarily useful for starting and stopping page related interactive features such as multimedia, timers, and animations, but the way in which these actions can be used is only limited by the imagination of the document developer.

Topics: Enhance PDF using JavaScript

Products covered:

580

00000 08/19/2006
First < 3 4 5 6 7 8 9 10 11 12 > Last
RSS