Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Dviejopomata
Created January 27, 2019 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dviejopomata/13fa9be15e15146a206f154bae02f2c8 to your computer and use it in GitHub Desktop.
Save Dviejopomata/13fa9be15e15146a206f154bae02f2c8 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
<ribbon>
<tabs>
<tab idMso="TabAddIns" label="Docxmerge">
<group id="ContentGroup" label="Template actions">
<button id="textButton" label="Upload"
screentip="Text" onAction="OnTextButton"
supertip="Inserts text at the cursor location."/>
<button id="tableButton" label="Insert Table"
screentip="Table" onAction="OnTableButton"
supertip="Inserts a table at the cursor location."/>
</group>
</tab>
</tabs>
</ribbon>
<backstage onShow="Backstage_OnShow" onHide="backstageOnHide">
<tab idMso="TabRecent">
<firstColumn>
<taskFormGroup idMso="GroupOpenPlaces">
<category idMso="ButtonCategoryRecentDocuments">
<task id="myTaskFirst" insertAfterMso="ButtonTaskRecentDocuments" label="Docxmerge">
<group id="myGroup" label="Custom functionality" helperText="This group contains custom functionality.">
<primaryItem>
<button id="myButton" label="Login with Docxmerge" onAction="CallLogin"/>
</primaryItem>
</group>
</task>
</category>
</taskFormGroup>
</firstColumn>
</tab>
<!--<tab idMso="TabPrint" label="BackstageTab1" visible="false" />-->
</backstage>
</customUI>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment