<?xml version="1.0" encoding="UTF-8"?>
<!--
  DocaryS for Microsoft Word: a task pane add-in (Word for the web, Windows, Mac).
  Install: Word → Insert → Add-ins → Upload My Add-in → this file; or an organisation's
  Microsoft 365 admin deploys it for everyone (Integrated apps). The pane is
  https://docarys.mn/word/taskpane.html.
-->
<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>333ba309-05af-47c5-b38a-dc3683916a01</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Gerege Systems</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="DocaryS"/>
  <Description DefaultValue="Write a contract template in Word: DocaryS finds the variables, and saves it as a template people sign with e-ID."/>
  <IconUrl DefaultValue="https://docarys.mn/word/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://docarys.mn/word/icon-64.png"/>
  <SupportUrl DefaultValue="https://docarys.mn/help/word"/>
  <AppDomains>
    <AppDomain>https://docarys.mn</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document"/>
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.3">
      <Set Name="WordApi" MinVersion="1.3"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://docarys.mn/word/taskpane.html"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Document">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="CMN.Group">
                <Label resid="CMN.GroupLabel"/>
                <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="CMN.Open">
                  <Label resid="CMN.ButtonLabel"/>
                  <Supertip>
                    <Title resid="CMN.ButtonLabel"/>
                    <Description resid="CMN.ButtonTip"/>
                  </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>ContractMN</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://docarys.mn/word/icon-16.png"/>
        <bt:Image id="Icon.32" DefaultValue="https://docarys.mn/word/icon-32.png"/>
        <bt:Image id="Icon.80" DefaultValue="https://docarys.mn/word/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://docarys.mn/word/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="CMN.GroupLabel" DefaultValue="DocaryS"/>
        <bt:String id="CMN.ButtonLabel" DefaultValue="Contract template"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="CMN.ButtonTip" DefaultValue="Find the variables, open and save DocaryS templates."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
