Op 22/04/2013 11:21, Deepti Banana schreef:
> But the custom property added using the below methods are shown in the Custom 
> Tab of Document properties.
>
> 1) addHeader method of com.itextpdf.text.Document class
>          document.addHeader("CUSTOM", "CUSTOM");
>
> 2) setMoreInfo method of com.itextpdf.text.pdf.PdfStamper.
>          PdfStamper stamper = new PdfStamper(reader, new 
> FileOutputStream(dest));
>          HashMap<String, String> info = reader.getInfo();
>          info.put("CUSTOM", "CUSTOM");
>          stamper.setMoreInfo(info);
Well... that's because Adobe decided to do so, but no viewer is obliged 
to do that.

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