<?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="MessageReadTaskPaneApp">

  <Id>B2C4D6E8-F0A2-4C6E-8A0C-1E3F5A7B9D0F</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Ithakasoft [DEV]</ProviderName>
  <DefaultLocale>es-ES</DefaultLocale>

  <DisplayName DefaultValue="Ithaka — Guardar Correo [DEV]"/>
  <Description DefaultValue="Versión de desarrollo local."/>

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

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

  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="http://localhost/outlook-plugin/taskpane.html?client=DEVTEST"/>
        <RequestedHeight>450</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>

  <Permissions>ReadWriteItem</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.dev.group1">
                <Label resid="groupLabel"/>
                <Control xsi:type="Button" id="ithaka.dev.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">
                    <TaskpaneId>ithaka-dev-taskpane</TaskpaneId>
                    <SourceLocation resid="taskpaneUrl"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="icon16" DefaultValue="https://pluging.ithakasoft.com/outlook-plugin/assets/icon-16.png"/>
        <bt:Image id="icon32" DefaultValue="https://pluging.ithakasoft.com/outlook-plugin/assets/icon-32.png"/>
        <bt:Image id="icon80" DefaultValue="https://pluging.ithakasoft.com/outlook-plugin/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="taskpaneUrl" DefaultValue="http://localhost/outlook-plugin/taskpane.html?client=DEVTEST"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="groupLabel" DefaultValue="Ithaka SGA [DEV]"/>
        <bt:String id="btnLabel"   DefaultValue="Guardar en expediente"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="btnDesc" DefaultValue="[DESARROLLO LOCAL] Guarda este correo en un expediente de Ithaka SGA."/>
      </bt:LongStrings>
    </Resources>

  </VersionOverrides>

</OfficeApp>
