Re: Fill XFA pdf using PDFBox

2018-04-10 Thread Maruan Sahyoun
Hi Kush,
 
> Hello apache,
> 
> 
> I'm new to PDFBox library. I want to fill an XFA pdf by extracting the fields 
> and setting their corresponding value. I did a basic research and came across 
> this 
> (https://mail-archives.apache.org/mod_mbox/pdfbox-users/201409.mbox/%3c420ecc47-637a-4abf-9544-e0eadeaed...@fileaffairs.de%3E
>  and https://stackoverflow.com/a/21169130/8603014).

The stackoverflow link you provided has an example code. Does that work
for you?

Please note that at this point in time you can not fill out a form
which contains Reader Extensions i.e. you need to reaply these after
you've filled out the form or they will be deactivated.

BR
Maruan

> 
> 
> Also, I did not find any example for filling an XFA pdf on the SVN repository 
> for PDFBox 
> (https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/).
> 
> 
> Can you please provide a simple example to do the aforementioned task?
> 
> 
> Many thanks,
> 
> Kush
> 
-- 


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



Fill XFA pdf using PDFBox

2018-04-10 Thread Kush Patel
Hello apache,


I'm new to PDFBox library. I want to fill an XFA pdf by extracting the fields 
and setting their corresponding value. I did a basic research and came across 
this 
(https://mail-archives.apache.org/mod_mbox/pdfbox-users/201409.mbox/%3c420ecc47-637a-4abf-9544-e0eadeaed...@fileaffairs.de%3E
 and https://stackoverflow.com/a/21169130/8603014).


Also, I did not find any example for filling an XFA pdf on the SVN repository 
for PDFBox 
(https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/).


Can you please provide a simple example to do the aforementioned task?


Many thanks,

Kush