#16
|
||||
|
||||
I had a play around with the file and it appears that you can apply a built-in image (ie imageMso) but not a custom image to a gallery that uses an idMso. The best I could come up with was to create a menu and put the gallery inside that. The menu shows your custom image but the two galleries don't. Interestingly, this doesn't stop the customUI code from validating so I would consider this a MS bug.
Code:
<gallery idMso="CustomAutoTextGallery" label="Lunge64" size="large" image="Lunge128" /> <menu id="M1" label="Lunge" size="large" image="Lunge64"> <gallery idMso="CustomAutoTextGallery" label="Lunge" image="Lunge64" /> </menu> The size of the image you put into the customUI was WAY excessive - it really shouldn't be any larger than 64 pixels by 64 pixels. I saved yours down to that size which brought the file size down to an acceptable level. I also tried converting your Word 2007 CustomUI to Word 2010+ to see if that made a difference (it didn't). FWIW, the only way I can see to create a one step gallery with your custom image is to use a bunch of vba code to either create a dynamic gallery or to hand code (in the CustomUI xml) all the building blocks into a gallery using the id attribute. Neither of these options are simple and require VBA code to execute them so I wouldn't recommend those alternatives.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Making AutoText entries available to the Outlook email editor | Jennifer Murphy | Word | 8 | 01-03-2017 03:51 PM |
Word 2013: My custom table styles disappeared from Gallery | sinz54 | Word Tables | 1 | 03-13-2015 05:02 PM |
Custom UI Editor - 2013 | ptmuldoon | Word | 3 | 02-04-2015 06:55 AM |
Custom Header Gallery Quick Part Displays > in 2007 but not 2010 | sleake | Word | 4 | 10-23-2013 07:10 AM |
Need help with custom UI image gallery ribbon | pfiggy | PowerPoint | 3 | 04-28-2013 07:13 AM |