<?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>6d719ad1-17e1-47f1-bb57-b1389f39fbe0</Id>
  <Version>0.2.0.0</Version>
  <ProviderName>MATIN AI</ProviderName>
  <DefaultLocale>kk-KZ</DefaultLocale>
  <DisplayName DefaultValue="Matin Корректор"/>
  <Description DefaultValue="Қазақша мәтіндегі емле, жалғау және тыныс белгі қателерін Word ішінде өзі түзетеді."/>
  <IconUrl DefaultValue="https://matin.kz/word-addin/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://matin.kz/word-addin/icon-64.png"/>
  <SupportUrl DefaultValue="https://matin.kz/word"/>
  <AppDomains>
    <AppDomain>https://matin.kz</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document"/>
  </Hosts>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://matin.kz/word-addin"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Document">
        <!-- one long-lived runtime: Matin keeps working after the editor closes the panel -->
        <Runtimes>
          <Runtime resid="Matin.PaneUrl" lifetime="long" />
        </Runtimes>
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Matin.Group">
                <Label resid="Matin.GroupLabel"/>
                <Icon>
                  <bt:Image size="16" resid="Matin.Icon16"/>
                  <bt:Image size="32" resid="Matin.Icon32"/>
                  <bt:Image size="80" resid="Matin.Icon80"/>
                </Icon>
                <Control xsi:type="Button" id="Matin.OpenPane">
                  <Label resid="Matin.ButtonLabel"/>
                  <Supertip>
                    <Title resid="Matin.ButtonLabel"/>
                    <Description resid="Matin.ButtonTip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Matin.Icon16"/>
                    <bt:Image size="32" resid="Matin.Icon32"/>
                    <bt:Image size="80" resid="Matin.Icon80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="Matin.PaneUrl"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Matin.Icon16" DefaultValue="https://matin.kz/word-addin/icon-16.png"/>
        <bt:Image id="Matin.Icon32" DefaultValue="https://matin.kz/word-addin/icon-32.png"/>
        <bt:Image id="Matin.Icon80" DefaultValue="https://matin.kz/word-addin/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Matin.PaneUrl" DefaultValue="https://matin.kz/word-addin"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Matin.GroupLabel" DefaultValue="Matin"/>
        <bt:String id="Matin.ButtonLabel" DefaultValue="Корректор"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Matin.ButtonTip" DefaultValue="Қазақша мәтіннің емле, жалғау және тыныс белгі қателерін тексеріп, түзетеді."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
