I have 2 queries regarding this

1) If adding custom metadata to the info dictionary is a bad idea

(which if i am not wrong  is done by
        document.addHeader
or
        PdfStamper stamper = new PdfStamper(reader, new FileOutputStream(dest));
        HashMap<String, String> info = reader.getInfo();
        info.put("CUSTOM", "CUSTOM");
        stamper.setMoreInfo(info);
),

what is the right approach...??

I need to add custom metadata in such a way that it can be extracted as xml.

2) create the XMP stream yourself instead of building it using the
info dictionary

Does it mean I have to build the xml file myself by defining my tags??


Kind Regards,
Deepti

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to