Hi Bruno,

have built and tested revision 3225 from the svn trunk. The new 
PdfStamperImpl worked fine for my pdf files. I also tried to alter the 
xmp data in the PRStream way (like shown in the XmpMetadataTest.java in 
your last email), also worked well. Thanks!

Best Regards,
Ellen N. Zhao

Bruno Lowagie schrieb:
> Ning Zhao wrote:
>> P.S.: Just bought the book "iText in action" and reading Chapter 18.
>
> I thought of replacing the XMP stream at the lower level too:
> with PRStream.setData(). The problem you'll experience is that
> setData() compresses the stream by default. That's typically not
> what you want to happen with an XMP stream. I've adapted the
> example I've sent before to work around this problem (look at
> the lines where I change the value of Document.compress). That's
> not a very elegant solution. Maybe I'll provide an extra setData
> method that takes a boolean to let the developer decide whether
> or not the data has to be compressed.
> 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


-- 
HaCon Ingenieurgesellschaft mbH
Lister Str. 15
30163 Hannover
Germany/Deutschland
Tel. +49 511 33699-363
Fax. +49 511 33699-99
Email: [EMAIL PROTECTED]
http://www.hacon.de

Registry Court/Amtsgericht Hannover HRB 1712
Managing Directors/Geschäftsführer: Michael Frankenberg,
Dr.-Ing. Marian Gaidzik, Dr.-Ing. Werner Kretschmer,
Werner Sommerfeld, Dr.-Ing. Volker Sustrate, Peter Talke 


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