PdfReader.getAcroFields()

Paulo

----- Original Message ----- 
From: "new2pdf" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, November 09, 2006 8:12 PM
Subject: Re: [iText-questions] How to either rename pdf fields or add page 
numbers in existing pdf


>
> Paulo,
> Could you please give an example?
>
>
>
> Paulo Soares wrote:
>>
>> I think that you can do it from PdfReader and skip PdfStamper altogether.
>>
>> Paulo
>>
>> ----- Original Message ----- 
>> From: "new2pdf" <[EMAIL PROTECTED]>
>> To: <[email protected]>
>> Sent: Thursday, November 09, 2006 6:46 PM
>> Subject: Re: [iText-questions] How to either rename pdf fields or add 
>> page
>> numbers in existing pdf
>>
>>
>>>
>>> You are a life saver! Thanks Bruno.
>>>
>>> Bruno Lowagie (iText) wrote:
>>>>
>>>> new2pdf wrote:
>>>>> I am combining 2 pdf files into one using
>>>>> PdfCopyFields.addDocument(pdfReader) and populate this new pdf from 
>>>>> the
>>>>> user input values. My problem is that some of fields on the individual
>>>>> pdf documents has similar names. So when ever I am setting the values
>>>>> it
>>>>> is being displayed on both the pages. Is there anyway I can either
>>>>> rename this fields or give unique page numbers (so that I can refer
>>>>> like
>>>>> pageNo.fieldname) during the concatination process? Any help will be
>>>>> truly appreciated.
>>>>
>>>> Use PdfStamper to rename the fields:
>>>> form = stamper.getAcroFields();
>>>> form.renameField("field", "field1");
>>>> Then concatenate the forms with PdfCopyFields.
>>>>
>>>> See this example from chapter 2 in the book:
>>>> http://itext.ugent.be/itext-in-action/examples/chapter02/HelloWorldStampCopyStamp.java
>>>>
>>>> br,
>>>> Bruno
>>>>
>>>> -------------------------------------------------------------------------
>>>> Using Tomcat but need to do more? Need to support web services,
>>>> security?
>>>> Get stuff done quickly with pre-integrated technology to make your job
>>>> easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>>> Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> iText-questions mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>>>
>>>>
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/How-to-either-rename-pdf-fields-or-add-page-numbers-in-existing-pdf-tf2602733.html#a7263917
>>> Sent from the iText - General mailing list archive at Nabble.com.
>>>
>>>
>>> -------------------------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services, 
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your job
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> iText-questions mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> iText-questions mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/How-to-either-rename-pdf-fields-or-add-page-numbers-in-existing-pdf-tf2602733.html#a7265401
> Sent from the iText - General mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to