SeungHyun Park wrote: > If you could take a few minutes to answer my questions, I would really > appreciate it.
In the trailer of the PDF file, you can have a fileID. Such a file ID is created automatically when you generate a PDF file with iText. When you alter an existing PDF, it is removed (not always, but in general). The reason: if the fileID wasn't removed, you'd have two different files with the same ID. We could of course replace the fileID like this if (crypto != null) { if (append) { encryption = reader.getCryptoRef(); } else { PdfIndirectObject encryptionObject = addToBody(crypto.getEncryptionDictionary(), false); encryption = encryptionObject.getIndirectReference(); } fileID = crypto.getFileID(); } else { PdfEncryption.createInfoId(PdfEncryption.createDocumentId()); } This way, the altered file will get a new ID (based on the current time in milliseconds). Change the code accordingly in class PdfStamperImp, and let me know if it works. br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/