I have created my customized ribbon in an addIn. Now I would like to add the New Slide command that exist in home screen (see screenshot below).
相关问题
- How to open Powerpoint using VBA
- Excel Workbook Activate Event Ambiguity for C# VST
- Determine if the selected email is from inbox or s
- EventHandler that fires when the connection status
- Does anyone have an example of Apache POI converti
相关文章
- How to programmatically read and change slide note
- Deleting columns from a table with merged cells
- Diff for Powerpoint
- How to mock rows in a Excel VSTO plugin?
- How to disable File button in MS-Word 2013?
- Clear Microsoft Office Add-Ins cache
- Registering to the Outlook appointment item 'c
- How can I persist data for an Excel Ribbon Addin i
I created a new ribbon based on xml Template in VS. Afterwards I added a group and a control based on an idMso-Value. When using this xml file
This results in that custom ribbon. Eugene Astafiev pointed it out, you can find idMso-Values in MSDN.
You can add built-in controls to your custom tab by soecifying their IdMso values. See Office 2013 Help Files: Office Fluent User Interface Control Identifiers .
You can read more about the Ribbon UI in the following series of articles in MSDN:
As explained by Franz the solution is to use the idMso. For the New Slide command you are looking for, if you look at MSN in the idMso Table for "New Slide" you will find two entries. The one you are looking for is a Gallery with idMso=SlideNewGallery. (not a button). You can add it in the XML. I like to use the Ribbon Editor. With the Ribbon Editor it looks like this:
And in the Add-In it looks then like this:
The CustomUI XML relevant part looks like this
i currently have new slide button in my addin like the image below which gives me a new slide
however I want the option like the already existing new slide in home ribbon where I can choose templates.Is there any way to invoke this button in my customized ribbon so below is my newslide that is what i want to get in my addin