-
Notifications
You must be signed in to change notification settings - Fork 53
/
Manifest.xml
210 lines (191 loc) · 8.88 KB
/
Manifest.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<?xml version="1.0" encoding="utf-8"?>
<!--Created:cbbc9d22-5cf7-4e4c-8ee9-42a772aae58a-->
<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"
xsi:type="MailApp">
<Id>62916641-fc48-44ae-a2a3-163811f1c945</Id>
<Version>4.0</Version>
<ProviderName>Stephen Griffin</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Message Header Analyzer" />
<Description DefaultValue="Microsoft Message Header Analyzer" />
<IconUrl DefaultValue="https://mha.azurewebsites.net/Resources/mhaLogo64.jpg" />
<HighResolutionIconUrl DefaultValue="https://mha.azurewebsites.net/Resources/mhaLogo128.jpg" />
<SupportUrl DefaultValue="https://github.com/microsoft/MHA/issues" />
<Hosts>
<Host Name="Mailbox" />
</Hosts>
<Requirements>
<Sets DefaultMinVersion="1.1">
<Set Name="Mailbox" />
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://mha.azurewebsites.net/Pages/Default.html" />
<RequestedHeight>450</RequestedHeight>
</DesktopSettings>
<TabletSettings>
<SourceLocation DefaultValue="https://mha.azurewebsites.net/Pages/DefaultTablet.html" />
<RequestedHeight>350</RequestedHeight>
</TabletSettings>
<PhoneSettings>
<SourceLocation DefaultValue="https://mha.azurewebsites.net/Pages/DefaultPhone.html" />
</PhoneSettings>
</Form>
</FormSettings>
<!-- TODO: Dial this down to ReadItem when the token bug is fixed -->
<Permissions>ReadWriteMailbox</Permissions>
<Rule xsi:type="RuleCollection" Mode="And">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
</Rule>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<Requirements>
<bt:Sets DefaultMinVersion="1.3">
<bt:Set Name="Mailbox" />
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<FunctionFile resid="functionFile" />
<!-- Message read form -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="TabDefault">
<Group id="mhaCmdGroup">
<Label resid="groupLabel" />
<!-- Task pane button -->
<Control xsi:type="Button" id="mhaOpenPaneButton">
<Label resid="mhaOpenPaneBtnLabel" />
<Supertip>
<Title resid="mhaOpenPaneBtnTipTitle" />
<Description resid="mhaOpenPaneBtnTipDescription" />
</Supertip>
<Icon>
<bt:Image size="16" resid="mha-icon-16" />
<bt:Image size="32" resid="mha-icon-32" />
<bt:Image size="80" resid="mha-icon-80" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="mhaTaskPaneUrl" />
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<!-- MHA icon -->
<bt:Image id="mha-icon-16" DefaultValue="https://mha.azurewebsites.net/Resources/mhaLogo.jpg"/>
<bt:Image id="mha-icon-32" DefaultValue="https://mha.azurewebsites.net/Resources/mhaLogo.jpg"/>
<bt:Image id="mha-icon-80" DefaultValue="https://mha.azurewebsites.net/Resources/mhaLogo.jpg"/>
</bt:Images>
<bt:Urls>
<bt:Url id="functionFile" DefaultValue="https://mha.azurewebsites.net/Pages/Functions.html"/>
<bt:Url id="mhaTaskPaneUrl" DefaultValue="https://mha.azurewebsites.net/Pages/Default.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="groupLabel" DefaultValue=" "/>
<bt:String id="mhaOpenPaneBtnLabel" DefaultValue="View Headers"/>
<bt:String id="mhaOpenPaneBtnTipTitle" DefaultValue="Open a pane to view the available headers on the current message"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="mhaOpenPaneBtnTipDescription" DefaultValue="Retrieves the transport message headers of the current message and displays them in an easy-to-read format." />
</bt:LongStrings>
</Resources>
<!-- VersionOverrides v1.1 -->
<!-- Use this to enable taskpane pinning -->
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
<Requirements>
<bt:Sets DefaultMinVersion="1.3">
<bt:Set Name="Mailbox" />
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<FunctionFile resid="functionFile" />
<!-- Message read form -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="TabDefault">
<Group id="mhaCmdGroup">
<Label resid="groupLabel" />
<!-- Task pane button -->
<Control xsi:type="Button" id="mhaOpenPaneButton">
<Label resid="mhaOpenPaneBtnLabel" />
<Supertip>
<Title resid="mhaOpenPaneBtnTipTitle" />
<Description resid="mhaOpenPaneBtnTipDescription" />
</Supertip>
<Icon>
<bt:Image size="16" resid="mha-icon-16" />
<bt:Image size="32" resid="mha-icon-32" />
<bt:Image size="80" resid="mha-icon-80" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="mhaDesktopPaneUrl" />
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
<MobileFormFactor>
<FunctionFile resid="functionFile" />
<ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
<Group id="mobileMsgRead">
<Label resid="groupLabel" />
<Control xsi:type="MobileButton" id="mblOpenPaneButton">
<Label resid="mhaOpenPaneBtnLabel" />
<Icon xsi:type="bt:MobileIconList">
<bt:Image size="25" scale="1" resid="mha-icon-32" />
<bt:Image size="25" scale="2" resid="mha-icon-32" />
<bt:Image size="25" scale="3" resid="mha-icon-32" />
<bt:Image size="32" scale="1" resid="mha-icon-32" />
<bt:Image size="32" scale="2" resid="mha-icon-32" />
<bt:Image size="32" scale="3" resid="mha-icon-32" />
<bt:Image size="48" scale="1" resid="mha-icon-32" />
<bt:Image size="48" scale="2" resid="mha-icon-32" />
<bt:Image size="48" scale="3" resid="mha-icon-32" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="mhaMobilePaneUrl" />
</Action>
</Control>
</Group>
</ExtensionPoint>
</MobileFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<!-- MHA icon -->
<bt:Image id="mha-icon-16" DefaultValue="https://mha.azurewebsites.net/Resources/mhaLogo.jpg"/>
<bt:Image id="mha-icon-32" DefaultValue="https://mha.azurewebsites.net/Resources/mhaLogo.jpg"/>
<bt:Image id="mha-icon-80" DefaultValue="https://mha.azurewebsites.net/Resources/mhaLogo.jpg"/>
</bt:Images>
<bt:Urls>
<bt:Url id="functionFile" DefaultValue="https://mha.azurewebsites.net/Pages/Functions.html"/>
<bt:Url id="mhaDesktopPaneUrl" DefaultValue="https://mha.azurewebsites.net/Pages/DesktopPane.html"/>
<bt:Url id="mhaMobilePaneUrl" DefaultValue="https://mha.azurewebsites.net/Pages/MobilePane.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="groupLabel" DefaultValue=" "/>
<bt:String id="mhaOpenPaneBtnLabel" DefaultValue="View Headers"/>
<bt:String id="mhaOpenPaneBtnTipTitle" DefaultValue="Open a pane to view the available headers on the current message"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="mhaOpenPaneBtnTipDescription" DefaultValue="Retrieves the transport message headers of the current message and displays them in an easy-to-read format." />
</bt:LongStrings>
</Resources>
</VersionOverrides>
</VersionOverrides>
</OfficeApp>