> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Michael Kail
> Sent: Tuesday, March 07, 2006 1:32 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] (no subject)
> 
> Hi everybody!
> 
>  
> 
> Actually i'm trying to get signature out of acroform....
> 
> As I looked into whitepaper of pdf Version 1.4 it's legal to 
> write signature fields in acroform and
> 
> Make no link with annotations.
>

iText won't find those.
 
>  
> 
>         PdfDictionary top = 
> (PdfDictionary)PdfReader.getPdfObjectRelease(reader.getCatalog
> ().get(PdfName.ACROFORM));
> 
>                     if (top == null)
> 
>                         return;
> 
>                     //sind felder vorhanden
> 
>                     PdfArray arrfds = 
> (PdfArray)PdfReader.getPdfObjectRelease(top.get(PdfName.FIELDS));
> 
>                     if (arrfds == null || arrfds.size() == 0)
> 
>                         return;
> 
>                     
> 
>                     ArrayList al = arrfds.getArrayList();
> 
>                     Iterator i = al.iterator();
> 
>                     while (i.hasNext()){
> 
>                         PdfObject pa = (PdfObject)i.next();
> 
>                                                             
> 
>                         PdfObject po = 
> reader.getPdfObject(pa);                     
> 
>                                     
> 
>                         PdfDictionary pid = (PdfDictionary)po;
> 
>                         Set temp = pid.getKeys();
> 
>                         Iterator it = temp.iterator();
> 
>                         while (it.hasNext()){
> 
>                                     
> System.out.println(it.next().toString());
> 
>                         }
> 
>                     }
> 
>  
> 
> With that method I get an PdfDictionary. SO I can find out if 
> that's a signature.
> 
> When it is a signature, I'm trying to read the other 
> important information like 
> 
> CONTENTS and BYTERANGE. But there's none....
> 
> Does anybody know how to get the rest of the data?????
> 
> The only things there are :
> 
> /Type
> 
> /P
> 
> /AP
> 
> /F
> 
> /T
> 
> /V
> 
> /Rect
> 
> /Subtype
> 
> /MK
> 
> /FT
> 
> ...
> 

Follow /V.

>  
> 
> Hope someone can help me...
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to