<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:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" xsi:type="MailApp">
	<!-- Begin Basic Settings: Add-in metadata, used for all versions of Office unless override provided. -->
	<!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. -->
	<Id>cdfcff7d-12d2-4c16-8af5-fb7826c1c2a0</Id>
	<!-- Version. Updates from the store only get triggered if there is a version change. -->
	<Version>1.0.0.772</Version>
	<ProviderName>Crossware Ltd</ProviderName>
	<DefaultLocale>en-US</DefaultLocale>
	<!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. -->
	<DisplayName DefaultValue="Dynamic Signatures" />
	<Description DefaultValue="Crossware Mail Signature" />
	<!-- Icon for your add-in. Used on installation screens and the add-ins dialog. -->
	<IconUrl DefaultValue="https://addin.crossware365.com/assets/xware-x-64b.png" />
	<HighResolutionIconUrl DefaultValue="https://addin.crossware365.com/assets/xware-x-128b.png" />
	<SupportUrl DefaultValue="https://crossware365.com" />
	<!-- If you plan to submit this add-in to the Office Store, uncomment the SupportUrl element below -->
	<!-- <SupportUrl DefaultValue="[Insert the URL of a page that provides support information for the app]" /> -->
	<!-- Domains that will be allowed when navigating. For example, if you use ShowTaskpane and then have an href link, navigation will only be allowed if the domain is on this list. -->
	<AppDomains>
		<AppDomain>https://crossware365.com</AppDomain>
	</AppDomains>
	<!-- End Basic Settings. -->
	<Hosts>
		<Host Name="Mailbox" />
	</Hosts>
	<Requirements>
		<Sets>
			<Set Name="Mailbox" MinVersion="1.5" />
		</Sets>
	</Requirements>
	<FormSettings>
		<Form xsi:type="ItemRead">
			<DesktopSettings>
				<SourceLocation DefaultValue="https://addin.crossware365.com/index.html" />
				<RequestedHeight>250</RequestedHeight>
			</DesktopSettings>
		</Form>
	</FormSettings>
	<Permissions>ReadWriteMailbox</Permissions>
	<Rule xsi:type="RuleCollection" Mode="Or">
		<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
	</Rule>
	<DisableEntityHighlighting>false</DisableEntityHighlighting>
	<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
		<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
			<Requirements>
				<bt:Sets DefaultMinVersion="1.5">
					<bt:Set Name="Mailbox"/>
				</bt:Sets>
			</Requirements>
			<Hosts>
				<Host xsi:type="MailHost">
					<Runtimes>
						<Runtime resid="resAutoInsertWeb">
							<Override type="javascript" resid="resAutoInsert" />
						</Runtime>
					</Runtimes>
					<DesktopFormFactor>
						<SupportsSharedFolders>true</SupportsSharedFolders>
						<ExtensionPoint xsi:type="MessageComposeCommandSurface">
							<OfficeTab id="TabDefault">
								<Group id="msgReadGroup">
									<Label resid="resGroupLabel" />
									<Control xsi:type="Button" id="msgSignaturePreview">
										<Label resid="resSignaturePreviewLabel" />
										<Supertip>
											<Title resid="resSignaturePreviewTipTitle" />
											<Description resid="resSignaturePreviewSuperTipDesc" />
										</Supertip>
										<Icon>
											<bt:Image size="16" resid="icon16"/>
											<bt:Image size="32" resid="icon32"/>
											<bt:Image size="80" resid="icon80"/>
										</Icon>
										<Action xsi:type="ShowTaskpane">
											<SourceLocation resid="resSignaturePreviewTaskPaneUrl" />
											<SupportsPinning>true</SupportsPinning>
										</Action>
									</Control>
								</Group>
							</OfficeTab>
						</ExtensionPoint>
						<ExtensionPoint xsi:type="LaunchEvent">
							<LaunchEvents>
								<LaunchEvent Type="OnNewMessageCompose" FunctionName="cwInsertSignature" />
								<LaunchEvent Type="OnMessageRecipientsChanged" FunctionName="cwInsertSignature" />
								<LaunchEvent Type="OnMessageFromChanged" FunctionName="cwInsertSignature"/>
							</LaunchEvents>
							<SourceLocation resid="resAutoInsertWeb" />
						</ExtensionPoint>
					</DesktopFormFactor>
					<!-- Defines the add-in for Outlook mobile. -->
					<MobileFormFactor>
						<!-- Configures event-based activation. -->
						<ExtensionPoint xsi:type="LaunchEvent">
							<LaunchEvents>
								<LaunchEvent Type="OnNewMessageCompose" FunctionName="cwInsertSignature" />
                				<LaunchEvent Type="OnMessageRecipientsChanged" FunctionName="cwInsertSignature" />
								<LaunchEvent Type="OnMessageFromChanged" FunctionName="cwInsertSignature"/>
							</LaunchEvents>
							<!-- Identifies the runtime to be used (also referenced by the Runtime element). -->
							<SourceLocation resid="resAutoInsertWeb" />
						</ExtensionPoint>
					</MobileFormFactor>
				</Host>
			</Hosts>
			<Resources>
				<bt:Images>
					<bt:Image id="icon16" DefaultValue="https://addin.crossware365.com/assets/xware-x-16b.png"/>
					<bt:Image id="icon32" DefaultValue="https://addin.crossware365.com/assets/xware-x-32b.png"/>
					<bt:Image id="icon80" DefaultValue="https://addin.crossware365.com/assets/xware-x-80b.png"/>
				</bt:Images>
				<bt:Urls>
					<bt:Url id="resSignaturePreviewTaskPaneUrl" DefaultValue="https://addin.crossware365.com/index.html"/>
					<bt:Url id="resAutoInsertWeb" DefaultValue="https://addin.crossware365.com/cwevents/autoinsertweb.html"/>
					<bt:Url id="resAutoInsert" DefaultValue="https://addin.crossware365.com/cwevents/autoinsert.js"/>
				</bt:Urls>
				<bt:ShortStrings>
					<bt:String id="resGroupLabel" DefaultValue="Crossware"/>
					<bt:String id="resCustomTabLabel" DefaultValue="Mail Signature"/>
					<bt:String id="resSignaturePreviewLabel" DefaultValue="Dynamic Signatures"/>
					<bt:String id="resSignaturePreviewTipTitle" DefaultValue="Dynamic Signatures"/>
				</bt:ShortStrings>
				<bt:LongStrings>
					<bt:String id="resSignaturePreviewSuperTipDesc" DefaultValue="Crossware Mail Signature"/>
					<bt:String id="resAutoInsertSuperTipDescription" DefaultValue="Crossware Mail Signature"/>
				</bt:LongStrings>
			</Resources>
<WebApplicationInfo>
	<Id>cdfcff7d-12d2-4c16-8af5-fb7826c1c2a0</Id>
	<Resource>api://addin.crossware365.com/cdfcff7d-12d2-4c16-8af5-fb7826c1c2a0</Resource>
	<Scopes>
		<Scope>offline_access</Scope>
		<Scope>openid</Scope>
		<Scope>profile</Scope>
		<Scope>user.read</Scope>
	</Scopes>
</WebApplicationInfo>
		</VersionOverrides>
	</VersionOverrides>
</OfficeApp>
