I find that there are few things that are easier do and manage via simple PDFBox
APIs, whereas some are convenient using pdfbox-layout
.
PDFBox
uses PDDocument as the class to create and manage documents, whereas pdfbox-layout
uses Document class for same purpose.
How do I work with these 2 classes while generating a single document containing multiple pages.