How to extract text from a pdf file using Aspose PDF in Java? I'm looking for this functionality from Aspose API (no code samples?)
edit-
Req:
Let's say a pdf has this text at random locations along with some other data.
First Name: John
Last Name: Doe
City: New York
Phone: (999)-999-9999
Note: I can easily get these values if they are fields of the pdf file. These are in some random locations, not separate fields.
Where the values John, Doe, New York, (999)-999-9999
changes for each document.
I should be able to search for First Name, Last Name, City, Phone
so it would return it's preceding value too.
Any suggestions?