-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathRibbon.xml
More file actions
561 lines (558 loc) · 17.1 KB
/
Ribbon.xml
File metadata and controls
561 lines (558 loc) · 17.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
<?xml version="1.0" encoding="UTF-8"?>
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
<!--
Use the following tags to remove indivdual ribbons when this loads
<tab idMso="TabHome" getVisible="GetVisible"/>
<tab idMso="TabInsert" getVisible="GetVisible"/>
<tab idMso="TabReview" getVisible="GetVisible"/>
<tab idMso="TabData" getVisible="GetVisible"/>
<tab idMso="TabView" getVisible="GetVisible"/>
<tab idMso="TabFormulas" getVisible="GetVisible"/>
<tab idMso="TabPageLayoutExcel" getVisible="GetVisible"/>
<tab idMso="TabDeveloper" getVisible="GetVisible"/>
<tab idMso="TabPrintPreview" getVisible="GetVisible"/>
<tab idMso="TabAddIns" getVisible="GetVisible"/>
<tab idMso="TabSetTableToolsExcel" getVisible="GetVisible"/>
Or use the following tag to remove all other ribbons when this loads
<ribbon startFromScratch="true">
-->
<ribbon>
<tabs>
<tab
id="tabScriptHelp"
getLabel="GetLabelText"
insertAfterMso="TabHome"
keytip="SH"
>
<group
id="grpClipboard"
label="Clipboard"
imageMso="Copy"
getVisible="GetVisible"
>
<control
idMso="PasteMenu"
size="large"
keytip="V"
/>
<control
idMso="Cut"
size="normal"
/>
<control
idMso="CopySplitButton"
size="normal"
/>
<button
id="btnCopyVisibleCells"
label="Copy Visible"
onAction="OnAction"
getEnabled="GetEnabled"
imageMso="Copy"
size="normal"
screentip="Copy Visible Cells"
supertip="Copies only visible cells from a selection"
keytip="CVC"
/>
</group>
<group
id="grpFormatDataTable"
label="Format Data Table"
imageMso="FormatAsTableGallery"
>
<button
id="btnFormatAsTable"
label="Format As Table"
onAction="OnAction"
imageMso="FormatAsTableGallery"
size="large"
screentip="Convert a range of cells to a table"
visible="false"
/>
<gallery
idMso="FormatAsTableGallery"
size="large"
keytip="FAT"
/>
<gallery
idMso="ViewFreezePanesGallery"
size="normal"
keytip="VFP"
/>
<button
idMso="RemoveDuplicates"
size="normal"
keytip="DUP"
/>
<button
id="btnSeparateValues"
label="Separate Values"
onAction="OnAction"
imageMso="ChartSwitchRowColumn"
size="normal"
screentip="Separate Values"
supertip="Separate values into new rows from the selected column by a delimited string value setting"
keytip="SPR"
/>
<separator
id="separator1"
/>
<button
id="btnCleanData"
label="Clean Data"
onAction="OnAction"
getEnabled="GetEnabled"
imageMso="FormatPainter"
size="normal"
screentip="Clean Data"
supertip="This feature removes all nonprintable characters from text and trims leading and trailing spaces."
keytip="CLE"
/>
<button
id="btnZeroToNull"
label="Update to NULL"
onAction="OnAction"
getEnabled="GetEnabled"
imageMso="RecordsRefreshRecords"
size="normal"
screentip="Convert to NULL"
supertip="Replaces the zero string values with 'NULL'"
keytip="NUL"
/>
<button
id="btnClearInteriorColor"
label="Clear Interior Color"
onAction="OnAction"
getEnabled="GetEnabled"
imageMso="TableEraser"
size="normal"
screentip="Clear Interior Color"
supertip="Clear the interior color of cells in the current table"
keytip="INT"
/>
<separator
id="separator2"
/>
<labelControl
id="lblTableAlias"
label="Table Alias:"
getEnabled="False"
/>
<box boxStyle="horizontal">
<button
id="btnFormatDateColumns"
label="Format Date:"
onAction="OnAction"
getEnabled="GetEnabled"
imageMso="NewAppointment"
size="normal"
screentip="Format Date Columns"
supertip="Update the default date format of any column that has a date without a zero string value"
keytip="DTE"
/>
<button
id="btnFormatDateColumnsAll"
onAction="OnAction"
getEnabled="GetEnabled"
imageMso="NewAppointment"
size="normal"
screentip="Format All Date Columns"
supertip="Update all the default date format of any column that has a date without a zero string value"
keytip="DTE"
/>
</box>
<button
id="btnFormatTimeColumns"
label="Format Time:"
onAction="OnAction"
getEnabled="GetEnabled"
imageMso="DateAndTimeInsert"
size="normal"
screentip="Format Time Columns"
supertip="Update the default time format of the selected column"
keytip="TIM"
/>
<comboBox
id="cboTableAlias"
onChange="OnChange"
getItemCount="GetItemCount"
getItemLabel="GetItemLabel"
getText="GetText"
sizeString= "XXXXXXXXXXXXXXXXXXXX"
screentip="Table Alias"
supertip="This is the table alias used as a prefix in the header and footer row in the script column."
keytip="DTA"
/>
<comboBox
id="cboFormatDate"
onChange="OnChange"
getItemCount="GetItemCount"
getItemLabel="GetItemLabel"
getText="GetText"
sizeString= "XXXXXXXXXXXXXXXXXXXX"
screentip="Date Format"
supertip="This is the date format the script uses to replace the formatting for date columns."
keytip="DFR"
/>
<comboBox
id="cboFormatTime"
onChange="OnChange"
getItemCount="GetItemCount"
getItemLabel="GetItemLabel"
getText="GetText"
sizeString= "XXXXXXXXXXXXXXXXXXXX"
screentip="Time Format"
supertip="This is the time format the script uses to replace the formatting for time columns."
keytip="DFF"
/>
<button
id="btnTableAlias"
label="..."
onAction="OnAction"
screentip="Open Table Alias List"
supertip="This will open the table alias list form."
tag="TableAlias"
keytip="LTA"
/>
<button
id="btnFormatDate"
label="..."
onAction="OnAction"
screentip="Open Date Format List"
supertip="This will open the date format list form."
tag="DateFormat"
keytip="LFF"
/>
<button
id="btnFormatTime"
label="..."
onAction="OnAction"
screentip="Open Time Format List"
supertip="This will open the time format list form."
tag="TimeFormat"
keytip="LFR"
/>
<separator
id="separator3"
/>
<menu
id="mnuScriptType"
imageMso="FunctionWizard"
label="Add Script Formula"
size="large"
screentip="Add Script Formula"
supertip="The each button will change the column formula to the selected script string format."
keytip="ADD"
>
<button
id="btnScriptTypeTSqlCreateTable"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a T-SQL CREATE TABLE script."
/>
<button
id="btnScriptTypeTSqlInsertValues"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a T-SQL INSERT VALUES script."
/>
<button
id="btnScriptTypeTSqlMergeValues"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a T-SQL MERGE VALUES script."
/>
<button
id="btnScriptTypeTSqlSelectValues"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a T-SQL SELECT VALUES script."
/>
<button
id="btnScriptTypeTSqlSelectUnion"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a T-SQL SELECT UNION script."
/>
<button
id="btnScriptTypeTSqlUpdateValues"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a T-SQL UPDATE VALUES script."
/>
<menuSeparator
id="separator10"
/>
<button
id="btnScriptTypePlSqlCreateTable"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a PL/SQL CREATE TABLE script."
/>
<button
id="btnScriptTypePlSqlInsertValues"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a PL/SQL INSERT VALUES script."
/>
<button
id="btnScriptTypePlSqlMergeValues"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a PL/SQL MERGE VALUES script."
/>
<button
id="btnScriptTypePlSqlSelectValues"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a PL/SQL SELECT VALUES script."
/>
<button
id="btnScriptTypePlSqlSelectUnion"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a PL/SQL SELECT UNION script."
/>
<button
id="btnScriptTypePlSqlUpdateValues"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a PL/SQL UPDATE VALUES script."
/>
<menuSeparator
id="separator11"
/>
<button
id="btnScriptTypeDqlAppend"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a DQL APPEND script (This is used for repeating values)."
/>
<button
id="btnScriptTypeDqlAppendLocked"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a DQL APPEND script (This is used for repeating values) and also unlocks and locks the metadata."
/>
<button
id="btnScriptTypeDqlCreate"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a DQL CREATE script."
/>
<button
id="btnScriptTypeDqlTruncateAppend"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a DQL TRUNCATE/APPEND script (This is used for removing all repeating values and then updating to one value)." />
<button
id="btnScriptTypeDqlUpdate"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a DQL UPDATE script."
/>
<button
id="btnScriptTypeDqlUpdateLocked"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a DQL UPDATE script and also unlocks and locks the metadata."
/>
<menuSeparator
id="separator12"
/>
<button
id="btnScriptTypeGithubTable"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a Markdown table script (This is used for READ ME files in GitHub)."
/>
<menuSeparator
id="separator13"
/>
<button
id="btnScriptTypeHtmlTable"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a HMTL Table script."
/>
<button
id="btnScriptTypeXmlValues"
getImage="GetButtonImage"
getLabel="GetLabelText"
onAction="OnAction"
getVisible="GetVisible"
getScreentip="GetLabelText"
supertip="This changes the query string to a XML script."
/>
</menu>
</group>
<group
id="grpAnnotation"
label="Annotate"
imageMso="Camera"
getVisible="GetVisible">
<button
idMso="Camera"
label="Excel Camera"
size="normal"
screentip="Microsoft Excel Camera"
supertip="This tool allows you to take a snapshot of a selected datasheet portion, it also syncs the data with the image; whenever you make changes to the original data set, live image gets updated, showing you the latest cells values. "
/>
<button
id="btnSnippingTool"
label="Snipping Tool"
onAction="OnAction"
getImage="GetButtonImage"
size="normal"
screentip="Microsoft Snipping Tool"
supertip="Snipping Tool is a screenshot utility included in Microsoft Windows. It can take screenshots of an open window, rectangular areas, a free-form area, or the entire screen."
/>
<button
id="btnProblemStepRecorder"
label="Record Steps"
onAction="OnAction"
getImage="GetButtonImage"
size="normal"
screentip="Microsoft Problem Steps Recorder"
supertip="Problem Steps Recorder or PSR records the actions you take on your computer which you can then send to the person or group helping you with your computer problem."
/>
</group>
<group
id="grpHelp"
label="Help"
imageMso="Help">
<button
id="btnOpenReadMe"
label="How To... "
onAction="OnAction"
imageMso="Help"
size="normal"
screentip="How To..."
supertip="This opens the read me page in GitHub with detailed instructions of the Add-In functionality."
keytip="HLP"
/>
<button
id="btnOpenNewIssue"
label="Report Issue"
onAction="OnAction"
imageMso="MacroSecurity"
size="normal"
screentip="Report An Issue"
supertip="This will open a new issue page in GitHub. The user will need to login to raise an issue."
keytip="RPT"
/>
<button
id="btnSettings"
label="Settings"
onAction="OnAction"
imageMso="PropertySheet"
size="normal"
screentip="Add-In Settings Form"
supertip="This opens a user form with a list of custom properties stored in the file."
keytip="SET"
/>
</group>
<group
id="grpAbout"
label="About"
imageMso="Info">
<labelControl
id="lblDescription"
label="Add-In Name: "
getEnabled="False"
/>
<labelControl
id="lblReleaseDate"
label="Release Date: "
getEnabled="False"
/>
<labelControl
id="lblCopyright"
label="Copyright: "
getEnabled="False"
/>
<labelControl
id="txtDescription"
getLabel="GetLabelText"
getEnabled="False"
/>
<labelControl
id="txtReleaseDate"
getLabel="GetLabelText"
getEnabled="False"
/>
<labelControl
id="txtCopyright"
getLabel="GetLabelText"
getEnabled="False"
/>
<button
id="btnStart"
onAction="OnAction"
keytip="RUN"
/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>