Is there a way to iterate over text objects (like text labels or text boxes) in a PDF file and get those objects properties (like x, y position on the page and the text itself)?
I need to get some specific pieces of text that are close, i.e. layed out in the page, to a particular label that may be in varied positions on the page. Sadly, when I simply extract the text I don't usually get a string that I can work with to get the value I need.