Adding Existing Group to Custom Ribbon in Office Word 2010

怎甘沉沦 提交于 2019-12-13 15:43:18

问题


I am creating a custom add-in ribbon for MS Word 2010. I wanted to know how, if possible, can I add button groups from the other native ribbon tabs to my custom tab without reprogramming/replicating those functions?


回答1:


You will have to reference the needed controls using the correct idMso-tag for each control in your customUI xml.

A description for how to find the correct idMso for built-in controls can be found at http://msdn.microsoft.com/en-us/library/aa722523%28v=office.12%29 (below "To find the idMso value for an application")

If you prefer a bunch of lists of IDs, here is one for Office 2010 to download: http://www.microsoft.com/en-us/download/details.aspx?id=6627



来源:https://stackoverflow.com/questions/10841134/adding-existing-group-to-custom-ribbon-in-office-word-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!