<?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>76350cad-d7ae-4cbb-868c-6ddd43ce3bd8</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Mist</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>

  <DisplayName DefaultValue="MistSG"/>
  <Description DefaultValue="Import MistSG stock data into Excel."/>

  <IconUrl DefaultValue="https://www.mistcharts.com/advancedchart_sgv2/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://www.mistcharts.com/advancedchart_sgv2/assets/icon-128.png"/>
  <SupportUrl DefaultValue="https://mist-net.com/"/>

  <AppDomains>
    <AppDomain>https://mist-net.com/</AppDomain>
  </AppDomains>

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

  <!-- <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="SharedRuntime" MinVersion="1.1"/>
    </Sets>
  </Requirements> -->

  <DefaultSettings>
    <SourceLocation DefaultValue="http://127.0.0.1:1325/taskpane.html"/>
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">

      <!-- <Runtimes>
        <Runtime resid="Taskpane.Url" lifetime="long" />
      </Runtimes> -->

        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>

          <FunctionFile resid="Taskpane.Url"/>

          <ExtensionPoint xsi:type="PrimaryCommandSurface">

            <OfficeTab id="TabHome">
              <Group id="CommandsGroup">
                <Label resid="MistSG.Tab1.GroupLabel"/>
                <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="MistSG.TaskpaneButton">
                  <Label resid="MistSG.TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="MistSG.TaskpaneButton.Label"/>
                    <Description resid="MistSG.TaskpaneButton.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>Office.AutoShowTaskpaneWithDocument</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>

            <!-- <CustomTab id="MistSG.Tab">
              <Group id="MistSG.Tab1.Group1">
                <Label resid="MistSG.Tab1.GroupLabel" />
                <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="MistSG.TaskpaneButton">
                  <Label resid="MistSG.TaskpaneButton.Label" />                 
                  <Supertip>                   
                    <Title resid="MistSG.TaskpaneButton.Label" />                   
                    <Description resid="MistSG.TaskpaneButton.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>Office.AutoShowTaskpaneWithDocument</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>             
              <Label resid="MistSG.Tab.TabLabel" />
            </CustomTab> -->
            
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>

      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://www.mistcharts.com/advancedchart_sgv2/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://www.mistcharts.com/advancedchart_sgv2/assets/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://www.mistcharts.com/advancedchart_sgv2/assets/icon-80.png"/>
      </bt:Images>

      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="http://go.microsoft.com/fwlink/?LinkId=276812"/>
        <bt:Url id="Commands.Url" DefaultValue="http://127.0.0.1:1325/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="http://127.0.0.1:1325/taskpane.html"/>
      </bt:Urls>

      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Import MistSG stock data into Excel."/>
        <bt:String id="CommandsGroup.Label" DefaultValue="MistSG Add-in"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="Open MistSG"/>

        <bt:String id="MistSG.Tab.TabLabel" DefaultValue="MistSG"/>
        <bt:String id="MistSG.Tab1.GroupLabel" DefaultValue="MistSG Add-in"/>
        <bt:String id="MistSG.TaskpaneButton.Label" DefaultValue="Open MistSG"/>
      </bt:ShortStrings>

      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Go to the MistSG tab and click the 'Open MistSG' button to get started."/>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Click to Open MistSG Add-in"/>
        <bt:String id="MistSG.TaskpaneButton.Tooltip" DefaultValue="Click to Open MistSG Add-in"/>
      </bt:LongStrings>

    </Resources>
  </VersionOverrides>
</OfficeApp>