what are the ways to insert javascript to an existing pdf file (via API)
I was trying to find out any entries in the Adobe's API giving functionality of injecting javascript into开发者_运维百科 the pdf file, but I couldn't find anything. I saw that there are few open source libraries that do that, but I'd like to focus on Adobe's SDK (C/C++).
Are there any ways to achieve this?
Thanks.
Certainly, as you've discovered you can find a third party PDF library that will let you insert JavaScript into PDFs or you can use Adobe's PDF library SDK. You'll find all of the info that you need in the Acrobat Developer Center. There is also this useful article: Introduction to Acrobat JavaScript.
精彩评论