Vegelith
Vegelith

Reputation: 21

itext 1.3.1 start wrapped table row directly on new page

I have a problem I can not solve with itext 1.3.1, the content of a com.lowagie.text.Table cells is variable, often wraps to multiple lines. When the page changes the table is broken and the content continues on the new page. If the line were to end up on the new page can it to be written directly to the new page?

Upvotes: 0

Views: 166

Answers (1)

Vegelith
Vegelith

Reputation: 21

Seems that with Table class is impossibile, i used the method setCellsFitPage(true) but it didn't work. I changed Table with PdfPTable and i applied setSplitLate(true), now it work

Upvotes: 1

Related Questions