<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
           xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
           xsi:type="TaskPaneApp">
  <Id>a1b2c3d4-e5f6-7890-abcd-ef1234567890</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Hive Solutions Lda.</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Omni Toolbox"/>
  <Description DefaultValue="A set of toolbox items for the Omni platform to be used in Microsoft Excel."/>
  <IconUrl DefaultValue="https://omni-toolbox-latest.bemisc.com/assets/hive_toolbox.png"/>
  <HighResolutionIconUrl DefaultValue="https://omni-toolbox-latest.bemisc.com/assets/hive_toolbox.png"/>
  <SupportUrl DefaultValue="https://hive.pt"/>
  <AppDomains>
    <AppDomain>https://hive.pt</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Workbook"/>
  </Hosts>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://omni-toolbox-latest.bemisc.com/taskpane.html"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>
          <FunctionFile resid="Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="CommandsGroup">
                <Label resid="CommandsGroup.Label"/>
                <Icon>
                  <bt:Image size="16" resid="Icon.HiveToolbox"/>
                  <bt:Image size="32" resid="Icon.HiveToolbox"/>
                  <bt:Image size="80" resid="Icon.HiveToolbox"/>
                </Icon>
                <Control xsi:type="Button" id="TaskpaneButton">
                  <Label resid="TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="TaskpaneButton.Label"/>
                    <Description resid="TaskpaneButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.HiveToolbox"/>
                    <bt:Image size="32" resid="Icon.HiveToolbox"/>
                    <bt:Image size="80" resid="Icon.HiveToolbox"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId1</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
                <Control xsi:type="Button" id="InsertDocumentButton">
                  <Label resid="InsertDocument.Label"/>
                  <Supertip>
                    <Title resid="InsertDocument.Label"/>
                    <Description resid="InsertDocument.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.DocumentNew"/>
                    <bt:Image size="32" resid="Icon.DocumentNew"/>
                    <bt:Image size="80" resid="Icon.DocumentNew"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>insertDocument</FunctionName>
                  </Action>
                </Control>
                <Control xsi:type="Button" id="ResetSheetButton">
                  <Label resid="ResetSheet.Label"/>
                  <Supertip>
                    <Title resid="ResetSheet.Label"/>
                    <Description resid="ResetSheet.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.DocumentClean"/>
                    <bt:Image size="32" resid="Icon.DocumentClean"/>
                    <bt:Image size="80" resid="Icon.DocumentClean"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>resetSheet</FunctionName>
                  </Action>
                </Control>
                <Control xsi:type="Button" id="PrintLabelsButton">
                  <Label resid="PrintLabels.Label"/>
                  <Supertip>
                    <Title resid="PrintLabels.Label"/>
                    <Description resid="PrintLabels.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.TagsPrint"/>
                    <bt:Image size="32" resid="Icon.TagsPrint"/>
                    <bt:Image size="80" resid="Icon.TagsPrint"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>printLabels</FunctionName>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <!-- Main icons -->
        <bt:Image id="Icon.HiveToolbox" DefaultValue="https://omni-toolbox-latest.bemisc.com/assets/hive_toolbox.png"/>
        <bt:Image id="Icon.HiveLogo" DefaultValue="https://omni-toolbox-latest.bemisc.com/assets/hive_logo.png"/>
        <!-- Action icons -->
        <bt:Image id="Icon.DocumentNew" DefaultValue="https://omni-toolbox-latest.bemisc.com/assets/document_new.png"/>
        <bt:Image id="Icon.DocumentClean" DefaultValue="https://omni-toolbox-latest.bemisc.com/assets/document_clean.png"/>
        <bt:Image id="Icon.DocumentPrint" DefaultValue="https://omni-toolbox-latest.bemisc.com/assets/document_print.png"/>
        <bt:Image id="Icon.TagsPrint" DefaultValue="https://omni-toolbox-latest.bemisc.com/assets/tags_print.png"/>
        <bt:Image id="Icon.Bug" DefaultValue="https://omni-toolbox-latest.bemisc.com/assets/bug.png"/>
        <bt:Image id="Icon.Support" DefaultValue="https://omni-toolbox-latest.bemisc.com/assets/support.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://hive.pt"/>
        <bt:Url id="Commands.Url" DefaultValue="https://omni-toolbox-latest.bemisc.com/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://omni-toolbox-latest.bemisc.com/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Get started with Omni Toolbox"/>
        <bt:String id="CommandsGroup.Label" DefaultValue="Omni Toolbox"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="Show Toolbox"/>
        <bt:String id="InsertDocument.Label" DefaultValue="Insert Document"/>
        <bt:String id="ResetSheet.Label" DefaultValue="Reset Sheet"/>
        <bt:String id="PrintLabels.Label" DefaultValue="Print Labels"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Omni Toolbox add-in loaded successfully. Go to the HOME tab and click 'Show Toolbox' to get started."/>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Click to show the Omni Toolbox panel"/>
        <bt:String id="InsertDocument.Tooltip" DefaultValue="Create and insert a purchase document"/>
        <bt:String id="ResetSheet.Tooltip" DefaultValue="Reset the current sheet to its default state"/>
        <bt:String id="PrintLabels.Tooltip" DefaultValue="Print product labels for current items"/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
