<?xml version="1.0" encoding="UTF-8"?>
<!--
  Manifiesto de Office para Galpon.

  OJO CON EL Id: es el que usa Excel para saber si es el mismo complemento.
  Cambiarlo hace que aparezca duplicado. Vive en gen_complemento.py.

  Y OJO CON LAS URL: tienen que ser https y tienen que existir. Office no
  dice «404»; dice que el complemento no se pudo cargar, y uno se pasa la
  tarde buscandolo en el codigo.
-->
<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>7b3e1f42-9c6a-4d58-8e21-5a0f6b2c4d93</Id>
  <Version>1.0.0.280</Version>
  <ProviderName>MEZAP</ProviderName>
  <DefaultLocale>es-PE</DefaultLocale>
  <DisplayName DefaultValue="Galpon"/>
  <Description DefaultValue="Prediseno, analisis y diseno de galpones de estructura metalica. AISC 360-22, E.020, E.030, E.090."/>
  <IconUrl DefaultValue="https://vicmezap.github.io/galpon/icono-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://vicmezap.github.io/galpon/icono-80.png"/>
  <SupportUrl DefaultValue="https://vicmezap.github.io/galpon/"/>
  <AppDomains>
    <AppDomain>https://vicmezap.github.io</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Workbook"/>
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="ExcelApi" MinVersion="1.1"/>
      <!-- DialogApi 1.2 hace falta para messageChild: sin el, el panel puede
           abrir la ventana pero no contestarle, y el modelador arrancaria
           siempre en blanco aunque el libro traiga un modelo. -->
      <Set Name="DialogApi" MinVersion="1.2"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://vicmezap.github.io/galpon/panel.html"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
                    xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="inicio.titulo"/>
            <Description resid="inicio.desc"/>
            <LearnMoreUrl resid="url.inicio"/>
          </GetStarted>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="mezap.galpon.tab">
              <Group id="mezap.galpon.grupo">
                <Label resid="grupo.etiqueta"/>
                <Icon>
                  <bt:Image size="16" resid="icono16"/>
                  <bt:Image size="32" resid="icono32"/>
                  <bt:Image size="80" resid="icono80"/>
                </Icon>
                <Control xsi:type="Button" id="mezap.galpon.abrir">
                  <Label resid="boton.etiqueta"/>
                  <Supertip>
                    <Title resid="boton.etiqueta"/>
                    <Description resid="boton.desc"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="icono16"/>
                    <bt:Image size="32" resid="icono32"/>
                    <bt:Image size="80" resid="icono80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>mezap.galpon.panel</TaskpaneId>
                    <SourceLocation resid="url.panel"/>
                  </Action>
                </Control>
              </Group>
              <Label resid="tab.etiqueta"/>
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="icono16" DefaultValue="https://vicmezap.github.io/galpon/icono-16.png"/>
        <bt:Image id="icono32" DefaultValue="https://vicmezap.github.io/galpon/icono-32.png"/>
        <bt:Image id="icono80" DefaultValue="https://vicmezap.github.io/galpon/icono-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="url.panel" DefaultValue="https://vicmezap.github.io/galpon/panel.html"/>
        <bt:Url id="url.inicio" DefaultValue="https://vicmezap.github.io/galpon/"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="tab.etiqueta" DefaultValue="Galpon"/>
        <bt:String id="grupo.etiqueta" DefaultValue="Galpon"/>
        <bt:String id="boton.etiqueta" DefaultValue="Abrir Galpon"/>
        <bt:String id="inicio.titulo" DefaultValue="Galpon esta instalado"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="boton.desc" DefaultValue="Abre el panel de Galpon: geometria, cargas, analisis y diseno."/>
        <bt:String id="inicio.desc" DefaultValue="Busca la pestana Galpon en la cinta y pulsa Abrir Galpon."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
