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

  <!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. -->
  <Id>6112f9eb-8184-4076-ae1d-36596ae16d26</Id>

  <!--Version. Updates from the store only get triggered if there is a version change. -->
  <Version>1.0.0</Version>
  <ProviderName>GrammarSoft ApS</ProviderName>
  <DefaultLocale>de-DE</DefaultLocale>
  <DisplayName DefaultValue="Kommatroll" />
  <Description DefaultValue="Kommatroll" />
  <IconUrl DefaultValue="https://kommatroll.com/gas/comma-deu/1.0.0/imgs/logo-32.png" />

  <SupportUrl DefaultValue="https://kommatroll.com/help" />
  <AppDomains>
    <AppDomain>kommatroll.com</AppDomain>
    <AppDomain>gramtrans.com</AppDomain>
    <AppDomain>grammarsoft.com</AppDomain>
  </AppDomains>

  <Hosts>
    <Host Name="Document" />
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.3">
      <Set Name="WordApi" MinVersion="1.3"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://kommatroll.com/gas/comma-deu/1.0.0/html/sidebar.html?host=msoffice" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">

    <Hosts>
      <Host xsi:type="Document">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GS.CDEU.GetStarted.Title"/>
            <Description resid="GS.CDEU.GetStarted.Description"/>
            <LearnMoreUrl resid="GS.CDEU.GetStarted.LearnMore"/>
          </GetStarted>

          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="GS.CDEU.Group1">
                <Label resid="GS.CDEU.Group1Label" />
                <!-- Icons. Required sizes 16,32,80, optional 20, 24, 40, 48, 64. Strongly recommended to provide all sizes for great UX. -->
                <!-- Use PNG icons. All URLs on the resources section must use HTTPS. -->
                <Icon>
                  <bt:Image size="16" resid="GS.CDEU.logo16" />
                  <bt:Image size="32" resid="GS.CDEU.logo32" />
                  <bt:Image size="80" resid="GS.CDEU.logo80" />
                </Icon>

                <Control xsi:type="Button" id="GS.CDEU.TaskpaneButton">
                  <Label resid="GS.CDEU.TaskpaneButton.Label" />
                  <Supertip>
                    <Title resid="GS.CDEU.TaskpaneButton.Label" />
                    <Description resid="GS.CDEU.TaskpaneButton.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="GS.CDEU.logo16" />
                    <bt:Image size="32" resid="GS.CDEU.logo32" />
                    <bt:Image size="80" resid="GS.CDEU.logo80" />
                  </Icon>

                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId1</TaskpaneId>
                    <SourceLocation resid="GS.CDEU.Taskpane" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="GS.CDEU.logo16" DefaultValue="https://kommatroll.com/gas/comma-deu/1.0.0/imgs/logo-16.png" />
        <bt:Image id="GS.CDEU.logo32" DefaultValue="https://kommatroll.com/gas/comma-deu/1.0.0/imgs/logo-32.png" />
        <bt:Image id="GS.CDEU.logo80" DefaultValue="https://kommatroll.com/gas/comma-deu/1.0.0/imgs/logo-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GS.CDEU.Taskpane" DefaultValue="https://kommatroll.com/gas/comma-deu/1.0.0/html/sidebar.html?host=msoffice" />
        <bt:Url id="GS.CDEU.GetStarted.LearnMore" DefaultValue="https://kommatroll.com/" />
      </bt:Urls>
      <!-- ShortStrings max characters==125. -->
      <bt:ShortStrings>
        <bt:String id="GS.CDEU.TaskpaneButton.Label" DefaultValue="Kommatroll" />
        <bt:String id="GS.CDEU.Group1Label" DefaultValue="Kommatroll" />
        <bt:String id="GS.CDEU.GetStarted.Title" DefaultValue="Jetzt Kommatroll starten!" />
      </bt:ShortStrings>
      <!-- LongStrings max characters==250. -->
      <bt:LongStrings>
        <bt:String id="GS.CDEU.TaskpaneButton.Tooltip" DefaultValue="Hier klicken um Kommatroll zu starten" />
        <bt:String id="GS.CDEU.GetStarted.Description" DefaultValue="Kommatroll wurde erfolgreich installiert. Bitte &quot;Kommatroll&quot; unter &quot;Home&quot; wählen um zu starten." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
