Hello, I am using PdfCopy to copy existing pdf's but need a way to positively remove any XMP metadata. As a first attempt I am using "reader.getCatalog().remove(PdfName.METADATA)" prior to creating a new Document using the reader. This seems to work just fine but I see in the PDF spec that XMP metadata can be contained in any components that are represented as a stream or dictionary. Does anyone know if there as a way to find and remove all those metadata streams if they exist anywhere in the document? Thanks, Greg<x-tad-smaller>
</x-tad-smaller>
- Re: [iText-questions] Need to strip all XMP metadata whe... Greg Sabatino
- Re: [iText-questions] Need to strip all XMP metadat... Leonard Rosenthol
- Re: [iText-questions] Need to strip all XMP met... Greg Sabatino
- Re: [iText-questions] Need to strip all XMP... Leonard Rosenthol
- RE: [iText-questions] Need to strip all XMP metadat... Paulo Soares
- Re: [iText-questions] Need to strip all XMP met... Greg Sabatino
- RE: [iText-questions] Need to strip all XMP metadat... Paulo Soares
- RE: [iText-questions] PDF Searching John Kendall
- Re: [iText-questions] PDF Searching Paulo Soares
- RE: [iText-questions] PDF Searching John Kendall
