Changed from iText to PDFBox to get extracting of chapters (or sections) to work