Hm, maybe there is any other solution ? eg. Add some JavaScript at the loading time of document, that will invoke all needed functions?
-----Original Message----- From: Maruan Sahyoun [mailto:[email protected]] Sent: Monday, December 12, 2016 2:59 PM To: [email protected] Subject: Re: How triger javascript after field.setValue () Hi, > Am 1 2.12.2016 um 14:29 schrieb Kiedrowski, Lukasz <[email protected]>: > > Hi, > I have to fill pdf form (AcroForm) programmatically . > I know that fields I am filling have PDAction (PDActionJavaScript). > Eg.: > kPreis: PDFormFieldAdditionalActions js field actionS: > COSDictionary{(COSName{V}:COSDictionary{(COSName{JS}:COSString{setKKos > tenPreisChanged()}) (COSName{S}:COSName{JavaScript}) }) } > setKKostenPreisChanged() > > 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? at that point in time PDFBox doesn't execute any JavaScript code nor does it have a JavaScript implementation. BR Maruan > I will be grateful for any help > > Br, > LukasK > > > > ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ________________________________ 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.

