I need to add a blank page to the addPrologue method in PdfTitleWrapper.java, so that there is an extra blank left side page for page 2 and page 4 of the table of contents. This will be replicated for the main volumes as well.
Documentation from http://itextpdf.com/examples/iia.php?id=99 implies that you use use pdfWriter.setPageEmpty(false); after(?) declaring the new page with pdfDocument.newPage(); but that throws an error at the last instance of .newPage, around line 235.
I need to add a blank page to the
addPrologue
method in PdfTitleWrapper.java, so that there is an extra blank left side page for page 2 and page 4 of the table of contents. This will be replicated for the main volumes as well.Documentation from http://itextpdf.com/examples/iia.php?id=99 implies that you use use
pdfWriter.setPageEmpty(false);
after(?) declaring the new page withpdfDocument.newPage();
but that throws an error at the last instance of.newPage
, around line 235.