3 Replies Latest reply on Jun 29, 2009 8:18 AM by DHL83

    Programmatically adding document-level JavaScript to a PDF file possible?

    DHL83 Level 1

      Hi! I am wondering if it is possible to add a document-level JavaScript to a PDF file server side as an automated task. This article, Cross-scripting PDF content in an Adobe AIR application ,explains how to do this in Adobe Acrobat manually.


      What I want to acheive is to make an AIR based custom PDF viewer with custom controls and without the toolbars/controls that normally appear when opening a PDF using the HTML component in AIR.

      Right now I cannot acheive this without having to manually add document-level JavaScript to the PDF for the ActionScript-JavaScript communication as described in the article mentioned.


      --Dag Hendrik Lerdal