<?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>75987f5e-2e73-4f60-965a-ca0a1bc37b39</Id>
  <Version>2.0.0.0</Version>
  <ProviderName>The Solutioners Labs</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Hanna Financial Intelligence for Excel" />
  <Description DefaultValue="AI-powered spreadsheet assistant by The Solutioners Labs. Create, edit, and analyze spreadsheets using natural language." />
  <IconUrl DefaultValue="https://gemxl.thesolutionerslabs.ca/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://gemxl.thesolutionerslabs.ca/assets/icon-64.png" />
  <SupportUrl DefaultValue="https://gemxl.thesolutionerslabs.ca/support/" />

  <AppDomains>
    <AppDomain>https://gemxl.thesolutionerslabs.ca</AppDomain>
  </AppDomains>

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://gemxl.thesolutionerslabs.ca/taskpane.html" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <FunctionFile resid="Commands.Url" />
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="ExcelAI.Tab">
              <Group id="ExcelAI.Group">
                <Label resid="Group.Label" />
                <Icon>
                  <bt:Image size="16" resid="Icon.16x16" />
                  <bt:Image size="32" resid="Icon.32x32" />
                  <bt:Image size="80" resid="Icon.80x80" />
                </Icon>
                <Control xsi:type="Button" id="ExcelAI.OpenPane">
                  <Label resid="OpenPane.Label" />
                  <Supertip>
                    <Title resid="OpenPane.Title" />
                    <Description resid="OpenPane.Desc" />
                  </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>ExcelAI.TaskPane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
                <Control xsi:type="Button" id="ExcelAI.QuickFormula">
                  <Label resid="QuickFormula.Label" />
                  <Supertip>
                    <Title resid="QuickFormula.Title" />
                    <Description resid="QuickFormula.Desc" />
                  </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="ExecuteFunction">
                    <FunctionName>quickFormula</FunctionName>
                  </Action>
                </Control>
              </Group>
              <Label resid="Tab.Label" />
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://gemxl.thesolutionerslabs.ca/assets/icon-16.png" />
        <bt:Image id="Icon.32x32" DefaultValue="https://gemxl.thesolutionerslabs.ca/assets/icon-32.png" />
        <bt:Image id="Icon.80x80" DefaultValue="https://gemxl.thesolutionerslabs.ca/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://gemxl.thesolutionerslabs.ca/taskpane.html" />
        <bt:Url id="Commands.Url" DefaultValue="https://gemxl.thesolutionerslabs.ca/commands.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Tab.Label" DefaultValue="Hanna" />
        <bt:String id="Group.Label" DefaultValue="Hanna" />
        <bt:String id="OpenPane.Label" DefaultValue="Open Hanna" />
        <bt:String id="OpenPane.Title" DefaultValue="Hanna Financial Intelligence for Excel" />
        <bt:String id="QuickFormula.Label" DefaultValue="AI Formula" />
        <bt:String id="QuickFormula.Title" DefaultValue="Generate Formula" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="OpenPane.Desc" DefaultValue="Open the AI assistant panel to create, edit, and analyze your spreadsheets using natural language." />
        <bt:String id="QuickFormula.Desc" DefaultValue="Generate an Excel formula using AI based on your description." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
