Hi,
I have converted PDF file to HTML using Aspose.PDF (PDF to HTML) Converter. Now I am trying to convert that HTML file to RTF using Aspose.Words but stylesheet (generated through Aspose.PDF) is not applied in the converted RTF file.
Code snippet:
Aspose.Words.LoadOptions loadoptions = new Aspose.Words.LoadOptions();
string dataDir = @“E:\Converters\Aspose.Words\HTMLtoRTF”;
Document doc = new Document(dataDir + @"\jumpstar_business_mergedDocument.htm", loadoptions);
doc.Save(dataDir + @"\jumpstar_business_mergedDocument.rtf", SaveFormat.Rtf);
I have attached zip folder containing HTML and converted RTF File. Please help me to apply styling on RTF file.
Thanks.
HTMLtoRTFConversion.zip (358.7 KB)