<?xml version="1.0" encoding="UTF-8"?>
<!--
    Production manifest: one add-in for every firm, served centrally from
    word.sovereign.digital; the user picks the firm instance inside the pane.
    The firm's IT deploys this file once in the Microsoft 365 admin center.
    Every change to it needs a new Version and a new deployment, while changes
    to the pane itself take effect on the next load — so the manifest only
    names stable URLs.

    WordApi 1.3 is the floor for loading the add-in at all. Newer sets
    (1.4 comments and tracked edits, 1.6 paragraph mapping) are checked at
    runtime, so an older Word still loads the pane and reports those features
    as unsupported.
-->
<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>678c5b19-1a1b-4de5-8398-f3df97e3d381</Id>
    <Version>1.0.0.0</Version>
    <ProviderName>Sovereign</ProviderName>
    <DefaultLocale>de-DE</DefaultLocale>
    <DisplayName DefaultValue="Sovereign"/>
    <Description DefaultValue="Sovereign Legal AI im Word-Dokument: Fragen zum Dokument, Änderungen als nachverfolgte Änderungen, Kommentare."/>

    <IconUrl DefaultValue="https://word.sovereign.digital/icon-32.png"/>
    <HighResolutionIconUrl DefaultValue="https://word.sovereign.digital/icon-64.png"/>
    <SupportUrl DefaultValue="https://word.sovereign.digital/"/>

    <AppDomains>
        <AppDomain>https://word.sovereign.digital</AppDomain>
    </AppDomains>

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

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

    <DefaultSettings>
        <SourceLocation DefaultValue="https://word.sovereign.digital/index.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="Commands.Url"/>
                    <ExtensionPoint xsi:type="PrimaryCommandSurface">
                        <OfficeTab id="TabHome">
                            <Group id="Sovereign.Group">
                                <Label resid="Group.Label"/>
                                <Icon>
                                    <bt:Image size="16" resid="Icon.16x16"/>
                                    <bt:Image size="32" resid="Icon.32x32"/>
                                    <bt:Image size="80" resid="Icon.80x80"/>
                                </Icon>
                                <Control xsi:type="Button" id="Sovereign.TaskpaneButton">
                                    <Label resid="TaskpaneButton.Label"/>
                                    <Supertip>
                                        <Title resid="TaskpaneButton.Label"/>
                                        <Description resid="TaskpaneButton.Tooltip"/>
                                    </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="ShowTaskpane">
                                        <TaskpaneId>Sovereign.Taskpane</TaskpaneId>
                                        <SourceLocation resid="Taskpane.Url"/>
                                    </Action>
                                </Control>
                            </Group>
                        </OfficeTab>
                    </ExtensionPoint>
                </DesktopFormFactor>
            </Host>
        </Hosts>
        <Resources>
            <bt:Images>
                <bt:Image id="Icon.16x16" DefaultValue="https://word.sovereign.digital/icon-16.png"/>
                <bt:Image id="Icon.32x32" DefaultValue="https://word.sovereign.digital/icon-32.png"/>
                <bt:Image id="Icon.80x80" DefaultValue="https://word.sovereign.digital/icon-80.png"/>
            </bt:Images>
            <bt:Urls>
                <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://word.sovereign.digital/"/>
                <bt:Url id="Commands.Url" DefaultValue="https://word.sovereign.digital/commands.html"/>
                <bt:Url id="Taskpane.Url" DefaultValue="https://word.sovereign.digital/index.html"/>
            </bt:Urls>
            <bt:ShortStrings>
                <bt:String id="GetStarted.Title" DefaultValue="Sovereign ist bereit"/>
                <bt:String id="Group.Label" DefaultValue="Sovereign"/>
                <bt:String id="TaskpaneButton.Label" DefaultValue="Sovereign"/>
            </bt:ShortStrings>
            <bt:LongStrings>
                <bt:String id="GetStarted.Description" DefaultValue="Öffne Sovereign über die Schaltfläche in der Registerkarte Start."/>
                <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Sovereign Legal AI zum offenen Dokument fragen."/>
            </bt:LongStrings>
        </Resources>
    </VersionOverrides>
</OfficeApp>
