RTF Not Being Generated Correctly

Last post 08-02-2007, 10:20 AM by clichekiller. 3 replies.
Sort Posts: Previous Next
  •  08-01-2007, 7:15 AM 32076

    RTF Not Being Generated Correctly

    Copy and paste the following 3 lines of test text into CuteEditor:
     
    this test does not include bullets this time
    let's see if this text runs together in rich text
    what about this text where words adjacent have the same formatting
     
    If this gets exported in RTF, it generates the following:
     
    {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\colortbl;\red0\green0\blue0;\red255\green0\blue0;}{\fonttbl {\f0\fswiss\fcharset1252 Times New Roman;} {\f1\fswiss\fcharset1252 comic sans ms;} }{\*\generator CuteEditor 5.0;}\viewkind4\uc1\pard\par \pard\cf1\f0\fs24\qj\b0\i0\ulnone \cf1\f0\fs24\qj\b1\i0\ulnone this\cf1\f0\fs24\qj\b0\i0\ulnone test \cf1\f0\fs24\qj\b0\i1\ulnone does\cf1\f0\fs24\qj\b0\i0\ulnone not \cf1\f0\fs24\qj\b0\i0\ul include\cf1\f0\fs24\qj\b0\i0\ulnone bullets \cf2\f1\fs24\qj\b0\i0\ulnone this\cf1\f0\fs24\qj\b0\i0\ulnone time\par \pard\cf1\f0\fs24\qj\b0\i0\ulnone \cf1\f0\fs24\qj\b0\i1\ulnone let's\cf1\f0\fs24\qj\b1\i0\ulnone see\cf1\f0\fs24\qj\b0\i0\ul if\cf1\f0\fs24\qj\b1\i0\ulnone this\cf1\f0\fs24\qj\b0\i1\ulnone text\cf1\f0\fs24\qj\b0\i0\ul runs\cf1\f0\fs24\qj\b1\i0\ulnone together\cf1\f0\fs24\qj\b0\i1\ulnone in\cf1\f0\fs24\qj\b0\i0\ul rich\cf1\f0\fs24\qj\b1\i0\ulnone text\par \pard\cf1\f0\fs24\qj\b0\i0\ulnone \cf1\f0\fs24\qj\b0\i1\ulnone what about\cf1\f0\fs24\qj\b1\i0\ulnone this text\cf1\f0\fs24\qj\b0\i0\ul where words adjacent\cf2\f0\fs24\qj\b0\i0\ulnone have the \cf1\f0\fs24\qj\b0\i0\ulnone same formatting}
     
    Which means the text incorrectly appears like this when loaded in an RTF editor (including Cute):
     
    this test does not include bullets this time
    let'sseeifthistextrunstogetherinrichtext
    what aboutthis textwhere words adjacenthave the same formatting
     
    So it appears that spacing is not being preserved when adjacent words have different formatting.
     
    I have two different applications loading this RTF code, so I can verify that it is the way that Cute Editor saves the RTF, and not the way it loads it.
     
    When using Application A, which has Cute Editor, if I save the original test text (in my top example), it appears incorrectly in both applications.  When using Application B, which uses a different RTF editor, if I save the same test text, it loads properly in both applications.  This can only lead me to believe that the way in which CuteEditor is exporting RTF is not correct.
     
    Can you please let me know when there will be a fix for this, or in the meantime, if there is a workaround?
     
    Thanks,
    -Chris
  •  08-01-2007, 3:01 PM 32090 in reply to 32076

    Re: RTF Not Being Generated Correctly

    crp,
     
    For the RTF issue, please wait for the version 6.1.
     
    The development of the current parser is terminated. We will include a new parser when version 6.1 comes up.
     

    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

  •  08-02-2007, 6:29 AM 32113 in reply to 32090

    Re: RTF Not Being Generated Correctly

    Adam,
     
    Is there any indication on when version 6.1 may be available?  Even a rough point in time?
     
    Thank you,
    -Chris
  •  08-02-2007, 10:20 AM 32121 in reply to 32113

    Re: RTF Not Being Generated Correctly

    crp:
    Adam,
     
    Is there any indication on when version 6.1 may be available?  Even a rough point in time?
     
    Thank you,
    -Chris
    This is of great interest to me as well. 
View as RSS news feed in XML