Re: [iText-questions] About form field

2003-01-08 Thread phillip
> But this code still produce "/Ff 8192". > Instead, I found next line is "/F 12591104". > > I don't know what the key "/F" mean in this case. > So I am still in trouble. > That is the flag which is common to all annotations. I think it could be the internal problem in iText. I will look into it

RE: [iText-questions] About form field

2003-01-08 Thread Paulo Soares
I'll update it. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, January 08, 2003 5:41 > To: [EMAIL PROTECTED] > Subject: Re: [iText-questions] About form field > > > About pa

RE: [iText-questions] About form field

2003-01-08 Thread Paulo Soares
It's setFieldFlags not setFlags. Best Regards, Paulo Soares > -Original Message- > From: Kumata Mitsugu [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, January 08, 2003 7:43 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [iText-questions] About form

Re: [iText-questions] About form field

2003-01-07 Thread Kumata Mitsugu
Thank you Phillip > So, if you wait for the new release, you should do: > > field.setFlags(PdfFormField.FF_PASSWORD | 4194304); > > or if you do not, you should do: > > field.setFlags(PdfFormField.FF_PASSWORD | > PdfFormField.FF_DONOTSPELLCHECK); I tried field.setFlags(PdfFormField.FF_PASSWO

Re: [iText-questions] About form field

2003-01-07 Thread phillip
> About password field; > I added the folllowing code to my program; > "field.setFlags(PdfFormField.FF_PASSWORD);" Read PDF Reference p.448. Bit 14 is Password field flag. > > But this code produces "/Ff 8192". > I think right flag shoudl be "/Ff 12591104". 12591104 = 11000

Re: [iText-questions] About form field

2003-01-07 Thread Kumata Mitsugu
Thank you Paulo About password field; I added the folllowing code to my program; "field.setFlags(PdfFormField.FF_PASSWORD);" But this code produces "/Ff 8192". I think right flag shoudl be "/Ff 12591104". To get right flag, Do I have to do anything else? KuMi > That's the way form fields wo

RE: [iText-questions] About form field

2003-01-07 Thread Paulo Soares
That's the way form fields work in Reader, you have to duplicate the behavior in the stream. The full Acrobat has an annotation handler that can get by without the stream. For the password you need to set the flags: PdfFormField.setFieldFlags(PdfFormField.FF_PASSWORD); Best Regards, Paulo Soares