<?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>7F3A9C2E-1B4D-4E8F-A6C5-2D0E9B3F7A1C</Id>
  <Version>1.0.0.8</Version>
  <ProviderName>Ithakasoft</ProviderName>
  <DefaultLocale>es-ES</DefaultLocale>

  <DisplayName DefaultValue="Ithaka - Guardar Correo"/>
  <Description DefaultValue="Guarda el correo en el expediente correspondiente de Ithaka SGA."/>

  <IconUrl DefaultValue="https://plugin.ithakasoft.com/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://plugin.ithakasoft.com/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://plugin.ithakasoft.com/"/>

  <Requirements>
    <Sets DefaultMinVersion="1.8">
      <Set Name="Mailbox"/>
    </Sets>
  </Requirements>

  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://plugin.ithakasoft.com/taskpane.html?client=DEVTEST&amp;v=2"/>
        <RequestedHeight>450</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>

  <Permissions>ReadWriteMailbox</Permissions>

  <Rule xsi:type="RuleCollection" Mode="And">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
  </Rule>

  <DisableEntityHighlighting>false</DisableEntityHighlighting>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.8">
        <bt:Set Name="Mailbox"/>
      </bt:Sets>
    </Requirements>

    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>

          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="ithaka.group1">
                <Label resid="groupLabel"/>
                <Control xsi:type="Button" id="ithaka.btnGuardar">
                  <Label resid="btnLabel"/>
                  <Supertip>
                    <Title resid="btnLabel"/>
                    <Description resid="btnDesc"/>
                  </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="taskpaneUrl"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>

        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="icon16" DefaultValue="https://plugin.ithakasoft.com/assets/icon-16.png"/>
        <bt:Image id="icon32" DefaultValue="https://plugin.ithakasoft.com/assets/icon-32.png"/>
        <bt:Image id="icon80" DefaultValue="https://plugin.ithakasoft.com/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="taskpaneUrl" DefaultValue="https://plugin.ithakasoft.com/taskpane.html?client=DEVTEST&amp;v=2"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="groupLabel" DefaultValue="Ithaka SGA"/>
        <bt:String id="btnLabel"   DefaultValue="Guardar en expediente"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="btnDesc" DefaultValue="Guarda este correo en un expediente de Ithaka SGA."/>
      </bt:LongStrings>
    </Resources>

  </VersionOverrides>

</OfficeApp>
