Hello Mr. Bruno,
Thank you for your quick answer. Can you please verify if the following way
is correct to add title using PdfStamper as per your instructions
PdfReader reader = new PdfReader("MergedPdf.pdf");
int n = reader.getNumberOfPages();
PdfStamper stamp = new PdfStamper(reader, new
FileOutputStream("Pdf_With_Title.pdf"));
HashMap moreInfo = new HashMap();
moreInfo.put("Title", "Merged Pdf Docs");
stamp.setMoreInfo(moreInfo);
stamp.close()
Thanks
Sreenaresh Gopu
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bruno
Lowagie
Sent: Saturday, April 29, 2006 10:43 PM
To: [email protected]
Subject: Re: [iText-questions] how do I add title when using
PdfCopyFields
Sreenaresh Gopu wrote:
>Hi,
>
>How do I add title to final PDF document during merge process of the PDF
>documents using PdfCopyFields.
>
After you have finished the PDF,
read it with PdfReader and stamp the new title with PdfStamper.
br,
Bruno
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions