<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0"
  xsi:type="MailApp">
  <Id>0d9a4f45-e844-4ba4-b8a8-b70f9e2ede81</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Eclatances</ProviderName>
  <DefaultLocale>en-GB</DefaultLocale>
  <DisplayName DefaultValue="File to matter" />
  <Description DefaultValue="File emails and documents to a client matter folder in OneDrive." />
  <IconUrl DefaultValue="https://ecla-file-to-matter.pages.dev/assets/icon-64.png" />
  <HighResolutionIconUrl DefaultValue="https://ecla-file-to-matter.pages.dev/assets/icon-128.png" />
  <SupportUrl DefaultValue="https://ecla-file-to-matter.pages.dev/support" />
  <AppDomains>
    <AppDomain>https://login.microsoftonline.com</AppDomain>
    <AppDomain>https://login.microsoft.com</AppDomain>
    <AppDomain>https://graph.microsoft.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox" />
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.1" />
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://ecla-file-to-matter.pages.dev/taskpane" />
        <RequestedHeight>450</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteMailbox</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
  </Rule>
  <DisableEntityHighlighting>true</DisableEntityHighlighting>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.1">
        <bt:Set Name="Mailbox" />
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <FunctionFile resid="residFunctions" />
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="ecla.mailGroup">
                <Label resid="residGroup" />
                <Control xsi:type="Button" id="ecla.mailFileButton">
                  <Label resid="residButton" />
                  <Supertip>
                    <Title resid="residButton" />
                    <Description resid="residButtonDesc" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="icon16" />
                    <bt:Image size="32" resid="icon32" />
                    <bt:Image size="80" resid="icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="residTaskpane" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="icon16" DefaultValue="https://ecla-file-to-matter.pages.dev/assets/icon-16.png" />
        <bt:Image id="icon32" DefaultValue="https://ecla-file-to-matter.pages.dev/assets/icon-32.png" />
        <bt:Image id="icon80" DefaultValue="https://ecla-file-to-matter.pages.dev/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="residFunctions" DefaultValue="https://ecla-file-to-matter.pages.dev/functions" />
        <bt:Url id="residTaskpane" DefaultValue="https://ecla-file-to-matter.pages.dev/taskpane" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="residGroup" DefaultValue="File to matter" />
        <bt:String id="residButton" DefaultValue="File to matter" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="residButtonDesc" DefaultValue="File this email to a client matter folder in OneDrive." />
      </bt:LongStrings>
    </Resources>
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.1">
          <bt:Set Name="Mailbox" />
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <DesktopFormFactor>
            <FunctionFile resid="residFunctions" />
            <ExtensionPoint xsi:type="MessageReadCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="ecla.mailGroup">
                  <Label resid="residGroup" />
                  <Control xsi:type="Button" id="ecla.mailFileButton">
                    <Label resid="residButton" />
                    <Supertip>
                      <Title resid="residButton" />
                      <Description resid="residButtonDesc" />
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="icon16" />
                      <bt:Image size="32" resid="icon32" />
                      <bt:Image size="80" resid="icon80" />
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="residTaskpane" />
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
          </DesktopFormFactor>
          <MobileFormFactor>
            <FunctionFile resid="residFunctions" />
            <ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
              <Group id="ecla.mobileGroup">
                <Label resid="residGroup" />
                <Control xsi:type="MobileButton" id="ecla.mobileFileButton">
                  <Label resid="residButton" />
                  <Icon xsi:type="bt:MobileIconList">
                    <bt:Image size="25" scale="1" resid="icon25" />
                    <bt:Image size="32" scale="1" resid="icon32" />
                    <bt:Image size="48" scale="1" resid="icon48" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="residTaskpane" />
                  </Action>
                </Control>
              </Group>
            </ExtensionPoint>
          </MobileFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="icon16" DefaultValue="https://ecla-file-to-matter.pages.dev/assets/icon-16.png" />
          <bt:Image id="icon25" DefaultValue="https://ecla-file-to-matter.pages.dev/assets/icon-25.png" />
          <bt:Image id="icon32" DefaultValue="https://ecla-file-to-matter.pages.dev/assets/icon-32.png" />
          <bt:Image id="icon48" DefaultValue="https://ecla-file-to-matter.pages.dev/assets/icon-48.png" />
          <bt:Image id="icon80" DefaultValue="https://ecla-file-to-matter.pages.dev/assets/icon-80.png" />
        </bt:Images>
        <bt:Urls>
          <bt:Url id="residFunctions" DefaultValue="https://ecla-file-to-matter.pages.dev/functions" />
          <bt:Url id="residTaskpane" DefaultValue="https://ecla-file-to-matter.pages.dev/taskpane" />
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="residGroup" DefaultValue="File to matter" />
          <bt:String id="residButton" DefaultValue="File to matter" />
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="residButtonDesc" DefaultValue="File this email to a client matter folder in OneDrive." />
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
