RadEditor Export to RTF (Table Column Widths Not Holding)

4 posts, 0 answers
  1. Joshua Kent
    Joshua Kent avatar
    15 posts
    Member since:
    Nov 2009

    Posted 29 Dec 2010 Link to this post

    I have been playing with your demo of rtf exporting at http://demos.telerik.com/aspnet-ajax/editor/examples/rtfexport/defaultcs.aspx

    If I add a table and give the columns widths (or not) and I export it to rtf I get a table in the rtf that has the smallest width possible for the table columns. One letter per row. Is there someway to fix this?

    Josh
  2. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 31 Dec 2010 Link to this post

    Hi Josh,

    The export to RTF feature of RadEditor, which is based on a free third party exporter tool, does not support exportation of table elements. Unfortunately, it is not an easy task to provide this feature in the current build of the editor and I cannot provide a firm estimate when this feature will be implemented.

    Here are more details about the RTF export and import:

    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.
    Here is 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
    images- unsupported
    indentations - supported



    Best regards,
    Rumen
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Goldie
    Goldie avatar
    2 posts
    Member since:
    Mar 2012

    Posted 10 Apr 2012 Link to this post

    In your post below you have the link to the same article for Import to RTF and Export to RTF features.
    Can you clarify if this is correct?
    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.
  5. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 11 Apr 2012 Link to this post

    Hi,

    Here are the correct links:
    RFT to HTML library: http://www.codeproject.com/KB/recipes/RtfConverter.aspx.
    HTML to RTF library: http://www.codeproject.com/KB/HTML/XHTML2RTF.aspx.

    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.
Back to Top