Stroboskop
Stroboskop

Reputation: 4356

handling Javascript actions in PDF with Java

I'm trying to make PDF forms (aka AcroForms) editable in Java. So far i got the GUI editing and printing working using Bruno Lowagie's iText and Sun's pdf-renderer.

But now i'm close to scrapping it all, because after switching from try & error to reading the PDF specification, i realized that it's all worthless unless i can make the multitude of possible JavaScript actions work as well. I don't think iText can do that.

So in short: are there any Java libraries that do proper form handling including actions? Or maybe even a Java GUI component to edit form data?

Upvotes: 0

Views: 281

Answers (2)

mark stephens
mark stephens

Reputation: 3184

Does Suns PDFRenderer support Javascript? ARAIK, only JPedal and BigFaceless offer Javascript support.

Upvotes: 1

Curtis
Curtis

Reputation: 4031

You might take a look at Mozilla Rhino: http://www.mozilla.org/rhino/ I haven't used it, but it looks promising, if you already have the GUI in Java.

Upvotes: 0

Related Questions