RM1X wrote:
Is it possible to load up existing PDF pages, that would perhaps contain some graphical content, and "stamp" it onto every page of the documents we create with iText? The desired effect is to have our dynamic text appear atop a predefined PDF that we've created using a professional design program.

This is called superimposing.
It's explained in the book PDF Hacks by Sid Steward
and in my own book. Maybe you have been using the wrong
keywords to Google because what you are asking is pretty
standard. I use it in 50% of the iText applications I write.

Most of the companies I work for have standard paper with
letterheads. I read a PDF with the letter head in a
PdfImportedPage object. I wrap such an object in an Image
object. I create a page event class that adds this image
on every onEndPage (under the existing content!). I make
sure the event is declared to the writer. And done!

Note that I often add the image to an OCG layer, so that
the letterhead is shown when opened in Adobe Reader, but
never shown when printed on paper (because in some cases
companies want to print the letter on preprinted paper).

I hope you'll find some examples using some of the keywords
mentioned here. Or you could read the book and look for the
part about 'superimposing'.
best regards,
Bruno

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to