<?xml version="1.0" encoding="UTF-8"?>
<!--
  FlipbookIQ — rendered by scripts/make-manifest.ts, which fills ORIGIN
  and VERSION. Element order inside OfficeApp is fixed by the schema; getting
  it wrong makes Word reject the manifest with no visible error.

  Word only. PowerPoint gets its own manifest later: the engine is shared, but
  the hosts differ in what they can render (Word: Windows only for PDF) and a
  single manifest claiming both would promise Mac support Word cannot keep.
-->
<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>b73380d3-24a1-4669-bd65-0452a3730152</Id>
  <Version>1.4.0.0</Version>
  <ProviderName>Kixlogic</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="FlipbookIQ" />
  <Description DefaultValue="Turns the open document into a page-turning flipbook. Pages are rendered on this computer; only the finished page images are uploaded, and only when you publish." />
  <IconUrl DefaultValue="https://flipbook.kixlogic.com/addin/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://flipbook.kixlogic.com/addin/icon-64.png" />
  <SupportUrl DefaultValue="https://flipbook.kixlogic.com/support" />

  <!--
    Word and PowerPoint. PowerPoint is not an afterthought: its render
    to PDF works on Windows, Mac and the web, where Word’s is Windows
    only, so for most of the world the presentation is the one that
    works.
  -->
  <Hosts>
    <Host Name="Document" />
    <Host Name="Presentation" />
  </Hosts>

  <!--
    No requirement set is declared on purpose. Requiring WordApi would
    have kept the add-in out of PowerPoint entirely, and the only API
    this needs — getFileAsync to PDF — is part of the common API that
    every host has had since 1.1.
  -->

  <DefaultSettings>
    <SourceLocation DefaultValue="https://flipbook.kixlogic.com/addin/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="GetStarted.LearnMoreUrl" />
          </GetStarted>
          <FunctionFile resid="Taskpane.Url" />
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="Kixlogic.Flipbook.Tab">
              <Group id="Kixlogic.Flipbook.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="Kixlogic.Flipbook.Open">
                  <Label resid="Open.Label" />
                  <Supertip>
                    <Title resid="Open.Label" />
                    <Description resid="Open.Tip" />
                  </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>Kixlogic.Flipbook.Taskpane.Word</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
              <Label resid="Tab.Label" />
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
      <Host xsi:type="Presentation">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title" />
            <Description resid="GetStarted.Description" />
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl" />
          </GetStarted>
          <FunctionFile resid="Taskpane.Url" />
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="Kixlogic.Flipbook.Tab.Ppt">
              <Group id="Kixlogic.Flipbook.Group.Ppt">
                <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="Kixlogic.Flipbook.Open.Ppt">
                  <Label resid="Open.Label" />
                  <Supertip>
                    <Title resid="Open.Label" />
                    <Description resid="Open.Tip" />
                  </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>Kixlogic.Flipbook.Taskpane.Ppt</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
              <Label resid="Tab.Label" />
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://flipbook.kixlogic.com/addin/icon-16.png" />
        <bt:Image id="Icon.32" DefaultValue="https://flipbook.kixlogic.com/addin/icon-32.png" />
        <bt:Image id="Icon.80" DefaultValue="https://flipbook.kixlogic.com/addin/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://flipbook.kixlogic.com/addin/taskpane.html" />
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://kixlogic.com/" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Tab.Label" DefaultValue="Flipbook" />
        <bt:String id="Group.Label" DefaultValue="FlipbookIQ" />
        <bt:String id="Open.Label" DefaultValue="Make a flipbook" />
        <bt:String id="GetStarted.Title" DefaultValue="FlipbookIQ is ready." />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Open.Tip" DefaultValue="Turn this document into a page-turning flipbook and save it as a single HTML file." />
        <bt:String id="GetStarted.Description" DefaultValue="Open the Flipbook tab and choose Make a flipbook." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
