When exporting to rtf formatted strings stick together

Last post 07-31-2007, 7:48 AM by crp. 3 replies.
Sort Posts: Previous Next
  •  03-06-2006, 2:44 AM 16732

    When exporting to rtf formatted strings stick together

    Hi,

    When formatting the words in the phrase ex. " Hello World, This is a test"  in rtf I get 

    "HelloWorld,Thisisatest"  all the spaces are missing.


    Thanks!


  •  03-06-2006, 10:55 AM 16752 in reply to 16732

    Re: When exporting to rtf formatted strings stick together

    We are investigating this issue and will post an update as soon as possible.
     
     

    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

  •  03-14-2006, 12:09 PM 17169 in reply to 16752

    Re: When exporting to rtf formatted strings stick together

    Any news?

    Well we managed to change the default font and size (at least I hope so) to Arial - 10, but if I don't change the font and size manually the exported font (to rtf) and size are allways Times New Roman - 12. After changing manually the font is correct.
    It may be because the html has no font tags unless you change the font, so when converting to rtf you just use your default font and size which is not the same as mine.
    Should I change something else beside the css file in the
    EditorWysiwygModeCss property?



  •  07-31-2007, 7:48 AM 32030 in reply to 16752

    Re: Exporting to RTF-formatted strings does not preserve whitespace

    Adam,
     
    We are having the same issue in our application.  When we use the LoadRTF method, such as the following example, no whitespace seems to be preserved.
     
    Example code:
    string temp = "here_is_a_bunch_of_rtf_markup_with_spaces_between_words";
    editor.LoadRTF(temp);
     
    If the original, formatted text was: Here we have a test.
    Then the output from loading the RTF formatted text will be: Herewehaveatest.
     
    Is there a fix or a workaround for this yet?
    Thanks.
View as RSS news feed in XML