ralfstuckert / pdfbox-layout

MIT License
155 stars 74 forks source link

How to force a new page (solved) #79

Closed enzocardeal closed 4 years ago

enzocardeal commented 4 years ago

Well, it took me a while to discover this and I think it will be helpful to a lot of people, so this is how to force a new page: Document document = new Document(Constants.A4, 40, 60, 40, 60); . . . document.add(ControlElement.NEWPAGE);

Anyway, awesome lib, thank you very much sir!