<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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>e98cd214-3d09-4676-aca0-117d3a72c1aa</Id>
  <Version>1.1.2.0</Version>
  <ProviderName>DeepPaperLab</ProviderName>
  <DefaultLocale>zh-CN</DefaultLocale>
  <DisplayName DefaultValue="DeepPaperLab 引用助手" />
  <Description DefaultValue="连接 DeepPaperLab 文献库，搜索文献、插入正文引用并自动生成参考文献。" />
  <IconUrl DefaultValue="https://www.deeppaperlab.com/assets/word-icon-rounded-32.png" />
  <HighResolutionIconUrl DefaultValue="https://www.deeppaperlab.com/assets/word-icon-rounded-80.png" />
  <SupportUrl DefaultValue="https://www.deeppaperlab.com/word-plugin" />

  <AppDomains>
    <AppDomain>https://www.deeppaperlab.com</AppDomain>
  </AppDomains>

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://www.deeppaperlab.com/word-addin/taskpane.html?mv=1.1.2" />
  </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">
            <CustomTab id="DPL.Tab">
              <Group id="DPL.Group">
                <Label resid="Group.Label" />
                <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="DPL.OpenTaskpane">
                  <Label resid="Taskpane.Label" />
                  <Supertip>
                    <Title resid="Taskpane.Label" />
                    <Description resid="Taskpane.Tooltip" />
                  </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>DPL.Taskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
              <Label resid="Tab.Label" />
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://www.deeppaperlab.com/assets/word-icon-rounded-16.png" />
        <bt:Image id="Icon.32" DefaultValue="https://www.deeppaperlab.com/assets/word-icon-rounded-32.png" />
        <bt:Image id="Icon.80" DefaultValue="https://www.deeppaperlab.com/assets/word-icon-rounded-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://www.deeppaperlab.com/word-addin/taskpane.html?mv=1.1.2" />
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://www.deeppaperlab.com/word-plugin" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Tab.Label" DefaultValue="DeepPaperLab" />
        <bt:String id="GetStarted.Title" DefaultValue="DeepPaperLab 引用助手已就绪" />
        <bt:String id="Group.Label" DefaultValue="DeepPaperLab" />
        <bt:String id="Taskpane.Label" DefaultValue="引用助手" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="点击「引用助手」打开侧边栏，登录后即可搜索文献并插入引用。" />
        <bt:String id="Taskpane.Tooltip" DefaultValue="打开 DeepPaperLab 侧边栏：搜索文献、插入引用、生成参考文献。" />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
