I want to add some Acrobat JavaScript to a pdf file. I have seen some answers which suggest using iText but I am looking for a solution in either ruby or python. I looked at the HexaPdf but could not find any mention of Javascript.
Asked
Active
Viewed 87 times
0
-
What you are looking for is a library that either supports the "Additional Actions" property of fields or will allow you to create arbitrary COS dictionaries so you can add AAs the brute force way. I don't see that capability in HexaPDF. In my experience, you'll find that the PDF tools that are Java or C++ based tend to be more comprehensive than anything in ruby or python. – joelgeraci Sep 15 '18 at 15:24
-
@joelgeraci can you please suggest a C++ tool? – A.K. Sep 17 '18 at 04:03
-
The Adobe PDF Library, is a C++ library available through Datalogics is a library capable of creating COS dictionaries that you could use. – joelgeraci Sep 17 '18 at 14:55