title: How to read data from table-structured PDF using itextsharp?
body: <p>I am having a problem with reading some data from pdf file.<br>
  My file is structurized and it contains tables and plain text. Standard parser reads data from separate columns at the same line. For example:  </p>
  
  <pre>
  Some Table Header  
  Data Col1a     Data Col2a      Data Col3a
  Data Col1b     Data Col2b      Data Col3b
                 Data Col2c
  
  </pre>
  
  <p>with this code</p>
  
  <pre><code>        PdfReader reader = new PdfReader(pdfName);
  
          List&lt;String&gt; text = new List&lt;String&gt;();
          String page;
          List&lt;String&gt; pageStrings;
          string[] separators = { "\n", "\r\n" };
  
          for (int i = 1; i &lt;= reader.NumberOfPages; i++)
          {
              page = PdfTextExtractor.GetTextFromPage(reader, i);
              pageStrings = new List&lt;string&gt;(page.Split(separators, StringSplitOptions.RemoveEmptyEntries));
              text.AddRange(pageStrings);
  
          }
  
          reader.Close();
  
          return text;
  </code></pre>
  
  <p>will be concatenated into strings:</p>
  
  <pre>
  Some Table Header
  Data Col1a Data Col2a Data Col3a  
  Data Col1b Data Col2b Data Col3b  
  Data Col2c  
  </pre>
  
  <p>I'd like to get concatenated strings that will reflect data from blocks. I'd like to get such strings for upper example:  </p>
  
  <pre>
  Some Table Header
  Data Col1a Data Col1b   
  Data Col2a Data Col2b Data Col2c  
  Data Col3a Data Col3b
  </pre>
  
  <p>Does anyone have any idea how to tune itextsharp to get such behavior of pdf parser?
  Maybe someone has appropriate code sample?<br>
  The sample PDF file is <a href="https://www.dropbox.com/s/jwsuu6mz9ez84ss/sampleFile.pdf?dl=0" rel="noreferrer">here</a></p>