Copy & Paste graphic content from Word/PowerPoint

4 posts, 0 answers
  1. Yogesh Shetty
    Yogesh Shetty avatar
    3 posts
    Member since:
    Oct 2009

    Posted 19 Sep 2011 Link to this post

    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
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 22 Sep 2011 Link to this post

    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 >>

  3. DevCraft banner
  4. Was
    Was avatar
    16 posts
    Member since:
    Dec 2012

    Posted 22 Apr 2014 in reply to Iva Toteva Link to this post

    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
  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 23 Apr 2014 Link to this post

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