Thank you. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Rémi Zara
> Sent: Thursday, February 24, 2005 2:49 PM
> To: [email protected]
> Subject: [iText-questions] Bug in PdfStamper.addComments()
> 
> 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=ick
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
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

Reply via email to