Hi,
I have converted HTML file to RTF/Word using Aspose.Words. It seems that the styles are not fully applied in the converted RTF/Word file.
Code Snippet (HTML to Word):
string dataDir = @"E:\Intelligize\PA3136\POC\Final Test";
Document doc = new Document(dataDir + "\\" + "input.html");
doc.Save(dataDir + "\\ConvertedWordFile.doc");
HTML to RTF:
Aspose.Words.LoadOptions loadoptions = new Aspose.Words.LoadOptions();
string dataDir = @"E:\Intelligize\PA3136\POC\Final Test";
Document doc = new Document(dataDir + @"\input.html", loadoptions);
doc.Save(dataDir + @"\ConvertedRTFFile.rtf", SaveFormat.Rtf);
I have uploaded HTML file and converted RTF/Word files. Please help me to resolve this issue.
ConvertedDocuments.zip (112.8 KB)
Thanks.