Swapna Guntu wrote: > Hi, > > I am using iText for generating PDF documents. I am adding data to a > cell in the table and the data comes from database. When a cell > contains more data that fits the rest of the page, it gets displayed > in the next page and I don't want to have any blank space in between > the pages. I am displaying data using pharse. Is there any property > that displays the text irrespective of size. > > Any suggestions/recommendations would be greatly appreciated.
You could create a PDF with a standard width and a height that is the equivalent of several pages so that you have a PDF with one page containing one long table; Read this page into a PdfImportedPage with PdfReader and add the same page over and over to different pages of a new PDF file using different offsets. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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
