<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides"
  xsi:type="MailApp">

  <Id>08660A15-4821-457D-9688-C1B370C2A75B</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>ClearCode</ProviderName>
  <DefaultLocale>ja-JP</DefaultLocale>
  <DisplayName DefaultValue="CC20thTimeline"/>
  <Description DefaultValue="ClearCode 20周年記念年表をOutlook上で表示するためのアドインです"></Description>
  <IconUrl DefaultValue="https://20th.clear-code.com/addin-icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://20th.clear-code.com/addin-icon-128.png"/>
  <SupportUrl DefaultValue="https://www.clear-code.com/"/>
  <AppDomains>
    <AppDomain>https://20th.clear-code.com</AppDomain>
  </AppDomains>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="Mailbox" />
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://20th.clear-code.com/addin-app.html" />
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteMailbox</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
  </Rule>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.8">
          <bt:Set Name="Mailbox" />
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <Runtimes>
            <Runtime resid="residUILessFunctionFileUrl">
              <Override type="javascript" resid="residUILessFunctionJsFileUrl"/>
            </Runtime>
          </Runtimes>
          <DesktopFormFactor>
            <FunctionFile resid="residUILessFunctionFileUrl" />
            <ExtensionPoint xsi:type="MessageComposeCommandSurface">
              <OfficeTab id="msgComposeTabDefault">
                <Group id="msgComposeCmdGroup">
                  <Label resid="CommandsGroup.Label"/>
                  <Control xsi:type="Button" id="msgComposeCC20thTimeline">
                    <Label resid="OpenButton.Label"/>
                    <Supertip>
                      <Title resid="OpenButton.SupertipTitle"/>
                      <Description resid="OpenButton.SupertipText"/>
                    </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="ExecuteFunction">
                      <FunctionName>onClickTimeLineIcon</FunctionName>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="MessageReadCommandSurface">
              <OfficeTab id="msgReadTabDefault">
                <Group id="msgReadCmdGroup">
                  <Label resid="CommandsGroup.Label"/>
                  <Control xsi:type="Button" id="msgReadCC20thTimeline">
                    <Label resid="OpenButton.Label"/>
                    <Supertip>
                      <Title resid="OpenButton.SupertipTitle"/>
                      <Description resid="OpenButton.SupertipText"/>
                    </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="ExecuteFunction">
                      <FunctionName>onClickTimeLineIcon</FunctionName>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
              <OfficeTab id="appointmentComposeTabDefault">
                <Group id="appointmentComposeCmdGroup">
                  <Label resid="CommandsGroup.Label"/>
                  <Control xsi:type="Button" id="appointmentComposeCC20thTimeline">
                    <Label resid="OpenButton.Label"/>
                    <Supertip>
                      <Title resid="OpenButton.SupertipTitle"/>
                      <Description resid="OpenButton.SupertipText"/>
                    </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="ExecuteFunction">
                      <FunctionName>onClickTimeLineIcon</FunctionName>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
          </DesktopFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="Icon.16x16" DefaultValue="https://20th.clear-code.com/addin-icon-16.png"/>
          <bt:Image id="Icon.32x32" DefaultValue="https://20th.clear-code.com/addin-icon-32.png"/>
          <bt:Image id="Icon.80x80" DefaultValue="https://20th.clear-code.com/addin-icon-80.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="residUILessFunctionFileUrl" DefaultValue="https://20th.clear-code.com/addin-app.html"/>
          <bt:Url id="residUILessFunctionJsFileUrl" DefaultValue="https://20th.clear-code.com/addin-app.js"/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="CommandsGroup.Label" DefaultValue="ClearCode"/>
          <bt:String id="OpenButton.Label" DefaultValue="ClearCode 20周年記念年表"/>
          <bt:String id="OpenButton.SupertipTitle" DefaultValue="ClearCode 20周年記念年表"/>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="OpenButton.SupertipText" DefaultValue="ClearCode 20周年記念年表を開く"/>
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
