Skip to content

Commit 6e327a9

Browse files
tduguidtduguid
authored andcommitted
Updated the ribbon group annotate to backstage area and added checkboxes for turning on/off visibility of script types in the ribbon menu dropdown
1 parent 7a25c6c commit 6e327a9

File tree

3 files changed

+86
-33
lines changed

3 files changed

+86
-33
lines changed

CS/Ribbon.xml

Lines changed: 83 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,20 @@ Use the following tags to remove indivdual ribbons when this loads
1717
Or use the following tag to remove all other ribbons when this loads
1818
<ribbon startFromScratch="true">
1919
-->
20-
21-
<ribbon>
20+
<ribbon startFromScratch="false">
21+
<qat>
22+
<sharedControls >
23+
<button
24+
idMso ="Camera"
25+
label="Excel Camera"
26+
screentip="Microsoft Excel Camera"
27+
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. "
28+
/>
29+
</sharedControls>
30+
<documentControls >
31+
<button idMso="Cut"/>
32+
</documentControls>
33+
</qat>
2234
<tabs>
2335
<tab
2436
id="tabScriptHelp"
@@ -437,37 +449,6 @@ Or use the following tag to remove all other ribbons when this loads
437449
/>
438450
</menu>
439451
</group>
440-
<group
441-
id="grpAnnotation"
442-
label="Annotate"
443-
imageMso="Camera"
444-
getVisible="GetVisible">
445-
<button
446-
idMso="Camera"
447-
label="Excel Camera"
448-
size="normal"
449-
screentip="Microsoft Excel Camera"
450-
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. "
451-
/>
452-
<button
453-
id="btnSnippingTool"
454-
label="Snipping Tool"
455-
onAction="OnAction"
456-
getImage="GetButtonImage"
457-
size="normal"
458-
screentip="Microsoft Snipping Tool"
459-
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."
460-
/>
461-
<button
462-
id="btnProblemStepRecorder"
463-
label="Record Steps"
464-
onAction="OnAction"
465-
getImage="GetButtonImage"
466-
size="normal"
467-
screentip="Microsoft Problem Steps Recorder"
468-
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."
469-
/>
470-
</group>
471452
<group
472453
id="grpHelp"
473454
label="Help"
@@ -546,4 +527,73 @@ Or use the following tag to remove all other ribbons when this loads
546527
</tab>
547528
</tabs>
548529
</ribbon>
530+
<backstage>
531+
<tab id="grpAnnotation" label="Annotate" insertAfterMso="TabInfo" visible="true" firstColumnMaxWidth="500">
532+
<firstColumn>
533+
<group id="grpOne" label="Microsoft Snipping Tool">
534+
<primaryItem>
535+
<button
536+
id="btnSnippingTool"
537+
label="Snipping Tool"
538+
onAction="OnAction"
539+
getImage="GetButtonImage"
540+
screentip="Microsoft Snipping Tool"
541+
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."
542+
/>
543+
</primaryItem>
544+
<topItems>
545+
<layoutContainer id="layoutOne" layoutChildren="horizontal">
546+
<labelControl id="ebox2" label="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." />
547+
</layoutContainer>
548+
</topItems>
549+
</group>
550+
<group id="grpTwo" label="Microsoft Problem Steps Recorder" >
551+
<primaryItem>
552+
<button
553+
id="btnProblemStepRecorder"
554+
label="Record Steps"
555+
onAction="OnAction"
556+
getImage="GetButtonImage"
557+
screentip="Microsoft Problem Steps Recorder"
558+
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."
559+
/>
560+
</primaryItem>
561+
<topItems>
562+
<labelControl id="ebox3" label="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."/>
563+
</topItems>
564+
</group>
565+
</firstColumn>
566+
<secondColumn>
567+
<group id="grpThree" label=" " >
568+
<topItems>
569+
<labelControl id="ebox4" label=" "/>
570+
</topItems>
571+
</group>
572+
</secondColumn>
573+
</tab>
574+
<tab id="grpScriptHelp" label="Script Help" insertAfterMso="TabOptions" visible="true" firstColumnMaxWidth="500">
575+
<firstColumn>
576+
<group id="grp2One" label="Script Types">
577+
<topItems>
578+
<layoutContainer id="layout2One" layoutChildren="vertical">
579+
<labelControl id="ebox5" label="Select the script you would like to create with this Add-In"/>
580+
<checkBox id="T-SQL" label ="T-SQL"/>
581+
<checkBox id="PL-SQL" label ="PL-SQL"/>
582+
<checkBox id="DQL" label ="DQL"/>
583+
<checkBox id="MARKDOWN" label ="MARKDOWN"/>
584+
<checkBox id="MARKUP" label ="MARKUP"/>
585+
</layoutContainer>
586+
</topItems>
587+
</group>
588+
<group id="grp2Two" label=" " >
589+
<primaryItem>
590+
591+
</primaryItem>
592+
<topItems>
593+
594+
</topItems>
595+
</group>
596+
</firstColumn>
597+
</tab>
598+
</backstage>
549599
</customUI>

VB/App_Data/ScriptHelp.sdf

0 Bytes
Binary file not shown.

VB/ScriptHelp.vbproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@
176176
<Reference Include="Microsoft.Office.Tools.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
177177
<EmbedInteropTypes>True</EmbedInteropTypes>
178178
</Reference>
179+
<Reference Include="Microsoft.ReportViewer.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
180+
<Reference Include="Microsoft.ReportViewer.WinForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
179181
<Reference Include="Microsoft.VisualStudio.Tools.Applications.Runtime, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
180182
<Reference Include="Office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
181183
<EmbedInteropTypes>True</EmbedInteropTypes>
@@ -191,6 +193,7 @@
191193
</Reference>
192194
<Reference Include="System.Deployment" />
193195
<Reference Include="System.Drawing" />
196+
<Reference Include="System.Web.Services" />
194197
<Reference Include="System.Windows.Forms" />
195198
<Reference Include="System.Xml" />
196199
<Reference Include="System.Core" />

0 commit comments

Comments
 (0)