[EMAIL PROTECTED] wrote:
> Hi,
>
> My actual requirement is as follows,
>
> 1. xml request is coming from third party service.
> 2. The iText java library will be used to populate the data
> fields on the PDF templates.
>
> Right now,i don't have the proper PDF Template, that's why I have
> created a form it has name and address with appropriated text field for
> testing purposes. What I have to do is, the xml values to be populated
> to that corresponding textfields. These steps are doing for the testing
> purpose and I also getting knowledge on iText.
>
> Can you please give me idea?
Create the form with OpenOffice, then fill it with iText
the usual way:
form = stamper.getAcroFields();
form.setField("field1", value1);
form.setField('field2", value2);
See the comments on this page for inspiration:
http://itext.ugent.be/library/question.php?id=31
You could try making the form with iText.
In some cases even I do it that way, but in most
cases it's overkill especially for newbies.
Making a form with OpenOffice is much easier.
--
This answer is provided by 1T3XT BVBA
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/