I have been evaluating the use of iText to generate reports in PDF format for a web application. So far, I am pretty happy with the results and ease of use. I have come across only one significant problem. The reports I am generating contain a large number of charts that are also dynamically generated. The insertion of the images seems to interfere with the newPage() method. I have tried to use newPage() to cause a new page to be generated prior to inserting a heading and related charts, but the method seems to be ignored and the new heading will end up on the bottom or middle of a page. I have tried using chapters and sections, but I end up with the same problem, chapters won’t necessarily start on a new page. I am trying to avoid getting into using the PdfContentByte and laying out every page (the process of creating the report content is complicated enough). Any assistance with resolving this problem would be greatly appreciated.

 

Thanks,

 

Kim

 

Reply via email to