title: NetOffice-Read word document as HTML
body: <p>I'm using Visual Studio 2010. C# programming language; .NET framework 4.0
  For reading word documents, I'm using NetOffice  1.5.1.2 libraries.<br>
  In my controller:</p>
  
  <pre><code>       NetOffice.Factory.Initialize();
          // open word and an existing document
          NetOffice.WordApi.Application wordApplication = new  NetOffice.WordApi.Application();
          NetOffice.WordApi.Document newDocument = wordApplication.Documents.Open(@"C:\myWordFile.docx");
  
          // read text of document
          string text= newDocument.Content.Text;
  
          // close word and dispose reference 
          wordApplication.Quit();
          wordApplication.Dispose();
  </code></pre>
  
  <p>But, text is just plain text. What I need to have is HTML text for display in the browser exactly the same format in word document. Include tables, fonts,...<br>
  I don't know how to do it. Any help,Please!<br>
  Thank you so much. </p>