VBA Ribbon UI What is the name of the Word image - vba

Microsoft Word 2010
I am trying to find the imageMso for Word inside of Word 2010. Word has all the other Office products icons listed in WordControls.xlsx, but apparently not itself. I need it for a group image in my Word ribbon tab.
For the moment, I grabbed a copy of the one displayed in explorer.

CustomUI does provide images for most of the other Office applications, and even includes an icon for FoxPro, but it doesn't include images for Word or Visio.
And, no amount of poking around for an undocumented imageMso seems to work...
Subject to licence terms, you could try the new Fabric icons provided by Microsoft, but you'd have to embed the images and do your own image replacement if you wanted to reflect the right icon version for each version of Word.

Related

Customize ribbons for every MS Word document

I am new to development with VBA. I am working on a project based on MS Word macros.
Lately, I have been trying to create ribbons to access certain functionalities, but I have got limited success in it.
I want to customize ribbons using XML which should appear on all MS Word files and not the one I have used to customize ribbon.
Is there any way to create any XML file that can be utilised by all MS word documents without having to customize each one of them.
Thanks..
Regards
The answer for this is essentially the same as for making macros available to all documents:
Store the Ribbon in a template (together with the macros, so a dotm) and load it as an Add-in.
If it should load automatically, that means placing it in Word's STARTUP folder.

Editing the ribbon of an existing Power Point Add-In (to fix display error)

I have been asked to remedy a display error of an already existing Power Point Add-In (error occurs when moving from Office 2007 to Office 365)
See picture below
I need to get rid of the parts highlighted by the red boxes.
Primary question: How do I open the add-in-file (I have the original .pptm file) so that I can edit how the ribbon is displayed?
My Background: I know VBA very well but have never done XML-development of the ribbon before.
A pptm file uses the Open Packaging conventions of the Office Open XML specification. Open the pptm with WinZip or 7-zip, or rename the .pptm to .zip, and browse the contents. You should find a file within the zip-file called something like CustomUI.xml or CustomUI14.xml, although the exact name can be anything, and will be specified in the .rels file in the root of the file (there can be 2 files, one for Office 2007 and later ribbons, and one for Office 2010 and later, in which case the 2007 version is ignored in 2010 and later).
Once you've found the file, extract a copy, make your edits in any text editor, and then copy the file back into the pptm, replacing the existing ribbon customization file.
Then load the pptm, and check your changes were successful.
PowerPoint add-ins don't show their code in the VBE, by default, although macro-enabled presentations do. If it is an add-in, you may need to tweak the registry in order for the add-in project to display. See this article for details: How To View Your PowerPoint Add-in VBA Code Inside The Visual Basic Editor

Powerpoint 2013 alternative to saving as .mht

My work laptop was just reimaged with office 2013 and one of the first things I noticed was the removal of the option to save a ppt as a single file web page. One of the products that I routinely update on our sharepoint is a ppt slide with hyperlinks and rollover screen tips to make it interactive when viewed as a presentation.
I'm looking for advice on finding an alternative to using a .mht in conjunction with a page viewer web part to display the "live" slide. I'll also note that the office web apps feature is not currently enabled or available in the site settings.
Thank you and take care.

How can I open, edit and save an MS-Word document programmatically?

I want to make a word editor for IOS in which I can open MS-Word documents and edit them like in MS Office and after that I can save the document. Can anyone help? I couldn't find any helping code. I tried to find the SDK forms-office but that is not available. I have tried google sdk for text documents which is DrEdit https://github.com/googledrive/dredit
Open Office can read and write MS-Word Documents, and their code is open. Probably hard to find the right passages, but better that reverse engineering the format yourself.
The code is here:
http://openoffice.apache.org/downloads.html
You can try with ThatPDF . Its basically for annotation of PDF but you can customise it for word documents. Here is the Github link for the open source project.

Change thumbnail size in Sharepoint 2010

I tried to find it using google, but there are only tips for 2007.
I want to change a few layout things, which are:
The thumbnail size of an image library
The thumbnail size in a slide library
I found this good explanation here:
http://vspug.com/keutmann/2007/01/27/how-to-resize-the-thumbnails-in-a-picture-library/
But I can't find the screenshot view (these nice options) anywhere inside my Sharepoint Designer. Its 2010, so maybe they moved it somewhere else. Anyone has an idea where to find this options tab from the screenshot?
Thanks a lot,
Chris
The linked article does not describe SharePoint Designer, but rather SharePoint Manager, which appears to be a third party tool created by the author.
You could give it a try. Like the U2U CAML Query Builder, it might still work for SharePoint 2010, especially if it uses web services to connect to the site.
But if it doesn't, you should be able to write a Feature Receiver that will accomplish the same thing by modifying the ThumbnailSize property. That has to be what the SharePoint Manager tool is doing.
Regarding changing the thumbnail size of the Slide Library (which you cannot use Sharepoint Manager to do unlike the picture library)
This worked for me to get a bigger thumbnail..
Note that the solution relies on having a naming convention for your files which you apply after you have loaded them up to the slide library eg ENG_02_0010, ENG_02_0020 rather than leaving them named as is when uploaded to Sharepoint.
Create another field called Preview say and make it a picture (format url as picture)
For each uploaded slide put the url link as http://siteName/slidelibraryName/_t/ENG_02_0010_pptx.jpg (same name as your slide with a _pptx.jpg extension)
Get rid of the standard thumbnail from your view and put this new column next to the selection box
Worked for me, much bigger and readable thumbnail!
PS
In SP designer you can find all the jpg thumbnails in the _t directory under the slide library
You can also use CSS on the page where you're displaying the thumbnail images. Here is an example:
<style type="text/css">
img[alt="Thumbnail"] {height:100% !Important;width:100% !Important;}
</style>
This looks for the images with an alt attribute of 'Thumbnail'. I successfully tested this with a Slide library in SharePoint 2013 using IE & Chrome.