JPedal is a Java PDF library for viewing, converting and printing PDF files. It makes it very easy for developers to work with PDF files in Java. Read more here.
TL;DR Structured text extraction only works on tagged PDFs, the ones that carry an internal structure tree describing headings, paragraphs, lists and tables. If...