<?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>c81b9e7a-48f9-4f1c-98f5-8346ec5af71a</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Cyril Charleux</ProviderName>
  <DefaultLocale>fr-FR</DefaultLocale>
  <DisplayName DefaultValue="Syllabes Dys"/>
  <Description DefaultValue="Colorie les syllabes des mots pour faciliter la lecture (dyslexie)."/>
  <IconUrl DefaultValue="https://syllabes-dys.pages.dev/complement/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://syllabes-dys.pages.dev/complement/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://syllabes-dys.pages.dev/aide"/>
  <AppDomains>
    <AppDomain>https://syllabes-dys.pages.dev</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="WordApi" MinVersion="1.3"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://syllabes-dys.pages.dev/complement/taskpane.html"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Document">
        <DesktopFormFactor>
          <FunctionFile resid="Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="SyllabesGroup">
                <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="SyllabesButton">
                  <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>SyllabesPane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://syllabes-dys.pages.dev/complement/assets/icon-16.png"/>
        <bt:Image id="Icon.32" DefaultValue="https://syllabes-dys.pages.dev/complement/assets/icon-32.png"/>
        <bt:Image id="Icon.80" DefaultValue="https://syllabes-dys.pages.dev/complement/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Commands.Url" DefaultValue="https://syllabes-dys.pages.dev/complement/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://syllabes-dys.pages.dev/complement/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Group.Label" DefaultValue="Lecture"/>
        <bt:String id="Button.Label" DefaultValue="Syllabes en couleur"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Button.Tooltip" DefaultValue="Ouvre le volet pour colorier les syllabes du texte."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
