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 field
Thank you Phillip
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 password field;
I added the folllowing code
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. Be
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
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 work in
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 =
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_PASSWORD |