Re: [iText-questions] Form field text shifting after setField?

2006-02-11 Thread Bruno Lowagie
kylealger wrote: Chris, I am having the same issue as you describe. I've trying to figure out what exactly the underlying issue is and have had no luck. I am using the setFields method, the same as you, and see that the text does seem to shift up or down with no consistency that I can see for d

Re: [iText-questions] Form field text shifting after setField?

2006-02-11 Thread kylealger
Chris, I am having the same issue as you describe. I've trying to figure out what exactly the underlying issue is and have had no luck. I am using the setFields method, the same as you, and see that the text does seem to shift up or down with no consistency that I can see for direction. Have you

Re: [iText-questions] TextField.REQUIRED not working most of thetime

2006-02-11 Thread Bruno Lowagie
Paulo Soares wrote: All you have to do is to open the pdf in Acrobat and see if the required flag is there. Normally there's a 'form bar' just below the other toolbars in Adobe Viewer. If you check 'show fields' the fields on the PDF will get a blue background. If you check 'show required fie

Re: [iText-questions] TextField.REQUIRED not working most of thetime

2006-02-11 Thread Paulo Soares
All you have to do is to open the pdf in Acrobat and see if the required flag is there. - Original Message - From: "Udo Rader" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Cc: "itext" Sent: Saturday, February 11, 2006 10:26 PM Subject: Re: [iText-questions] TextField.REQ

Re: [iText-questions] TextField.REQUIRED not working most of the time

2006-02-11 Thread Udo Rader
On Sat, 2006-02-11 at 22:22 +, Paulo Soares wrote: > It's the viewer that does the submission, not iText. *g*, yes, that's quite obvious :-) Yet, it could also be that either I don't set the flag correctly or even worse that itext produces bad PDF :-) regards Udo Rader -- BestSolution.at

Re: [iText-questions] TextField.REQUIRED not working most of the time

2006-02-11 Thread Paulo Soares
It's the viewer that does the submission, not iText. - Original Message - From: "Udo Rader" <[EMAIL PROTECTED]> To: "itext" Sent: Saturday, February 11, 2006 9:48 PM Subject: [iText-questions] TextField.REQUIRED not working most of the time -

[iText-questions] TextField.REQUIRED not working most of the time

2006-02-11 Thread Udo Rader
Hi once more, When I create a form containing multiple fields and marking some as "required", the setting is not enforced when I submit the form most of the time. It only works "sometimes" ... Here's what I do do mark a textfield as required: --CUT-- TextField tField = new TextFi

Re: [iText-questions] inconsistency documentation vs. class

2006-02-11 Thread Paulo Soares
That's already fixed in the CVS. - Original Message - From: "Udo Rader" <[EMAIL PROTECTED]> To: "itext" Sent: Saturday, February 11, 2006 9:12 PM Subject: [iText-questions] inconsistency documentation vs. class Hi, the javadoc in the class header for the PushbuttonField class reads

[iText-questions] inconsistency documentation vs. class

2006-02-11 Thread Udo Rader
Hi, the javadoc in the class header for the PushbuttonField class reads like this: CUT * PushbuttonField bt = new PushbuttonField(writer, new Rectangle(100, 100, 200, 200), "Button1"); [...] * PdfFormField ff = bt.getButton(); [...] CUT yet there is no Pus

[iText-questions] 2 questions

2006-02-11 Thread christian . adorjan
Dear Bruno! I have 2 questions: - Is it possible to add text (e.g. header or footer) to a pdf-document with iText? I couldn't find it in the toolbox. The only text I can add to an PDF is a watermark, is this right? - Do you plan to support to generate PDF-documents based on PDF/A-standard. Or w

Re: [iText-questions] SetAppearance not found for the PushButtonField object

2006-02-11 Thread Paulo Soares
You'll have to sort it out yourself. Create a button in Acrobat with all the feature you want. Get the enfocus browser or the windjack canopener to see what objects were created and do the same in iText. - Original Message - From: "Dan Phillips" <[EMAIL PROTECTED]> To: Sent: Saturday

RE: [iText-questions] SetAppearance not found for the PushButtonField object

2006-02-11 Thread Dan Phillips
Here is the code we are trying after going over the javadocs and C# source. PdfReader pdfreader = new PdfReader( "initial doc.pdf "); PdfStamper stamp = new PdfStamper(pdfreader, new FileStream( "Final.pdf ", FileMode.Create)); PushbuttonField bt = new PushbuttonField(stamp.Writer, new Rectangl

Re: [iText-questions] SetAppearance not found for the PushButtonField object

2006-02-11 Thread Paulo Soares
ff.setHighlighting(PdfAnnotation.HIGHLIGHT_PUSH); PS: This is in the javadocs - Original Message - From: "Dan Phillips" <[EMAIL PROTECTED]> To: Sent: Saturday, February 11, 2006 2:15 PM Subject: RE: [iText-questions] SetAppearance not found for the PushButtonField object Thanks,

RE: [iText-questions] SetAppearance not found for the PushButtonField object

2006-02-11 Thread Dan Phillips
Thanks, our only problem now is that when we create the PudhButtonField it is always created as an INVERT button. How do we change the type of button to a 'PUSH' button with the three faces. PushbuttonField bt = new PushbuttonField(stamp.Writer, new Rectangle(100, 100, 100 + ll.Width, 100 + ll.

Re: [iText-questions] IndexOutOfBounds Exception using PdfCopyFields and Outlines

2006-02-11 Thread Paulo Soares
PdfOutlines is not supported in PdfCopy and PdfCopyFields, the version in the CVS already inhibits the access to the direct content. In both cases the outlines can be set with setOutlines(). - Original Message - From: "Scott Tyriver" <[EMAIL PROTECTED]> To: Sent: Friday, February 10,

Re: [iText-questions] I need your help so much!

2006-02-11 Thread Bruno Lowagie
chen zongqi wrote: > Firstly,Thanks very much for your answer! > As I know,an A3 size Excel file can be printed as an A3 paper, A4 size > is printed as A4 size paper,we can do this without any setting by > ourselves.I want to know whether pdf can do this like Excel.With my > computer and printer,i

Re: [iText-questions] Thank your hardship

2006-02-11 Thread Bruno Lowagie
Dear Martin, your mail almost got lost because the subject gives the impression you're sending SPAM for a certain pharmaceutical product. This is a hint for all people posting questions on the list: please choose a subject that is ON-TOPIC, for instance 'Bookmark Question'. 敬 陆 wrote: > Dear Foru

[iText-questions] Thank your hardship

2006-02-11 Thread 敬 陆
Dear Forum Owner:   we have some a little program need to modify a pdf file ,   I refer to your source code with .net C sharp,however I can't look for   how to add chapter's bookmark for exist pdf file . It is useful the   function "setbookmark" for creating new charpter.