"Office 2010 Add-In: Icons Gallery" - How to extract icons from backstage tab (docx)
Asked Answered
N

6

22

I downloaded "Office 2010 Add-In: Icons Gallery" that is docx file with two backstage tabs that hold icons.

How can I extract the icons or use them in my application?

Norbertonorbie answered 7/1, 2011 at 8:40 Comment(4)
First of all, you shouldn't do this - that artwork is owned by Microsoft and not licensed for use in other applications. Second of all, read first of all.Surat
how can i use the icons then (no extraction) in my application? I have my own ribbon and i would like to use images from this gallery !Norbertonorbie
Anyone coming from Google search see my answer.. you will save yourself a ton of time. My answer contains links to transparent pngs, so no code necessary!Funicle
"Images are in the ImageMso 0 and ImageMso 1 tabs in the Backstage.". Go to File -> ImageMso 0/ImageMso 1. Sorted alphabetically.History
C
13

I use ImageMso quite frequently in my Excel development. Having stumbled on another post, I took it a step further and put a package together to visually search, extract and save icons from Microsoft Excel as a file or copy and paste (with alpha channel transparency) to another application. I also compiled a list of 8,899 distinct ImageMso names from the various sources. I hope others can find this useful.

Microsoft Office Icons (ImageMSO) Gallery & Extraction

ImageMSO Gallery on Microsoft Excel 2013 running Windows 8

Colossae answered 15/9, 2013 at 5:12 Comment(3)
When I open excel it asks me if I want to enable the addin for just the session or keep it disabled. I enable it and it's not there. I go into the addin options and it's not listed there as enabled or disabled.Funicle
It adds button INSERT tab, but clicking it does nothing (MSO2013x86)Jacy
Do you have any worksheets open? For some reason in Excel 2013 the add in window won't appear unless there's a worksheet open somewhere. Try creating a new worksheet then click again.Colossae
F
7

I suppose the first answer meant to say, that the icons are only meant to be used within Office; that is with Office add-ins and such.

They can be referred with Office Fluent UI definition XML for example. So the distribution form serves as visible "Ahh I want that icon in my add-in" reaction and then choosing the specified ID to use in "imageMso" attribute.

Like this (see proper full XML in Office Fluent UI customization)

<button id="Button1" imageMso="HappyFace" size="" label="Large Button Face" onAction="HandleOnAction" />
Facultative answered 18/3, 2011 at 15:32 Comment(1)
If you have an addin the imageMso tag is only available for custom ribbon/context menu items, not a button on a winform for example.Funicle
F
5

This article contains code that worked for me. They even linked the outputted icon sets in transparent PNGs in the article too, so that you don't need to run the code. I've copied the transparent PNG's links from the article below.

Images 1

Images 2

Note:

Although the icons had a transparent background only the image within the icon was transparent, I had to go into Photoshop and remove the white background manually at the top and bottom. Here's an example:

enter image description here

Funicle answered 16/6, 2014 at 16:8 Comment(0)
M
3

Go to tab "File" On the left panel you'll see list of backstage tabs

Moreira answered 28/8, 2013 at 9:37 Comment(0)
L
0

From this post, there are 2 download links for all ImageMso of Office 2010/2013. There is also source code so that we can extract Icons ourselves with different size.

Litton answered 7/8, 2015 at 13:18 Comment(0)
B
0

This is an old question, but I miss an "how to use" not "how to view" answer.

In Visual Studio 2015 you can just assign the name (or ID - shown in the docx File right below the pictures) to the "OfficeImageId" Property. This Property is for example available in Microsoft.Office.Tools.Ribbon.RibbonEditBox or .RibbonButton.

Blockbusting answered 6/11, 2017 at 12:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.