<?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>61EBD81E-9FFF-4B77-B0AE-3616CDD72BF6</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Duanyll</ProviderName>
  <DefaultLocale>zh-CN</DefaultLocale>
  <DisplayName DefaultValue="Slide2Pdf" />
  <Description DefaultValue="在本机将当前幻灯片导出为矢量 PDF，可选择保留整页或按内容裁切。" />
  <IconUrl DefaultValue="https://slide2pdf.duanyll.com/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://slide2pdf.duanyll.com/assets/icon-80.png" />
  <SupportUrl DefaultValue="https://github.com/Duanyll/Slide2Pdf" />
  <AppDomains>
    <AppDomain>https://slide2pdf.duanyll.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Presentation" />
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="PowerPointApi" MinVersion="1.10" />
    </Sets>
    <Methods>
      <Method Name="Document.getFileAsync" />
      <Method Name="Document.getFilePropertiesAsync" />
    </Methods>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://slide2pdf.duanyll.com/taskpane.html" />
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.1">
        <bt:Set Name="PowerPointApi" MinVersion="1.10" />
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="Presentation">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title" />
            <Description resid="GetStarted.Description" />
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl" />
          </GetStarted>
          <FunctionFile resid="Taskpane.Url" />
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Slide2Pdf.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="Slide2Pdf.OpenTaskpane">
                  <Label resid="Button.Label" />
                  <Supertip>
                    <Title resid="Button.Label" />
                    <Description resid="Button.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>Slide2Pdf.Taskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://slide2pdf.duanyll.com/assets/icon-16.png" />
        <bt:Image id="Icon.32" DefaultValue="https://slide2pdf.duanyll.com/assets/icon-32.png" />
        <bt:Image id="Icon.80" DefaultValue="https://slide2pdf.duanyll.com/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://slide2pdf.duanyll.com/taskpane.html" />
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://github.com/Duanyll/Slide2Pdf" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Slide2Pdf 已就绪" />
        <bt:String id="Group.Label" DefaultValue="Slide2Pdf" />
        <bt:String id="Button.Label" DefaultValue="导出 PDF" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="在“开始”选项卡中点击“加载项”，选择 Slide2Pdf 后导出当前幻灯片。" />
        <bt:String id="Button.Tooltip" DefaultValue="打开 Slide2Pdf，将当前幻灯片导出为矢量 PDF。" />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
