<?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:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
           xsi:type="TaskPaneApp">
  <Id>f3c4f592-1904-4753-9005-3f2d317dde07</Id>
  <Version>1.3.0.0</Version>
  <ProviderName>NUON Consulting</ProviderName>
  <DefaultLocale>de-DE</DefaultLocale>
  <DisplayName DefaultValue="NUON.STATUS" />
  <Description DefaultValue="Markiert den Bearbeitungsstatus jeder Folie (WIP / Review / Done) direkt in der Praesentation." />
  <IconUrl DefaultValue="https://nuon-status.pages.dev/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://nuon-status.pages.dev/assets/icon-64.png" />
  <!-- Wird vom Admin Center geprueft. Bei Bedarf auf eine interne Hilfeseite aendern. -->
  <SupportUrl DefaultValue="https://nuon.consulting" />

  <AppDomains>
    <AppDomain>https://nuon-status.pages.dev</AppDomain>
  </AppDomains>

  <Hosts>
    <Host Name="Presentation" />
  </Hosts>

  <!--
    Bewusst KEIN <Requirements>-Block: Wird die dort geforderte Version nicht
    erfuellt, blendet Office das Add-in ohne jede Meldung aus. Stattdessen prueft
    taskpane.js zur Laufzeit auf PowerPointApi 1.4 und zeigt einen verstaendlichen
    Hinweis, falls die PowerPoint-Version zu alt ist. Das entspricht der Empfehlung
    von Microsoft in der Requirement-Sets-Dokumentation.
  -->

  <DefaultSettings>
    <SourceLocation DefaultValue="https://nuon-status.pages.dev/taskpane" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Presentation">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title" />
            <Description resid="GetStarted.Description" />
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl" />
          </GetStarted>
          <FunctionFile resid="Commands.Url" />

          <!--
            CustomTab (statt OfficeTab) erzeugt eine EIGENE Registerkarte in der
            Menuebandzeile – neben den Tabs anderer Add-ins wie think-cell oder
            BrightSlide. Die Reihenfolge der Add-in-Tabs bestimmt PowerPoint;
            sie stehen immer rechts von den eingebauten Registerkarten.
          -->
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="NuonStatusTab">
              <Group id="CommandsGroup">
                <Label resid="CommandsGroup.Label" />
                <Icon>
                  <bt:Image size="16" resid="Icon.16x16" />
                  <bt:Image size="32" resid="Icon.32x32" />
                  <bt:Image size="80" resid="Icon.80x80" />
                </Icon>
                <Control xsi:type="Button" id="TaskpaneButton">
                  <Label resid="TaskpaneButton.Label" />
                  <Supertip>
                    <Title resid="TaskpaneButton.Label" />
                    <Description resid="TaskpaneButton.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16x16" />
                    <bt:Image size="32" resid="Icon.32x32" />
                    <bt:Image size="80" resid="Icon.80x80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId1</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
              <!-- Beschriftung der Registerkarte selbst; laut Schema NACH den Groups. -->
              <Label resid="NuonStatusTab.Label" />
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://nuon-status.pages.dev/assets/icon-16.png" />
        <bt:Image id="Icon.32x32" DefaultValue="https://nuon-status.pages.dev/assets/icon-32.png" />
        <bt:Image id="Icon.80x80" DefaultValue="https://nuon-status.pages.dev/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812" />
        <bt:Url id="Commands.Url" DefaultValue="https://nuon-status.pages.dev/commands" />
        <bt:Url id="Taskpane.Url" DefaultValue="https://nuon-status.pages.dev/taskpane" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="NUON.STATUS ist einsatzbereit." />
        <bt:String id="NuonStatusTab.Label" DefaultValue="NUON.STATUS" />
        <bt:String id="CommandsGroup.Label" DefaultValue="Folienstatus" />
        <bt:String id="TaskpaneButton.Label" DefaultValue="Status anzeigen" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Oeffne den Aufgabenbereich ueber die Registerkarte NUON.STATUS und den Button 'Status anzeigen'." />
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Oeffnet den NUON.STATUS Aufgabenbereich." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
