Hi, i have a PDF document which contains signatures. I remove those (blank ones) but the Sigflag (/SigFlags 1) remains on 1. According to the PDF spec however it should be 0: "1= the document contains at least one signature field"
Is there a possibility with the stamper to change the flag to 0 again? AcroFields acroFields = this.stamper.getReader().getAcroFields(); ArrayList al = acroFields.getBlankSignatureNames(); for (int i = 0; i < al.size(); i++) { //remove signature fields acroFields.removeField((String)al.get(i) } Thanks, ToM ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar