<?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>7e97f8e8-49ce-4a5d-99cc-5447a460a27f</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>PlotDirector</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="PlotDirector Companion"/>
  <Description DefaultValue="Companion tools for PlotDirector authors."/>
  <IconUrl DefaultValue="https://plotdirector.com/android-chrome-192x192.png"/>
  <HighResolutionIconUrl DefaultValue="https://plotdirector.com/android-chrome-192x192.png"/>
  <SupportUrl DefaultValue="https://plotdirector.com/word-companion"/>
  <AppDomains>
    <AppDomain>https://plotdirector.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document"/>
  </Hosts>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://plotdirector.com/word-companion"/>
  </DefaultSettings>
  <!-- ReadDocument is required for the companion to read Word paragraphs, selection context,
       and document body content. It does not grant document write access. -->
  <Permissions>ReadDocument</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="Taskpane.Url"/>
          </GetStarted>
          <FunctionFile resid="Taskpane.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="PlotDirector.Companion.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="PlotDirector.Companion.OpenButton">
                  <Label resid="OpenButton.Label"/>
                  <Supertip>
                    <Title resid="OpenButton.Label"/>
                    <Description resid="OpenButton.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>PlotDirector.Companion.Taskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://plotdirector.com/android-chrome-192x192.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://plotdirector.com/android-chrome-192x192.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://plotdirector.com/android-chrome-192x192.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://plotdirector.com/word-companion"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Group.Label" DefaultValue="PlotDirector"/>
        <bt:String id="OpenButton.Label" DefaultValue="Open PlotDirector Companion"/>
        <bt:String id="GetStarted.Title" DefaultValue="PlotDirector Companion"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="OpenButton.Tooltip" DefaultValue="Open the PlotDirector Companion task pane."/>
        <bt:String id="GetStarted.Description" DefaultValue="Open the PlotDirector Companion task pane from the Home tab."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
