<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
File: manifest.xml
Project: AB Layout (Advocate Benefit Layout)
Version: 4.0.0.0
Developed by PrajnaBytes International Private Limited and RatioJuris
Copyright (C) 2026 PrajnaBytes International Private Limited and RatioJuris
SPDX-License-Identifier: GPL-3.0-or-later
Additional terms under GPLv3 section 7 apply (attribution and names) - see NOTICE.

Hosted on GitHub Pages (https://ratiojuris.github.io/ab-layout/).
The Id must never change: it identifies the add-in for installed users.
-->
<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>8b7c2d3a-6f9a-4b7c-9d2e-1a2b3c4d5e6f</Id>
  <Version>4.0.0.0</Version>
  <ProviderName>PrajnaBytes International Private Limited and RatioJuris</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>

  <DisplayName DefaultValue="AB Layout"/>
  <Description DefaultValue="Advocate Benefit Layout: check and clean the formatting of legal documents, convert Hindi between Kruti Dev and Unicode, and set paper and margins. Works inside Word; your document is not uploaded."/>

  <IconUrl DefaultValue="https://ratiojuris.github.io/ab-layout/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://ratiojuris.github.io/ab-layout/assets/icon-64.png"/>

  <SupportUrl DefaultValue="https://github.com/RatioJuris/ab-layout"/>

  <AppDomains>
    <AppDomain>https://ratiojuris.github.io</AppDomain>
  </AppDomains>

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

  <Requirements>
    <Sets DefaultMinVersion="1.3">
      <Set Name="WordApi" MinVersion="1.3"/>
    </Sets>
  </Requirements>

  <DefaultSettings>
    <SourceLocation DefaultValue="https://ratiojuris.github.io/ab-layout/web/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="LearnMore.Url"/>
          </GetStarted>
          <FunctionFile resid="Commands.Url"/>

          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="ABLayoutTab">
              <Group id="ABLayoutGroup">
                <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="OpenPaneBtn">
                  <Label resid="OpenPane.Label"/>
                  <Supertip>
                    <Title resid="OpenPane.Label"/>
                    <Description resid="OpenPane.Desc"/>
                  </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>ABLayoutPane</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://ratiojuris.github.io/ab-layout/assets/icon-16.png"/>
        <bt:Image id="Icon.32" DefaultValue="https://ratiojuris.github.io/ab-layout/assets/icon-32.png"/>
        <bt:Image id="Icon.80" DefaultValue="https://ratiojuris.github.io/ab-layout/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://ratiojuris.github.io/ab-layout/web/taskpane.html"/>
        <bt:Url id="Commands.Url" DefaultValue="https://ratiojuris.github.io/ab-layout/web/commands.html"/>
        <bt:Url id="LearnMore.Url" DefaultValue="https://github.com/RatioJuris/ab-layout/blob/main/docs/USER_GUIDE.md"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Tab.Label" DefaultValue="AB Layout"/>
        <bt:String id="Group.Label" DefaultValue="Advocate Benefit Layout"/>
        <bt:String id="OpenPane.Label" DefaultValue="AB Layout"/>
        <bt:String id="GetStarted.Title" DefaultValue="AB Layout is ready"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="OpenPane.Desc" DefaultValue="Open AB Layout to check the document, clean formatting, convert Kruti Dev Hindi, and set paper and margins."/>
        <bt:String id="GetStarted.Description" DefaultValue="Open the AB Layout tab and click AB Layout to check and clean your legal document."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
