<?xml version="1.0" encoding="UTF-8"?>
<!--
  Scriptoscope for Word: the add-in-only (XML) manifest.
  Do not edit the generated copies. scripts/build-manifest.mjs fills the {{...}} values per environment
  and writes dist/manifest.xml (staging/production) or manifest/manifest.dev.xml (localhost).
-->
<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>d0b2b545-e667-4a25-8f72-245e73cb7550</Id>
  <Version>1.0.2.0</Version>
  <ProviderName>Scriptoscope</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Scriptoscope"/>
  <Description DefaultValue="Review contracts against your playbook and real market terms, then comment and redline without leaving Word."/>
  <IconUrl DefaultValue="https://addin.scriptoscope.com/icons/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://addin.scriptoscope.com/icons/icon-64.png"/>
  <SupportUrl DefaultValue="https://scriptoscope.com/contact"/>
  <Hosts>
    <Host Name="Document"/>
  </Hosts>
  <!-- The floor. Comments, tracked changes and export are feature-detected at runtime (src/office/host.ts). -->
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="WordApi" MinVersion="1.3"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://addin.scriptoscope.com/taskpane.html"/>
  </DefaultSettings>
  <!-- Read: export the document for review and find clauses. Write: comments and tracked changes the user asks for. -->
  <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>
          <FunctionFile resid="Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Scriptoscope.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="Scriptoscope.OpenPane">
                  <Label resid="OpenPane.Label"/>
                  <Supertip>
                    <Title resid="OpenPane.Label"/>
                    <Description resid="OpenPane.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>ScriptoscopePane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://addin.scriptoscope.com/icons/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://addin.scriptoscope.com/icons/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://addin.scriptoscope.com/icons/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://scriptoscope.com/contact"/>
        <bt:Url id="Commands.Url" DefaultValue="https://addin.scriptoscope.com/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://addin.scriptoscope.com/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Scriptoscope is ready"/>
        <bt:String id="Group.Label" DefaultValue="Scriptoscope"/>
        <bt:String id="OpenPane.Label" DefaultValue="Review contract"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Open Review contract on the Home tab to check this document against your playbook and market terms."/>
        <bt:String id="OpenPane.Tooltip" DefaultValue="Check this contract against your playbook and real market terms, then comment and redline in place."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
