<?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>dea4f620-5ce6-4cab-8134-8e88baf471ed</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Vellonode</ProviderName>
  <DefaultLocale>de-DE</DefaultLocale>
  <DisplayName DefaultValue="E-Rechnung" />
  <Description DefaultValue="Erstellt ZUGFeRD- und XRechnungen aus Excel-Tabellen über die Vellonode API" />
  <IconUrl DefaultValue="https://addin.vellonode.de/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://addin.vellonode.de/assets/icon-64.png" />
  <SupportUrl DefaultValue="https://vellonode.de/contact" />

  <AppDomains>
    <AppDomain>https://vellonode.de</AppDomain>
    <AppDomain>https://accounts.google.com</AppDomain>
    <AppDomain>https://login.microsoftonline.com</AppDomain>
    <AppDomain>https://login.live.com</AppDomain>
  </AppDomains>

  <Hosts>
    <Host Name="Workbook" />
    <Host Name="Document" />
  </Hosts>

  <DefaultSettings>
    <SourceLocation DefaultValue="https://addin.vellonode.de/taskpane.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="GetStarted.Title" />
            <Description resid="GetStarted.Description" />
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl" />
          </GetStarted>

          <FunctionFile resid="Commands.Url" />

          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="VellonodeTab">
              <Group id="ErstellenGroup">
                <Label resid="ErstellenGroup.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="CreateInvoiceButton">
                  <Label resid="CreateInvoice.Label" />
                  <Supertip>
                    <Title resid="CreateInvoice.Label" />
                    <Description resid="CreateInvoice.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="InvoiceIcon.16x16" />
                    <bt:Image size="32" resid="InvoiceIcon.32x32" />
                    <bt:Image size="80" resid="InvoiceIcon.80x80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>MainPane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>

              <Group id="MehrGroup">
                <Label resid="MehrGroup.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="OpenSettingsButton">
                  <Label resid="OpenSettings.Label" />
                  <Supertip>
                    <Title resid="OpenSettings.Label" />
                    <Description resid="OpenSettings.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="SettingsIcon.16x16" />
                    <bt:Image size="32" resid="SettingsIcon.32x32" />
                    <bt:Image size="80" resid="SettingsIcon.80x80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>SettingsPane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>

                <Control xsi:type="Button" id="HelpButton">
                  <Label resid="Help.Label" />
                  <Supertip>
                    <Title resid="Help.Label" />
                    <Description resid="Help.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="HelpIcon.16x16" />
                    <bt:Image size="32" resid="HelpIcon.32x32" />
                    <bt:Image size="80" resid="HelpIcon.80x80" />
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>openHelp</FunctionName>
                  </Action>
                </Control>
              </Group>
              <Label resid="VellonodeTab.Label" />
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>

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

          <FunctionFile resid="Commands.Url" />

          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="VellonodeTab">
              <Group id="ErstellenGroup">
                <Label resid="ErstellenGroup.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="CreateInvoiceButton">
                  <Label resid="CreateInvoice.Label" />
                  <Supertip>
                    <Title resid="CreateInvoice.Label" />
                    <Description resid="CreateInvoice.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="InvoiceIcon.16x16" />
                    <bt:Image size="32" resid="InvoiceIcon.32x32" />
                    <bt:Image size="80" resid="InvoiceIcon.80x80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>MainPane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>

              <Group id="MehrGroup">
                <Label resid="MehrGroup.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="OpenSettingsButton">
                  <Label resid="OpenSettings.Label" />
                  <Supertip>
                    <Title resid="OpenSettings.Label" />
                    <Description resid="OpenSettings.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="SettingsIcon.16x16" />
                    <bt:Image size="32" resid="SettingsIcon.32x32" />
                    <bt:Image size="80" resid="SettingsIcon.80x80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>SettingsPane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>

                <Control xsi:type="Button" id="HelpButton">
                  <Label resid="Help.Label" />
                  <Supertip>
                    <Title resid="Help.Label" />
                    <Description resid="Help.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="HelpIcon.16x16" />
                    <bt:Image size="32" resid="HelpIcon.32x32" />
                    <bt:Image size="80" resid="HelpIcon.80x80" />
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>openHelp</FunctionName>
                  </Action>
                </Control>
              </Group>
              <Label resid="VellonodeTab.Label" />
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://addin.vellonode.de/assets/icon-16.png" />
        <bt:Image id="Icon.32x32" DefaultValue="https://addin.vellonode.de/assets/icon-32.png" />
        <bt:Image id="Icon.80x80" DefaultValue="https://addin.vellonode.de/assets/icon-80.png" />
        <bt:Image id="InvoiceIcon.16x16" DefaultValue="https://addin.vellonode.de/assets/invoice-16.png" />
        <bt:Image id="InvoiceIcon.32x32" DefaultValue="https://addin.vellonode.de/assets/invoice-32.png" />
        <bt:Image id="InvoiceIcon.80x80" DefaultValue="https://addin.vellonode.de/assets/invoice-80.png" />
        <bt:Image id="SettingsIcon.16x16" DefaultValue="https://addin.vellonode.de/assets/settings-16.png" />
        <bt:Image id="SettingsIcon.32x32" DefaultValue="https://addin.vellonode.de/assets/settings-32.png" />
        <bt:Image id="SettingsIcon.80x80" DefaultValue="https://addin.vellonode.de/assets/settings-80.png" />
        <bt:Image id="HelpIcon.16x16" DefaultValue="https://addin.vellonode.de/assets/help-16.png" />
        <bt:Image id="HelpIcon.32x32" DefaultValue="https://addin.vellonode.de/assets/help-32.png" />
        <bt:Image id="HelpIcon.80x80" DefaultValue="https://addin.vellonode.de/assets/help-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Commands.Url" DefaultValue="https://addin.vellonode.de/commands.html" />
        <bt:Url id="Taskpane.Url" DefaultValue="https://addin.vellonode.de/taskpane.html" />
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://vellonode.de/docs/addin" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="VellonodeTab.Label" DefaultValue="Vellonode" />
        <bt:String id="ErstellenGroup.Label" DefaultValue="E-Rechnung" />
        <bt:String id="MehrGroup.Label" DefaultValue="Mehr" />
        <bt:String id="CreateInvoice.Label" DefaultValue="E-Rechnung erstellen" />
        <bt:String id="OpenSettings.Label" DefaultValue="Einstellungen" />
        <bt:String id="Help.Label" DefaultValue="Hilfe &amp; Doku" />
        <bt:String id="GetStarted.Title" DefaultValue="Vellonode E-Rechnung Add-in" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="CreateInvoice.Tooltip" DefaultValue="Erstellt eine ZUGFeRD- oder XRechnung aus dem aktuellen Arbeitsblatt" />
        <bt:String id="OpenSettings.Tooltip" DefaultValue="API-Einstellungen konfigurieren" />
        <bt:String id="Help.Tooltip" DefaultValue="Öffnet die Vellonode-Dokumentation im Browser" />
        <bt:String id="GetStarted.Description" DefaultValue="Erstellen Sie ZUGFeRD- und XRechnungen direkt aus Excel." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
