views:

183

answers:

1

Hi,

I develop MS Office add-in which extends ribbon in the following way:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" loadImage="GetImage" onLoad="OnRibbonLoad">
 <ribbon>
  <tabs>
   <tab idMso="TabHome">
    <group id="PapirusGroup" label="Papirus">
      <splitButton id="SaveSplitButton" size="large" getEnabled="GetSaveButtonEnabled">
        <menu id="SaveMenu" label="Save" itemSize="normal">
          <button id="SaveMenuButton" image="save.png" label="Save to Papirus" onAction="SaveCommand" screentip="Saves the document on papirus.net" />
          <button id="SaveAsMenuButton" label="Save to Papirus As" onAction="SaveAsCommand" screentip="Saves the document on papirus.net under a new name" getEnabled="GetSaveAsButtonEnabled"/>
        </menu>
      </splitButton>
    </group>
  </tab>
</tabs>

When I go to File > Options > Customize Ribbon (in any Office application) I expect to see "Papirus" group in "Home" tab with one "Save" menu having only one "Save to Papirus" and one "Save to Papirus As" subitems in it. But instead I get "Save to Papirus" item doubled under the "Save" menu.

I know that if I move "SaveMenuButton" from menu right into the splitButton then I'll get rid of that doubling but I need these two options in the menu.

Experts! Please help!

A: 

Answered at http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/4740e240-3dcb-406d-a5d9-8e0366d99373

Jim
Yes, it was my question and It didn't solve the problem.
Mike Shilov