You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Sundari <su...@yahoo.com> on 2014/04/14 17:33:13 UTC
Fwd: pdfbox question
>
>
> Hello,
>
>
>
> I am trying to see if I can use pdfbox for the following purpose:
>
>
>
> 1) I have a pdf template with some static information and
>
> some fields which I have to fill in with the data from the database.
>
> Can I use pdfbox to take the template pdf and fill in the data in
>
> the dynamic fields and create a new pdf file and print this newly created file?
>
>
>
> Do you have any example code which does something similar?
>
>
>
> Thanks
>
> sundari
Re: pdfbox question
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
Hi,
you could take a look at https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/fdf/SetField.java for an example of how to set a field value.
BR
Maruan
Am 15.04.2014 um 17:06 schrieb Sundari <su...@yahoo.com>:
>
>>>
>>>
>>> Hello,
>>>
>>>
>>>
>>> I am trying to see if I can use pdfbox for the following purpose:
>>>
>>>
>>>
>>> 1) I have a pdf template with some static information and
>>>
>>> some fields which I have to fill in with the data from the database.
>>>
>>> Can I use pdfbox to take the template pdf and fill in the data in
>>>
>>> the dynamic fields and create a new pdf file and print this newly created file?
>>>
>>>
>>>
>>> Do you have any example code which does something similar?
>>>
>>>
>>>
>>> Thanks
>>>
>>> sundari
Fwd: pdfbox question
Posted by Sundari <su...@yahoo.com>.
>>
>>
>> Hello,
>>
>>
>>
>> I am trying to see if I can use pdfbox for the following purpose:
>>
>>
>>
>> 1) I have a pdf template with some static information and
>>
>> some fields which I have to fill in with the data from the database.
>>
>> Can I use pdfbox to take the template pdf and fill in the data in
>>
>> the dynamic fields and create a new pdf file and print this newly created file?
>>
>>
>>
>> Do you have any example code which does something similar?
>>
>>
>>
>> Thanks
>>
>> sundari