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="OfficeMenuBar">
25      <node oor:name="com.foocorp.foo-ext:Menu" oor:op="replace">
26        <prop oor:name="Title" oor:type="xs:string">
27          <value/>
28          <value xml:lang="en">Foo E~xtension</value>
29        </prop>
30        <prop oor:name="Target" oor:type="xs:string">
31          <value>_self</value>
32        </prop>
33        <prop oor:name="ImageIdentifier" oor:type="xs:string">
34          <value/>
35        </prop>
36        <node oor:name="Submenu">
37          <node oor:name="m1" oor:op="replace">
38            <prop oor:name="URL" oor:type="xs:string">
39              <value>vnd.sun.star.script:DialogWithHelp.Module1.main?language=Basic&amp;location=application</value>
40            </prop>
41            <prop oor:name="ImageIdentifier" oor:type="xs:string">
42              <value/>
43            </prop>
44            <prop oor:name="Target" oor:type="xs:string">
45              <value>_self</value>
46            </prop>
47            <prop oor:name="Title" oor:type="xs:string">
48              <value/>
49              <value xml:lang="en">Start Foo Dialog...</value>
50            </prop>
51          </node>
52          <node oor:name="m3" oor:op="replace">
53          </node>
54        </node>
55      </node>
56    </node>
57    <node oor:name="OfficeToolBar">
58      <node oor:name="com.foocorp.foo-ext:ToolbarItem1" oor:op="replace">
59        <node oor:name="m1" oor:op="replace">
60          <prop oor:name="URL">
61            <value>vnd.sun.star.script:DialogWithHelp.Module1.main?language=Basic&amp;location=application</value>
62          </prop>
63          <prop oor:name="Title">
64            <value xml:lang="en-US">Foo Toolbar Item</value>
65            <value xml:lang="de">Foo Toolbar Eintrag</value>
66          </prop>
67          <prop oor:name="Target" oor:type="xs:string">
68            <value>_self</value>
69          </prop>
70          <prop oor:name="Context" oor:type="xs:string">
71            <value>com.sun.star.text.TextDocument</value>
72          </prop>
73        </node>
74      </node>
75    </node>
76  </node>
77</oor:component-data>
78