astyrrian17 wrote: > I am investigating whether or not to use itext.... > > I need to generate pdfs in sections. Each section will have static title > bars at the top. So in each section, the title bars will contain the same > information throughout that section.
Make sure you define the top margin large enough to accommodate for the title bars. Use page events to add the title bar (in an onEndPage event). > Also, if a section takes up an odd number of pages, I want to be able to add > a blank page at the end. Use writer.getPageNumber() to get the current page number and writer.setPageEmpty(false); if you want to be sure the newPage() is respected. (Normally newPage() is ignored if a page is empty.) > Can I do these two things in itext? Yes. -- 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.1t3xt.com/docs/book.php 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/
