Hi,
I think you have three options
- create the contract-pdf-doc from scratch everytime
- modify an existing pdf
- use the FDF/PDF scheme
- create from scratch:
- freeware-products:
- iText
- retep library
- fop from apache
for these somebody else already mailed the URL's
- commercial products
- JClass PageLayout from KLGroup
(http://www.klgroup.com/jclass/pagelayout/index.html)
- modify an existing PDF
build the PDF using some standard-product and store it on the
servlet-server. Then use a
package like pj (http://www.etymon.com/pj/) to modify this template and
send it off to the client.
- FDF/PDF
The PDF contains placeholders the are read in from the FDF file. The PDF
file is built and stored
in a traditional fashion. The FDF-file should be very easy to build (if I
remember correctly like a
properties-file). The mechanism is described on the Adobe-site (havo no
URL handy...) and is
suited if the variable parts are more like a form to be filled. I think it
is not suited if you have a
variable sized table that you want to include. The other two mechanisms
allow for more
flexible PDF-layouts.
good luck
Alexander Jesse
CIA 96
CREDIT SUISSE
Phone: +41 41 368 86 24
E-Mail: [EMAIL PROTECTED]
> Hi,
>
> can anyone share the information on how you accomplished this from your
> servlet? your own implementation or any freeware on the web?? and/or any
> commercial packages that anyone care to recommend?
>
> All i would like to do is replace portions of pdf document (a contract) to
> customize it to a particular user (like replacing the name, date, type of
> products information, state etc obtained from a form submit)
>
> thanks,
> Urmila
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.