<?xml version="1.0" encoding="UTF-8"?>
<!--
  The Note System add-in's manifest (hosting design): an add-in-only XML
  manifest for Excel on Windows and on the web. tools/build-web.mjs puts
  the site's address in place of each BASE placeholder and writes
  dist/web/manifest.xml; the install steps are in excel/README.md.

  One page, the task pane, is also the shared runtime the ribbon's buttons
  run in (fork 18): the Runtime, the FunctionFile and the Set up button's
  SourceLocation all name Taskpane.Url. Pages are named without ".html",
  as Cloudflare Pages serves them. Changing anything here means installing
  the add-in again on each PC and in the browser.
-->
<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>6d778330-af47-4d6a-a74a-d55d7303b76a</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>William</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Note System"/>
  <Description DefaultValue="Note Add, Note Edit and Set up for the Note System workbook."/>
  <IconUrl DefaultValue="https://note-system-excel.pages.dev/icons/icon-app-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://note-system-excel.pages.dev/icons/icon-app-64.png"/>
  <SupportUrl DefaultValue="https://note-system-excel.pages.dev/"/>
  <Hosts>
    <Host Name="Workbook"/>
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="SharedRuntime" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://note-system-excel.pages.dev/taskpane"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <Runtimes>
          <Runtime resid="Taskpane.Url" lifetime="long"/>
        </Runtimes>
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="Site.Url"/>
          </GetStarted>
          <FunctionFile resid="Taskpane.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="NoteSystem.Tab">
              <Group id="NoteSystem.Notes">
                <Label resid="Notes.Label"/>
                <Icon>
                  <bt:Image size="16" resid="App.16"/>
                  <bt:Image size="32" resid="App.32"/>
                  <bt:Image size="80" resid="App.80"/>
                </Icon>
                <Control xsi:type="Button" id="NoteSystem.NoteAdd">
                  <Label resid="NoteAdd.Label"/>
                  <Supertip>
                    <Title resid="NoteAdd.Label"/>
                    <Description resid="NoteAdd.Tip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="NoteAdd.16"/>
                    <bt:Image size="32" resid="NoteAdd.32"/>
                    <bt:Image size="80" resid="NoteAdd.80"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>openNoteAdd</FunctionName>
                  </Action>
                </Control>
                <Control xsi:type="Button" id="NoteSystem.NoteEdit">
                  <Label resid="NoteEdit.Label"/>
                  <Supertip>
                    <Title resid="NoteEdit.Label"/>
                    <Description resid="NoteEdit.Tip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="NoteEdit.16"/>
                    <bt:Image size="32" resid="NoteEdit.32"/>
                    <bt:Image size="80" resid="NoteEdit.80"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>openNoteEdit</FunctionName>
                  </Action>
                </Control>
              </Group>
              <Group id="NoteSystem.Workbook">
                <Label resid="Workbook.Label"/>
                <Icon>
                  <bt:Image size="16" resid="SetUp.16"/>
                  <bt:Image size="32" resid="SetUp.32"/>
                  <bt:Image size="80" resid="SetUp.80"/>
                </Icon>
                <Control xsi:type="Button" id="NoteSystem.SetUp">
                  <Label resid="SetUp.Label"/>
                  <Supertip>
                    <Title resid="SetUp.Label"/>
                    <Description resid="SetUp.Tip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="SetUp.16"/>
                    <bt:Image size="32" resid="SetUp.32"/>
                    <bt:Image size="80" resid="SetUp.80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>NoteSystem.Taskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
              <Label resid="Tab.Label"/>
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="App.16" DefaultValue="https://note-system-excel.pages.dev/icons/icon-app-16.png"/>
        <bt:Image id="App.32" DefaultValue="https://note-system-excel.pages.dev/icons/icon-app-32.png"/>
        <bt:Image id="App.80" DefaultValue="https://note-system-excel.pages.dev/icons/icon-app-80.png"/>
        <bt:Image id="NoteAdd.16" DefaultValue="https://note-system-excel.pages.dev/icons/icon-noteAdd-16.png"/>
        <bt:Image id="NoteAdd.32" DefaultValue="https://note-system-excel.pages.dev/icons/icon-noteAdd-32.png"/>
        <bt:Image id="NoteAdd.80" DefaultValue="https://note-system-excel.pages.dev/icons/icon-noteAdd-80.png"/>
        <bt:Image id="NoteEdit.16" DefaultValue="https://note-system-excel.pages.dev/icons/icon-noteEdit-16.png"/>
        <bt:Image id="NoteEdit.32" DefaultValue="https://note-system-excel.pages.dev/icons/icon-noteEdit-32.png"/>
        <bt:Image id="NoteEdit.80" DefaultValue="https://note-system-excel.pages.dev/icons/icon-noteEdit-80.png"/>
        <bt:Image id="SetUp.16" DefaultValue="https://note-system-excel.pages.dev/icons/icon-setUp-16.png"/>
        <bt:Image id="SetUp.32" DefaultValue="https://note-system-excel.pages.dev/icons/icon-setUp-32.png"/>
        <bt:Image id="SetUp.80" DefaultValue="https://note-system-excel.pages.dev/icons/icon-setUp-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://note-system-excel.pages.dev/taskpane"/>
        <bt:Url id="Site.Url" DefaultValue="https://note-system-excel.pages.dev/"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Tab.Label" DefaultValue="Note System"/>
        <bt:String id="Notes.Label" DefaultValue="Notes"/>
        <bt:String id="Workbook.Label" DefaultValue="Workbook"/>
        <bt:String id="NoteAdd.Label" DefaultValue="Note Add"/>
        <bt:String id="NoteEdit.Label" DefaultValue="Note Edit"/>
        <bt:String id="SetUp.Label" DefaultValue="Set up"/>
        <bt:String id="GetStarted.Title" DefaultValue="The Note System add-in is ready"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="NoteAdd.Tip" DefaultValue="Add a note family to the Activity Log."/>
        <bt:String id="NoteEdit.Tip" DefaultValue="Edit the note family the selected row belongs to."/>
        <bt:String id="SetUp.Tip" DefaultValue="Set up or check the Activity Log, Lists and Party Lists tabs."/>
        <bt:String id="GetStarted.Description" DefaultValue="Its buttons are on the Note System tab: Note Add, Note Edit and Set up."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
