Thomas Hauk wrote:
> So, what would a method look like that takes a PdfReader object and an  
> int for the page number, and returns back a PdfTemplate object?

PdfTemplate can't store the resources.

> Or is that not possible since a PdfTemplate needs a PdfWriter object?
> (In which case, is that not a kind of circular dependency in the  
> design?)

Why would you want to create a PdfTemplate without a writer?
That's like creating a single page PDF.
Creating a single page PDF from an existing PDF is possible using iText,
but it has some serious downsides in comparison with using PdfTemplate + 
a writer (bad resources management is the major downside).

You should know more about PDF before I can give a better answer.
Honestly: this is a pointless discussion.
It's like asking "why is the sky blue?" without knowing anything about 
the breaking index of light that shines to a medium.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to