1<!--***********************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 ***********************************************************-->
21
22<?xml version='1.0' encoding='UTF-8'?>
23<!--***********************************************************
24 *
25 * Licensed to the Apache Software Foundation (ASF) under one
26 * or more contributor license agreements.  See the NOTICE file
27 * distributed with this work for additional information
28 * regarding copyright ownership.  The ASF licenses this file
29 * to you under the Apache License, Version 2.0 (the
30 * "License"); you may not use this file except in compliance
31 * with the License.  You may obtain a copy of the License at
32 *
33 *   http://www.apache.org/licenses/LICENSE-2.0
34 *
35 * Unless required by applicable law or agreed to in writing,
36 * software distributed under the License is distributed on an
37 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
38 * KIND, either express or implied.  See the License for the
39 * specific language governing permissions and limitations
40 * under the License.
41 *
42 ***********************************************************-->
43<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">
44	<node oor:name="AddonUI">
45		<node oor:name="OfficeToolBar">
46			<node oor:name="com.sun.star.comp.framework.addon.complextoolbarcontrols" oor:op="replace">
47				<node oor:name="m1" oor:op="replace">
48					<prop oor:name="URL" oor:type="xs:string">
49						<value>vnd.demo.complextoolbarcontrols.demoaddon:ImageButtonCmd</value>
50					</prop>
51					<prop oor:name="Title" oor:type="xs:string">
52						<value xml:lang="en-US">Image Button</value>
53					</prop>
54					<prop oor:name="Target" oor:type="xs:string">
55						<value>_self</value>
56					</prop>
57					<prop oor:name="Context" oor:type="xs:string">
58						<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
59					</prop>
60					<prop oor:name="ControlType" oor:type="xs:string">
61						<value>ImageButton</value>
62					</prop>
63				</node>
64				<node oor:name="m2" oor:op="replace">
65					<prop oor:name="URL" oor:type="xs:string">
66                        <value>vnd.demo.complextoolbarcontrols.demoaddon:ComboboxCmd</value>
67					</prop>
68					<prop oor:name="Title" oor:type="xs:string">
69						<value xml:lang="en-US">ComboBox</value>
70					</prop>
71					<prop oor:name="Target" oor:type="xs:string">
72						<value>_self</value>
73					</prop>
74					<prop oor:name="Context" oor:type="xs:string">
75						<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
76					</prop>
77					<prop oor:name="ControlType" oor:type="xs:string">
78						<value>Combobox</value>
79					</prop>
80					<prop oor:name="Width" oor:type="xs:long">
81					    <value>200</value>
82					</prop>
83				</node>
84				<node oor:name="m3" oor:op="replace">
85					<prop oor:name="URL" oor:type="xs:string">
86                        <value>private:separator</value>
87					</prop>
88				</node>
89				<node oor:name="m4" oor:op="replace">
90					<prop oor:name="URL" oor:type="xs:string">
91                        <value>vnd.demo.complextoolbarcontrols.demoaddon:SpinfieldCmd</value>
92					</prop>
93					<prop oor:name="Title" oor:type="xs:string">
94						<value xml:lang="en-US">Spinfield</value>
95					</prop>
96					<prop oor:name="Target" oor:type="xs:string">
97						<value>_self</value>
98					</prop>
99					<prop oor:name="Context" oor:type="xs:string">
100						<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
101					</prop>
102					<prop oor:name="ControlType" oor:type="xs:string">
103						<value>Spinfield</value>
104					</prop>
105					<prop oor:name="Width" oor:type="xs:long">
106					    <value>70</value>
107					</prop>
108				</node>
109				<node oor:name="m5" oor:op="replace">
110					<prop oor:name="URL" oor:type="xs:string">
111                        <value>private:separator</value>
112					</prop>
113				</node>
114				<node oor:name="m6" oor:op="replace">
115					<prop oor:name="URL" oor:type="xs:string">
116                        <value>vnd.demo.complextoolbarcontrols.demoaddon:EditfieldCmd</value>
117					</prop>
118					<prop oor:name="Title" oor:type="xs:string">
119						<value xml:lang="en-US">Editfield</value>
120					</prop>
121					<prop oor:name="Target" oor:type="xs:string">
122						<value>_self</value>
123					</prop>
124					<prop oor:name="Context" oor:type="xs:string">
125						<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
126					</prop>
127					<prop oor:name="ControlType" oor:type="xs:string">
128						<value>Editfield</value>
129					</prop>
130					<prop oor:name="Width" oor:type="xs:long">
131					    <value>130</value>
132					</prop>
133				</node>
134				<node oor:name="m7" oor:op="replace">
135					<prop oor:name="URL" oor:type="xs:string">
136                        <value>private:separator</value>
137					</prop>
138				</node>
139				<node oor:name="m8" oor:op="replace">
140					<prop oor:name="URL" oor:type="xs:string">
141                        <value>vnd.demo.complextoolbarcontrols.demoaddon:DropdownboxCmd</value>
142					</prop>
143					<prop oor:name="Title" oor:type="xs:string">
144						<value xml:lang="en-US">Dropdownbox</value>
145					</prop>
146					<prop oor:name="Target" oor:type="xs:string">
147						<value>_self</value>
148					</prop>
149					<prop oor:name="Context" oor:type="xs:string">
150						<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
151					</prop>
152					<prop oor:name="ControlType" oor:type="xs:string">
153						<value>Dropdownbox</value>
154					</prop>
155					<prop oor:name="Width" oor:type="xs:long">
156					    <value>80</value>
157					</prop>
158				</node>
159				<node oor:name="m9" oor:op="replace">
160					<prop oor:name="URL" oor:type="xs:string">
161                        <value>vnd.demo.complextoolbarcontrols.demoaddon:ToggleDropdownButtonCmd</value>
162					</prop>
163					<prop oor:name="Title" oor:type="xs:string">
164						<value xml:lang="en-US">Toggle Dropdown Button</value>
165					</prop>
166					<prop oor:name="Target" oor:type="xs:string">
167						<value>_self</value>
168					</prop>
169					<prop oor:name="Context" oor:type="xs:string">
170						<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
171					</prop>
172					<prop oor:name="ControlType" oor:type="xs:string">
173						<value>ToggleDropdownButton</value>
174					</prop>
175				</node>
176				<node oor:name="m10" oor:op="replace">
177					<prop oor:name="URL" oor:type="xs:string">
178                        <value>vnd.demo.complextoolbarcontrols.demoaddon:DropdownButtonCmd</value>
179					</prop>
180					<prop oor:name="Title" oor:type="xs:string">
181						<value xml:lang="en-US">Dropdown Button</value>
182					</prop>
183					<prop oor:name="Target" oor:type="xs:string">
184						<value>_self</value>
185					</prop>
186					<prop oor:name="Context" oor:type="xs:string">
187						<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
188					</prop>
189					<prop oor:name="ControlType" oor:type="xs:string">
190						<value>DropdownButton</value>
191					</prop>
192				</node>
193			</node>
194		</node>
195		<node oor:name="Images">
196            <node oor:name="vnd.demo.complextoolbarcontrols.image1" oor:op="replace">
197				<prop oor:name="URL">
198                    <value>vnd.demo.complextoolbarcontrols.demoaddon:ImageButtonCmd</value>
199				</prop>
200				<node oor:name="UserDefinedImages">
201					<prop oor:name="ImageSmallURL" oor:type="xs:string">
202                        <value>%origin%/logo_small.png</value>
203					</prop>
204					<prop oor:name="ImageBigURL" oor:type="xs:string">
205                        <value>%origin%/logo_big.png</value>
206					</prop>
207				</node>
208			</node>
209		</node>
210	</node>
211</oor:component-data>
212