Bruno Lowagie wrote:
> Ning Zhao wrote:
>> Hi!
>>
>> thank you very much for the help! Yes, the PdfStamper stamper worked, 
>> there is really modified xmp metadata in the output pdf file. But the 
>> problem is, the old xmp metadata still exists. Now there are two 
>> blocks of xmp metadata in the output pdf file. Now to fix this problem?
> 
> I've made a small standalone example for testing (see attachment)
> and you are right. I've tried fixing it, but every solution I've
> found so far could break other functionality

I decided to upload a new version of PdfStamperImp (the class
that does all the work for PdfStamper) to the SVN repository.
It works with the small sample I posted earlier, but it should
also be tested on other examples (for instance: in your app).

You can download the new version from SVN and build a new jar:
http://www.1t3xt.com/downloads/svn.php
Or you can wait for tomorrow's snapshot:
http://brittanysoftware.com/itext/snapshots/
Or you could wait for the next release (not scheduled yet).

In any case: thanks for reporting the problem.
best regards,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
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

Reply via email to