<?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>a1b2c3d4-e5f6-7890-abcd-ef1234567890</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Lawcentr</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Lawcentr" />
  <Description DefaultValue="Create and fill document templates directly in Word using Lawcentr's template system." />
  <IconUrl DefaultValue="https://addin.lawcentr.com/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://addin.lawcentr.com/assets/icon-80.png" />
  <SupportUrl DefaultValue="https://lawcentr.com" />

  <AppDomains>
    <AppDomain>https://connect.lawcentr.com</AppDomain>
    <AppDomain>https://addin.lawcentr.com</AppDomain>
    <AppDomain>https://lawcentr.com</AppDomain>
  </AppDomains>

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://addin.lawcentr.com/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="CommandsGroup">
                <Label resid="CommandsGroup.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="TaskpaneButton">
                  <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://addin.lawcentr.com/assets/icon-16.png" />
        <bt:Image id="Icon.32x32" DefaultValue="https://addin.lawcentr.com/assets/icon-32.png" />
        <bt:Image id="Icon.80x80" DefaultValue="https://addin.lawcentr.com/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://lawcentr.com" />
        <bt:Url id="Taskpane.Url" DefaultValue="https://addin.lawcentr.com/taskpane.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Lawcentr for Word" />
        <bt:String id="CommandsGroup.Label" DefaultValue="Lawcentr" />
        <bt:String id="TaskpaneButton.Label" DefaultValue="Lawcentr" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Create and fill document templates with Lawcentr." />
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Open Lawcentr sidebar to create or fill document templates." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
