title: PDF Data Extraction - Need Suggestions
body: <p>I created a <strong>pdf extraction tool</strong>. Sample screen attached. <img src="https://i.stack.imgur.com/0fuNQ.png" alt="enter image description here"> User can load a pdf file and select data area he wants. Then I grab pdf coordinates and page number and then save it as a template. Once user a give a list of pdf files tool is capable of extracting data according to the template file. <a href="http://www.a-pdf.com/data-extractor/a-pdf-data-extractor.swf" rel="nofollow noreferrer">My tool is very much similar to this.</a></p>
  
  <p>Now problem is sometimes in some pdfs the portion of data required to extract is shifted to next page. (The reason for shifting is; I will give a <strong>example</strong>. If you think a bill of list of items you purchased, <strong>The place of "Total Value" printed</strong> is depend on the number of items you bought: if it's a long list total goes bottom otherwise, middle or near top).</p>
  
  <p>Therefore now I am thinking about <strong>identify the structure of the pdf instead of getting coordinates.</strong> </p>
  
  <p>But I don't have a clear idea to do that. Please share anything, you think that help to solve this problem. I repeat again that I am trying to grab data from a pdf. So It is possible to <strong>capture the structure of an pdf</strong> file.</p>
  
  <p>My idea is if I can identify the structure then I can say where the value is.  For example I tried to convert pdf into html and try to navigate through the html tag values. (body->div->table->td-> etc.) But it wasn't successful.. :(</p>