MS Word bullets not recognized

Last post 01-29-2009, 11:19 PM by karl0. 3 replies.
Sort Posts: Previous Next
  •  01-28-2009, 11:29 PM 48181

    MS Word bullets not recognized

    Hi
     
    you can reproduce the following problem in your demo or even this editor window
     
    the following is from MS word, it came with bullets but cute editor does not recognize the bullets from MS word, if you select a row and choose bullet on the toolbar you get what you see in line 1 , two bullets.
     
    • ·         First bullet point: size 12, arial font and the whole sentence is bold.

    ·         Second bullet point- size 12, arial font and the words “bullet point” is in italics.

    ·         Third bullet point- size 12, arial font and the words “bullet point” is in bold.

    ·         Fourth bullet point: size 12, arial font and the words “bullet point” is underlined.

    ·         Fifth bullet point: size 16, and the font is times new roman.


     

     In other words ce does not convert word bullets into ce bullets. This is a pain when you have a lot of word files to put into a database via ce. What can I do?
     
    Thanks
     
  •  01-29-2009, 10:46 AM 48198 in reply to 48181

    Re: MS Word bullets not recognized

    Can you try this example http://cutesoft.net/example/editor-onpaste.aspx and set EditorOnPaste property to ConfirmWord?
     
    When you pasting the content from Word into the editor, Editor will prompt users with a popup prompt to clean the non-required code.  Please select No.
     
    I want to see the original code from Word.

    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-29-2009, 5:48 PM 48210 in reply to 48198

    Re: MS Word bullets not recognized

    Just a couple of things on what you said
     
    1. If I choose confirm Word the dialog only appears by clicking the paste icon or by right click and paste, not Ctrl + V
    2. There is no "No" option only insert or cancel,
    3. If I choose insert the text is "supposedly cleaned", there is actually no difference and is entered which is not what you want to see.
    4. If I choose Cancel, obviously there is no text entered
    5. so I used Ctrl + V which pastes anyway without showing a dialog box.
     
    This is the result you want to see.
     
    <p style="margin-left: 54pt; text-indent: -18pt;"><span style="font-size: 12pt; font-family: Symbol;">·<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><strong><span style="font-size: 12pt; font-family: Arial;">First bullet point: size 12, arial font and the whole sentence is bold.</span></strong></p>
    <p style="margin-left: 54pt; text-indent: -18pt;"><span style="font-size: 12pt; font-family: Symbol;">·<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size: 12pt; font-family: Arial;">Second <em>bullet point</em>- size 12, arial font and the words “bullet point” is in italics.</span></p>
    <p style="margin-left: 54pt; text-indent: -18pt;"><span style="font-size: 12pt; font-family: Symbol;">·<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size: 12pt; font-family: Arial;">Third <strong>bullet point</strong>- size 12, arial font and the words “bullet point” is in bold.</span></p>
    <p style="margin-left: 54pt; text-indent: -18pt;"><span style="font-size: 12pt; font-family: Symbol;">·<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size: 12pt; font-family: Arial;">Fourth <u>bullet point</u>: size 12, arial font and the words “bullet point” is underlined.</span></p>
    <p style="margin-left: 54pt; text-indent: -18pt;"><span style="font-size: 16pt; font-family: Symbol;">·<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size: 16pt; font-family: &quot;Times New Roman&quot;;">Fifth bullet point: size 16, and the font is times new roman.</span></p>
     
    It is really worth nothing the difference between some of these key combinations and fixing because it is a pain for developers to work with.
     
     For instance
    If i try and trap the Paste command in order to do some custom filtering, using CuteEditor_OnCommand, there are differences in behavior if i use the ctrl + v or right click paste, depending on the EditorOnPaste setting. If it's "default" then Ctrl + V is not ignored, but if it is set to "PasteWord", bot ctrl + v and menu paste are trapped. However they result in different outcomes, the editor on paste for instance strips word bullets completely, whilr ctrl + v does nothing. It's too difficult to work with. you need to decide on a consistent strategy and implement it.
     
     
     
     
     
     
     
  •  01-29-2009, 11:19 PM 48216 in reply to 48210

    Re: MS Word bullets not recognized

    actually Adam, the problem is Word 2007 format. It works fine with 2003
View as RSS news feed in XML