Author Topic: Visio 2013 Custom images for Ribbon Controls  (Read 8166 times)

0 Members and 1 Guest are viewing this topic.

RSut

  • Jr. Member
  • **
  • Posts: 19
Visio 2013 Custom images for Ribbon Controls
« on: January 12, 2013, 01:08:58 PM »
Using Excel 2010 I can add my own images for new custom ribbon controls.
Using Visio 2013 I can everything except the graphics!

Can anyone tell me: is this MS work in progress/ me being stupid / a bug (how do I access the current list of bugs--- http://connect.microsoft.com/directory/ does not refer to Visio 2013).

I used the version of 'Custom UI Editor for MS Office'  from this url: http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2010/08/10/23248.aspx

Opening the Visio and Excel files as .zip files, I compared the RELS files within the CustomUI folder for the two applications. They look the same (refs to "ron" is to Ron deBruin's graphic in http://www.rondebruin.nl/getimage.htm)

============ Visio 2013: ================
<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="images/ron.png" Id="ron" /><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="images/MainContentTbl.png" Id="MainContentTbl" /></Relationships>

============ Excel 2010: ================
<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="images/ron.png" Id="ron" /><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="images/MainContentTbl.png" Id="MainContentTbl" /></Relationships>

Willing to share files etc if this is of interest.
Thanks!   :'(

RSut

  • Jr. Member
  • **
  • Posts: 19
Re: Visio 2013 Custom images for Ribbon Controls
« Reply #1 on: January 13, 2013, 01:40:55 AM »
I should add to my original message that in both Excel and Visio, images LOADED into customUI/images, but in Visio 2013 the images did not appear in the ribbon above their respective captions.  In both Excel and Visio, the captions themselves did appear on the ribbon.

RSut

  • Jr. Member
  • **
  • Posts: 19
Re: Visio 2013 Custom images for Ribbon Controls
« Reply #2 on: January 14, 2013, 01:51:26 PM »
Response from Microsoft.
I hope I'm not breaking the rules of the forum, but I sent a longer report with more data to
http://social.msdn.microsoft.com/Forums/en-US/officedevpreview

Hey! I got this response from Quist ZhangMSDN Forums (MSFT CSG) Moderator:

"Hi KelvinRiver [..ie me..],

Thank you for posting in the MSDN Forum.

I'm able to reproduce your scenario and I've reported your issue internally. You'll be informed if there's any update."

you can read the whole at this url:
http://social.msdn.microsoft.com/Forums/en-US/officedevpreview/thread/f77edc20-2537-4855-b630-19c46aa8a7d8

In my opinion, its up to Visio users who are interested in Ribbon customisation to lobby MS to get ventilate this issue with MS to get this glitch cleared up, with a solution that does not involve buying another MS product.

Me, I'm just one a newbie..

Thanks
RSut

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3301
    • Paul Herber's website
Re: Visio 2013 Custom images for Ribbon Controls
« Reply #3 on: January 14, 2013, 03:10:14 PM »
Well done with your persistence. I haven't tried V2013 yet so can't help directly.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

RSut

  • Jr. Member
  • **
  • Posts: 19
Re: Visio 2013 Custom images for Ribbon Controls
« Reply #4 on: January 24, 2013, 12:02:41 PM »
Just as an add-on: for Visio 2010, I then wanted to use callouts like getLabel; getImage etc to add some dynamism to my RibbonUI.  onAction works fine (as in the SDK). But Working off Ron deBruin's excel guidance I got no functionality with getLabel; getImage etc.

Others report similar findings for MS Project: http://go4answers.webhost4life.com/Example/problems-vba-ribbon-customization-115173.aspx