xref: /AOO41X/main/odk/examples/cpp/complextoolbarcontrols/Addons.xcu (revision 707fc0d4d52eb4f69d89a98ffec6918ca5de6326)
1<?xml version='1.0' encoding='UTF-8'?>
2<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">
3    <node oor:name="AddonUI">
4        <node oor:name="OfficeToolBar">
5            <node oor:name="com.sun.star.comp.framework.addon.complextoolbarcontrols" oor:op="replace">
6                <node oor:name="m1" oor:op="replace">
7                    <prop oor:name="URL" oor:type="xs:string">
8                        <value>vnd.demo.complextoolbarcontrols.demoaddon:ImageButtonCmd</value>
9                    </prop>
10                    <prop oor:name="Title" oor:type="xs:string">
11                        <value xml:lang="en-US">Image Button</value>
12                    </prop>
13                    <prop oor:name="Target" oor:type="xs:string">
14                        <value>_self</value>
15                    </prop>
16                    <prop oor:name="Context" oor:type="xs:string">
17                        <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
18                    </prop>
19                    <prop oor:name="ControlType" oor:type="xs:string">
20                        <value>ImageButton</value>
21                    </prop>
22                </node>
23                <node oor:name="m2" oor:op="replace">
24                    <prop oor:name="URL" oor:type="xs:string">
25                        <value>vnd.demo.complextoolbarcontrols.demoaddon:ComboboxCmd</value>
26                    </prop>
27                    <prop oor:name="Title" oor:type="xs:string">
28                        <value xml:lang="en-US">ComboBox</value>
29                    </prop>
30                    <prop oor:name="Target" oor:type="xs:string">
31                        <value>_self</value>
32                    </prop>
33                    <prop oor:name="Context" oor:type="xs:string">
34                        <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
35                    </prop>
36                    <prop oor:name="ControlType" oor:type="xs:string">
37                        <value>Combobox</value>
38                    </prop>
39                    <prop oor:name="Width" oor:type="xs:long">
40                        <value>200</value>
41                    </prop>
42                </node>
43                <node oor:name="m3" oor:op="replace">
44                    <prop oor:name="URL" oor:type="xs:string">
45                        <value>private:separator</value>
46                    </prop>
47                </node>
48                <node oor:name="m4" oor:op="replace">
49                    <prop oor:name="URL" oor:type="xs:string">
50                        <value>vnd.demo.complextoolbarcontrols.demoaddon:SpinfieldCmd</value>
51                    </prop>
52                    <prop oor:name="Title" oor:type="xs:string">
53                        <value xml:lang="en-US">Spinfield</value>
54                    </prop>
55                    <prop oor:name="Target" oor:type="xs:string">
56                        <value>_self</value>
57                    </prop>
58                    <prop oor:name="Context" oor:type="xs:string">
59                        <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
60                    </prop>
61                    <prop oor:name="ControlType" oor:type="xs:string">
62                        <value>Spinfield</value>
63                    </prop>
64                    <prop oor:name="Width" oor:type="xs:long">
65                        <value>70</value>
66                    </prop>
67                </node>
68                <node oor:name="m5" oor:op="replace">
69                    <prop oor:name="URL" oor:type="xs:string">
70                        <value>private:separator</value>
71                    </prop>
72                </node>
73                <node oor:name="m6" oor:op="replace">
74                    <prop oor:name="URL" oor:type="xs:string">
75                        <value>vnd.demo.complextoolbarcontrols.demoaddon:EditfieldCmd</value>
76                    </prop>
77                    <prop oor:name="Title" oor:type="xs:string">
78                        <value xml:lang="en-US">Editfield</value>
79                    </prop>
80                    <prop oor:name="Target" oor:type="xs:string">
81                        <value>_self</value>
82                    </prop>
83                    <prop oor:name="Context" oor:type="xs:string">
84                        <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
85                    </prop>
86                    <prop oor:name="ControlType" oor:type="xs:string">
87                        <value>Editfield</value>
88                    </prop>
89                    <prop oor:name="Width" oor:type="xs:long">
90                        <value>130</value>
91                    </prop>
92                </node>
93                <node oor:name="m7" oor:op="replace">
94                    <prop oor:name="URL" oor:type="xs:string">
95                        <value>private:separator</value>
96                    </prop>
97                </node>
98                <node oor:name="m8" oor:op="replace">
99                    <prop oor:name="URL" oor:type="xs:string">
100                        <value>vnd.demo.complextoolbarcontrols.demoaddon:DropdownboxCmd</value>
101                    </prop>
102                    <prop oor:name="Title" oor:type="xs:string">
103                        <value xml:lang="en-US">Dropdownbox</value>
104                    </prop>
105                    <prop oor:name="Target" oor:type="xs:string">
106                        <value>_self</value>
107                    </prop>
108                    <prop oor:name="Context" oor:type="xs:string">
109                        <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
110                    </prop>
111                    <prop oor:name="ControlType" oor:type="xs:string">
112                        <value>Dropdownbox</value>
113                    </prop>
114                    <prop oor:name="Width" oor:type="xs:long">
115                        <value>80</value>
116                    </prop>
117                </node>
118                <node oor:name="m9" oor:op="replace">
119                    <prop oor:name="URL" oor:type="xs:string">
120                        <value>vnd.demo.complextoolbarcontrols.demoaddon:ToggleDropdownButtonCmd</value>
121                    </prop>
122                    <prop oor:name="Title" oor:type="xs:string">
123                        <value xml:lang="en-US">Toggle Dropdown Button</value>
124                    </prop>
125                    <prop oor:name="Target" oor:type="xs:string">
126                        <value>_self</value>
127                    </prop>
128                    <prop oor:name="Context" oor:type="xs:string">
129                        <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
130                    </prop>
131                    <prop oor:name="ControlType" oor:type="xs:string">
132                        <value>ToggleDropdownButton</value>
133                    </prop>
134                </node>
135                <node oor:name="m10" oor:op="replace">
136                    <prop oor:name="URL" oor:type="xs:string">
137                        <value>vnd.demo.complextoolbarcontrols.demoaddon:DropdownButtonCmd</value>
138                    </prop>
139                    <prop oor:name="Title" oor:type="xs:string">
140                        <value xml:lang="en-US">Dropdown Button</value>
141                    </prop>
142                    <prop oor:name="Target" oor:type="xs:string">
143                        <value>_self</value>
144                    </prop>
145                    <prop oor:name="Context" oor:type="xs:string">
146                        <value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
147                    </prop>
148                    <prop oor:name="ControlType" oor:type="xs:string">
149                        <value>DropdownButton</value>
150                    </prop>
151                </node>
152            </node>
153        </node>
154        <node oor:name="Images">
155            <node oor:name="vnd.demo.complextoolbarcontrols.image1" oor:op="replace">
156                <prop oor:name="URL">
157                    <value>vnd.demo.complextoolbarcontrols.demoaddon:ImageButtonCmd</value>
158                </prop>
159                <node oor:name="UserDefinedImages">
160                    <prop oor:name="ImageSmallURL" oor:type="xs:string">
161                        <value>%origin%/logo_small.png</value>
162                    </prop>
163                    <prop oor:name="ImageBigURL" oor:type="xs:string">
164                        <value>%origin%/logo_big.png</value>
165                    </prop>
166                </node>
167            </node>
168        </node>
169    </node>
170</oor:component-data>
171