4

After some heavy googling, I've concluded that I'm unable to locate information on the id names for the different components of the ribbon in Office.

For instance, even though the following XML works, I need to hide the add-in error display due to TabMail being at fault when a new email is being created. It's my understand that it's because I currently target all windows in Outlook but should be only targeting the main one. When a new email is being created, my add-in tries to insert itself in there too failing and complaining.

<ribbon>
  <tabs>
    <tab idMso="TabMail">
      <group id="Animals" label="Animal group">
        <splitButton id="MainSplitButton" size="large">
          <button id="Donkey"
                  label="Donkey me"
                  getImage="GetImage"
                  showImage="true"
                  onAction="Donkey_Click"/>
          ...
  • Where can I find the list of all (or at least the most common) tab and group names?
  • Or at least, what to google for (apparently my searches weren't based on words distinctive enough)?

While preferring the digital information, I'd be willing to purchase some literature covering Office add-in development. Even on that subject my search was inconclusive (many hits, no one of which feeling like the right stuff.)

Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438

2 Answers2

4

For Office 2007 see this link, for Office 2010 Fluent UI click here and the 2013 version is here.

I also didn't find much good literature, but there is tons of posts on forums and since I work for Excel only (which has quite a good developer community) I settled with that.

Mitja Bezenšek
  • 2,503
  • 1
  • 14
  • 17
  • Thanks, mate! I'll check that out. Generally, it's very difficult to fins info on ribbon, IMHO. For instance, I can't find a way to reference a checkbox (needs to be set to true programmatically). Very annoying... – Konrad Viltersten May 13 '13 at 12:31
-1

If you are looking documentation for using Ribbon callbacks here you go

For Office 2007

http://msdn.microsoft.com/en-us/library/office/aa338199(v=office.12).aspx http://msdn.microsoft.com/en-us/library/office/aa722523(v=office.12).aspx

For Office 2010

http://msdn.microsoft.com/en-us/library/ee691833(v=office.14).aspx

Kiru
  • 3,489
  • 1
  • 25
  • 46