[iText-questions] ListItems and Table splitting

2010-01-07 Thread natros
Hello, I'm having some problems with table splitting and ListItems. Most of the time the last item is repeated and the end of the page as you can see in the attached PDF file. In my case, the text "hello number 9" in first page is repeated in second page. The same happens in the last page with "h

[iText-questions] Test if some elements fits in a page

2009-07-02 Thread natros
I have been doing some experiments with ColumnText to see if some iText element fits in the page. I'm witting 38 time the word "Hello" and 5 times the word "World". If the last 5 words does not fit in the page I want them in a new page. Here is what I did Document doc = new Document(); try { Pdf