title: How to convert word to html using power tool xml
body: <p>I'm using <code>PowerToolXml.dll</code> as a reference to convert word to HTML this is my code </p>
  
  <pre><code>using OpenXmlPowerTools;
  using DocumentFormat.OpenXml.Wordprocessing;
  
  byte[] byteArray = File.ReadAllBytes(DocxFilePath);
  using (MemoryStream memoryStream = new MemoryStream())
  {
      memoryStream.Write(byteArray, 0, byteArray.Length);
      using (WordprocessingDocument doc = WordprocessingDocument.Open(memoryStream, true))
      {
          HtmlConverterSettings settings = new HtmlConverterSettings()
          {
              PageTitle = "My Page Title"
          };
          XElement html = HtmlConverter.ConvertToHtml(doc, settings);
  
          File.WriteAllText(HTMLFilePath, html.ToStringNewLineOnAttributes());
      }
  }
  </code></pre>
  
  <p>But produces error at <code>WordprocessingDocument</code> this is not referred (i.e it produce not reference error) how to solve this problem?</p>