How triger javascript after field.setValue ()

2016-12-12 Thread Kiedrowski, Lukasz
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{J

Re: How triger javascript after field.setValue ()

2016-12-12 Thread Maruan Sahyoun
Hi, > Am 12.12.2016 um 14:29 schrieb Kiedrowski, Lukasz > : > > 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}:COSDiction

RE: How triger javascript after field.setValue ()

2016-12-12 Thread Kiedrowski, Lukasz
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:sahy...@fileaffairs.de] Sent: Monday, December 12, 2016 2:59 PM To: users@pdfbox.apache.org Subject: Re

Problem with PDDocument.load

2016-12-12 Thread Alberto Sanmartin
Hello and the first thing is to apologize for my bad english. My problem appear when i try to create a new object with this code: PDDocument pd = PDDocument.load(ficheros[x]); I can’t load the pdf file and i don’t know how solve the problem, i would like to help me. Thanks in advance.

RE: Problem with PDDocument.load

2016-12-12 Thread fx YAN BING
The load method works well. Can you paste your exception message here? Yan -Original Message- From: Alberto Sanmartin [mailto:albertosanmartinmarti...@gmail.com] Sent: Tuesday, December 13, 2016 11:14 AM To: users@pdfbox.apache.org Subject: Problem with PDDocument.load Hello and the fir

Re: Problem with PDDocument.load

2016-12-12 Thread Tilman Hausherr
Am 13.12.2016 um 03:14 schrieb Alberto Sanmartin: Hello and the first thing is to apologize for my bad english. My problem appear when i try to create a new object with this code: PDDocument pd = PDDocument.load(ficheros[x]); I can’t load the pdf file and i don’t know how solve the problem, i