The signature widget has a reference to a page, it just don't show in the 
page's annotation array.

Paulo

----- Original Message ----- 
From: "Andreas Kuehne" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here" 
<[email protected]>
Sent: Wednesday, September 10, 2008 8:53 AM
Subject: Re: [iText-questions] Signature not found : Bug or feature ?


Hi Leonard,

thanks for your expertise regarding the PDF spec !

But I'm a little more concerned about the design within iText. As far as I 
can see the AcroFields expect to have a reference to a page. So it may be 
harmful to existing code to have an object that just has a null page ref. 
Maybe there is a need to add a dummy page ref, perhaps to page 1 ...

Let's see what kind of idea Paulo has ..


Greetings

Andreas


----- Original Message ----
From: Leonard Rosenthol <[EMAIL PROTECTED]>
To: Andreas Kuehne <[EMAIL PROTECTED]>; Post all your questions about 
iText here <[email protected]>
Sent: Tuesday, September 9, 2008 11:26:22 PM
Subject: Re: [iText-questions] Signature not found : Bug or feature ?

Signatures are handled as AcroForm fields - which MUST be listed in
the AcroForm dictionary in the Catalog.  However, they need not be
associated with a page UNLESS you plan to display them.  So certifying
signatures don't necessary have to have a page.

Leonard

On Sep 9, 2008, at 12:08 PM, Andreas Kuehne wrote:

> Hi,
>
> I'm not sure whether I'm going to submit a bug or request a new
> feature :
>
> The AcroFields class has method returning all signatures
> (  getSignatureNames() ).
>
> Now I came across a pdf with a signature that doesn't get returned
> by getSignatureNames(). On the other hand the Acrobat Reader shows
> the signature without any problems.
>
> Analyzing the code shows that AcroFields are expected to be related
> to a page. But the signature doesn't !
> So my question is :
>
> Is it a bug to expect every signature to be assigned to a page
> ( what isn't neccessarily so ) ?
> Or do AcroFields are expected to be page-related 'by nature', so my
> signature is just no AcroField and I must look for another way to
> retrieve the signature ?
>
> The problematic signed PDF is attached.
>
> Opinions welcome
>
> Andreas
> <
> test_signiert_nopage_md160
> .pdf


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to