We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

HTML to RTF

Hello,


I’m currently testing your product for a project where I need to convert HTML to RTF. I’m trying to load the html document into a document object but the line of code never finishes to execute.
string strAddress = @“D:\blah.html”;
Document t = new Document(strAddress, new LoadOptions(LoadFormat.Html, null, null));

Any suggestions?

Thanks,




This message was posted using Page2Forum from Dinner Invitation - Aspose.Words Demos

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Could you please attach your HTML document here for testing? I will check the problem on my side and provide you more information.

Best regards,

It took a while but it did load… unfortunately the save to rtf didn’t keep the same format.


I can’t post the html since it contains non-public information…

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for additional information. You can replace sensitive information with dummy data and attach your input HTML here for testing. This will help us to reproduce the problem.

Best regards,