Ms office SplitButton的双功能区项目
我开发了MS Office附加模块,该附加模块通过以下方式扩展ribbon:Ms office SplitButton的双功能区项目,ms-office,ribbon,Ms Office,Ribbon,我开发了MS Office附加模块,该附加模块通过以下方式扩展ribbon: <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" loadImage="GetImage" onLoad="OnRibbonLoad"> <ribbon> <tabs> <tab idMso="TabHome"> <group id="MyAppGroup
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" loadImage="GetImage" onLoad="OnRibbonLoad">
<ribbon>
<tabs>
<tab idMso="TabHome">
<group id="MyAppGroup" label="MyApp">
<splitButton id="SaveSplitButton" size="large" getEnabled="GetSaveButtonEnabled">
<menu id="SaveMenu" label="Save" itemSize="normal">
<button id="SaveMenuButton" image="save.png" label="Save to MyApp" onAction="SaveCommand" screentip="Saves the document" />
<button id="SaveAsMenuButton" label="Save to MyApp As" onAction="SaveAsCommand" screentip="Saves the document under a new name" getEnabled="GetSaveAsButtonEnabled"/>
</menu>
</splitButton>
</group>
</tab>
</tabs>
当我进入文件>选项>自定义功能区(在任何Office应用程序中)时,我希望在“主页”选项卡中看到“MyApp”组,其中有一个“保存”菜单,其中只有一个“保存到MyApp”和一个“保存到MyApp为”子项。但是,我在“保存”菜单下得到了“保存到我的应用程序”项
我知道,如果我将“SaveMenuButton”从菜单右键移动到splitButton,那么我就不必再重复了,但我需要菜单中的这两个选项
专家们!请帮忙