RadEditor doesn't preserve font attributes while exporting to RTF

2 posts, 0 answers
  1. Hitesh
    Hitesh avatar
    3 posts
    Member since:
    Aug 2012

    Posted 25 Aug 2011 Link to this post

    In the RadEditor, if there are any font attributes such as font size and fontname applied to the text then those settings are not preserved while exporting the text to rtf. Do let me know If anyone has encountered the problem and workaround for the same.

     

    Thanks in advance.

  2. Rumen
    Admin
    Rumen avatar
    14031 posts

    Posted 26 Aug 2011 Link to this post

    Hello Hitesh,

    RadEditor 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/recipes/RtfConverter.aspx.
    As you can see 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

    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 this feature will be available.

    You should also note that good RTF import and export tools are very expensive and if we integrate such tools in RadEditor, the price of the Telerik suite will increase. That is why if you are currently not satisfied with the offered by RadEditor RTF functionality, you can 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.

    Best regards,
    Rumen
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top