title: Universal Microsoft Word document parser without Word installation
body: <p>In order to parse : Microsoft Word 97/2003 (.doc) &amp; Microsoft Word 2007/2010 (.docx) using C# and WPF without Word installation, I need to know if someone can give me a serious library to use in order to achieve that.</p>
  
  <p>Technically I iterate throught ZipEntry elements like that :</p>
  
  <pre><code>foreach (string file in _listPathFiles)
          {
              using (Ionic.Zip.ZipFile zip = ZipFile.Read(file))
              {
                  try
                  {
                      zip.ToList().ForEach(entry =&gt;
                      {
                          if (entry.FileName.EndsWith(".doc") ||
                              entry.FileName.EndsWith(".docx"))
                          {
                              // Extract file into disk
                              entry.FileName = System.IO.Path.GetFileName(entry.FileName);
                              entry.Extract(baseStoragePath);
  
                              // Get data from file with Parser
                              string filePath = baseStoragePath + entry.FileName;
  
  
                              // Remove extracted filess
                              if (File.Exists(filePath))
                              {
                                  File.Delete(filePath);
                                  Console.WriteLine("Delete : " + filePath);
                              }
                          }
                      });
                  }
                  catch (Exception e)
                  {
                      Console.WriteLine("Fail to unzip Exception : " + e.StackTrace);
                  }
              }
          }
  </code></pre>
  
  <p>I'm not sure that I can use ZipEntry directly to get the document, may be I will have to unzip it before parsing ?!</p>
  
  <p>And my goal is to get data located after a "Heading 1" Microsoft Word style, so the library should be able to get this kind of properties.</p>
  
  <p>Libraries ideas and code samples are welcome..</p>