This is a migrated thread and some comments may be shown as answers.

RadEditor Export to RTF (Table Column Widths Not Holding)

3 Answers 96 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Joshua Kent
Top achievements
Rank 2
Joshua Kent asked on 29 Dec 2010, 08:36 PM
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

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Dec 2010, 01:30 PM
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.
0
Goldie
Top achievements
Rank 1
answered on 10 Apr 2012, 03:25 PM
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.
0
Rumen
Telerik team
answered on 11 Apr 2012, 09:57 AM
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.
Tags
Editor
Asked by
Joshua Kent
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Goldie
Top achievements
Rank 1
Share this question
or