<?xml version="1.0" encoding="UTF-8"?>
<!--
  Formula Audit XL — Office Add-in manifest (XML / "add-in only" manifest).

  Rules that are easy to break and cost an AppSource re-review:
   - <Id> is the app identity. NEVER change it; updates reuse it and only bump <Version>.
   - <Version> is a.b.c.d and must equal the version typed into the Partner Center form.
   - <ProviderName> must match the Partner Center publisher display name ("Scalarly Srl").
     Plain "Scalarly" was already taken when the publisher was registered on 2026-09-14.
   - <IconUrl> must be 32x32 and <HighResolutionIconUrl> 64x64. The local validator accepts
     other sizes; Partner Center's package check rejects them (2026-09-27).
   - Every URL must be https and publicly reachable without a login.
   - office.js is loaded from Microsoft's CDN by the page, never bundled.
   - ExcelApi 1.1 is declared on purpose: it is the widest reach (incl. Excel 2016 perpetual).
     Anything newer is feature-detected at runtime in src/lib/officejs/read-workbook.ts.
-->
<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>6d252904-d0b1-42f7-8b8e-1c1eb79648ec</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Scalarly Srl</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Formula Audit XL" />
  <Description DefaultValue="Audit any Excel model in seconds: circular references, broken and unused names, external links, inconsistent formulas and hardcoded numbers, plus precedent and dependent tracing." />
  <IconUrl DefaultValue="https://formulaudit.com/addin/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://formulaudit.com/addin/assets/icon-64.png" />
  <SupportUrl DefaultValue="https://formulaudit.com/contact" />

  <Hosts>
    <Host Name="Workbook" />
  </Hosts>

  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="ExcelApi" MinVersion="1.1" />
    </Sets>
  </Requirements>

  <DefaultSettings>
    <SourceLocation DefaultValue="https://formulaudit.com/addin/taskpane/" />
  </DefaultSettings>

  <!-- Reading formulas needs ReadDocument; activating a sheet and selecting the cell behind a
       finding ("Go to") needs write access to the selection. -->
  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title" />
            <Description resid="GetStarted.Description" />
            <LearnMoreUrl resid="Docs.Url" />
          </GetStarted>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Faxl.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="Faxl.OpenPane">
                  <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>Faxl.Taskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://formulaudit.com/addin/assets/icon-16.png" />
        <bt:Image id="Icon.32" DefaultValue="https://formulaudit.com/addin/assets/icon-32.png" />
        <bt:Image id="Icon.80" DefaultValue="https://formulaudit.com/addin/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://formulaudit.com/addin/taskpane/" />
        <bt:Url id="Docs.Url" DefaultValue="https://formulaudit.com/docs" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Group.Label" DefaultValue="Formula Audit XL" />
        <bt:String id="Button.Label" DefaultValue="Audit model" />
        <bt:String id="GetStarted.Title" DefaultValue="Formula Audit XL is installed" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Button.Tooltip" DefaultValue="Open the audit pane and check this workbook for circular references, broken names, external links, inconsistent formulas and hardcoded numbers." />
        <bt:String id="GetStarted.Description" DefaultValue="On the Home tab, choose Audit model to open the pane, then choose Run Model Check." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
