-
Notifications
You must be signed in to change notification settings - Fork 0
/
refden-add-in-manifest.xml
146 lines (132 loc) · 7.47 KB
/
refden-add-in-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
<?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:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="TaskPaneApp">
<Id>d3f7644e-0bc5-4873-986d-d4cef6942851</Id>
<Version>1.1.0</Version>
<ProviderName>Refden</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Refden" />
<Description DefaultValue="Add-in for Refden. Bring your references from your account at www.refden.com.
We'll take care of inserting both the citation and the reference. If you don't have an account you'll need to create one first."
/>
<IconUrl DefaultValue="https://refden-word.herokuapp.com/assets/icon-32.png" />
<HighResolutionIconUrl DefaultValue="https://refden-word.herokuapp.com/assets/icon-64.png" />
<SupportUrl DefaultValue="https://www.refden.com" />
<AppDomains>
<AppDomain>https://www.refden.com</AppDomain>
<AppDomain>https://www.youtube.com</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Document" />
</Hosts>
<Requirements>
<Sets>
<Set Name="WordApi" />
</Sets>
</Requirements>
<DefaultSettings>
<SourceLocation DefaultValue="https://refden-word.herokuapp.com/index.html" />
<!--INFO: Uncomment this line below for trying changes on local-->
<!--<SourceLocation DefaultValue="https://localhost:3000/index.html" />-->
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
xsi:type="VersionOverridesV1_0">
<Hosts>
<!-- Each host can have a different set of commands. -->
<!-- Excel host is Workbook, Word host is Document, and PowerPoint host is Presentation. -->
<!-- Make sure the hosts you override match the hosts declared in the top section of the manifest. -->
<Host xsi:type="Document">
<!-- Form factor. Currently only DesktopFormFactor is supported. -->
<DesktopFormFactor>
<!--"This code enables a customizable message to be displayed when the add-in is loaded successfully upon individual install."-->
<GetStarted>
<!-- Title of the Getting Started callout. resid points to a ShortString resource -->
<Title resid="Contoso.GetStarted.Title" />
<!-- Description of the Getting Started callout. resid points to a LongString resource -->
<Description resid="Contoso.GetStarted.Description" />
<!-- Point to a url resource which details how the add-in should be used. -->
<LearnMoreUrl resid="Contoso.GetStarted.LearnMoreUrl" />
</GetStarted>
<!-- Function file is a HTML page that includes the JavaScript where functions for ExecuteAction will be called.
Think of the FunctionFile as the code behind ExecuteFunction. -->
<FunctionFile resid="Contoso.DesktopFunctionFile.Url" />
<!-- PrimaryCommandSurface is the main Office Ribbon. -->
<ExtensionPoint xsi:type="PrimaryCommandSurface">
<!-- Use OfficeTab to extend an existing Tab. Use CustomTab to create a new tab. -->
<OfficeTab id="TabReferences">
<!-- Ensure you provide a unique id for the group. Recommendation for any IDs is to namespace using your company name. -->
<Group id="Contoso.Group1">
<!-- Label for your group. resid must point to a ShortString resource. -->
<Label resid="Contoso.Group1Label" />
<!-- Icons. Required sizes 16,32,80, optional 20, 24, 40, 48, 64. Strongly recommended to provide all sizes for great UX. -->
<!-- Use PNG icons. All URLs on the resources section must use HTTPS. -->
<Icon>
<bt:Image size="16" resid="Contoso.tpicon_16x16" />
<bt:Image size="32" resid="Contoso.tpicon_32x32" />
<bt:Image size="80" resid="Contoso.tpicon_80x80" />
</Icon>
<!-- Control. It can be of type "Button" or "Menu". -->
<Control xsi:type="Button" id="Contoso.TaskpaneButton">
<Label resid="Contoso.TaskpaneButton.Label" />
<Supertip>
<!-- ToolTip title. resid must point to a ShortString resource. -->
<Title resid="Contoso.TaskpaneButton.Label" />
<!-- ToolTip description. resid must point to a LongString resource. -->
<Description resid="Contoso.TaskpaneButton.Tooltip" />
</Supertip>
<Icon>
<bt:Image size="16" resid="Contoso.tpicon_16x16" />
<bt:Image size="32" resid="Contoso.tpicon_32x32" />
<bt:Image size="80" resid="Contoso.tpicon_80x80" />
</Icon>
<!-- This is what happens when the command is triggered (E.g. click on the Ribbon). Supported actions are ExecuteFunction or ShowTaskpane. -->
<Action xsi:type="ShowTaskpane">
<TaskpaneId>ButtonId1</TaskpaneId>
<!-- Provide a url resource id for the location that will be displayed on the task pane. -->
<SourceLocation resid="Contoso.Taskpane.Url" />
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<!-- You can use resources across hosts and form factors. -->
<Resources>
<bt:Images>
<bt:Image id="Contoso.tpicon_16x16"
DefaultValue="https://refden-word.herokuapp.com/assets/icon-16.png" />
<bt:Image id="Contoso.tpicon_32x32"
DefaultValue="https://refden-word.herokuapp.com/assets/icon-32.png" />
<bt:Image id="Contoso.tpicon_80x80"
DefaultValue="https://refden-word.herokuapp.com/assets/icon-80.png" />
</bt:Images>
<bt:Urls>
<bt:Url id="Contoso.Taskpane.Url"
DefaultValue="https://refden-word.herokuapp.com/index.html" />
<bt:Url id="Contoso.GetStarted.LearnMoreUrl"
DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812" />
<bt:Url id="Contoso.DesktopFunctionFile.Url"
DefaultValue="https://refden-word.herokuapp.com/function-file/function-file.html" />
</bt:Urls>
<!-- ShortStrings max characters==125. -->
<bt:ShortStrings>
<bt:String id="Contoso.TaskpaneButton.Label" DefaultValue="Refden" />
<bt:String id="Contoso.Group1Label" DefaultValue="Refden" />
<bt:String id="Contoso.GetStarted.Title" DefaultValue="Add your references from Refden!" />
</bt:ShortStrings>
<!-- LongStrings max characters==250. -->
<bt:LongStrings>
<bt:String id="Contoso.TaskpaneButton.Tooltip"
DefaultValue="Click to Show Refden Taskpane" />
<bt:String id="Contoso.GetStarted.Description"
DefaultValue="Your Refden add-in loaded successfully. Go to the REFERENCES tab and click the 'Refden' button to get started."
/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</OfficeApp>