xref: /AOO41X/main/odk/examples/DevelopersGuide/Extensions/DialogWithHelp/Addons.xcu (revision 5bf478158acb67d2fc124063be6a2ad41259bdd7)
154befb6bSJürgen Schmidt<?xml version='1.0' encoding='UTF-8'?>
254befb6bSJürgen Schmidt<!--***********************************************************
354befb6bSJürgen Schmidt *
454befb6bSJürgen Schmidt * Licensed to the Apache Software Foundation (ASF) under one
554befb6bSJürgen Schmidt * or more contributor license agreements.  See the NOTICE file
654befb6bSJürgen Schmidt * distributed with this work for additional information
754befb6bSJürgen Schmidt * regarding copyright ownership.  The ASF licenses this file
854befb6bSJürgen Schmidt * to you under the Apache License, Version 2.0 (the
954befb6bSJürgen Schmidt * "License"); you may not use this file except in compliance
1054befb6bSJürgen Schmidt * with the License.  You may obtain a copy of the License at
1154befb6bSJürgen Schmidt *
1254befb6bSJürgen Schmidt *   http://www.apache.org/licenses/LICENSE-2.0
1354befb6bSJürgen Schmidt *
1454befb6bSJürgen Schmidt * Unless required by applicable law or agreed to in writing,
1554befb6bSJürgen Schmidt * software distributed under the License is distributed on an
1654befb6bSJürgen Schmidt * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1754befb6bSJürgen Schmidt * KIND, either express or implied.  See the License for the
1854befb6bSJürgen Schmidt * specific language governing permissions and limitations
1954befb6bSJürgen Schmidt * under the License.
2054befb6bSJürgen Schmidt *
2154befb6bSJürgen Schmidt ***********************************************************-->
22cdf0e10cSrcweir<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">
23cdf0e10cSrcweir    <node oor:name="AddonUI">
24cdf0e10cSrcweir        <node oor:name="OfficeMenuBar">
25cdf0e10cSrcweir            <node oor:name="com.foocorp.foo-ext:Menu" oor:op="replace">
26cdf0e10cSrcweir                <prop oor:name="Title" oor:type="xs:string">
27cdf0e10cSrcweir                    <value/>
28cdf0e10cSrcweir                    <value xml:lang="en">Foo E~xtension</value>
29cdf0e10cSrcweir                </prop>
30cdf0e10cSrcweir                <prop oor:name="Target" oor:type="xs:string">
31cdf0e10cSrcweir                    <value>_self</value>
32cdf0e10cSrcweir                </prop>
33cdf0e10cSrcweir                <prop oor:name="ImageIdentifier" oor:type="xs:string">
34cdf0e10cSrcweir                    <value/>
35cdf0e10cSrcweir                </prop>
36cdf0e10cSrcweir                <node oor:name="Submenu">
37cdf0e10cSrcweir                    <node oor:name="m1" oor:op="replace">
38cdf0e10cSrcweir                        <prop oor:name="URL" oor:type="xs:string">
39cdf0e10cSrcweir                            <value>vnd.sun.star.script:DialogWithHelp.Module1.main?language=Basic&amp;location=application</value>
40cdf0e10cSrcweir                        </prop>
41cdf0e10cSrcweir                        <prop oor:name="ImageIdentifier" oor:type="xs:string">
42cdf0e10cSrcweir                            <value/>
43cdf0e10cSrcweir                        </prop>
44cdf0e10cSrcweir                        <prop oor:name="Target" oor:type="xs:string">
45cdf0e10cSrcweir                            <value>_self</value>
46cdf0e10cSrcweir                        </prop>
47cdf0e10cSrcweir                        <prop oor:name="Title" oor:type="xs:string">
48cdf0e10cSrcweir                            <value/>
49cdf0e10cSrcweir                            <value xml:lang="en">Start Foo Dialog...</value>
50cdf0e10cSrcweir                        </prop>
51cdf0e10cSrcweir                    </node>
52cdf0e10cSrcweir                    <node oor:name="m3" oor:op="replace">
53cdf0e10cSrcweir                    </node>
54cdf0e10cSrcweir                </node>
55cdf0e10cSrcweir            </node>
56cdf0e10cSrcweir        </node>
57cdf0e10cSrcweir        <node oor:name="OfficeToolBar">
58cdf0e10cSrcweir            <node oor:name="com.foocorp.foo-ext:ToolbarItem1" oor:op="replace">
59*5bf47815SAriel Constenla-Haile                <prop oor:name="Title" oor:type="xs:string">
60*5bf47815SAriel Constenla-Haile                    <value xml:lang="en-US">Foo Toolbar</value>
61*5bf47815SAriel Constenla-Haile                </prop>
62*5bf47815SAriel Constenla-Haile                <node oor:name="ToolBarItems">
63cdf0e10cSrcweir                    <node oor:name="m1" oor:op="replace">
64cdf0e10cSrcweir                        <prop oor:name="URL">
65cdf0e10cSrcweir                            <value>vnd.sun.star.script:DialogWithHelp.Module1.main?language=Basic&amp;location=application</value>
66cdf0e10cSrcweir                        </prop>
67cdf0e10cSrcweir                        <prop oor:name="Title">
68cdf0e10cSrcweir                            <value xml:lang="en-US">Foo Toolbar Item</value>
69cdf0e10cSrcweir                            <value xml:lang="de">Foo Toolbar Eintrag</value>
70cdf0e10cSrcweir                        </prop>
71cdf0e10cSrcweir                        <prop oor:name="Target" oor:type="xs:string">
72cdf0e10cSrcweir                            <value>_self</value>
73cdf0e10cSrcweir                        </prop>
74cdf0e10cSrcweir                        <prop oor:name="Context" oor:type="xs:string">
75cdf0e10cSrcweir                            <value>com.sun.star.text.TextDocument</value>
76cdf0e10cSrcweir                        </prop>
77cdf0e10cSrcweir                    </node>
78cdf0e10cSrcweir                </node>
79cdf0e10cSrcweir            </node>
80cdf0e10cSrcweir        </node>
81*5bf47815SAriel Constenla-Haile    </node>
82cdf0e10cSrcweir</oor:component-data>
83