0

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.

3
  • 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. Commented Sep 15, 2018 at 15:24
  • @joelgeraci can you please suggest a C++ tool? Commented 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. Commented Sep 17, 2018 at 14:55

1 Answer 1

0

I ended up using pdfbox, which is a JAVA based pdf library.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.