I solved this issue. In case someone else find himself in the same position,
here is what I did. 
Here is the code:

PdfReader reader = new PdfReader(originalFile);
                        
                        PdfStamper stamper = new PdfStamper(reader, new
FileOutputStream(tmpFileOriginal));
                        
                        PdfStamper stamperOut = new PdfStamper(new 
PdfReader(tmpFileMergedFile),
new FileOutputStream(output));
                        
                        stamperOut.setMoreInfo(stamper.getMoreInfo());
                        stamperOut.setXmpMetadata(reader.getMetadata());
                        
                        stamper.close();
                        stamperOut.close();
                        reader.close();

Thanks.



--
View this message in context: 
http://itext.2136553.n4.nabble.com/PdfReader-getInfo-returns-null-for-Keywords-tp4661008p4661016.html
Sent from the iText mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
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