-
Notifications
You must be signed in to change notification settings - Fork 0
/
ios_manifest.xml
266 lines (245 loc) · 13.1 KB
/
ios_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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<?xml version="1.0" encoding="UTF-8"?>
<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>74465f11-a17d-4e00-a88a-303e1108bcaa</Id>
<!--Version. Updates from the store only get triggered if there is a version change. -->
<Version>1.0.0.0</Version>
<ProviderName>Michauzo</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="Single Commands" />
<Description DefaultValue="Allows for performing commands on a single message in conversation."/>
<!-- Icon for your add-in. Used on installation screens and the add-ins dialog. -->
<IconUrl DefaultValue="https://marksingleunread.azurewebsites.net/assets/unread-32.png" />
<HighResolutionIconUrl DefaultValue="https://marksingleunread.azurewebsites.net/assets/logo-filled.png"/>
<!--If you plan to submit this add-in to the Office Store, uncomment the SupportUrl element below-->
<SupportUrl DefaultValue="https://marksingleunread.azurewebsites.net/support.html" />
<!-- 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>AppDomain1</AppDomain>
<AppDomain>AppDomain2</AppDomain>
<AppDomain>AppDomain3</AppDomain>
</AppDomains>
<!--End Basic Settings. -->
<Hosts>
<Host Name="Mailbox" />
</Hosts>
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.1" />
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://marksingleunread.azurewebsites.net/index.html"/>
<RequestedHeight>250</RequestedHeight>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteMailbox</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
</Rule>
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<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>
<!-- Location of the Functions that UI-less buttons can trigger (ExecuteFunction Actions). -->
<FunctionFile resid="functionFile" />
<!-- Message Read -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<!-- Use the default tab of the ExtensionPoint or create your own with <CustomTab id="myTab"> -->
<OfficeTab id="TabDefault">
<!-- Up to 6 Groups added per Tab -->
<Group id="msgReadGroup">
<Label resid="groupLabel" />
<!-- Launch the add-in : task pane button -->
<Control xsi:type="Button" id="msgReadOpenPaneButton">
<Label resid="markUnreadButtonLabel" />
<Supertip>
<Title resid="markUnreadSuperTipTitle" />
<Description resid="markUnreadSuperTipDescription" />
</Supertip>
<Icon>
<bt:Image size="16" resid="unread16" />
<bt:Image size="32" resid="unread32" />
<bt:Image size="80" resid="unread80" />
</Icon>
<Action xsi:type="ExecuteFunction">
<FunctionName>markAsUnread</FunctionName>
</Action>
</Control>
<!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee -->
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="unread16" DefaultValue="https://marksingleunread.azurewebsites.net/assets/unread-16.png"/>
<bt:Image id="unread32" DefaultValue="https://marksingleunread.azurewebsites.net/assets/unread-32.png"/>
<bt:Image id="unread80" DefaultValue="https://marksingleunread.azurewebsites.net/assets/unread-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="functionFile" DefaultValue="https://marksingleunread.azurewebsites.net/function-file/function-file.html"/>
<bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://marksingleunread.azurewebsites.net/index.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="groupLabel" DefaultValue="My Add-in Group"/>
<bt:String id="customTabLabel" DefaultValue="My Add-in Tab"/>
<bt:String id="markUnreadButtonLabel" DefaultValue="Mark as unread"/>
<bt:String id="markUnreadSuperTipTitle" DefaultValue="Mark message as unread"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="markUnreadSuperTipDescription" DefaultValue="Marks a single message in conversation as unread."/>
</bt:LongStrings>
</Resources>
<!-- VersionOverrides for the v1.1 schema -->
<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>
<!-- Location of the Functions that UI-less buttons can trigger (ExecuteFunction Actions). -->
<FunctionFile resid="functionFile" />
<!-- Message Read -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<!-- Use the default tab of the ExtensionPoint or create your own with <CustomTab id="myTab"> -->
<OfficeTab id="TabDefault">
<!-- Up to 6 Groups added per Tab -->
<Group id="msgReadGroup">
<Label resid="groupLabel" />
<!-- Launch the add-in : task pane button -->
<Control xsi:type="Button" id="markUnreadButton">
<Label resid="markUnreadButtonLabel" />
<Supertip>
<Title resid="markUnreadSuperTipTitle" />
<Description resid="markUnreadSuperTipDescription" />
</Supertip>
<Icon>
<bt:Image size="16" resid="unread16" />
<bt:Image size="32" resid="unread32" />
<bt:Image size="80" resid="unread80" />
</Icon>
<Action xsi:type="ExecuteFunction">
<FunctionName>markAsUnread</FunctionName>
</Action>
</Control>
<Control xsi:type="Button" id="flagButton">
<Label resid="flagButtonLabel" />
<Supertip>
<Title resid="flagSuperTipTitle" />
<Description resid="flagSuperTipDescription" />
</Supertip>
<Icon>
<bt:Image size="16" resid="flag16" />
<bt:Image size="32" resid="flag32" />
<bt:Image size="80" resid="flag80" />
</Icon>
<Action xsi:type="ExecuteFunction">
<FunctionName>flag</FunctionName>
</Action>
</Control>
<!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee -->
</DesktopFormFactor>
<MobileFormFactor>
<FunctionFile resid="functionFile" />
<ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
<Group id="msgReadGroup">
<Label resid="groupLabel" />
<Control xsi:type="MobileButton" id="mblMarkUnreadFunctionButton">
<Label resid="markUnreadButtonLabel" />
<Icon xsi:type="bt:MobileIconList">
<bt:Image size="25" scale="1" resid="unread25" />
<bt:Image size="25" scale="2" resid="unread25" />
<bt:Image size="25" scale="3" resid="unread25" />
<bt:Image size="32" scale="1" resid="unread32" />
<bt:Image size="32" scale="2" resid="unread32" />
<bt:Image size="32" scale="3" resid="unread32" />
<bt:Image size="48" scale="1" resid="unread48" />
<bt:Image size="48" scale="2" resid="unread48" />
<bt:Image size="48" scale="3" resid="unread48" />
</Icon>
<Action xsi:type="ExecuteFunction">
<FunctionName>markAsUnread</FunctionName>
</Action>
</Control>
<Control xsi:type="MobileButton" id="mblFlagFunctionButton">
<Label resid="flagButtonLabel" />
<Icon xsi:type="bt:MobileIconList">
<bt:Image size="25" scale="1" resid="flag25" />
<bt:Image size="25" scale="2" resid="flag25" />
<bt:Image size="25" scale="3" resid="flag25" />
<bt:Image size="32" scale="1" resid="flag32" />
<bt:Image size="32" scale="2" resid="flag32" />
<bt:Image size="32" scale="3" resid="flag32" />
<bt:Image size="48" scale="1" resid="flag48" />
<bt:Image size="48" scale="2" resid="flag48" />
<bt:Image size="48" scale="3" resid="flag48" />
</Icon>
<Action xsi:type="ExecuteFunction">
<FunctionName>flag</FunctionName>
</Action>
</Control>
</Group>
</ExtensionPoint>
</MobileFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="unread16" DefaultValue="https://marksingleunread.azurewebsites.net/assets/unread-16.png"/>
<bt:Image id="unread25" DefaultValue="https://marksingleunread.azurewebsites.net/assets/unread-25.png"/>
<bt:Image id="unread32" DefaultValue="https://marksingleunread.azurewebsites.net/assets/unread-32.png"/>
<bt:Image id="unread48" DefaultValue="https://marksingleunread.azurewebsites.net/assets/unread-48.png"/>
<bt:Image id="unread80" DefaultValue="https://marksingleunread.azurewebsites.net/assets/unread-80.png"/>
<bt:Image id="flag16" DefaultValue="https://marksingleunread.azurewebsites.net/assets/flag-16.png"/>
<bt:Image id="flag25" DefaultValue="https://marksingleunread.azurewebsites.net/assets/flag-25.png"/>
<bt:Image id="flag32" DefaultValue="https://marksingleunread.azurewebsites.net/assets/flag-32.png"/>
<bt:Image id="flag48" DefaultValue="https://marksingleunread.azurewebsites.net/assets/flag-48.png"/>
<bt:Image id="flag80" DefaultValue="https://marksingleunread.azurewebsites.net/assets/flag-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="functionFile" DefaultValue="https://marksingleunread.azurewebsites.net/function-file/function-file.html"/>
<bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://marksingleunread.azurewebsites.net/index.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="groupLabel" DefaultValue="My Add-in Group"/>
<bt:String id="customTabLabel" DefaultValue="My Add-in Tab"/>
<bt:String id="markUnreadButtonLabel" DefaultValue="Mark as unread"/>
<bt:String id="markUnreadSuperTipTitle" DefaultValue="Mark message as unread"/>
<bt:String id="flagButtonLabel" DefaultValue="Flag"/>
<bt:String id="flagSuperTipTitle" DefaultValue="Flag message"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="markUnreadSuperTipDescription" DefaultValue="Marks a single message in conversation as unread."/>
<bt:String id="flagSuperTipDescription" DefaultValue="Flags a single message in conversation."/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</VersionOverrides>
</OfficeApp>