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

unable to export .jpg image from radEditor to MSWord

5 Answers 108 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Priya
Top achievements
Rank 1
Priya asked on 11 Nov 2011, 09:45 AM
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

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Nov 2011, 09:48 AM
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
0
Priya
Top achievements
Rank 1
answered on 14 Nov 2011, 06:47 AM
can u share a peice of code to convert RadEditor Content to MSWord
0
Princy
Top achievements
Rank 2
answered on 14 Nov 2011, 10:20 AM
Hello Priya,

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

Thanks,
Princy.
0
Priya
Top achievements
Rank 1
answered on 14 Nov 2011, 12:39 PM
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..
0
Rumen
Telerik team
answered on 14 Nov 2011, 12:53 PM
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
Tags
Editor
Asked by
Priya
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Priya
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or