unable to export .jpg image from radEditor to MSWord

6 posts, 0 answers
  1. Priya
    Priya avatar
    21 posts
    Member since:
    Sep 2011

    Posted 11 Nov 2011 Link to this post

    i have a RadEditor which contains text and image as its content,when exporting to word it displays onlt text but no image.suggest a solution for this issue
  2. Rumen
    Admin
    Rumen avatar
    14431 posts

    Posted 11 Nov 2011 Link to this post

    Hi Priya,

    You should ensure that the images have valid absolute paths so that the XHTML2PDF converter can locate and get them before the conversion.

    Greetings,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. Priya
    Priya avatar
    21 posts
    Member since:
    Sep 2011

    Posted 14 Nov 2011 Link to this post

    can u share a peice of code to convert RadEditor Content to MSWord
  4. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 14 Nov 2011 Link to this post

    Hello Priya,

    You can take a look into the following demo.
    Editor / Import Export to RTF

    Thanks,
    Princy.
  5. Priya
    Priya avatar
    21 posts
    Member since:
    Sep 2011

    Posted 14 Nov 2011 Link to this post

    i tried ur example given in following link
    http://demos.telerik.com/aspnet-ajax/editor/examples/rtfexport/defaultcs.aspx

    but not able to get image in rtf file..rest all contents are rendered but no image..
  6. Rumen
    Admin
    Rumen avatar
    14431 posts

    Posted 14 Nov 2011 Link to this post

    Hi Priya,

    The importation and exportation of images is not supported by the built-in import / export RTF feature of RadEditor.

    The editor uses two different free libraries to provide Import to RTF and Export to RTF features.

    The first one used to provide RFT to HTML importation is available in this CodeProject's article: http://www.codeproject.com/KB/recipes/RtfConverter.aspx.
    The library used for HTML to RTF exportation is available here http://www.codeproject.com/KB/HTML/XHTML2RTF.aspx.
    Both libraries are written by different developers and they are not fully compatible with each other.

    For your convenience I prepared a list of know limitations of the Import and Export features of both libraries:

    RFT to HTML (Import)

    bold
    - supported. I was able to export bold formatting from the provided by you Bold.rtf file.
    italic - supported
    underline - supported
    foreground and background colors - supported
    table elements - unsupported
    images- unsupported
    indentations - unsupported


    HTML to RTF (export)


    bold - supported.
    italic - supported
    underline - unsupported
    foreground and background colors - unsupported
    table elements - partially supported - table borders are not exported
    images- unsupported
    indentations - supported
    font family and size - unsupported

    The unsupported scenarios are hard for development and require more time for implementations and testing. Our development is concentrated currently on producing valid XHTML content and the import and export problems are logged with medium priority in our ToDo list. That is why we could not provide firm estimate for when the unsupported features will be available.

    Please note that good RTF import and export tools are very expensive. If you are currently unsatisfied with the offered by RadEditor RTF functionality, you could search in Internet for another free or paid RTF to HTML importation and HTML to RTF exportation tools and we will help you to integrate them with RadEditor.

    All the best,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top