This is my first time using iText:

Could you give little more info in how the parent can be renamed? 

After creating new text fields for each single page, we  are combining the
pages together. There is only one page that is getting modified at a time,
so 1 was passed to addAnnotation method.  

We tried to pass the pageNumber to stamp.addAnnotation, but was getting
Invalid Page Number N exception .. in the loop.  

Thank you.


1T3XT info wrote:
> 
> jthom wrote:
>> In our method logic, as the rename field to the left of the last dot is
>> not
>> working,
> 
> Of course not. The dots indicate there's a field hierarchy.
> If you want to rename a parent, rename the parent;
> don't rename the child!
> 
>> they are getting added to
>> the wrong place ie. to page 1. 
> 
> I don't know why this surprises you:
>> stamp.addAnnotation(tf.getTextField(), 1);
> If you don't want the field to be added to page 1,
> change the 1 in the above line into another page number.
> 
>> Can someone give some hints or sample snippet code on how the TextFields
>> can
>> be renamed in different pages?
> 
> Your question is too long.
> I didn't have the time to read and understand everything.
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day 
> trial. Simplify your report design, integration and deployment - and focus
> on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Renaming-TextFields-on-different-pages-using-iText-is-not-working..-tp26449014p26487293.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to