Addons.xcu (79afff86) Addons.xcu (5bf47815)
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<!--***********************************************************
1<?xml version='1.0' encoding='UTF-8'?>
2<!--***********************************************************
24 *
3 *
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
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
32 *
11 *
33 * http://www.apache.org/licenses/LICENSE-2.0
12 * http://www.apache.org/licenses/LICENSE-2.0
34 *
13 *
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.
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.
41 *
20 *
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">
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">
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">
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">
196 <node oor:name="vnd.demo.complextoolbarcontrols.image1" oor:op="replace">
180 <node oor:name="vnd.demo.complextoolbarcontrols.image1" oor:op="replace">
197 <prop oor:name="URL">
181 <prop oor:name="URL">
198 <value>vnd.demo.complextoolbarcontrols.demoaddon:ImageButtonCmd</value>
182 <value>vnd.demo.complextoolbarcontrols.demoaddon:ImageButtonCmd</value>
199 </prop>
200 <node oor:name="UserDefinedImages">
201 <prop oor:name="ImageSmallURL" oor:type="xs:string">
183 </prop>
184 <node oor:name="UserDefinedImages">
185 <prop oor:name="ImageSmallURL" oor:type="xs:string">
202 <value>%origin%/logo_small.png</value>
186 <value>%origin%/logo_small.png</value>
203 </prop>
204 <prop oor:name="ImageBigURL" oor:type="xs:string">
187 </prop>
188 <prop oor:name="ImageBigURL" oor:type="xs:string">
205 <value>%origin%/logo_big.png</value>
189 <value>%origin%/logo_big.png</value>
206 </prop>
207 </node>
208 </node>
209 </node>
210 </node>
190 </prop>
191 </node>
192 </node>
193 </node>
194 </node>
211</oor:component-data>
195</oor:component-data>