Outlook Add-in 2013 - Animated Gif images in the ribbon - visual-studio-2012

I'm developing an Outlook Add-in in Visual studio 2012 (.NET 4.5). To present information to our users I need to display an button in a custom ribbon whose image is an animated gif.
Thus far I have done the following:
1) Added the animated GIF to my projects resources
2) Add a button which calls a local method 'GetImage'
3) GetImage returns a Bitmap object from resources representing the GIF image.
When I launch the add-In the image loads but doesn't animate it just remains static. My question is does the outlook ribbon support animated gifs and if so what am I missing?
Thank you for your help

Outlook does not supports GIFs, much less animated GIFs, on the ribbons.

Related

Output of Plotly in PowerPoint

Is it possible to use an interactive graph created with Python package Plotly in PowerPoint? Is it possible to insert a plotly output in a slide?
To my knowledge and experience, if you want to show the interactive image within PPT, my current answer is no. Because previously I tried to do the same thing for Plotly or Bokeh figures. I looked around and in the end, I saw somebody answered on a Microsoft discussion page, the answer was NO.
But one thing that works is that you can input your figure (html file) as a hyperlink within the ppt. Then when you click it, it opens on your browser, you can still interact with it, although it is not in ppt!
If you are making a presentation via online platforms like Zoom, you can just switch the screen that you are sharing.
There used to be a PowerPoint add-in that made it possible to integrate interactive charts published on plotly Chart Studio into the presentation. Unfortunately, this add-in is no longer available.
EDIT:
I found a workaround to get interactiv plotly charts into my PowerPoint Slides
How to:
Create a Plotly chart studio account
Publish your chart on chart studio like described here
Open PowerPoint and install the Add-In "Webviewer"
Insert the public URL of yout chart from Plotly chart studio
Disadvantage: It only works if the plug-in is installed and Internet access is available.

Is there a way to add custom icons to a ribbon using VBA through a callback to the UI Editor?

I am making a ribbon for my office. I have programmed all the macros already, except for the icons.
In the UI Editor, I have set everything to be done via a callback in VBA.
I have loaded all the icons using the MS Excel stock icons, however I have 9 icons that have to be added as they are not part of the excel standards.
I can't use different icons as the buttons in the ribbon paste the pictures that I need to display as the icons.
In the UI editor, I have set it up that all the buttons use "getimage=getimage" and have programmed a callback in VBA.
I don't seem to be able to change the 9 specific buttons to "image=pic1" and use the icons (pic1-pic9) I have loaded in the UI Editor.
When I try to do that, I get an error saying "the 'Image' attribute is not declared"
So now I am looking for a workaround in VBA.
Current callback code for a standard Icon:
Case "eButton03": RibbonImage = "ObjectPictureFill"
I need the code above to pull in a picture instead of using the standard icon.
let's say the picture is saved in C:\Pic\Pic1.png
Use this list: https://bert-toolkit.com/imagemso-list.html
You can also use or create custom images, add your picture "yourpic.png" via Excel's "Insert Icons" option in the Custom UI Editor.
Use the code
image="yourpic"
To use your picture as a custom icon.

Embedding SVG in Office 365 page

Office 365 newbie. Just want to build a web page. Create a web page. Fine. Try to embed some SVG (from InkScape). Displays resulting image fine (yay!) but when I save, image disappears and says I should have used "embed command". Ok, try embed dialog. Displays resulting image fine (yay!) which then disappears when I save. I would just assume no SVG support, but it seems to be able to draw images from SVG just fine, but tosses the SVG code whenever I save. Hoping there's a checkbox somewhere that says "stop throwing away embedded SVG".
When I used Word 2010 and Inkscape, I found it useful to export the image from Inkscape as an Enhanced Metafile (EMF). I did so because the images then remained vectorized in PDFs. Not using Windows anymore, I can't speak for Word 2013, but I'd suggest you try it.
Office 365 started to support SVG format recently. Saving an Office file with SVGs in it shouldn't cause any problems anymore.
Btw: If someone needs to export a document to PDF, it is still recommended to use EMF as vector graphic format, since PDF doesn't support SVG natively.

merging custom ribbon controls using custom ui editor

I have created custom ribbon control in both the 2007 and 2010. i have added few features in 2010. i wanna use these new features in 2007 also. so for merging these i have used custom ui editor tool. and i have saved this as well. when i opened up this new to the 2007 all my new controls showed up correctly. but when i open it in the 2010, the controls showed correctly without the icon images. for example, control is "Picture" then nearby this control one small image will be there. this small icon images not showing up in the 2010 version. did i do anything wrong ? please anyone help me for showing it correctly !
Make sure you have added the icons as well to that version's xml. The pictures name must match the xml.
Click Insert and then Icons..., browse and select the pictures you want to use as button images.
You can have different sets of pictures for 2007/2010, but better to only use 2007 UI part if both versions are to be the same.

How to add hover effect to visio drawing in sharepoint webpart

I've created a web part page which contains visio drawing in sharepoint site. Now I want to show shape data when the mouse hover on specific shapes, instead of clicking "Toggle the visibility of shape information pane".
e.g. When mouse hovers at one employee image, more detailed information which is included in "Shape Data" can pop up, showing "Name:XXX, ID:XXX, Age:XXX..."
I've tried to add "Comment" in "shape sheet", but the hover over effect only works in Visio Design Mode. It does not work after I integrated the drawing in sharepoint webpart.
Also, I tried another approach by saving visio drawing as htm webpage. However, the data will not be dynamically updated in that way.
How could I achieve this function? Do I need to use javascript? If so, how could I integrate javascript to the webpage I already created with visio drawing?
This will walk you through the process.
Creating an Office Plan ECMAScript Mashup Drawing in Visio 2010 to Display in SharePoint Server 2010

Resources