Third party RTF editor

Hi, I have a website and desktop app using the TE Editor control from Rich Text Edit Control is Pure Editor JavaScript - RTF Editor Component


It works very well with word or wordpad rtf documents, but when I try to load an RTF generated with Aspose Words the control throws an exception “Division by Zero”.

You can try the Java version of the editor here. http://subsystems.com/tej.htm

I’m pretty sure that both are following RTF standard, then why do we have this problem?

Is there any setting to change the version of RTF or something?

Thanks,
Rolando

Hi Rolando,

Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word does. It would be great if you please share your RTF (generated via Aspose.Words) here for investigation purposes. I will investigate the issue on my side and provide you more information.

Hi Tahir,


Attached goes two RTFs, the original created with MS word and the same document loaded and saved with aspose.

Rolando

Hi Rolando,

Thanks for sharing the documents. Firstly, I suggest you please upgrade to the latest version of Aspose.Words for .NET 13.12.0 from here:
http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/entry516972.aspx


Secondly, I have not found any issue with RTF files. Both files can easily open in MS Word and load into Aspose.Words DOM. I have also loaded the the RTF file generated via Aspose.Words in Third party RTF editor and have not found any issue. Please check the attached image for detail.