chennupati wrote:
> I am using ChapterAutoNumber,

Why? It adds complexity to your app,
and it makes your app error prone.

Don't use Chapters, but use document.newPage() every time
you've added a table.

Remove:
> public void onChapter(PdfWriter arg0, Document arg1, float arg2,
>                       Paragraph arg3) {

> public void onChapterEnd(PdfWriter arg0, Document arg1, float arg2) {

Replace them with normal methods, such as:

public void createNewTemplate()
and
public void fillOutTemplate()

(Or whichever name you think describes best what the method does.)

Call these methods before and after document.newPage().
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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/

Reply via email to