pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiedrowski, Lukasz" <lukasz.kiedrow...@capgemini.com>
Subject How triger javascript after field.setValue ()
Date Mon, 12 Dec 2016 13:29:15 GMT
I have to fill pdf form (AcroForm) programmatically .

I know that fields I am filling have PDAction (PDActionJavaScript).
kPreis: PDFormFieldAdditionalActions js field actionS:
(COSName{S}:COSName{JavaScript}) }) }

When I change field Value and save pdf and then open it again  I see that the action (javascript
code) wasn’t invoked.
How to force programmatically to run that javascript code?
I will be grateful for any help


[Email_CBE.gif]Lukasz Kiedrowski
software engineer | NSC CSD

Capgemini | Poznan
Phone: +48616572737 –
e-mail: lukasz.kiedrowski@capgemini.com

ul. Kolorowa 6, 60-378 Poznan, Poland
People matter, results count.
Connect with Capgemini:


Capgemini Polska Sp. z o.o.,
Al. Jerozolimskie 96, 00-807 Warszawa,
Sąd Rejonowy dla M.ST. Warszawy, XII Wydział Gospodarczy Rejestrowy, nr KRS: 0000040605,
NIP: 526-11-84-467,
Wysokość kapitału zakładowego: 16.403.320,00 zł.
This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is addressed. If you
are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this message in error,
please notify the sender immediately and delete all copies of this message.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message