<?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:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
           xsi:type="TaskPaneApp">
    <Id>3f7d2a9e-4b61-4e28-8cf3-2fd9ab7b12ce</Id>
    <Version>1.0.1.84</Version>
    <ProviderName>Alphascript</ProviderName>
    <DefaultLocale>en-US</DefaultLocale>
    <DisplayName DefaultValue="AlphaScriptPowerpoint-Test"/>
    <Description DefaultValue="AlphaScript Production Test PowerPoint Add-In."/>
    <IconUrl DefaultValue="https://pp.test.alphascript.io/assets/icon-32.png"/>
    <HighResolutionIconUrl DefaultValue="https://pp.test.alphascript.io/assets/icon-64.png"/>
    <SupportUrl DefaultValue="https://pp.test.alphascript.io/help"/>

    <AppDomains>
        <AppDomain>https://pp.test.alphascript.io</AppDomain>
    </AppDomains>

    <Hosts>
        <Host Name="Presentation"/>
    </Hosts>
    <Requirements>
        <Sets DefaultMinVersion="1.1">
            <Set Name="SharedRuntime" MinVersion="1.1"/>
        </Sets>
    </Requirements>
    <DefaultSettings>
        <SourceLocation DefaultValue="https://pp.test.alphascript.io/taskpane.html"/>
    </DefaultSettings>

    <Permissions>ReadWriteDocument</Permissions>

    <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
        <Hosts>
            <Host xsi:type="Presentation">
                <Runtimes>
                    <Runtime resid="Commands.Url" lifetime="long" />
                </Runtimes>
                <DesktopFormFactor>
                    <FunctionFile resid="Commands.Url"/>
                    <ExtensionPoint xsi:type="PrimaryCommandSurface">
                        <CustomTab id="AlphaScriptTab">
                            <Group id="AlphaScriptGroup">
                                <Label resid="AlphaScriptGroup.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="PlaceholderButton">
                                    <Label resid="PlaceholderButton.Label"/>
                                    <Supertip>
                                        <Title resid="PlaceholderButton.Label"/>
                                        <Description resid="PlaceholderButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.formatIcon"/>
                                        <bt:Image size="32" resid="Icon.formatIcon"/>
                                        <bt:Image size="80" resid="Icon.formatIcon"/>
                                    </Icon>
                                    <Action xsi:type="ExecuteFunction">
                                        <FunctionName>placeholderPopup</FunctionName>
                                    </Action>
                                </Control>

                                <Control xsi:type="Button" id="SlidesButton">
                                    <Label resid="SlidesButton.Label"/>
                                    <Supertip>
                                        <Title resid="SlidesButton.Label"/>
                                        <Description resid="SlidesButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.lineChart"/>
                                        <bt:Image size="32" resid="Icon.lineChart"/>
                                        <bt:Image size="80" resid="Icon.lineChart"/>
                                    </Icon>
                                    <Action xsi:type="ExecuteFunction">
                                        <FunctionName>slidesPopup</FunctionName>
                                    </Action>
                                      <Enabled>true</Enabled>
                                </Control>

                                <Control xsi:type="Button" id="PresentationButton">
                                    <Label resid="PresentationButton.Label"/>
                                    <Supertip>
                                        <Title resid="PresentationButton.Label"/>
                                        <Description resid="PresentationButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.createIcon"/>
                                        <bt:Image size="32" resid="Icon.createIcon"/>
                                        <bt:Image size="80" resid="Icon.createIcon"/>
                                    </Icon>
                                    <Action xsi:type="ExecuteFunction">
                                        <FunctionName>presentationPopup</FunctionName>
                                    </Action>
                                      <Enabled>true</Enabled>
                                </Control>
                            </Group>

                            <Group id="alphaEditGroup">
                                <Label resid="alphaEditGroup.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="SlideEditButton">
                                    <Label resid="SlideEditButton.Label"/>
                                    <Supertip>
                                        <Title resid="SlideEditButton.Label"/>
                                        <Description resid="SlideEditButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.alphaEditActionIcon"/>
                                        <bt:Image size="32" resid="Icon.alphaEditActionIcon"/>
                                        <bt:Image size="80" resid="Icon.alphaEditActionIcon"/>
                                    </Icon>
                                    <Action xsi:type="ExecuteFunction">
                                        <FunctionName>slideEditPopup</FunctionName>
                                    </Action>
                                    <Enabled>true</Enabled>
                                </Control>

                                <Control xsi:type="Button" id="PriceRefreshButton">
                                    <Label resid="PriceRefreshButton.Label"/>
                                    <Supertip>
                                        <Title resid="PriceRefreshButton.Label"/>
                                        <Description resid="PriceRefreshButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.refreshIcon"/>
                                        <bt:Image size="32" resid="Icon.refreshIcon"/>
                                        <bt:Image size="80" resid="Icon.refreshIcon"/>
                                    </Icon>
                                    <Action xsi:type="ExecuteFunction">
                                        <FunctionName>refreshButtonClick</FunctionName>
                                    </Action>
                                    <Enabled>true</Enabled>
                                </Control>
                            </Group>

                            <Group id="manageContent">
                                <Label resid="manageContent.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="ContentManagerButton">
                                    <Label resid="ContentManagerButton.Label"/>
                                    <Supertip>
                                        <Title resid="ContentManagerButton.Label"/>
                                        <Description resid="ContentManagerButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.formatIcon"/>
                                        <bt:Image size="32" resid="Icon.formatIcon"/>
                                        <bt:Image size="80" resid="Icon.formatIcon"/>
                                    </Icon>
                                    <Action xsi:type="ExecuteFunction">
                                        <FunctionName>openContentManager</FunctionName>
                                    </Action>
                                </Control> -->


                                <!-- <Control xsi:type="Button" id="AlphaEditButton">
                                    <Label resid="AlphaEditButton.Label"/>
                                    <Supertip>
                                        <Title resid="AlphaEditButton.Label"/>
                                        <Description resid="AlphaEditButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.editIcon"/>
                                        <bt:Image size="32" resid="Icon.editIcon"/>
                                        <bt:Image size="80" resid="Icon.editIcon"/>
                                    </Icon>
                                    <Action xsi:type="ExecuteFunction">
                                        <FunctionName>alphaEditPopup</FunctionName>
                                    </Action>
                                    <Enabled>false</Enabled>
                                </Control> -->

                         
                                <!-- <Control xsi:type="Button" id="OpenExcelButton">
                                    <Label resid="OpenExcelButton.Label"/>
                                    <Supertip>
                                        <Title resid="OpenExcelButton.Label"/>
                                        <Description resid="OpenExcelButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.settings"/>
                                        <bt:Image size="32" resid="Icon.settings"/>
                                        <bt:Image size="80" resid="Icon.settings"/>
                                    </Icon>
                                    <Action xsi:type="ExecuteFunction">
                                        <FunctionName>openExcelClick</FunctionName>
                                    </Action>
                                    <Enabled>false</Enabled>
                                </Control> -->

                                <Control xsi:type="Button" id="status">
                                    <Label resid="status.Label"/>
                                    <Supertip>
                                        <Title resid="status.Label"/>
                                        <Description resid="status.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.statusIcon"/>
                                        <bt:Image size="32" resid="Icon.statusIcon"/>
                                        <bt:Image size="80" resid="Icon.statusIcon"/>
                                    </Icon>
                                    <Action xsi:type="ShowTaskpane">
                                        <TaskpaneId>contentTaskpane</TaskpaneId>
                                        <SourceLocation resid="Commands.Url"/>
                                        <Title resid="status.Title"/>
                                    </Action>
                                    <Enabled>false</Enabled>
                                </Control>

                                <Control xsi:type="Button" id="RefreshButton">
                                    <Label resid="RefreshButton.Label"/>
                                    <Supertip>
                                        <Title resid="RefreshButton.Label"/>
                                        <Description resid="RefreshButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.editIcon"/>
                                        <bt:Image size="32" resid="Icon.editIcon"/>
                                        <bt:Image size="80" resid="Icon.editIcon"/>
                                    </Icon>
                                    <Action xsi:type="ExecuteFunction">
                                        <FunctionName>refreshButtonClick</FunctionName>
                                    </Action>
                                    <Enabled>true</Enabled>
                                </Control>

                                <!-- <Control xsi:type="Button" id="contentIsReady">
                                    <Label resid="contentIsReady.Label"/>
                                    <Supertip>
                                        <Title resid="contentIsReady.Label"/>
                                        <Description resid="contentIsReady.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.ContentReadyIcon"/>
                                        <bt:Image size="32" resid="Icon.ContentReadyIcon"/>
                                        <bt:Image size="80" resid="Icon.ContentReadyIcon"/>
                                    </Icon>
                                    <Action xsi:type="ShowTaskpane">
                                        <TaskpaneId>contentTaskpane</TaskpaneId>
                                        <SourceLocation resid="Commands.Url"/>
                                        <Title resid="contentIsReady.Title"/>
                                    </Action>
                                    <Enabled>false</Enabled>
                                </Control> -->
                            </Group>

                            <Group id="Utilities">
                                <Label resid="Utilities.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="ProductEducation">
                                    <Label resid="ProductEducation.Label"/>
                                    <Supertip>
                                        <Title resid="ProductEducation.Label"/>
                                        <Description resid="ProductEducation.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.productEducation"/>
                                        <bt:Image size="32" resid="Icon.productEducation"/>
                                        <bt:Image size="80" resid="Icon.productEducation"/>
                                    </Icon>
                                    <Action xsi:type="ShowTaskpane">
                                        <TaskpaneId>Taskpane</TaskpaneId>
                                        <SourceLocation resid="Taskpane.Url"/>
                                    </Action>
                                </Control> -->

                                <!-- <Control xsi:type="Menu" id="Settings">
                                    <Label resid="Settings.Label"/>
                                    <Supertip>
                                        <Title resid="Settings.Label"/>
                                        <Description resid="Settings.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.settings"/>
                                        <bt:Image size="32" resid="Icon.settings"/>
                                        <bt:Image size="80" resid="Icon.settings"/>
                                    </Icon>
                                    <Items>
                                        <Item id="FormatTemplatesButton">
                                            <Label resid="FormatTemplatesButton.Label"/>
                                            <Supertip>
                                                <Title resid="FormatTemplatesButton.Label"/>
                                                <Description resid="FormatTemplatesButton.Tooltip"/>
                                            </Supertip>
                                            <Icon>
                                                <bt:Image size="16" resid="Icon.formatIcon"/>
                                                <bt:Image size="32" resid="Icon.formatIcon"/>
                                                <bt:Image size="80" resid="Icon.formatIcon"/>
                                            </Icon>
                                            <Action xsi:type="ExecuteFunction">
                                                <FunctionName>formatTemplatePopup</FunctionName>
                                            </Action>
                                        </Item>
                                    </Items>
                                </Control> -->

                                <!-- <Control xsi:type="Button" id="FeedbackButton">
                                    <Label resid="FeedbackButton.Label"/>
                                    <Supertip>
                                        <Title resid="FeedbackButton.Label"/>
                                        <Description resid="FeedbackButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.feedbackIcon"/>
                                        <bt:Image size="32" resid="Icon.feedbackIcon"/>
                                        <bt:Image size="80" resid="Icon.feedbackIcon"/>
                                    </Icon>
                                    <Action xsi:type="ExecuteFunction">
                                        <FunctionName>feedbackSupportPopup</FunctionName>
                                    </Action>
                                </Control> -->

                                <Control xsi:type="Button" id="AuthButton">
                                    <Label resid="AuthButton.Label"/>
                                    <Supertip>
                                        <Title resid="AuthButton.Label"/>
                                        <Description resid="AuthButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.settingIcon"/>
                                        <bt:Image size="32" resid="Icon.settingIcon"/>
                                        <bt:Image size="80" resid="Icon.settingIcon"/>
                                    </Icon>
                                    <Action xsi:type="ShowTaskpane">
                                        <TaskpaneId>Taskpane</TaskpaneId>
                                        <SourceLocation resid="Taskpane.Url"/>
                                        <Title resid="AuthButton.Label"/>
                                    </Action>
                                </Control>
                            </Group>

                            <Label resid="AlphaScriptTab.Label"/>
                        </CustomTab>
                    </ExtensionPoint>
                </DesktopFormFactor>
            </Host>
        </Hosts>

        <Resources>
            <bt:Images>
                <bt:Image id="Icon.lineChart" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/Content_Library.png"/>
                <bt:Image id="Icon.createIcon" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/Alpha_Create.png"/>
                <bt:Image id="Icon.editIcon" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/Alpha_Edit.png"/>
                <bt:Image id="Icon.settingIcon" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/Sign_In.png"/>
                <bt:Image id="Icon.settings" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/Settings.png"/>
                <bt:Image id="Icon.ShortcutManagerIcon" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/ShortcutManager.png"/>
                <bt:Image id="Icon.productEducation" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/Product_Education.png"/>
                <bt:Image id="Icon.formatIcon" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/Format_Template.png"/>
                <bt:Image id="Icon.alphaEditActionIcon" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/Format_Template.png"/>
                <bt:Image id="Icon.refreshIcon" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/Refresh.png"/>
                <bt:Image id="Icon.feedbackIcon" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/Feedback_and_Support.png"/>
                <bt:Image id="Icon.ContentReadyIcon" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/ContentReadyIcon.png"/>
                <bt:Image id="Icon.statusIcon" DefaultValue="https://pp.test.alphascript.io/assets/addin_icons/ContentReadyIcon.png"/>
                <bt:Image id="Icon.16x16" DefaultValue="https://pp.test.alphascript.io/assets/icon-16.png"/>
                <bt:Image id="Icon.32x32" DefaultValue="https://pp.test.alphascript.io/assets/icon-32.png"/>
                <bt:Image id="Icon.80x80" DefaultValue="https://pp.test.alphascript.io/assets/icon-80.png"/>
            </bt:Images>
            <bt:Urls>
                <bt:Url id="Commands.Url" DefaultValue="https://pp.test.alphascript.io/commands.html"/>
                <bt:Url id="Taskpane.Url" DefaultValue="https://pp.test.alphascript.io/taskpane.html"/>
                <bt:Url id="AddContent.Url" DefaultValue="https://pp.test.alphascript.io/popup.html"/>
                <bt:Url id="contentReadyTaskpane.Url" DefaultValue="https://pp.test.alphascript.io/contentReady.html"/>
            </bt:Urls>
            <bt:ShortStrings>
                <bt:String id="AlphaScriptTab.Label" DefaultValue="AlphaScript-Test"/>
            <bt:String id="AlphaScriptGroup.Label" DefaultValue="Creative Services"/>
            <bt:String id="alphaEditGroup.Label" DefaultValue="Alpha Edit"/>
            <bt:String id="manageContent.Label" DefaultValue="Manage Content"/>

                <bt:String id="Utilities.Label" DefaultValue="Utilities"/>
                <bt:String id="PlaceholderButton.Label" DefaultValue="Placeholder"/>
                <bt:String id="SlidesButton.Label" DefaultValue="Slides"/>
                <bt:String id="PresentationButton.Label" DefaultValue="Presentation"/>
                <bt:String id="AlphaEditButton.Label" DefaultValue="Alpha Edit"/>
                <bt:String id="RefreshButton.Label" DefaultValue="Refresh"/>
                <bt:String id="SlideEditButton.Label" DefaultValue="Slide Edit"/>
                <bt:String id="PriceRefreshButton.Label" DefaultValue="Price Refresh"/>
                <bt:String id="ContentManagerButton.Label" DefaultValue="Content Manager"/>
                <bt:String id="OpenExcelButton.Label" DefaultValue="Open Excel"/>
                <bt:String id="ProductEducation.Label" DefaultValue="Product Education"/>
                <bt:String id="FormatTemplatesButton.Label" DefaultValue="Format Templates"/>
                <bt:String id="FeedbackButton.Label" DefaultValue="Feedback and Support"/>
                <bt:String id="AuthButton.Label" DefaultValue="Sign In"/>
                <bt:String id="Settings.Label" DefaultValue="Settings"/>
                <bt:String id="ShortcutManager.Label" DefaultValue="Shortcut Manager"/>
                <bt:String id="status.Label" DefaultValue="Status"/>
                <bt:String id="status.Title" DefaultValue="AlphaScript Status"/>

            </bt:ShortStrings>
            <bt:LongStrings>
                <bt:String id="PlaceholderButton.Tooltip" DefaultValue="Manage placeholders for content output."/>
                <bt:String id="SlidesButton.Tooltip" DefaultValue="Work with selected slides."/>
                <bt:String id="PresentationButton.Tooltip" DefaultValue="Apply actions to the entire presentation."/>
                <bt:String id="AlphaEditButton.Tooltip" DefaultValue="Click to open the Alpha Edit."/>
                <bt:String id="RefreshButton.Tooltip" DefaultValue="Refresh the selected AlphaScript-linked chart image."/>
                <bt:String id="SlideEditButton.Tooltip" DefaultValue="Open the Alpha Edit flow for the current slide."/>
                <bt:String id="PriceRefreshButton.Tooltip" DefaultValue="Refresh price/chart content for the current slide."/>
                <bt:String id="ContentManagerButton.Tooltip" DefaultValue="Click to open the Content Manager."/>
                <bt:String id="OpenExcelButton.Tooltip" DefaultValue="Click to open Excel."/>
                <bt:String id="ProductEducation.Tooltip" DefaultValue="Click to open the Product Education window."/>
                <bt:String id="FormatTemplatesButton.Tooltip" DefaultValue="Click to open the Format Templates window."/>
                <bt:String id="FeedbackButton.Tooltip" DefaultValue="Click to open the Feedback window."/>
                <bt:String id="AuthButton.Tooltip" DefaultValue="Click to open the sign-in window."/>
                <bt:String id="Settings.Tooltip" DefaultValue="Click to open the Settings window."/>
                <bt:String id="ShortcutManager.Tooltip" DefaultValue="Click to open the Shortcut Manager window."/>
                <bt:String id="status.Tooltip" DefaultValue="View AlphaScript status for this presentation."/>
            </bt:LongStrings>
        </Resources>

        <WebApplicationInfo>
            <Id>ece8f282-8dc4-47df-9fac-92b5770f9dd4</Id>
            <Resource>api://pp.test.alphascript.io/ece8f282-8dc4-47df-9fac-92b5770f9dd4</Resource>
            <Scopes>
                <Scope>User.Read</Scope>
                <Scope>profile</Scope>
                <Scope>openid</Scope>
            </Scopes>
        </WebApplicationInfo>
    </VersionOverrides>
</OfficeApp>
