Add standard command button “New Slide” to custom ribbon in office add-in

前端 未结 5 1277
盖世英雄少女心
盖世英雄少女心 2021-01-27 17:59

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)

5条回答
  •  自闭症患者
    2021-01-27 18:07

    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.

    customized ribbon controls

提交回复
热议问题