<?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>12345678-abcd-ef90-1234-567890abcdef</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>PPT Translator</ProviderName>
  <DefaultLocale>zh-CN</DefaultLocale>
  <DisplayName DefaultValue="PPT 翻译助手" />
  <Description DefaultValue="将 PowerPoint 演示文稿中的所有文本翻译为目标语言，同时保持原始格式不变。" />
  <IconUrl DefaultValue="https://localhost:3000/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://localhost:3000/assets/icon-64.png" />
  <SupportUrl DefaultValue="https://github.com" />

  <Permissions>ReadWriteDocument</Permissions>

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://localhost:3000/taskpane.html" />
  </DefaultSettings>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Presentation">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="PPTTranslator.Group">
                <Label resid="PPTTranslator.GroupLabel" />
                <Icon>
                  <bt:Image size="16" resid="PPTTranslator.tpicon_16x16" />
                  <bt:Image size="32" resid="PPTTranslator.tpicon_32x32" />
                  <bt:Image size="80" resid="PPTTranslator.tpicon_80x80" />
                </Icon>
                <Control xsi:type="Button" id="PPTTranslator.Button">
                  <Label resid="PPTTranslator.Button.Label" />
                  <Supertip>
                    <Title resid="PPTTranslator.Button.Label" />
                    <Description resid="PPTTranslator.Button.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="PPTTranslator.tpicon_16x16" />
                    <bt:Image size="32" resid="PPTTranslator.tpicon_32x32" />
                    <bt:Image size="80" resid="PPTTranslator.tpicon_80x80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>PPTTranslator.Taskpane</TaskpaneId>
                    <SourceLocation resid="PPTTranslator.Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="PPTTranslator.tpicon_16x16" DefaultValue="https://localhost:3000/assets/icon-16.png" />
        <bt:Image id="PPTTranslator.tpicon_32x32" DefaultValue="https://localhost:3000/assets/icon-32.png" />
        <bt:Image id="PPTTranslator.tpicon_80x80" DefaultValue="https://localhost:3000/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="PPTTranslator.Taskpane.Url" DefaultValue="https://localhost:3000/taskpane.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="PPTTranslator.Button.Label" DefaultValue="翻译助手" />
        <bt:String id="PPTTranslator.GroupLabel" DefaultValue="PPT翻译" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="PPTTranslator.Button.Tooltip" DefaultValue="打开PPT翻译助手面板" />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
