pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maruan Sahyoun <sahy...@fileaffairs.de>
Subject Re: How triger javascript after field.setValue ()
Date Mon, 12 Dec 2016 13:59:08 GMT
Hi,

> Am 12.12.2016 um 14:29 schrieb Kiedrowski, Lukasz <lukasz.kiedrowski@capgemini.com>:
> 
> 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{setKKostenPreisChanged()})
(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
>  
>  
> 
> _______________________________________________________________________
> 
> Lukasz Kiedrowski
> software engineer | NSC CSD
>  
> Capgemini | Poznan
> Phone: +48616572737 –
> e-mail: lukasz.kiedrowski@capgemini.com
> www.pl.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.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message