Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

Disable button under Paste Options: in Office 2013

$
0
0

Hi,

I am working on Office 2013 Addins. I'm doing a customized Paste functionality, by ribbon ->

<command idMso="Paste" enabled="true" onAction="PasteModificaton"/>

But normal paste is happening from the Paste Options: in rt-click(context menu) and TabHome->GroupClipboard

  • Keep  Source Formatting
  • Merge Formatting
  • Keep Text Only 

How can the above 3 buttons be disabled by ribbon or what is idMso for the buttons so that its onAction callback can be customized?

I have gone through all the possible idMso in the list available in 'Office2013FluentUserInterfaceControlIdentifiers' like PasteTextOnly, PasteMergeFormatting etc. but these are not disabling the 3 buttons. 

1. Rt-Click context menu

Rt-Click context menu

2. TabHome->groupclipboard

How can this buttons be disabled?


Regards, Sayan



Viewing all articles
Browse latest Browse all 2257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>