-
Notifications
You must be signed in to change notification settings - Fork 4
/
manifest-officeblock.xml
105 lines (103 loc) · 4.73 KB
/
manifest-officeblock.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?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" xsi:type="MailApp" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0">
<Id>d450c563-f499-4c62-8582-6eae0485d3cf</Id>
<Version>1.0.0.0</Version>
<ProviderName>[Provider name]</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Stampery for Outlook"/>
<Description DefaultValue="Certify any email by leveraging the power of the blockchain."/>
<IconUrl DefaultValue="https://localhost:8443/images/icon-32.png"/>
<HighResolutionIconUrl DefaultValue="https://localhost:8443/images/hi-res-icon.png"/>
<Hosts>
<Host Name="Mailbox"/>
</Hosts>
<Requirements>
<Sets>
<Set Name="MailBox" MinVersion="1.3"/>
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<!-- NOTE: Just reusing the read taskpane page that is invoked by the button
on the ribbon in clients that support add-in commands. You can
use a completely different page if desired -->
<SourceLocation DefaultValue="https://localhost:8443/FunctionFile/Functions.html"/>
<RequestedHeight>450</RequestedHeight>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit"/>
</Rule>
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<FunctionFile resid="functionFile"/>
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgReadCmdGroup">
<Label resid="groupLabel"/>
<Control xsi:type="Button" id="stampFunctionButton">
<Label resid="funcStampButtonLabel" />
<Supertip>
<Title resid="funcStampSuperTipTitle" />
<Description resid="funcStampSuperTipDescription" />
</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="ExecuteFunction">
<FunctionName>stamp</FunctionName>
</Action>
</Control>
<Control xsi:type="Button" id="proveFunctionButton">
<Label resid="funcProveButtonLabel" />
<Supertip>
<Title resid="funcProveSuperTipTitle" />
<Description resid="funcProveSuperTipDescription" />
</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="ExecuteFunction">
<FunctionName>prove</FunctionName>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="icon-16" DefaultValue="https://localhost:8443/images/icon-16.png"/>
<bt:Image id="icon-32" DefaultValue="https://localhost:8443/images/icon-32.png"/>
<bt:Image id="icon-80" DefaultValue="https://localhost:8443/images/icon-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="functionFile" DefaultValue="https://localhost:8443/FunctionFile/Functions.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="groupLabel" DefaultValue="Stampery"/>
<bt:String id="funcStampButtonLabel" DefaultValue="Certify" />
<bt:String id="funcStampSuperTipTitle" DefaultValue="Certify" />
<bt:String id="funcProveButtonLabel" DefaultValue="Verify" />
<bt:String id="funcProveSuperTipTitle" DefaultValue="Verify" />
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="funcStampSuperTipDescription" DefaultValue="Certify this email using Stampery" />
<bt:String id="funcProveSuperTipDescription" DefaultValue="Verify the validaty of the Stampery proof for this document" />
</bt:LongStrings>
</Resources>
</VersionOverrides>
</OfficeApp>