I searched a lot on google and docs but can't find a solution to this problem, maybe you guys can help me with this?
I have pdf from html export and my table data is divided between pages, look at this image:

This is html to pdf convert export, I am not building this table in PDF, look:
String htmlString = getTableHtml(tableData); // Create a buffer to hold the cleaned up HTML ByteArrayOutputStream htmlOutputStream = new ByteArrayOutputStream(); // Clean up the HTML to be well formed HtmlCleaner cleaner = new HtmlCleaner(); CleanerProperties props = cleaner.getProperties(); TagNode node = cleaner.clean(htmlString); new PrettyXmlSerializer(props).writeToStream(node, htmlOutputStream); // Create the PDF ITextRenderer renderer = new ITextRenderer(); renderer.setDocumentFromString(new String(htmlOutputStream.toByteArray())); renderer.layout(); ByteArrayOutputStream pdfOutputStream = new ByteArrayOutputStream(); renderer.createPDF(pdfOutputStream);
How can i fix this?
itext
Carlos Carneiro
source share