Signature fields, because they are fields (which are in turn annotations) are 
ALWAYS associated with a page.

-----Original Message-----
From: mkl [mailto:[email protected]] 
Sent: Wednesday, November 10, 2010 2:32 AM
To: [email protected]
Subject: Re: [iText-questions] Access to previous signatures in a pdf


Pedro,

P3d3r0s0 wrote:
> Probably not the most elegant solution...
> 
> AcroFields af;// current signature's acrofields
> if (af.getFieldPositions(name).get(0).position.getWidth() == 0.0)
>     system.out.println("invisible signature");

This, BTW, is quite consistent with the spec; but there are additional
possibilities (ISO 32000-1, section 12.7.4.5):

>>>
Signature fields that are not intended to be visible shall have an
annotation rectangle that has zero height and width. Conforming readers
shall treat such signatures as not visible. Conforming readers shall also
treat signatures as not visible if either the Hidden bit or the NoView bit
of the F entry is true.
<<<

Additionally there is the case of signature fields not associated with a
page in any way.

Regards,   Michael.
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Access-to-previous-signatures-in-a-pdf-tp3028590p3035600.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to