I was wondering if it is possible to embed a java program or an applet into a pdf file. Any way of achieving this is okay for me (latex, adobe acrobat pro, etc).
Thanks in advance.
No. Not if you are not talking about security holes, anyway.
Escape From PDF, great blog about security. For educational use only.
You can embed just about anything in a PDF as an attachment.
And clicking on an "attachment annotation" gives the user the option to either view/launch or save it locally.
You can create such annotations programmatically in a number of different libraries (such as iText/iTextSharp), or use the Acrobat Pro UI to do it By Hand.
You can also embed Flash into a PDF, and control its execution to some extent via script in the PDF. If you can figure out how to wrap a .jar or convert it to SWF, you're there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With