<?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>493968A4-F81D-40D6-A41C-216456DF6C15</Id>
  <Version>1.0.1.0</Version>
  <ProviderName>Allocator</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Allocator"/>
  <Description DefaultValue="Allocator Excel Add-in"/>
  <IconUrl DefaultValue="https://tunnel.allocator.com/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://tunnel.allocator.com/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://allocator.com"/>
  <AppDomains>
    <AppDomain>https://tunnel.allocator.com</AppDomain>
  </AppDomains>

  <Hosts>
    <Host Name="Workbook"/>
  </Hosts>

  <DefaultSettings>
    <SourceLocation DefaultValue="https://tunnel.allocator.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="Functions.Page.Url"/>

          <ExtensionPoint xsi:type="CustomFunctions">
            <Script>
              <SourceLocation resid="Functions.Script.Url"/>
            </Script>
            <Page>
              <SourceLocation resid="Functions.Page.Url"/>
            </Page>
            <Metadata>
              <SourceLocation resid="Functions.Metadata.Url"/>
            </Metadata>
            <Namespace resid="Functions.Namespace"/>
          </ExtensionPoint>

          <!-- Custom "Allocator" Tab -->
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="AllocatorTab">
              <Group id="AllocatorGroup">
                <Label resid="AllocatorGroup.Label"/>
                <Icon>
                  <bt:Image size="16" resid="Icon.16x16"/>
                  <bt:Image size="32" resid="Icon.32x32"/>
                  <bt:Image size="80" resid="Icon.80x80"/>
                </Icon>

                <!-- Info Button -->
                <Control xsi:type="Button" id="InfoButton">
                  <Label resid="InfoButton.Label"/>
                  <Supertip>
                    <Title resid="InfoButton.Label"/>
                    <Description resid="InfoButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16x16"/>
                    <bt:Image size="32" resid="Icon.32x32"/>
                    <bt:Image size="80" resid="Icon.80x80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>InfoTaskpane</TaskpaneId>
                    <SourceLocation resid="Info.Url"/>
                  </Action>
                </Control>
              </Group>
              <Label resid="AllocatorTab.Label"/>
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://tunnel.allocator.com/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://tunnel.allocator.com/assets/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://tunnel.allocator.com/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Commands.Url" DefaultValue="https://tunnel.allocator.com/commands.html"/>
        <bt:Url id="Info.Url" DefaultValue="https://tunnel.allocator.com/info.html"/>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://allocator.com"/>
        <bt:Url id="Functions.Script.Url" DefaultValue="https://tunnel.allocator.com/functions.js"/>
        <bt:Url id="Functions.Page.Url" DefaultValue="https://tunnel.allocator.com/functions.html"/>
        <bt:Url id="Functions.Metadata.Url" DefaultValue="https://tunnel.allocator.com/functions.json"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Allocator"/>
        <bt:String id="AllocatorTab.Label" DefaultValue="Allocator"/>
        <bt:String id="AllocatorGroup.Label" DefaultValue="Allocator"/>
        <bt:String id="InfoButton.Label" DefaultValue="Info"/>
        <bt:String id="Functions.Namespace" DefaultValue="ALLOCATOR"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Allocator add-in loaded successfully."/>
        <bt:String id="InfoButton.Tooltip" DefaultValue="Show Allocator information"/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
