> -----Original Message----- > From: Wahaj [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 22, 2004 8:58 AM > To: Paulo Soares; [email protected] > Subject: Re: [iText-questions] finding page number of a > signature field > > Hi, > > I have 2 signature fields in a pdf, one is signed and one is > empty (Sign1, > Sign2). Using AcroFields.getSignatureNames() I can get the > fields which are > already filled i.e. Sign1. To get the empty ones I called > AcroFields.getFields() which returned me the hashMap where > keys are Sign1 > and Sign2. If I try to view the signature dictionary of Sign2 using > getSignatureDictionary function I get null. How can I find
If the field is not signed it doesn't have a signature dictionary. > the /FT in an > empty field signature ? Ideally there should be a function just like See AcroFields.getFieldItem(). > getSignatureNames to get empty signature names. > You'll have it in the next release. > Regards, > Wahaj > > ----- Original Message ----- > From: "Paulo Soares" <[EMAIL PROTECTED]> > To: "Wahaj" <[EMAIL PROTECTED]>; > <[email protected]> > Sent: Friday, December 17, 2004 4:08 PM > Subject: RE: [iText-questions] finding page number of a > signature field > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On > > > Behalf Of Wahaj > > > Sent: Friday, December 17, 2004 8:12 AM > > > To: [email protected] > > > Subject: [iText-questions] finding page number of a > signature field > > > > > > Hi All, > > > > > > Using iText 144 can we know on what page a signature field is > > > present ? I > > > > You can know the page and location with > AcroFields.getFieldPositions(). > > If the field is already signed get the names with > > AcroFields.getSignatureNames(). If the field is not yet signed call > > AcroFields.getFields() and look for the fields that have > the /FT key as > > /Sig. > > > > > tried to find but found no way. > > > Also can we delete or clear an already created signature field? > > > > > > > To delete AcroFields.removeField(). To clear depends on > what you mean by > > 'clear'. > > > > > Regards, > > > Wahaj > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from > > > real users. > > > Discover which products truly live up to the hype. Start > reading now. > > > http://productguide.itmanagersjournal.com/ > > > _______________________________________________ > > > iText-questions mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
