Re: [iText-questions] How to remove XMP Metadata inside Stamper?

2005-08-30 Thread bruno
[EMAIL PROTECTED] wrote: Paulo, It would be very helpful if you could provide examples (as I've not been able to find any elsewhere) of how easy it is when you say... It's very easy to set/get the XMP metadata, the problem is what to put there. I have studied the XMP specs and added a

Re: [iText-questions] How to remove XMP Metadata inside Stamper?

2005-08-30 Thread Leonard Rosenthol
At 06:43 AM 8/30/2005, bruno wrote: I have studied the XMP specs and added a simple XmpWriter to CVS. Cool! Also be sure to read the PDF/A specification, specifically the section concerning the crosswalk of XMP to /Info dict. Leonard

Re: [iText-questions] How to remove XMP Metadata inside Stamper?

2005-08-30 Thread bruno
Leonard Rosenthol wrote: Also be sure to read the PDF/A specification, specifically the section concerning the crosswalk of XMP to /Info dict. Found the crosswalk table. Trying to figure out what to do with it. Are you suggesting I should have some method

Re: [iText-questions] How to remove XMP Metadata inside Stamper?

2005-08-30 Thread Leonard Rosenthol
At 08:59 AM 8/30/2005, bruno wrote: Are you suggesting I should have some method PdfDocument.generateXmpData() to be called after adding the metadata? As an ALTERNATIVE to users having to understand the details of XMP - yes! This method would then automatically generate XMP with

Re: [iText-questions] How to remove XMP Metadata inside Stamper?

2005-08-30 Thread bruno
Leonard Rosenthol wrote: That way you wouldn't have to care about the XML. It would be generated behind the screens... Would that be a good idea? For the average user of iText - YES! AND it would be a nice marketing tool for iText, since it would make it only the THIRD program

Re: [iText-questions] How to remove XMP Metadata inside Stamper?

2005-08-30 Thread Leonard Rosenthol
At 11:12 AM 8/30/2005, bruno wrote: For the average user of iText - YES! AND it would be a nice marketing tool for iText, since it would make it only the THIRD program to support this. Done. See the CVS repository. VERY COOL!! Nice job - and thanks! Leonard

RE: [iText-questions] How to remove XMP Metadata inside Stamper?

2005-08-30 Thread Paulo Soares
@lists.sourceforge.net' Subject: Re: [iText-questions] How to remove XMP Metadata inside Stamper? Leonard Rosenthol wrote: That way you wouldn't have to care about the XML. It would be generated behind the screens... Would that be a good idea? For the average user of iText - YES

Re: [iText-questions] How to remove XMP Metadata inside Stamper?

2005-08-30 Thread Bruno Lowagie
Paulo Soares wrote: PdfDate.W3C cant't be static or if it is must be synchronized. OK, fixed it in the CVS. br, Bruno --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA *

Re: [iText-questions] How to remove XMP Metadata inside Stamper?

2005-08-17 Thread listservs
Paulo, It would be very helpful if you could provide examples (as I've not been able to find any elsewhere) of how easy it is when you say... It's very easy to set/get the XMP metadata, the problem is what to put there. Thanks! Tony Bull

Re: [iText-questions] How to remove XMP Metadata inside Stamper?

2005-08-13 Thread Paulo Soares
] How to remove XMP Metadata inside Stamper? Roger Misteli wrote: Hi Bruno Unfortunately, this didn't solve my problem. Apparently (I looked into the PDF itself) the PDF I have as template has more than one XMP Metadata object stored. If I remove(PdfName.METADATA) I seem to remove, well, one

[iText-questions] How to remove XMP Metadata inside Stamper?

2005-08-12 Thread Roger Misteli
Hiyas In a previous life, I added my XMP metadata using this: byte[] xmpBuffer = getXMLDocumentAsByteArray(); PdfStream xmp = new PdfStream(xmpBuffer); xmp.put(PdfName.TYPE, PdfName.METADATA); xmp.put(PdfName.SUBTYPE, new PdfName(XML)); PdfIndirectReference ref =