<?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>b62f4a70-1c93-42d5-8e6b-0f37a9d21c58</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Kontor</ProviderName>
  <DefaultLocale>de-DE</DefaultLocale>
  <DisplayName DefaultValue="Kontor für PowerPoint" />
  <Description DefaultValue="Roter Faden, Sprechtext und Folienvorschläge. Meldet sich am eigenen Server an." />
  <IconUrl DefaultValue="https://office.schnee.co.at/powerpoint/assets/icon-64.png" />
  <HighResolutionIconUrl DefaultValue="https://office.schnee.co.at/powerpoint/assets/icon-128.png" />
  <SupportUrl DefaultValue="https://office.schnee.co.at/" />

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

  <!-- Formen, Textrahmen und Textfelder gibt es erst ab dieser Fassung. Ohne
       die Angabe lädt das Add-in auf älteren Ständen und bricht erst beim
       ersten Zugriff ab. -->
  <Requirements>
    <Sets DefaultMinVersion="1.3">
      <Set Name="PowerPointApi" MinVersion="1.3" />
    </Sets>
  </Requirements>

  <DefaultSettings>
    <SourceLocation DefaultValue="https://office.schnee.co.at/addins/powerpoint/taskpane.html" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Presentation">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="KontorGruppe">
                <Label resid="Gruppe.Label" />
                <Icon>
                  <bt:Image size="16" resid="Icon.16" />
                  <bt:Image size="32" resid="Icon.32" />
                  <bt:Image size="80" resid="Icon.80" />
                </Icon>
                <Control xsi:type="Button" id="KontorKnopf">
                  <Label resid="Knopf.Label" />
                  <Supertip>
                    <Title resid="Knopf.Label" />
                    <Description resid="Knopf.Beschreibung" />
                  </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="ShowTaskpane">
                    <TaskpaneId>KontorTaskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://office.schnee.co.at/powerpoint/assets/icon-16.png" />
        <bt:Image id="Icon.32" DefaultValue="https://office.schnee.co.at/powerpoint/assets/icon-32.png" />
        <bt:Image id="Icon.80" DefaultValue="https://office.schnee.co.at/powerpoint/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://office.schnee.co.at/addins/powerpoint/taskpane.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Gruppe.Label" DefaultValue="Kontor" />
        <bt:String id="Knopf.Label" DefaultValue="Kontor öffnen" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Knopf.Beschreibung" DefaultValue="Roten Faden prüfen, Sprechtext schreiben, Folien vorschlagen" />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
