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.
-
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– joelgeraci2018-09-15 15:24:03 +00:00Commented Sep 15, 2018 at 15:24
-
@joelgeraci can you please suggest a C++ tool?A.K.– A.K.2018-09-17 04:03:40 +00:00Commented Sep 17, 2018 at 4: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– joelgeraci2018-09-17 14:55:02 +00:00Commented Sep 17, 2018 at 14:55
Add a comment
|