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

Copy & Paste graphic content from Word/PowerPoint

3 Answers 139 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Yogesh Shetty
Top achievements
Rank 1
Yogesh Shetty asked on 19 Sep 2011, 04:49 PM
We are evaluating Telerik Rich Text Editor control. .. pretty cool control !! but one of the features our users are looking for is ability to copy/cut graphic content such as chart/image from word/excel/power point and ability to directly paste it in rich text editor. We tried this in demo version but it didn't worked. Is this possible ? Or there any alternatives to make this happen ? 

Thanks
Yogesh

3 Answers, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 22 Sep 2011, 12:07 PM
Hello Yogesh,

Rich text copy/paste can only be done in one document or between two instances of RadRichTextBox in the same application. This is a limitation of Silverlight's clipboard, which we can do nothing about.
In comparison, rich text copy/paste from Word, OpenOffice, etc. works correctly with the WPF version of the control, because the framework allows it.

All the best,
Iva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Was
Top achievements
Rank 1
answered on 22 Apr 2014, 02:38 PM
Hi Iva, i'd like to import docx file, then read(parse) all charts in it and replace them with inlinecontainers, but i can't find chart in when parsing imported document. Do you simply remove all the charts while importing, so they are inaccessible anymore?

I know, that "InlineUIContainers are ignored when exporting with DocxFormatProvider and RtfFormatProvider, as RadRichtextBox's concept of controls is different from that of Microsoft Word.", but i don't suppose to edit charts, i just want to parse them
0
Petya
Telerik team
answered on 23 Apr 2014, 02:33 PM
Hello,

Importing a file in RadRichTextBox from any of the supported formats parses the document to the native document model of the control with base element RadDocument. This model does not have a concept of charts and there is no mechanism for preserving unsupported data when importing. What the control does is it tries to handle the content as best as possible and show the results. For this reason parsing the charts after the import would not be possible and I cannot suggest a way for achieving the desired result.

Genuine support for charts in RadRichTextBox is in our to-do list, but at this point is not scheduled. I created an item in our Feedback & Ideas Portal where you can upvote the feature and be notified for its progress. You can find the item here.

Let me know if you have any additional questions.

Regards,
Petya
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
RichTextBox
Asked by
Yogesh Shetty
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Was
Top achievements
Rank 1
Petya
Telerik team
Share this question
or