Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / odk / examples / cpp / complextoolbarcontrols / Addons.xcu
blobce9aa26920fc1079539c57e6e4aeb8a938488eb4
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!--
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 -->
19 <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Addons" oor:package="org.openoffice.Office">
20 <node oor:name="AddonUI">
21 <node oor:name="OfficeToolBar">
22 <node oor:name="com.sun.star.comp.framework.addon.complextoolbarcontrols" oor:op="replace">
23 <node oor:name="m1" oor:op="replace">
24 <prop oor:name="URL" oor:type="xs:string">
25 <value>vnd.demo.complextoolbarcontrols.demoaddon:ImageButtonCmd</value>
26 </prop>
27 <prop oor:name="Title" oor:type="xs:string">
28 <value xml:lang="en-US">Image Button</value>
29 </prop>
30 <prop oor:name="Target" oor:type="xs:string">
31 <value>_self</value>
32 </prop>
33 <prop oor:name="Context" oor:type="xs:string">
34 <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
35 </prop>
36 <prop oor:name="ControlType" oor:type="xs:string">
37 <value>ImageButton</value>
38 </prop>
39 </node>
40 <node oor:name="m2" oor:op="replace">
41 <prop oor:name="URL" oor:type="xs:string">
42 <value>vnd.demo.complextoolbarcontrols.demoaddon:ComboboxCmd</value>
43 </prop>
44 <prop oor:name="Title" oor:type="xs:string">
45 <value xml:lang="en-US">ComboBox</value>
46 </prop>
47 <prop oor:name="Target" oor:type="xs:string">
48 <value>_self</value>
49 </prop>
50 <prop oor:name="Context" oor:type="xs:string">
51 <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
52 </prop>
53 <prop oor:name="ControlType" oor:type="xs:string">
54 <value>Combobox</value>
55 </prop>
56 <prop oor:name="Width" oor:type="xs:long">
57 <value>200</value>
58 </prop>
59 </node>
60 <node oor:name="m3" oor:op="replace">
61 <prop oor:name="URL" oor:type="xs:string">
62 <value>private:separator</value>
63 </prop>
64 </node>
65 <node oor:name="m4" oor:op="replace">
66 <prop oor:name="URL" oor:type="xs:string">
67 <value>vnd.demo.complextoolbarcontrols.demoaddon:SpinfieldCmd</value>
68 </prop>
69 <prop oor:name="Title" oor:type="xs:string">
70 <value xml:lang="en-US">Spinfield</value>
71 </prop>
72 <prop oor:name="Target" oor:type="xs:string">
73 <value>_self</value>
74 </prop>
75 <prop oor:name="Context" oor:type="xs:string">
76 <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
77 </prop>
78 <prop oor:name="ControlType" oor:type="xs:string">
79 <value>Spinfield</value>
80 </prop>
81 <prop oor:name="Width" oor:type="xs:long">
82 <value>70</value>
83 </prop>
84 </node>
85 <node oor:name="m5" oor:op="replace">
86 <prop oor:name="URL" oor:type="xs:string">
87 <value>private:separator</value>
88 </prop>
89 </node>
90 <node oor:name="m6" oor:op="replace">
91 <prop oor:name="URL" oor:type="xs:string">
92 <value>vnd.demo.complextoolbarcontrols.demoaddon:EditfieldCmd</value>
93 </prop>
94 <prop oor:name="Title" oor:type="xs:string">
95 <value xml:lang="en-US">Editfield</value>
96 </prop>
97 <prop oor:name="Target" oor:type="xs:string">
98 <value>_self</value>
99 </prop>
100 <prop oor:name="Context" oor:type="xs:string">
101 <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
102 </prop>
103 <prop oor:name="ControlType" oor:type="xs:string">
104 <value>Editfield</value>
105 </prop>
106 <prop oor:name="Width" oor:type="xs:long">
107 <value>130</value>
108 </prop>
109 </node>
110 <node oor:name="m7" oor:op="replace">
111 <prop oor:name="URL" oor:type="xs:string">
112 <value>private:separator</value>
113 </prop>
114 </node>
115 <node oor:name="m8" oor:op="replace">
116 <prop oor:name="URL" oor:type="xs:string">
117 <value>vnd.demo.complextoolbarcontrols.demoaddon:DropdownboxCmd</value>
118 </prop>
119 <prop oor:name="Title" oor:type="xs:string">
120 <value xml:lang="en-US">Dropdownbox</value>
121 </prop>
122 <prop oor:name="Target" oor:type="xs:string">
123 <value>_self</value>
124 </prop>
125 <prop oor:name="Context" oor:type="xs:string">
126 <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
127 </prop>
128 <prop oor:name="ControlType" oor:type="xs:string">
129 <value>Dropdownbox</value>
130 </prop>
131 <prop oor:name="Width" oor:type="xs:long">
132 <value>80</value>
133 </prop>
134 </node>
135 <node oor:name="m9" oor:op="replace">
136 <prop oor:name="URL" oor:type="xs:string">
137 <value>vnd.demo.complextoolbarcontrols.demoaddon:ToggleDropdownButtonCmd</value>
138 </prop>
139 <prop oor:name="Title" oor:type="xs:string">
140 <value xml:lang="en-US">Toggle Dropdown Button</value>
141 </prop>
142 <prop oor:name="Target" oor:type="xs:string">
143 <value>_self</value>
144 </prop>
145 <prop oor:name="Context" oor:type="xs:string">
146 <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
147 </prop>
148 <prop oor:name="ControlType" oor:type="xs:string">
149 <value>ToggleDropdownButton</value>
150 </prop>
151 </node>
152 <node oor:name="m10" oor:op="replace">
153 <prop oor:name="URL" oor:type="xs:string">
154 <value>vnd.demo.complextoolbarcontrols.demoaddon:DropdownButtonCmd</value>
155 </prop>
156 <prop oor:name="Title" oor:type="xs:string">
157 <value xml:lang="en-US">Dropdown Button</value>
158 </prop>
159 <prop oor:name="Target" oor:type="xs:string">
160 <value>_self</value>
161 </prop>
162 <prop oor:name="Context" oor:type="xs:string">
163 <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
164 </prop>
165 <prop oor:name="ControlType" oor:type="xs:string">
166 <value>DropdownButton</value>
167 </prop>
168 </node>
169 </node>
170 </node>
171 <node oor:name="Images">
172 <node oor:name="vnd.demo.complextoolbarcontrols.image1" oor:op="replace">
173 <prop oor:name="URL">
174 <value>vnd.demo.complextoolbarcontrols.demoaddon:ImageButtonCmd</value>
175 </prop>
176 <node oor:name="UserDefinedImages">
177 <prop oor:name="ImageSmallURL" oor:type="xs:string">
178 <value>%origin%/logo_small.png</value>
179 </prop>
180 <prop oor:name="ImageBigURL" oor:type="xs:string">
181 <value>%origin%/logo_big.png</value>
182 </prop>
183 </node>
184 </node>
185 </node>
186 </node>
187 </oor:component-data>