<?xml version="1.0" encoding="UTF-8"?>
<!--
  The Excel add-in manifest. Sideload this file, or hand it to a Microsoft 365
  admin for central deployment; see https://valnivo.eu/developers.html and
  docs/excel.md.

  Two choices in here are deliberate and should not be "tidied":

  · Permissions is `ReadDocument` (since 2026-09-21; `Restricted` before). The
    pane reads the cells the person selects, only when they press the button,
    and writes nothing — so nothing with *Write* in it. Anything more would
    make Excel warn the user about access it does not need, and would change
    the assessment in docs/compliance.md section 11.
  · The Id must never change. Office identifies an installed add-in by it, so a
    new one looks like a different add-in to every person who already has this
    one.
-->
<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>fa778f42-6b8f-4951-9cf4-ba749a8bc550</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Valnivo</ProviderName>
  <DefaultLocale>en-GB</DefaultLocale>
  <DisplayName DefaultValue="Valnivo" />
  <Description
    DefaultValue="A financial projection, a rent-against-buying comparison, and inflation by country, beside your sheet. An illustration built on assumptions, not advice."
  />
  <IconUrl DefaultValue="https://valnivo.eu/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://valnivo.eu/icon-64.png" />
  <SupportUrl DefaultValue="https://valnivo.eu/developers.html" />

  <!-- Every address the pane may navigate to is on our own origin. -->
  <AppDomains>
    <AppDomain>https://valnivo.eu</AppDomain>
  </AppDomains>

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://valnivo.eu/excel.html" />
  </DefaultSettings>

  <!--
    `ReadDocument` since 2026-09-21, up from `Restricted`: the pane can read the
    cells the person has selected, and only when they press the button that
    says so. It still writes nothing, so it is not `ReadWriteDocument`. The
    assessment is docs/compliance.md section 11; the test pins this value.
  -->
  <Permissions>ReadDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="Valnivo.Title" />
            <Description resid="Valnivo.Started" />
            <LearnMoreUrl resid="Valnivo.Docs" />
          </GetStarted>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Valnivo.Group">
                <Label resid="Valnivo.Group.Label" />
                <Icon>
                  <bt:Image size="16" resid="Valnivo.Icon16" />
                  <bt:Image size="32" resid="Valnivo.Icon32" />
                  <bt:Image size="80" resid="Valnivo.Icon80" />
                </Icon>
                <Control xsi:type="Button" id="Valnivo.Open">
                  <Label resid="Valnivo.Open.Label" />
                  <Supertip>
                    <Title resid="Valnivo.Open.Label" />
                    <Description resid="Valnivo.Open.Tip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Valnivo.Icon16" />
                    <bt:Image size="32" resid="Valnivo.Icon32" />
                    <bt:Image size="80" resid="Valnivo.Icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>Valnivo.Taskpane</TaskpaneId>
                    <SourceLocation resid="Valnivo.Pane" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Valnivo.Icon16" DefaultValue="https://valnivo.eu/icon-16.png" />
        <bt:Image id="Valnivo.Icon32" DefaultValue="https://valnivo.eu/icon-32.png" />
        <bt:Image id="Valnivo.Icon80" DefaultValue="https://valnivo.eu/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Valnivo.Pane" DefaultValue="https://valnivo.eu/excel.html" />
        <bt:Url id="Valnivo.Docs" DefaultValue="https://valnivo.eu/developers.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Valnivo.Title" DefaultValue="Valnivo" />
        <bt:String id="Valnivo.Group.Label" DefaultValue="Valnivo" />
        <bt:String id="Valnivo.Open.Label" DefaultValue="Projection" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String
          id="Valnivo.Started"
          DefaultValue="Open the Valnivo pane from the Home tab to see where money leads, compare renting with buying, or read inflation by country."
        />
        <bt:String
          id="Valnivo.Open.Tip"
          DefaultValue="Open Valnivo beside your sheet. It reads nothing from your workbook and writes nothing to it."
        />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
