How can you add a new page to an iText document? document.newPage();
doesn't seem to work.
I am using iText with RTF support from http://sourceforge.net/projects/itextrtf/
Part of my code:
Font titleFont = new Font(Font.COURIER, 14, Font.BOLD);
document.add(new Paragraph("Title1", titleFont));
Table table = new Table(4);
table.setBorderWidth(0);
// Filling table
document.add(table);
document.newPage();
document.add(new Paragraph("Title2", titleFont));
Table table = new Table(4);
table.setBorderWidth(0);
// Filling table
document.add(table);