You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Joe Kramer <jk...@cyberapps.net> on 2010/04/24 00:31:59 UTC
PDPushButton Question
Hello all,
I've been using an archaic version of PDFBox for the past couple of years.
I just updated to Adobe 9 Pro, so I decided it would be a good idea to
update PDFBox as well. The issue that I can't seem to get past is how to
get the name of the action of the PDPushButtons on my form. For example, I
have a PDF with a PDPushButton. The action is set to 'Submit a form' with
the trigger of 'Mouse Up' and I type 'someValue' for the URL link. How do I
programatically get the 'someValue'? Previously I was using
PDActionSubmitForm to do the job. If I had a field called 'button' I would
do something like:
PDActionSubmitForm action = button.getActions();
String value = action.getFile().getFile();
I'm hoping someone can help me achieve the same thing using PDFBox 1.1.0.
Thanks,
Joe Kramer
CyberApps, Inc.