Results 1 to 2 of 2

Thread: Extract icons from the Office 2007 Ribbon

  1. #1
    Join Date
    May 2009
    Posts
    1,611

    Extract icons from the Office 2007 Ribbon

    Office 2007 comes with a lot of icons in earlier versions without problems we could extract a folder and save them for later use. For example, in Word initially appears with eight tabs: Home (Home), Insert (Insert), Page Layout (Page Layout), References (References) Mail (Mailings), Review (Review), Vista (View) & Accessories (Add-ins). Another tab is also available, although not by default the Developer tab (Developer) which shows the commands for working with macros, basically, and activated from the program options, in the first screen by checking the 'Show Developer tab on the Ribbon. " In each of these tabs are the different commands that were previously in the Office menus and submenus.

    The main "problem" (which many users will not be a problem once they get used to this new interface) is we can not customize the Ribbon in a simple, understood as the way they did in previous versions Office, ie going to Tools / Customize and there options and add or remove buttons to the menus. To customize the Ribbon now the new Office XML file is required to read when you open Office and we will modify the Ribbon.

    The steps to follow:
    • Create a. XML we want to make customizations to the Ribbon.
    • Create a folder can be called CustomUI somewhere on your hard drive and attach the file to that folder. XML we've created.
    • Create or open an Office document in Office 2007 format (extensions: docx, docm, pptx, pptm, xlsx, xlsm)
    • Rename the file you want to customize by adding at the end (name and extension) as follows:. "Zip" (without the quotes). (For example, if the file is called Documento1.docx would have to rename it "Documento1.docx.zip") That got a file "container" which, if we open that contains the following elements:

    • After this process, we must add the folder where we saved our file to the compressed folder that we created when we rename the file.
    • We see that in the file. Zip _rels have a folder. Drag it to the desktop, open the file. Rels containing (with notepad, for example). Between the closing of the last item Relationship (the label is />) and the </ Relationships> add a line of text that will be the relationship between the name of the document and our customization file. . The line of text to be added is as follows
      <Relationship Type = "http://schemas.microsoft.com/office/2006/ Relationships / ui / extensibility" Target = "/ customUI / customUI.xml" id = "Customer" />
      Make sure that are specified correctly in the Target section of the folder name and file it contains. If we call the file and folder customui.xml CustomUI the route would be CustomUI / customui.xml. Also, the Id must be unique.
    • After editing the file. Rels save changes and drag the folder again. Rels with their file within the file. Overwrite original zip.

    • removing the. Zip the original file, so that we would, open it Documento1.docx and customizations should see if we have completed the process correctly.

  2. #2
    Join Date
    May 2009
    Posts
    1,611

    Re: Extract icons from the Office 2007 Ribbon

    Create XML files to customize the Office 2007 Ribbon:

    This XML file is to be attached to any amendments or customizations that we create in the Ribbon. A well-formed XML file must contain a single root element. All other elements must be defined within that root element. In addition there must be correspondence between the opening and closing tags, ie, every open tag must have a corresponding closing tag. Another important feature is that XML is case sensitive and sensitive, that is, if we open a label called <ribbon> we close it and </ ribbon>, because if we close it as well </ Ribbon> match and we will not detect will fail. Should also be properly nested elements and attributes superimpose and not repeat an item.

    There are applications that allow us to create XML files and also tell us if something is not doing well, but to create an XML file itself serves Notepad included with Windows.

    Having said this, by way of summary, we will focus on how to create XML files that allow you to customize the Ribbon. The general format of these files for our particular case is as follows:
    xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <customUI

    <ribbon>

    <tabs>

    <tab idMso = "TabHome">

    idMso= <group "GroupFont" visible="False" />

    </ Tab>

    </ Tabs>

    </ Ribbon>

    </ CustomUI>
    The preceding XML file hides the command group related to the sources in the Home tab of the Ribbon. The first line of file is mandatory and must be that as it is the root tag of all the customizations of the Ribbon. That is as follows:
    Code:
     <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    Each of the controls on the Ribbon has some specific attributes, but too many to comment on this article.

Similar Threads

  1. Replies: 4
    Last Post: 09-05-2012, 12:57 AM
  2. Customising Office 2007 Ribbon
    By ccordner in forum Tips & Tweaks
    Replies: 1
    Last Post: 26-01-2011, 05:50 AM
  3. Replies: 9
    Last Post: 25-10-2010, 12:18 AM
  4. How to Turn off the Ribbon in Office 2007
    By Silent~Kid in forum Windows Software
    Replies: 1
    Last Post: 27-10-2008, 06:39 PM
  5. Add custom tab to ribbon in office 2007?
    By Meng R in forum MS Office Support
    Replies: 2
    Last Post: 06-02-2008, 11:07 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,306,673.53581 seconds with 17 queries