Hi, I am trying to import an HTML file, c:/temp/1_R-WD-Minute_R.html (attached), and save it as a DOCX but the c:/temp/1_R-WD-Minute_R_Header.html file (attached) is not being included so the final DOCX (attached) has no header. In the 1_R-WD-Minute_R.html file I’ve used relative and absolute paths but that did not help.
Headers_issue.zip (18.4 KB)
Any help would be appreciated as we’ve now purchased Aspose.Words and have stalled at this point.
Thanks,
Warrick
Code used is:
static void Main(string[] args)
{
string fromDocument = "c:/temp/1_R-WD-Minute_R.html";
string toDocument = "c:/temp/1_R-WD-Minute_R.docx";
Document doc = new Document(fromDocument);
doc.Save(toDocument);
}