I have retrieved a PDF document from a Domino database and read it into a ByteArrayOutputStream (BAOS). I need to modify this document in memory and all I have to do is add a header, footer and watermark to it without having to go page by page.
I read in the newsgroup that PdfStamper would help I've tried various options with it but my resulting BAOS is empty. Can someone please send me some code in order to do the above. I am really crunched for time so a prompt response will be greatly appreciated.
Thanks.
Bhupendra Mehta.