Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Modify PDF received from DB as a ByteStream

Bhupendra Mehta

2005-06-27

Replies:

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.

------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.