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