<?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>8dce3dc0-c167-4eeb-8c7c-06db8eadd6f4</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>EONE</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="PrintReady QR"/>
  <Description DefaultValue="Turn any link into a print-ready QR code in Word. Right-click a link to insert a code, set the exact size in millimetres, pick colours and text wrap, and resize codes. Codes are made on your device and nothing is uploaded."/>
  <IconUrl DefaultValue="https://eone.nz/qr/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://eone.nz/qr/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://eone.nz/qr/support.html"/>
  <AppDomains>
    <AppDomain>https://eone.nz</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document"/>
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="WordApi" MinVersion="1.2"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://eone.nz/qr/taskpane.html"/>
  </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="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="Support.Url"/>
          </GetStarted>
          <FunctionFile resid="Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="EoneQr.Group">
                <Label resid="Group.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="EoneQr.Open">
                  <Label resid="Button.Label"/>
                  <Supertip>
                    <Title resid="Button.Label"/>
                    <Description resid="Button.Tooltip"/>
                  </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>EoneQrPane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
          <ExtensionPoint xsi:type="ContextMenu">
            <OfficeMenu id="ContextMenuText">
              <Control xsi:type="Menu" id="EoneQr.ContextMenu">
                <Label resid="Context.Label"/>
                <Supertip>
                  <Title resid="Context.Label"/>
                  <Description resid="Context.Tooltip"/>
                </Supertip>
                <Icon>
                  <bt:Image size="16" resid="Icon.16"/>
                  <bt:Image size="32" resid="Icon.32"/>
                  <bt:Image size="80" resid="Icon.80"/>
                </Icon>
                <Items>
                  <Item id="EoneQr.ContextInsert">
                    <Label resid="ContextInsert.Label"/>
                    <Supertip>
                      <Title resid="ContextInsert.Label"/>
                      <Description resid="ContextInsert.Tooltip"/>
                    </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="ExecuteFunction">
                      <FunctionName>insertQrFromSelection</FunctionName>
                    </Action>
                  </Item>
                  <Item id="EoneQr.ContextOptions">
                    <Label resid="ContextOptions.Label"/>
                    <Supertip>
                      <Title resid="ContextOptions.Label"/>
                      <Description resid="ContextOptions.Tooltip"/>
                    </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>EoneQrPane</TaskpaneId>
                      <SourceLocation resid="Taskpane.Url"/>
                    </Action>
                  </Item>
                </Items>
              </Control>
            </OfficeMenu>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://eone.nz/qr/assets/icon-16.png"/>
        <bt:Image id="Icon.32" DefaultValue="https://eone.nz/qr/assets/icon-32.png"/>
        <bt:Image id="Icon.80" DefaultValue="https://eone.nz/qr/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Commands.Url" DefaultValue="https://eone.nz/qr/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://eone.nz/qr/taskpane.html"/>
        <bt:Url id="Support.Url" DefaultValue="https://eone.nz/qr/support.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="PrintReady QR is ready"/>
        <bt:String id="Group.Label" DefaultValue="PrintReady QR"/>
        <bt:String id="Button.Label" DefaultValue="QR code"/>
        <bt:String id="Context.Label" DefaultValue="QR code"/>
        <bt:String id="ContextInsert.Label" DefaultValue="Insert QR code"/>
        <bt:String id="ContextOptions.Label" DefaultValue="QR code options"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Right-click a selected link and choose QR code, or use QR code on the Home tab."/>
        <bt:String id="Button.Tooltip" DefaultValue="Turn a link into a QR code at an exact print size."/>
        <bt:String id="Context.Tooltip" DefaultValue="Turn the selected link into a QR code."/>
        <bt:String id="ContextInsert.Tooltip" DefaultValue="Insert a QR code for the selected link after it, using your last size and colours."/>
        <bt:String id="ContextOptions.Tooltip" DefaultValue="Open the QR code pane to set size, colours and placement."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
