Prabahar Duraisamy wrote:
> 
> Hi,
> 
> I am new to the iText environment. I have generated a pdf through the 
> iText and i have requirement that content should not break into two pages.

OK.

> For example: I have a paragraph with 50 lines. Before adding this 50 
> lines, i have a table. Number of rows in this table will be dynamic. So, 
> when i generate the pdf, if the number of rows gets increased, then i 
> can able to accommodate only 40 lines in the first page and the 
> remaining 10 lines will be automatically moved to the second page.

OK.

> My requirement is, if some lines are moving down to the second page, 
> then i need the entire 50 lines to be moved to the second page. Is that 
> possible to do that in iText? Please share your idea to achieve this 
> functionality.

That's done with ColumnText. Read Chapter 7 of the book "iText in Action."
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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/

Reply via email to