将现有组添加到Office Word 2010中的自定义功能区 [英] Adding Existing Group to Custom Ribbon in Office Word 2010

查看:129
本文介绍了将现有组添加到Office Word 2010中的自定义功能区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为MS Word 2010创建一个自定义加载项功能区.我想知道,如果可能的话,如何可以将其他本机功能区选项卡中的按钮组添加到我的自定义选项卡中,而无需重新编程/复制这些功能?

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?

推荐答案

您将必须为customUI xml中的每个控件使用正确的idMso标签来引用所需的控件.

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

有关如何为内置控件找到正确的idMso的描述,可以在

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

如果您喜欢一堆ID列表,请下载以下Office 2010列表:

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

这篇关于将现有组添加到Office Word 2010中的自定义功能区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆