-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmarkdown-manifest.xml
147 lines (131 loc) · 7.83 KB
/
markdown-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
<?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>81fad3f9-90da-4b09-a2a3-b5bc0f02b934</Id>
<!--Version. Updates from the store only get triggered if there is a version change. -->
<Version>1.0.0.0</Version>
<ProviderName>Red Canari, Inc.</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="Markdown"/>
<Description DefaultValue="Insert colorized code or quickly type a formatted email with Markdown."/>
<!-- Icon for your add-in. Used on installation screens and the add-ins dialog. -->
<IconUrl DefaultValue="https://localhost:3000/assets/icon0-32x32.png"/>
<HighResolutionIconUrl DefaultValue="https://localhost:3000/assets/hires-icon.png"/>
<!--If you plan to submit this add-in to the Office Store, uncomment the SupportUrl element below-->
<SupportUrl DefaultValue="https://localhost:3000/support.html"/>
<Hosts>
<Host Name="Mailbox"/>
</Hosts>
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.1"/>
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemEdit">
<DesktopSettings>
<SourceLocation DefaultValue="https://localhost:3000/index.html"/>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit"/>
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit"/>
</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 Edit -->
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<!-- 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="msgEditGroup">
<Label resid="groupLabel"/>
<!-- Launch the add-in : task pane button -->
<Control xsi:type="Button" id="msgEditOpenPaneButton">
<Label resid="paneEditButtonLabel"/>
<Supertip>
<Title resid="paneEditSuperTipTitle"/>
<Description resid="paneEditSuperTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="icon0-16"/>
<bt:Image size="32" resid="icon0-32"/>
<bt:Image size="80" resid="icon0-80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="messageEditTaskPaneUrl"/>
</Action>
</Control>
<Control xsi:type="Button" id="msgInlineRenderButton">
<Label resid="cmdRenderLabel"/>
<Supertip>
<Title resid="cmdRenderSuperTipTitle"/>
<Description resid="cmdRenderSuperTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="icon1-16"/>
<bt:Image size="32" resid="icon1-32"/>
<bt:Image size="80" resid="icon1-80"/>
</Icon>
<Action xsi:type="ExecuteFunction">
<FunctionName>renderMarkdown</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: MessageEdit, AppointmentOrganizer, AppointmentAttendee -->
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="icon0-16" DefaultValue="https://localhost:3000/assets/icon0-16x16.png"/>
<bt:Image id="icon0-32" DefaultValue="https://localhost:3000/assets/icon0-32x32.png"/>
<bt:Image id="icon0-80" DefaultValue="https://localhost:3000/assets/icon0-80x80.png"/>
<bt:Image id="icon1-16" DefaultValue="https://localhost:3000/assets/icon1-16x16.png"/>
<bt:Image id="icon1-32" DefaultValue="https://localhost:3000/assets/icon1-32x32.png"/>
<bt:Image id="icon1-80" DefaultValue="https://localhost:3000/assets/icon1-80x80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="functionFile" DefaultValue="https://localhost:3000/function-file/function-file.html"/>
<bt:Url id="messageEditTaskPaneUrl" DefaultValue="https://localhost:3000/index.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="groupLabel" DefaultValue="Markdown Editing"/>
<bt:String id="customTabLabel" DefaultValue="Markdown Editing"/>
<bt:String id="paneEditButtonLabel" DefaultValue="Markdown Editor"/>
<bt:String id="paneEditSuperTipTitle" DefaultValue="Open the Markdown editor."/>
<bt:String id="cmdRenderLabel" DefaultValue="Render Markdown"/>
<bt:String id="cmdRenderSuperTipTitle" DefaultValue="Render selected Markdown"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="paneEditSuperTipDescription"
DefaultValue="Opens a pane that displays the Markdown editor."/>
<bt:String id="cmdRenderSuperTipDescription"
DefaultValue="Render selected Markdown in the main Outlook editor"/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</OfficeApp>