wordpress hit counter
Welcome to OpenXML Developer Sign in | Join | Help

Custom UI Editor Tool

Click here to download the latest version of this tool updated to work with the RTM schemas.

The 2007 Microsoft Office System has an all-new "ribbon" interface which developers can customize in many ways. One of the ways to extend the ribbon is to insert an XML part into an Office Open XML document that defines your custom UI. With this approach, you can add new groups and controls, hide existing ribbon elements, and define callbacks to handlers that you write in managed code.

The XML part is not part of the Open XML format itself but could be added to any XML document by using a new namespace. The Open XML file formats are fully extensible, so applications can store information like workflow, metadata, custom XML, or even custom UI behaviors in a document that aren't necessarily tied to the document content.

Adding your custom-UI part to an Office Open XML document requires that you create a folder within the package, drop in your part, then define a relationship to the new part. For more information about how it all works, check out this technical artice or the "Extending the Office 2007 UI with a Custom Ribbon" screencast on this page.

custom UI editor

Attached to this post is a great utility for working with ribbon customizations stored in Office Open XML documents: Trang Luu's custom UI editor. It's a Windows tool that automates the process of putting your custom UI part into the package and defining a relationship to it: that's all handled by a single mouse click.

You open an existing document with File/Open, then enter your custom UI XML into the main edit box. (Click the image to the right for a full screen shot.) Other options include inserting icons for your custom control, generating callbacks, and validating your custom XML.

Install the tool and try it out, and if you have any questions about using it you can post them right here.

Comments

 

dmahugh said:

I noticed there's a great list of ribbonX developer resources on Jensen Harris's blog, courtesy of Office programmability guru Savraj Dhanjal.  Here's the link:

http://blogs.msdn.com/jensenh/archive/2006/05/25/606819.aspx
May 26, 2006 8:26 PM [Remove this Comment]
 

Roger said:

hi... how are you, i try to make my own ribbon "tabs" and i try to make the example of the article (msdn), but nothing happends, i think of my problems is with the schemas, i used Office Beta 2, but i replace some schemas already. what´s the problem?? i can´t see any personalized "tab".

thanks in advance..
June 13, 2006 1:48 AM [Remove this Comment]
 

keeron said:

Can you post the source code for this? It'd be interesting to see how you did this, as well as allow someone to extend it.

Thanks
June 16, 2006 10:50 PM [Remove this Comment]
 

Checho said:

hi im new here and what i like to know if this program is free??
November 12, 2007 10:15 AM [Remove this Comment]
 

sherik said:

I can't find an option through Office UI Editor tool which enables me to set a value for a label in Hebrew. Whilst typing Hebrew letters they are seen for a moment and after that are replaced with other characters, i.e.:
<group id="X" label="אבג" >   is changed to:
<group id="X" label="="??â" >  
Is there any solution for this problem other than using getLabel callback? Any suggestions would be appreciated.
January 6, 2009 7:43 AM [Remove this Comment]
 

yardview said:

I'm new here from china. and tried this amazing application. there's problem is if i use the chinese character, it will work abnormal. when will this application support the chinese character? thanks!
June 14, 2009 11:16 AM [Remove this Comment]
Anonymous comments are disabled