Re: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate

2010-05-05 Thread Michael Brewer-Davis
On 5/5/2010 6:14 AM, itext-questions-requ...@lists.sourceforge.net wrote: Re: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate 1T3XT info Tue, 04 May 2010 12:09:40 -0700 > Form fields with the same fully qualified name are considered > being the same field. So if you cr

Re: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate

2010-05-04 Thread 1T3XT info
Michael Brewer-Davis wrote: > That example shows how to create a tree of form field dictionaries; is > it possible to create instead a number of widget annotations that > represent the single field? Form fields with the same fully qualified name are considered being the same field. So if you cre

Re: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate

2010-05-04 Thread Michael Brewer-Davis
That example shows how to create a tree of form field dictionaries; is it possible to create instead a number of widget annotations that represent the single field? It looks to me like it should be possible from the PDF spec; so the question is: (a) is that the right reading; (b) if so, is it p

Re: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate

2010-05-04 Thread 1T3XT info
Mark Storer wrote: > *I'm not even sure iText will let you add the child fields properly. > Let's see... Ah, looks like it will, but I'm not sure about it adding to > multiple pages. The problem is that you need to add parent and kids BEFORE the pages are created. See this example: http://itextpd

Re: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate

2010-05-04 Thread Mark Storer
Subject: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate > > I'm trying to add the PdfAnnotation for a PushbuttonField to a > PdfTemplate object, so that I can repeat the button on each page of a > document. > > Is this something that I can do with a P

Re: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate

2010-05-01 Thread 1T3XT info
Michael Brewer-Davis wrote: > I'm trying to add the PdfAnnotation for a PushbuttonField to a > PdfTemplate object, so that I can repeat the button on each page of a > document. PdfTemplate is used for form XObjects. A form XObject contains a content stream. A pushbutton field is an annotation. A

[iText-questions] add PdfAnnotation (form field) to a PdfTemplate

2010-04-30 Thread Michael Brewer-Davis
I'm trying to add the PdfAnnotation for a PushbuttonField to a PdfTemplate object, so that I can repeat the button on each page of a document. Is this something that I can do with a PdfTemplate? Or do I need to back up and use a PdfStamper approach? PdfTemplate template = writer.getDirectC