<?xml version="1.0" encoding="UTF-8"?>
<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>364BE0A7-23E3-400C-A7E6-07DEB30BBA50</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>TKJ Global Media Ltd</ProviderName>
  <DefaultLocale>en-GB</DefaultLocale>
  <DisplayName DefaultValue="Legal Case Analyst"/>
  <Description DefaultValue="AI legal document analysis with matter tracking in Excel: analyse contracts, judgments and filings, then write severity-ranked findings into a filterable worksheet. Decision support, not legal advice."/>
  <IconUrl DefaultValue="https://app.legalcaseanalyst.com/office/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://app.legalcaseanalyst.com/office/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://legalcaseanalyst.com/contact/"/>

  <AppDomains>
    <AppDomain>https://legalcaseanalyst.com</AppDomain>
    <AppDomain>https://www.legalcaseanalyst.com</AppDomain>
    <AppDomain>https://app.legalcaseanalyst.com</AppDomain>
  </AppDomains>

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

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://app.legalcaseanalyst.com/office/excel.html"/>
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <FunctionFile resid="Lca.Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Lca.Group">
                <Label resid="Lca.Group.Label"/>
                <Icon>
                  <bt:Image size="16" resid="Lca.Icon.16"/>
                  <bt:Image size="32" resid="Lca.Icon.32"/>
                  <bt:Image size="80" resid="Lca.Icon.80"/>
                </Icon>
                <Control xsi:type="Button" id="Lca.TaskpaneButton">
                  <Label resid="Lca.Button.Label"/>
                  <Supertip>
                    <Title resid="Lca.Button.Label"/>
                    <Description resid="Lca.Button.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Lca.Icon.16"/>
                    <bt:Image size="32" resid="Lca.Icon.32"/>
                    <bt:Image size="80" resid="Lca.Icon.80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>LcaTaskpane</TaskpaneId>
                    <SourceLocation resid="Lca.Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Lca.Icon.16" DefaultValue="https://app.legalcaseanalyst.com/office/assets/icon-16.png"/>
        <bt:Image id="Lca.Icon.32" DefaultValue="https://app.legalcaseanalyst.com/office/assets/icon-32.png"/>
        <bt:Image id="Lca.Icon.80" DefaultValue="https://app.legalcaseanalyst.com/office/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Lca.Commands.Url" DefaultValue="https://app.legalcaseanalyst.com/office/commands.html"/>
        <bt:Url id="Lca.Taskpane.Url" DefaultValue="https://app.legalcaseanalyst.com/office/excel.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Lca.Group.Label" DefaultValue="Legal Case Analyst"/>
        <bt:String id="Lca.Button.Label" DefaultValue="Case analysis"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Lca.Button.Tooltip" DefaultValue="Analyse a legal document and write the findings into a matter-tracking worksheet. Decision support, not legal advice."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
