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?
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.jsand Adobe Acrobat Reader are currently the only PDF viewers that support PDF JavaScript execution.It would be very valuable if LibPDF could:
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?