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="OfficeMenuBar">
46      <node oor:name="com.foocorp.foo-ext:Menu" oor:op="replace">
47        <prop oor:name="Title" oor:type="xs:string">
48          <value/>
49          <value xml:lang="en">Foo E~xtension</value>
50        </prop>
51        <prop oor:name="Target" oor:type="xs:string">
52          <value>_self</value>
53        </prop>
54        <prop oor:name="ImageIdentifier" oor:type="xs:string">
55          <value/>
56        </prop>
57        <node oor:name="Submenu">
58          <node oor:name="m1" oor:op="replace">
59            <prop oor:name="URL" oor:type="xs:string">
60              <value>vnd.sun.star.script:DialogWithHelp.Module1.main?language=Basic&amp;location=application</value>
61            </prop>
62            <prop oor:name="ImageIdentifier" oor:type="xs:string">
63              <value/>
64            </prop>
65            <prop oor:name="Target" oor:type="xs:string">
66              <value>_self</value>
67            </prop>
68            <prop oor:name="Title" oor:type="xs:string">
69              <value/>
70              <value xml:lang="en">Start Foo Dialog...</value>
71            </prop>
72          </node>
73          <node oor:name="m3" oor:op="replace">
74          </node>
75        </node>
76      </node>
77    </node>
78    <node oor:name="OfficeToolBar">
79      <node oor:name="com.foocorp.foo-ext:ToolbarItem1" oor:op="replace">
80        <node oor:name="m1" oor:op="replace">
81          <prop oor:name="URL">
82            <value>vnd.sun.star.script:DialogWithHelp.Module1.main?language=Basic&amp;location=application</value>
83          </prop>
84          <prop oor:name="Title">
85            <value xml:lang="en-US">Foo Toolbar Item</value>
86            <value xml:lang="de">Foo Toolbar Eintrag</value>
87          </prop>
88          <prop oor:name="Target" oor:type="xs:string">
89            <value>_self</value>
90          </prop>
91          <prop oor:name="Context" oor:type="xs:string">
92            <value>com.sun.star.text.TextDocument</value>
93          </prop>
94        </node>
95      </node>
96    </node>
97  </node>
98</oor:component-data>
99