Merge branch 'master' of git.ucc.asn.au:/matches/honours
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / RibbonFrame / src / Ribbon.xml
1 <?xml version='1.0' encoding='utf-8'?>\r
2 <Application xmlns='http://schemas.microsoft.com/windows/2009/Ribbon'>\r
3   <!-- Commands section -->\r
4   <Application.Commands>\r
5     \r
6     <!-- Tab Definitions -->\r
7     <Command Name="cmdTabHome" Comment="Tab Definitions" Id="10000" >\r
8       <Command.LabelTitle>\r
9         <String Id ="10001">Home</String>\r
10       </Command.LabelTitle>\r
11     </Command>\r
12     <Command Name="cmdTabText" Id="10010" >\r
13       <Command.LabelTitle>\r
14         <String Id ="10011">Sample Tab</String>\r
15       </Command.LabelTitle>\r
16     </Command>\r
17     \r
18     <!-- Group Definitions -->\r
19     <Command Name="cmdGroup1" Comment ="Group Definitions" Id ="11000">\r
20       <Command.LabelTitle>\r
21         <String Id ="11001">Document</String>\r
22       </Command.LabelTitle>\r
23     </Command>\r
24     <Command Name="cmdGroup2" Id ="11010">\r
25       <Command.LabelTitle>\r
26         <String Id ="11011">Clipboard</String>\r
27       </Command.LabelTitle>\r
28       <Command.SmallImages>\r
29         <Image Id="11012">res/PasteL.bmp</Image>\r
30       </Command.SmallImages>\r
31     </Command>\r
32     <Command Name="cmdDropDownColorPickerGroup" Id="11020">\r
33       <Command.LabelTitle>\r
34         <String Id ="11021">Drawing</String>\r
35       </Command.LabelTitle>  \r
36     </Command>\r
37     <Command Name="cmdGroupRichFont" Id="11030">\r
38       <Command.LabelTitle>\r
39         <String Id ="11031">Rich Font</String>\r
40       </Command.LabelTitle>\r
41     </Command>\r
42 \r
43     <!-- Button Definitions -->\r
44     <Command Name="cmdNew" Symbol="IDC_CMD_NEW" Comment="Button Definitions" Id ="12000">\r
45       <Command.LabelTitle>\r
46         <String Id ="12001">New</String>\r
47       </Command.LabelTitle>\r
48       <Command.LargeImages>\r
49         <Image Id ="12002">res/FileNewL.bmp</Image>\r
50       </Command.LargeImages>\r
51     </Command>\r
52     <Command Name="cmdOpen" Symbol="IDC_CMD_OPEN" Id ="12010">\r
53       <Command.LabelTitle>\r
54         <String Id ="12011">Open</String>\r
55       </Command.LabelTitle>\r
56       <Command.LargeImages>\r
57         <Image Id ="12012">res/FileOpenL.bmp</Image>\r
58       </Command.LargeImages>\r
59     </Command>\r
60     <Command Name="cmdSave" Symbol="IDC_CMD_SAVE" Id ="12020">\r
61       <Command.LabelTitle>\r
62         <String Id ="12021">Save</String>\r
63       </Command.LabelTitle>\r
64       <Command.LargeImages>\r
65         <Image Id ="12022">res/FileSaveL.bmp</Image>\r
66       </Command.LargeImages>\r
67     </Command>\r
68     <Command Name="cmdSaveAs" Symbol="IDC_CMD_SAVE_AS" Id ="12030">\r
69       <Command.LabelTitle>\r
70         <String Id ="12031">Save As</String>\r
71       </Command.LabelTitle>\r
72       <Command.LargeImages>\r
73         <Image Id ="12032">res/FileSaveAsL.bmp</Image>\r
74       </Command.LargeImages>\r
75     </Command>\r
76     <Command Name="cmdPrint" Symbol="IDC_CMD_PRINT" Id ="12040">\r
77       <Command.LabelTitle>\r
78         <String Id ="12041">Print</String>\r
79       </Command.LabelTitle>\r
80       <Command.LargeImages>\r
81         <Image Id ="12042">res/PrintL.bmp</Image>\r
82       </Command.LargeImages>\r
83     </Command>\r
84     <Command Name="cmdCopy" Symbol="IDC_CMD_COPY" Id ="12050">\r
85       <Command.LabelTitle>\r
86         <String Id ="12051">Copy</String>\r
87       </Command.LabelTitle>\r
88       <Command.SmallImages>\r
89         <Image Id ="12052">res/CopyS.bmp</Image>\r
90       </Command.SmallImages>\r
91     </Command>\r
92     <Command Name="cmdCut" Symbol="IDC_CMD_CUT" Id =" 12060">\r
93       <Command.LabelTitle>\r
94         <String Id ="12061">Cut</String>\r
95       </Command.LabelTitle>\r
96       <Command.SmallImages>\r
97         <Image Id ="12062">res/CutS.bmp</Image>\r
98       </Command.SmallImages>\r
99     </Command>\r
100     <Command Name="cmdPaste" Symbol="IDC_CMD_PASTE" Id ="12070">\r
101       <Command.LabelTitle>\r
102         <String Id ="12071">Paste</String>\r
103       </Command.LabelTitle>\r
104       <Command.LargeImages>\r
105         <Image Id ="12072">res/PasteL.bmp</Image>\r
106       </Command.LargeImages>\r
107     </Command>\r
108     <Command Name="cmdAbout" Symbol="IDC_CMD_ABOUT" Id="12080">\r
109       <Command.LabelTitle>\r
110         <String Id ="12081">About</String>\r
111       </Command.LabelTitle>\r
112       <Command.LargeImages>\r
113         <Image Id ="12082">res/InfoL.bmp</Image>\r
114       </Command.LargeImages>\r
115     </Command>\r
116     <Command Name="cmdExit" Symbol="IDC_CMD_EXIT" Id="12090">\r
117       <Command.LabelTitle>\r
118         <String Id ="12091">Exit</String>\r
119       </Command.LabelTitle>\r
120       <Command.LargeImages>\r
121         <Image Id ="12092">res/ExitL.bmp</Image>\r
122       </Command.LargeImages>\r
123     </Command>\r
124 \r
125     <!-- DropDownColorPickers -->     \r
126     <Command Name="cmdDropDownColorPickerThemeColors"\r
127          Symbol="IDC_PEN_COLOR"\r
128          Comment="DropDownColorPicker ThemeColors"\r
129          Id="13000"\r
130          LabelTitle="PenColor"\r
131          LabelDescription="ThemeColors\ndescription.">\r
132            <Command.LargeImages>\r
133              <Image Id="13001">res/LineColorL.bmp</Image>\r
134            </Command.LargeImages>\r
135          </Command>\r
136     \r
137     <!-- Font -->\r
138     <Command Name="cmdRichFont" \r
139          Symbol="IDC_RICHFONT"\r
140          Comment="Font Picker"    \r
141          Id="14000" \r
142          Keytip="F" />\r
143     \r
144     <!-- Definitions of miscellaneous items -->\r
145     <Command Name="cmdMRUFileMenu" Symbol="IDC_MRUMENU" Id="14010"/>\r
146     <Command Name="cmdMRUList" Symbol="IDC_MRULIST" Id="14020"/>\r
147     <Command Name="cmdQAT" Symbol="IDC_QAT" Id="14030"/>\r
148     <Command Name="cmdCustomizeQAT" Symbol="IDC_CUSTOMIZE_QAT" Id="14040"/>\r
149     <Command Name="cmdHelp" Symbol="IDC_RIBBONHELP" Id="14050" />\r
150   </Application.Commands>\r
151   \r
152   <!-- Views section -->\r
153   <Application.Views>\r
154     <Ribbon>\r
155 \r
156       <!-- Application Menu -->\r
157       <Ribbon.ApplicationMenu>\r
158         <ApplicationMenu CommandName="cmdMRUFileMenu">\r
159           <ApplicationMenu.RecentItems>\r
160             <RecentItems CommandName="cmdMRUList" MaxCount="16" EnablePinning="false"/>   \r
161           </ApplicationMenu.RecentItems>\r
162           <MenuGroup Class="MajorItems">\r
163             <Button CommandName="cmdNew" />\r
164             <Button CommandName="cmdOpen" />\r
165             <Button CommandName="cmdSave" />\r
166             <Button CommandName="cmdSaveAs" />\r
167             </MenuGroup>\r
168             <MenuGroup>\r
169             <Button CommandName="cmdPrint" />\r
170             </MenuGroup>\r
171             <MenuGroup>\r
172             <Button CommandName="cmdAbout" />\r
173             </MenuGroup>\r
174             <MenuGroup>\r
175             <Button CommandName="cmdExit" />\r
176           </MenuGroup>\r
177         </ApplicationMenu>\r
178       </Ribbon.ApplicationMenu>     \r
179       \r
180       <!-- Tabs -->\r
181       <Ribbon.Tabs>\r
182         <Tab CommandName="cmdTabHome">\r
183           <Tab.ScalingPolicy>\r
184             <ScalingPolicy>\r
185               <ScalingPolicy.IdealSizes>\r
186                 <!-- This describes the maximum size of each group in the tab. -->\r
187                 <Scale Group="cmdGroup1" Size="Large" />\r
188                 <Scale Group="cmdGroup2" Size="Medium" />\r
189               </ScalingPolicy.IdealSizes>\r
190               <!-- This describes the order and how the groups shrink when the window is\r
191               resized. -->\r
192               <Scale Group="cmdGroup1" Size="Medium" />\r
193               <Scale Group="cmdGroup2" Size="Popup" />\r
194             </ScalingPolicy>\r
195           </Tab.ScalingPolicy>\r
196           <Group CommandName="cmdGroup1" SizeDefinition="FourButtons">\r
197             <Button CommandName="cmdNew" />\r
198             <Button CommandName="cmdOpen" />\r
199             <Button CommandName="cmdSave" />\r
200             <Button CommandName="cmdSaveAs" />\r
201           </Group>\r
202           <Group CommandName="cmdGroup2" SizeDefinition="ThreeButtons-OneBigAndTwoSmall">\r
203             <Button CommandName="cmdPaste" />\r
204             <Button CommandName="cmdCopy" />\r
205             <Button CommandName="cmdCut" />\r
206           </Group>\r
207            <Group CommandName="cmdDropDownColorPickerGroup" SizeDefinition="OneButton">\r
208              <DropDownColorPicker \r
209                CommandName="cmdDropDownColorPickerThemeColors"\r
210                ColorTemplate="ThemeColors"\r
211                IsNoColorButtonVisible = "false"/>\r
212           </Group>\r
213         </Tab>\r
214         <Tab CommandName="cmdTabText">\r
215           <Group CommandName="cmdGroupRichFont" SizeDefinition="OneFontControl">\r
216             <FontControl CommandName="cmdRichFont" FontType="RichFont" />\r
217           </Group>     \r
218         </Tab>\r
219       </Ribbon.Tabs>\r
220       \r
221       <!-- Help button -->\r
222       <Ribbon.HelpButton>\r
223         <HelpButton CommandName="cmdHelp" />\r
224       </Ribbon.HelpButton>\r
225       \r
226       <!-- Quick Access toolbar -->\r
227       <Ribbon.QuickAccessToolbar>\r
228         <QuickAccessToolbar CommandName="cmdQAT" CustomizeCommandName="cmdCustomizeQAT">\r
229           <QuickAccessToolbar.ApplicationDefaults>       \r
230             <Button CommandName="cmdNew" ApplicationDefaults.IsChecked="true" />         \r
231             <Button CommandName="cmdOpen" ApplicationDefaults.IsChecked="true" />        \r
232             <Button CommandName="cmdSave" ApplicationDefaults.IsChecked="true" />\r
233             <Button CommandName="cmdPrint" ApplicationDefaults.IsChecked="true" />\r
234           </QuickAccessToolbar.ApplicationDefaults>\r
235         </QuickAccessToolbar>\r
236       </Ribbon.QuickAccessToolbar>\r
237     </Ribbon>\r
238   </Application.Views>\r
239 </Application>

UCC git Repository :: git.ucc.asn.au