Hello,
We were experimenting with converting a Word document to HTML. We have been successfully converting .doc to .pdf for years now using Aspose, but may have a need for HTML as well. We have been doing this from C++, as follows:
LPDISPATCH disp = m_ComHelper.Open(strDocFileName);
if (!disp)
throw pExc;
_AsposeDocument wordDoc(disp);
wordDoc.Save(strFileName); // this is a .pdf file name
For conversion to HTML, I changed strFileName to be a .mhtml file.
The conversion succeeded, but there were problems with the header. I have attached the original .doc file, and the resulting .mhtml file. (I had to rename the .mhtml to be .txt in order to be able to attach the file).
Are there some additional settings I must make to get it to convert correctly?
We are using Aspose.Words version 11.7.0.
Thank you.
Tom Edwards
DR Systems, Inc.