<?xml version="1.0" encoding="UTF-8"?>
<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>3939cfcf-4a6b-4958-8190-a4144689ade6</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Business Online</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Business Online" />
  <Description DefaultValue="Browse governing document templates and copy them into the correct customer, contract, lead, project or personnel library — using your own SharePoint permissions." />
  <IconUrl DefaultValue="https://addin.business-online.no/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://addin.business-online.no/assets/icon-64.png" />
  <SupportUrl DefaultValue="https://www.business-online.no/" />

  <AppDomains>
    <AppDomain>https://localhost:3000</AppDomain>
    <AppDomain>https://addin.business-online.no</AppDomain>
    <AppDomain>https://login.microsoftonline.com</AppDomain>
  </AppDomains>

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://addin.business-online.no/taskpane.html" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Document">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title" />
            <Description resid="GetStarted.Description" />
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl" />
          </GetStarted>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="BO.Group">
                <Label resid="BO.Group.Label" />
                <Icon>
                  <bt:Image size="16" resid="Icon.16" />
                  <bt:Image size="32" resid="Icon.32" />
                  <bt:Image size="80" resid="Icon.80" />
                </Icon>
                <Control xsi:type="Button" id="BO.TaskpaneButton">
                  <Label resid="BO.TaskpaneButton.Label" />
                  <Supertip>
                    <Title resid="BO.TaskpaneButton.Label" />
                    <Description resid="BO.TaskpaneButton.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16" />
                    <bt:Image size="32" resid="Icon.32" />
                    <bt:Image size="80" resid="Icon.80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId1</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>

      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title" />
            <Description resid="GetStarted.Description" />
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl" />
          </GetStarted>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="BO.Group">
                <Label resid="BO.Group.Label" />
                <Icon>
                  <bt:Image size="16" resid="Icon.16" />
                  <bt:Image size="32" resid="Icon.32" />
                  <bt:Image size="80" resid="Icon.80" />
                </Icon>
                <Control xsi:type="Button" id="BO.TaskpaneButton">
                  <Label resid="BO.TaskpaneButton.Label" />
                  <Supertip>
                    <Title resid="BO.TaskpaneButton.Label" />
                    <Description resid="BO.TaskpaneButton.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16" />
                    <bt:Image size="32" resid="Icon.32" />
                    <bt:Image size="80" resid="Icon.80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId1</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>

      <Host xsi:type="Presentation">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title" />
            <Description resid="GetStarted.Description" />
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl" />
          </GetStarted>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="BO.Group">
                <Label resid="BO.Group.Label" />
                <Icon>
                  <bt:Image size="16" resid="Icon.16" />
                  <bt:Image size="32" resid="Icon.32" />
                  <bt:Image size="80" resid="Icon.80" />
                </Icon>
                <Control xsi:type="Button" id="BO.TaskpaneButton">
                  <Label resid="BO.TaskpaneButton.Label" />
                  <Supertip>
                    <Title resid="BO.TaskpaneButton.Label" />
                    <Description resid="BO.TaskpaneButton.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16" />
                    <bt:Image size="32" resid="Icon.32" />
                    <bt:Image size="80" resid="Icon.80" />
                  </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.16" DefaultValue="https://addin.business-online.no/assets/icon-16.png" />
        <bt:Image id="Icon.32" DefaultValue="https://addin.business-online.no/assets/icon-32.png" />
        <bt:Image id="Icon.80" DefaultValue="https://addin.business-online.no/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://www.business-online.no/" />
        <bt:Url id="Taskpane.Url" DefaultValue="https://addin.business-online.no/taskpane.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Business Online is ready">
          <bt:Override Locale="nb-NO" Value="Business Online er klar" />
        </bt:String>
        <bt:String id="BO.Group.Label" DefaultValue="Business Online">
          <bt:Override Locale="nb-NO" Value="Business Online" />
        </bt:String>
        <bt:String id="BO.TaskpaneButton.Label" DefaultValue="Governing Documents">
          <bt:Override Locale="nb-NO" Value="Styrende dokumenter" />
        </bt:String>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Open the Business Online task pane to browse and copy governing document templates.">
          <bt:Override Locale="nb-NO" Value="Åpne Business Online-oppgaveruten for å bla i og kopiere styrende dokumentmaler." />
        </bt:String>
        <bt:String id="BO.TaskpaneButton.Tooltip" DefaultValue="Browse governing document templates and copy them to the right destination.">
          <bt:Override Locale="nb-NO" Value="Bla i styrende dokumentmaler og kopier dem til riktig destinasjon." />
        </bt:String>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
