<?xml version="1.0" encoding="UTF-8"?>
<!--
  ЮрИИст for Word: the add-in only manifest (XML) for Word 2016+ / Microsoft 365
  on Windows and Mac and Word on the web. The task pane is the hosted page
  https://app.yriist.ru/addin/word. Install / sideload: docs/features/office-addins.md.
  The Id never changes (Office keys installs and settings by it); bump Version on every change.
-->
<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>b1bfe5c7-3d55-4c07-98ea-4c07eb7d2584</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>ЮрИИст</ProviderName>
  <DefaultLocale>ru-RU</DefaultLocale>
  <DisplayName DefaultValue="ЮрИИст"/>
  <Description DefaultValue="Юридический ИИ-ассистент рядом с документом: проверка договора, объяснение и переписывание фрагментов, судебная практика. Правки вносятся исправлениями."/>
  <IconUrl DefaultValue="https://app.yriist.ru/addin/word/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://app.yriist.ru/addin/word/icon-64.png"/>
  <SupportUrl DefaultValue="https://yriist.ru/support"/>
  <AppDomains>
    <AppDomain>https://app.yriist.ru</AppDomain>
    <AppDomain>https://yriist.ru</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document"/>
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="WordApi" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://app.yriist.ru/addin/word"/>
  </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="Yriist.GetStarted.Title"/>
            <Description resid="Yriist.GetStarted.Description"/>
            <LearnMoreUrl resid="Yriist.LearnMoreUrl"/>
          </GetStarted>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Yriist.Group">
                <Label resid="Yriist.Group.Label"/>
                <Icon>
                  <bt:Image size="16" resid="Yriist.Icon.16"/>
                  <bt:Image size="32" resid="Yriist.Icon.32"/>
                  <bt:Image size="80" resid="Yriist.Icon.80"/>
                </Icon>
                <Control xsi:type="Button" id="Yriist.OpenPane">
                  <Label resid="Yriist.OpenPane.Label"/>
                  <Supertip>
                    <Title resid="Yriist.OpenPane.Label"/>
                    <Description resid="Yriist.OpenPane.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Yriist.Icon.16"/>
                    <bt:Image size="32" resid="Yriist.Icon.32"/>
                    <bt:Image size="80" resid="Yriist.Icon.80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>YriistPane</TaskpaneId>
                    <SourceLocation resid="Yriist.Pane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Yriist.Icon.16" DefaultValue="https://app.yriist.ru/addin/word/icon-16.png"/>
        <bt:Image id="Yriist.Icon.32" DefaultValue="https://app.yriist.ru/addin/word/icon-32.png"/>
        <bt:Image id="Yriist.Icon.80" DefaultValue="https://app.yriist.ru/addin/word/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Yriist.Pane.Url" DefaultValue="https://app.yriist.ru/addin/word"/>
        <bt:Url id="Yriist.LearnMoreUrl" DefaultValue="https://yriist.ru"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Yriist.GetStarted.Title" DefaultValue="ЮрИИст в Word"/>
        <bt:String id="Yriist.Group.Label" DefaultValue="ЮрИИст"/>
        <bt:String id="Yriist.OpenPane.Label" DefaultValue="ЮрИИст"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Yriist.GetStarted.Description" DefaultValue="Нажмите «ЮрИИст» на вкладке «Главная», чтобы открыть ассистента рядом с документом."/>
        <bt:String id="Yriist.OpenPane.Tooltip" DefaultValue="Проверить договор, объяснить или переписать выделенное, найти судебную практику."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
