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) public override string GetCustomUI(string RibbonID)
{ {
return @" return @"
<customUI xmlns='http://schemas.microsoft.com/office/2006/01/customui'> <customUI xmlns='http://schemas.microsoft.com/office/2006/01/customui'>
<ribbon> <ribbon>
<tabs> <tabs>
<tab id='tab1' label='REHAU'> <tab id='rau' label='REHAU'>
<group id='group1' label='Прайс-лист'> <group id='priceList' label='Прайс-лист'>
<button id='button1' label='Экспорт' onAction='OnButtonPressed'/> <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> </group>
</tab> </tab>
</tabs> </tabs>