RTF to HRML conversion

Last post 01-31-2006, 11:21 AM by angel_f. 2 replies.
Sort Posts: Previous Next
  •  01-30-2006, 7:03 PM 15374

    RTF to HRML conversion

    Few days ago I asked in this forum, if there is a way to convert HTML to RTF  and RTF to HTML without using SaveToFile and Read from file. Adam give me some pointers  about  HTML to RTF conversion but from what I understood only version 5.2 will be able to do the opposite RTF to HTML.
    Now 5.2 is out but I still cannot find a method to do RTF to HTML conversion for me in "CuteEditor.Convertor.RTF"  namespace.
    Am I missing something or 5.2 does not have integrated RTF to HTML converter?
    Thanks
    Angel
  •  01-30-2006, 10:53 PM 15375 in reply to 15374

    Re: RTF to HRML conversion

    Angel,
     
     
    Example:
     
     // string t = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 Hello\par } "; 

    Editor1.LoadRTF(t);
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-31-2006, 11:21 AM 15395 in reply to 15375

    Re: RTF to HRML conversion

    Hi Adam,
    Thanks for the prompt response. I tried it but when application runs I got following error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: ?

    Source Error:

    Line 197:				<add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 198:				<add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 199:				<add assembly="*"/>
    Line 200:			</assemblies>
    Line 201:		</compilation>

    Source File: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config    Line: 199

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CuteEditor' could not be loaded.

     

View as RSS news feed in XML