<?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>03305ea7-f246-41ac-8451-c52f63a8f2ff</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>word-better-pdf-export</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Better PDF Export"/>
  <Description DefaultValue="Exports the document to PDF with Word's converter and restores the original, uncompressed pictures in the PDF."/>
  <IconUrl DefaultValue="https://rakantor.github.io/word-better-pdf-export/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://rakantor.github.io/word-better-pdf-export/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://rakantor.github.io/word-better-pdf-export/support.html"/>
  <AppDomains>
    <AppDomain>https://rakantor.github.io</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document"/>
  </Hosts>
  <!-- getFileAsync(Pdf) needs "File", getFileAsync(Compressed) needs "CompressedFile": Word on Windows/Mac/iPad, not Word on the web. -->
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="File" MinVersion="1.1"/>
      <Set Name="CompressedFile" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://rakantor.github.io/word-better-pdf-export/taskpane.html"/>
  </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">
            <OfficeTab id="TabHome">
              <Group id="BetterPdfExport.Group">
                <Label resid="Group.Label"/>
                <Icon>
                  <bt:Image size="16" resid="Icon.16x16"/>
                  <bt:Image size="32" resid="Icon.32x32"/>
                  <bt:Image size="80" resid="Icon.80x80"/>
                </Icon>
                <Control xsi:type="Button" id="BetterPdfExport.Open">
                  <Label resid="Button.Label"/>
                  <Supertip>
                    <Title resid="Button.Label"/>
                    <Description resid="Button.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16x16"/>
                    <bt:Image size="32" resid="Icon.32x32"/>
                    <bt:Image size="80" resid="Icon.80x80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>BetterPdfExport.Taskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://rakantor.github.io/word-better-pdf-export/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://rakantor.github.io/word-better-pdf-export/assets/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://rakantor.github.io/word-better-pdf-export/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://rakantor.github.io/word-better-pdf-export/index.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://rakantor.github.io/word-better-pdf-export/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Better PDF Export is ready"/>
        <bt:String id="Group.Label" DefaultValue="Better PDF Export"/>
        <bt:String id="Button.Label" DefaultValue="Export PDF"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Open the Better PDF Export pane from the Home tab to export a PDF that keeps your pictures at their original quality."/>
        <bt:String id="Button.Tooltip" DefaultValue="Export a PDF whose pictures keep their original quality instead of Word's compressed versions."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
