Bruno Lowagie (iText) wrote: > > >>That is: if you're talking about a Text field. >>What you say isn't true for a Button field. >>Suppose you want to replace the icon on a button field, >>than you have to getNewPushbuttonFromField() and >>replacePushbuttonField() as is done in this example: >>http://itextpdf.com/examples/iia.php?id=156 > >>Why do you need to copy the field, throw away the >>original field and then add the copied field? >>Because there's more to a button than just a /V value. >
I see what you mean there. That makes sense. Bruno Lowagie (iText) wrote: > >>As replacing a button is a more common request than >>replacing a signature field, convenience methods were >>added to iText. There are no such convenience methods >>(yet) to "empty" a signature field. > Makes sense. I would think that clearing a digital signature field would be more of a common request than replacing a button though. That's just me I guess... Bruno Lowagie (iText) wrote: > > I should check ISO-32000 to see what keys are > important in the signature dictionary. > Did you look inside the PDF? Aren't there any other > keys (other than /V and /AP) left in the signature > dictionary? And also: if you remove the /AP value, > you throw away the visual appearance of the signature, > won't that be a problem? > There are other keys in the signature dictionary. For example in the values section the keys are: /AP /P /FT /MK /F /T /Subtype /V /Type /Rect I would think it would be a problem, but again as I stated in the other thread, that's the only code I've found that has anything to do with what I'm trying to accomplish. I think it was Paulo who actually suggested deleting the /V and /AP values from the field in the thread I reference before. -- View this message in context: http://itext-general.2136553.n4.nabble.com/About-this-mailing-list-tp2968159p2968303.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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