<?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:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0"
  xsi:type="MailApp">
  <Id>6f3c2a91-4b7e-4d0a-9e5f-a1c0de5f7a01</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Alex Reviewit</ProviderName>
  <DefaultLocale>de-AT</DefaultLocale>
  <DisplayName DefaultValue="Federstrich"/>
  <Description DefaultValue="Einheitliche E-Mail-Signaturen aus Microsoft 365, von Alex Reviewit."/>
  <IconUrl DefaultValue="https://signatur.alexreviewit.at/assets/icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://signatur.alexreviewit.at/assets/icon-128.png"/>
  <SupportUrl DefaultValue="https://signatur.alexreviewit.at/"/>
  <AppDomains><AppDomain>https://signatur.alexreviewit.at</AppDomain></AppDomains>
  <Hosts><Host Name="Mailbox"/></Hosts>
  <Requirements><Sets><Set Name="Mailbox" MinVersion="1.1"/></Sets></Requirements>
  <FormSettings>
    <Form xsi:type="ItemEdit"><DesktopSettings><SourceLocation DefaultValue="https://signatur.alexreviewit.at/addin/commands.html"/></DesktopSettings></Form>
  </FormSettings>
  <Permissions>ReadWriteItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or"><Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit"/></Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements><bt:Sets DefaultMinVersion="1.5"><bt:Set Name="Mailbox"/></bt:Sets></Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <Runtimes>
            <Runtime resid="Runtime.Html"><Override type="javascript" resid="Runtime.Js"/></Runtime>
          </Runtimes>
          <DesktopFormFactor>
            <FunctionFile resid="Runtime.Html"/>
            <ExtensionPoint xsi:type="MessageComposeCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="fsGroup">
                  <Label resid="Group.Label"/>
                  <Control xsi:type="Button" id="fsInsert">
                    <Label resid="Insert.Label"/>
                    <Supertip><Title resid="Insert.Label"/><Description resid="Insert.Tip"/></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="ExecuteFunction"><FunctionName>insertSignature</FunctionName></Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="LaunchEvent">
              <LaunchEvents><LaunchEvent Type="OnNewMessageCompose" FunctionName="onNewMessageCompose"/></LaunchEvents>
              <SourceLocation resid="Runtime.Html"/>
            </ExtensionPoint>
          </DesktopFormFactor>
          <!-- Outlook auf iPhone und Android: Signatur beim Verfassen setzen -->
          <MobileFormFactor>
            <ExtensionPoint xsi:type="LaunchEvent">
              <LaunchEvents><LaunchEvent Type="OnNewMessageCompose" FunctionName="onNewMessageCompose"/></LaunchEvents>
              <SourceLocation resid="Runtime.Html"/>
            </ExtensionPoint>
          </MobileFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="Icon.16" DefaultValue="https://signatur.alexreviewit.at/assets/icon-16.png"/>
          <bt:Image id="Icon.32" DefaultValue="https://signatur.alexreviewit.at/assets/icon-32.png"/>
          <bt:Image id="Icon.80" DefaultValue="https://signatur.alexreviewit.at/assets/icon-80.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="Runtime.Html" DefaultValue="https://signatur.alexreviewit.at/addin/commands.html"/>
          <bt:Url id="Runtime.Js" DefaultValue="https://signatur.alexreviewit.at/addin/commands.js"/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="Group.Label" DefaultValue="Federstrich"/>
          <bt:String id="Insert.Label" DefaultValue="Signatur einfügen"/>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="Insert.Tip" DefaultValue="Fügt die Firmensignatur erneut ein, z. B. nach einem Wechsel des Absenders."/>
        </bt:LongStrings>
      </Resources>
      <WebApplicationInfo>
        <Id>c090930b-8d1d-4bbc-a537-116295483078</Id>
        <Resource>api://signatur.alexreviewit.at/c090930b-8d1d-4bbc-a537-116295483078</Resource>
        <Scopes><Scope>openid</Scope><Scope>profile</Scope></Scopes>
      </WebApplicationInfo>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>