<?xml version="1.0" encoding="UTF-8"?>
<!-- Manifest for the RafikiArdhi Excel add-in (beta): the four panels (Checks, Spreadsheet, Tools, Functions)
     and the =RA. cell functions. Built for current Excel (Microsoft 365, Excel 2021 or later, Mac, web):
     the cell functions run in a shared runtime (excel/cf.html), a browser page like the panels.
     Everything it loads is on rafikiardhi.earth/excel/ (the icons are shared with the Word add-in in /addin/).
     Keep the <Id> the same forever; raise <Version> when you change this file. -->
<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>af0e38f1-df4c-4bb6-92ca-6579b9e6293b</Id>
  <Version>1.2.1.0</Version>
  <ProviderName>RafikiArdhi</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Calculation Spellchecker for Excel" />
  <Description DefaultValue="Plausibility checks, spreadsheet checks for formula mistakes and impossible values, research tools, and cell functions such as =RA.CCC(). No AI; nothing leaves your computer." />
  <IconUrl DefaultValue="https://rafikiardhi.earth/addin/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://rafikiardhi.earth/addin/icon-64.png" />
  <SupportUrl DefaultValue="https://rafikiardhi.earth/install-addin.html" />
  <AppDomains>
    <AppDomain>https://rafikiardhi.earth</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Workbook" />
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="SharedRuntime" MinVersion="1.1" />
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://rafikiardhi.earth/excel/checks.html" />
  </DefaultSettings>
  <!-- reads the selected cells and the workbook, adds sheets, comments and pictures -->
  <Permissions>ReadWriteDocument</Permissions>

  <!-- the cell functions, and two buttons on Excel's Home tab: "Checks" and "Tools" -->
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <Runtimes>
          <Runtime resid="Functions.Page.Url" lifetime="long" />
        </Runtimes>
        <AllFormFactors>
          <ExtensionPoint xsi:type="CustomFunctions">
            <Script>
              <SourceLocation resid="Functions.Script.Url" />
            </Script>
            <Page>
              <SourceLocation resid="Functions.Page.Url" />
            </Page>
            <Metadata>
              <SourceLocation resid="Functions.Metadata.Url" />
            </Metadata>
            <Namespace resid="Functions.Namespace" />
          </ExtensionPoint>
        </AllFormFactors>
        <DesktopFormFactor>
          <FunctionFile resid="Functions.Page.Url" />
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="RA.Group">
                <Label resid="RA.GroupLabel" />
                <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="RA.Checks">
                  <Label resid="RA.ChecksLabel" />
                  <Supertip>
                    <Title resid="RA.ChecksLabel" />
                    <Description resid="RA.ChecksTip" />
                  </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>RA.Pane</TaskpaneId>
                    <SourceLocation resid="Checks.Url" />
                  </Action>
                </Control>
                <Control xsi:type="Button" id="RA.Tools">
                  <Label resid="RA.ToolsLabel" />
                  <Supertip>
                    <Title resid="RA.ToolsLabel" />
                    <Description resid="RA.ToolsTip" />
                  </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>RA.Pane</TaskpaneId>
                    <SourceLocation resid="Tools.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://rafikiardhi.earth/addin/icon-16.png" />
        <bt:Image id="Icon.32" DefaultValue="https://rafikiardhi.earth/addin/icon-32.png" />
        <bt:Image id="Icon.80" DefaultValue="https://rafikiardhi.earth/addin/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Checks.Url" DefaultValue="https://rafikiardhi.earth/excel/checks.html" />
        <bt:Url id="Tools.Url" DefaultValue="https://rafikiardhi.earth/excel/tools.html" />
        <bt:Url id="Functions.Script.Url" DefaultValue="https://rafikiardhi.earth/excel/functions.js" />
        <bt:Url id="Functions.Metadata.Url" DefaultValue="https://rafikiardhi.earth/excel/functions.json" />
        <bt:Url id="Functions.Page.Url" DefaultValue="https://rafikiardhi.earth/excel/cf.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="RA.GroupLabel" DefaultValue="RafikiArdhi" />
        <bt:String id="Functions.Namespace" DefaultValue="RA" />
        <bt:String id="RA.ChecksLabel" DefaultValue="Checks" />
        <bt:String id="RA.ToolsLabel" DefaultValue="Tools" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="RA.ChecksTip" DefaultValue="Plausibility checks: read the selected cells, or check the whole workbook." />
        <bt:String id="RA.ToolsTip" DefaultValue="Research tools that use your selected cells and write results to new sheets." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
