Skip to content

Commit 716eb55

Browse files
committed
Ribbon tab as xml
1 parent 45e462f commit 716eb55

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

source/tables/USysRibbons.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

source/tables/USysRibbons.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0"?>
2+
<dataroot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3+
<USysRibbons>
4+
<lngID>1</lngID>
5+
<RibbonName>MainRibbon</RibbonName>
6+
<RibbonXml>&lt;customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" &gt;&lt;commands&gt;&lt;command idMso="Help" enabled="false"/&gt;&lt;/commands&gt;&lt;ribbon startFromScratch="true"&gt;
7+
&lt;tabs&gt;&lt;tab id="T1" label="Home"&gt;
8+
&lt;group id="G1" label="Test"&gt;
9+
&lt;button id="TestBtn1" label="Don't click here" size="large" imageMso="CreateTable" onAction="=RibbonProcTest1()" /&gt;
10+
&lt;button idMso="PrintDialogAccess" size="large" label="Print Dialog" /&gt;
11+
&lt;control idMso="WindowsSwitch" size="large" label="Switch Windows" /&gt;
12+
&lt;/group&gt;
13+
&lt;/tab&gt;&lt;/tabs&gt;&lt;/ribbon&gt;&lt;/customUI&gt;</RibbonXml>
14+
</USysRibbons>
15+
</dataroot>

source/vcs-options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"Format": "Tab Delimited"
4747
},
4848
"USysRibbons": {
49-
"Format": "Tab Delimited"
49+
"Format": "XML Format"
5050
}
5151
},
5252
"SchemaExports": {

0 commit comments

Comments
 (0)