<?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>c0b1f7c4-1a2e-4f7b-9f2a-8a2e1c0b1f7d</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>NOBLE</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Noble Trial Balance"/>
  <Description DefaultValue="Load a trial balance from the Noble Go server into Excel."/>
  <IconUrl DefaultValue="https://api.nobleledger.com/addin/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://api.nobleledger.com/addin/assets/icon-80.png"/>
  <SupportUrl DefaultValue="https://api.nobleledger.com/"/>

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

  <Requirements>
    <Sets DefaultMinVersion="1.7">
      <Set Name="CustomFunctionsRuntime" MinVersion="1.4"/>
    </Sets>
  </Requirements>

  <DefaultSettings>
    <SourceLocation DefaultValue="https://api.nobleledger.com/addin/taskpane.html"/>
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <AllFormFactors>
          <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>
        </AllFormFactors>
        <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="NobleGroup">
                <Label resid="NobleGroup.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="NobleTaskpaneButton">
                  <Label resid="TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="TaskpaneButton.Label"/>
                    <Description resid="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>ButtonId1</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://api.nobleledger.com/addin/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://api.nobleledger.com/addin/assets/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://api.nobleledger.com/addin/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://learn.microsoft.com/office/dev/add-ins/"/>
        <bt:Url id="Commands.Url" DefaultValue="https://api.nobleledger.com/addin/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://api.nobleledger.com/addin/taskpane.html"/>
        <bt:Url id="Functions.Script.Url" DefaultValue="https://api.nobleledger.com/addin/functions.js"/>
        <bt:Url id="Functions.Page.Url" DefaultValue="https://api.nobleledger.com/addin/functions.html"/>
        <bt:Url id="Functions.Metadata.Url" DefaultValue="https://api.nobleledger.com/addin/functions.json"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Noble Trial Balance"/>
        <bt:String id="NobleGroup.Label" DefaultValue="Noble"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="Open Noble"/>
        <bt:String id="Functions.Namespace" DefaultValue="NOBLE"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Load a trial balance from your Noble Go server."/>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Open the Noble task pane."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
