Skip to content

Add support for AcroJS/PDF scripting #12

@MichaelDeBoey

Description

@MichaelDeBoey

Adobe PDFs can contain embedded JavaScript (AcroJS) for actions such as form logic, validation, and document-level scripting.
Ref: https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/index.html

At the moment, we need Adobe Acrobat Pro to add actions/scripts to our PDFs.

As far as we know, pdf.js and Adobe Acrobat Reader are currently the only PDF viewers that support PDF JavaScript execution.

It would be very valuable if LibPDF could:

  • support creating and modifying AcroJS actions/scripts in PDFs
  • (once a viewer is available) expose and execute this scripting functionality in the LibPDF viewer

This would allow us to remove our dependency on Acrobat Pro and fully transition our PDF workflow to LibPDF.

Is support for PDF JavaScript something that is on the roadmap?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions