<?xml version="1.0" encoding="UTF-8"?>
<!--
  The Word add-in's (template authoring) add-in-only (XML) manifest, one per environment,
  written by build.mts into dist-manifests/<environment>/word.xml. Every double-braced token is filled from
  environments.mts; one left unfilled refuses the build. Not the unified JSON manifest: it is not
  supported on perpetual Office or Office mobile (40-client-apps-design.md decision 2).
-->
<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>d4750a14-899b-46c3-8ba4-bda51d7d7691</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>KSI Digital</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="AutomaDoc – template builder"/>
  <Description DefaultValue="Write AutomaDoc templates in Word: insert fields, loops, conditions and picture placeholders, check the template and publish it."/>
  <IconUrl DefaultValue="https://office.automadoc.cc/icons/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://office.automadoc.cc/icons/icon-64.png"/>
  <SupportUrl DefaultValue="https://www.automadoc.cc/en/contact"/>
  <Hosts>
    <Host Name="Document"/>
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="WordApi" MinVersion="1.3"/>
      <Set Name="DialogApi" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://office.automadoc.cc/word.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>
          <FunctionFile resid="Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="AutomaDoc.Group">
                <Label resid="Group.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="AutomaDoc.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>AutomaDoc.Taskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://office.automadoc.cc/icons/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://office.automadoc.cc/icons/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://office.automadoc.cc/icons/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://www.automadoc.cc/en/platforms/microsoft-365"/>
        <bt:Url id="Commands.Url" DefaultValue="https://office.automadoc.cc/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://office.automadoc.cc/word.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="AutomaDoc is ready"/>
        <bt:String id="Group.Label" DefaultValue="AutomaDoc"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="AutomaDoc"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Open AutomaDoc from the Home tab to insert fields into this document and publish it as a template."/>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Open AutomaDoc to build a template from this document."/>
      </bt:LongStrings>
    </Resources>
    <WebApplicationInfo>
      <Id>54c7a22b-a28b-4402-a327-06a566c2ee74</Id>
      <Resource>api://api.automadoc.cc/54c7a22b-a28b-4402-a327-06a566c2ee74</Resource>
      <Scopes>
        <Scope>openid</Scope>
        <Scope>profile</Scope>
      </Scopes>
    </WebApplicationInfo>
  </VersionOverrides>
</OfficeApp>
