IText reading PDF like pdftotext -layout?
Im looking for the easiest way to implement a java solution which is quiet similar to the output of pdftotext -layout FILE on linux machines. (And of course it should be cheap as well) I just tried some code snippets of IText, PDFBox and PDFTextStream. The most accurate solution so far is PDFTextStream which uses the VisualOutputTarget to get a great representation of my file. So my column layout is recognized correct and I'm able to work with it. But there should be also a solution for IText, or? Every easy snippet I found produces plain ordered strings which are a mess (mess up row/column