Add settings button and icons to ribbon

This commit is contained in:
Sergey Chebotar 2021-12-09 14:08:26 +03:00
parent 0e92b45e31
commit 5a641d83d8

View File

@ -10,13 +10,17 @@ namespace RehauSku.Ribbon
{
public override string GetCustomUI(string RibbonID)
{
return @"
<customUI xmlns='http://schemas.microsoft.com/office/2006/01/customui'>
<ribbon>
<tabs>
<tab id='tab1' label='REHAU'>
<group id='group1' label='Прайс-лист'>
<button id='button1' label='Экспорт' onAction='OnButtonPressed'/>
<tab id='rau' label='REHAU'>
<group id='priceList' label='Прайс-лист'>
<button id='exportToPrice' label='Экспорт' size='large' imageMso='PivotExportToExcel' onAction='OnButtonPressed'/>
</group>
<group id='rausettings' label='Настройки'>
<button id='set' label='Настройки' size='large' imageMso='CurrentViewSettings' onAction='OnButtonPressed'/>
</group>
</tab>
</tabs>