Hi,
I'm using a Ribbon XML to override copy and paste events, just like this:
public void OnCopy(IRibbonControl control, bool cancelDefault) { Report.Document.Application.Selection.Copy(); } public void OnPaste(IRibbonControl control, bool cancelDefault) { Report.Document.Application.Selection.Paste(); }
And it works perfectly. I've put some MessageBox.show("something") just to be sure and they got fired, so it works. And I've debugged into the methods too.
Ok. Now what I want is to get the content controls that are copied when the user presses "ctrl+C". They must be in the clipboard but I can't find any way to get them. In other words, I want to get a list of ContentControl from the clipboard data.
Thanks in advance,
Javier Montoro