Bhupendra Mehta wrote:
I have retrieved a PDF document from a Domino database and read it
into a ByteArrayOutputStream (BAOS).
You need the byte array from this OutputStream to construct a PdfReader
object.
http://itextdocs.lowagie.com/docs/com/lowagie/text/pdf/PdfReader.html#PdfReader(byte[])
and use this PdfReader to construct a PdfStamper object. DO NOT use the
same ByteArrayOutputStream as second argument for the PdfStamper
constructor (maybe that's what's going wrong in your application).
From there on the examples of the tutorial are not much different from
what you need:
http://itextdocs.lowagie.com/tutorial/general/copystamp/index.html#pdfstamper
br,
Bruno
-------------------------------------------------------
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