Hi,
There is a bug in PdfStamper.addComments(). It does not import apparence streams for stamp annotations. In fact, it's the PdfSamperImp.findAllObjects that does not explore STREAM objects.
The following patch fixes the problem for me.
Regards,
R�mi Zara Docubase Systems.
--- PdfStamperImp.java.orig 2004-12-19 16:01:10.000000000 +0100
+++ PdfStamperImp.java 2005-02-22 16:00:02.788459400 +0100
@@ -411,6 +411,7 @@
}
return;
case PdfObject.DICTIONARY:
+ case PdfObject.STREAM:
PdfDictionary dic = (PdfDictionary)obj;
for (Iterator it = dic.getKeys().iterator(); it.hasNext();) {
PdfName name = (PdfName)it.next();
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
