Object deletion can be done with PdfReader.killIndirect(). This deletes a single object.

Paulo

----- Original Message ----- From: "Leonard Rosenthol" <[EMAIL PROTECTED]> To: <[email protected]>; "Paulo Soares" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Monday, April 24, 2006 6:50 PM
Subject: RE: [iText-questions] PDF Version


At 04:17 PM 4/24/2006, Segev, Eli wrote:
When using PDFStamper to change the metadata, I get two copies of the
meatadata in the PDF file - the old one and the new one.

That is correct, as Stamper adds new objects along with an update table, which tells PDF parsers to ignore the old one and just use the latter one.


How do I get rid of the old metadata?

You'd have to run a process that would "garbage collect" the old objects. iText does not support this.


Leonard

---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED]>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                             215-938-0880 (fax)




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to