Re: [iText-questions] rename FormFields

2008-04-24 Thread Dieter Landolt
Thanks for answering. I analyzed the way you told me. But this way I lose many information in the fields. Other ar not 1-1 transportable from the inside of the structure. A other problem I found, I will not have access to references witch are PRIndirectReference objects. I did not see a way to g

Re: [iText-questions] rename FormFields

2008-04-23 Thread 1T3XT info
Dieter Landolt wrote: > I hope i can get a tip witch helps me a step forward. Instead of error prone meddling with the AcroForm tree structure at the lowest level, I think you'd better 1. read the fields and get the information (coordinates, names,...), 2. flatten the original file (throw away the

Re: [iText-questions] rename FormFields

2008-04-23 Thread Dieter Landolt
Hi Thanks for you last answer from 2008-04-16. Sorry a cant't replay to this Thread, so i have to make this new one. You wrote : > You have two problems: > 1. You don't understand section 15.3.1 of the book. > 2. You're talking about a form generated with Designer, > not with Acrobat. > To make a

Re: [iText-questions] rename FormFields

2008-04-16 Thread Bruno Lowagie
Dieter Landolt wrote: > But i need to rename my field to the new name without points. How can i do > that ? You have two problems: 1. You don't understand section 15.3.1 of the book. 2. You're talking about a form generated with Designer, not with Acrobat. To make a (very long) story short: h

[iText-questions] rename FormFields

2008-04-16 Thread Dieter Landolt
Hi all I try to rename form fields with the renameField methode. But i found that it's not possible to rename a field from form1[0].Page1[0].Button1[0] to Buttom1. The renameField gives me an unsuccessfull return value. Then i did see the remark to this method witch is: * Renames a field. On