merge the formfield patch from ooo-build
[ooovba.git] / cppuhelper / test / cfg_data / instance / uno / components.xml
blob83305fca127349c57a09e0e45e2e3250db1b18b6
1 <?xml version="1.0" encoding="UTF-8"?>
3 <components cfg:package="uno"
4             xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
5             xmlns:cfg="http://openoffice.org/2000/registry/instance"
6         xmlns="http://openoffice.org/2000/uno/Components">
8         
9 <services cfg:type="set" cfg:element-type="service">
11  <service cfg:name="com.sun.star.script.Converter">
12   <available-implementations cfg:type="string" cfg:derivedBy="list">
13    com.sun.star.comp.stoc.TypeConverter
14   </available-implementations>
15  </service>
17  <service cfg:name="com.sun.star.bootstrap.TestComponent0">
18   <available-implementations cfg:type="string" cfg:derivedBy="list">
19    com.sun.star.comp.bootstrap.TestComponent0
20   </available-implementations>
21   <context-properties cfg:type="set" cfg:element-type="cfg:any">
22    <cfg:any cfg:name="serviceprop0" cfg:type="int">13</cfg:any>
23    <cfg:any cfg:name="serviceprop1" cfg:type="string">value of serviceprop1</cfg:any>
24   </context-properties>
25  </service>
27 </services>
30 <implementations cfg:type="set" cfg:element-type="implementation">
32  <implementation cfg:name="com.sun.star.comp.stoc.TypeConverter">
33   <activator cfg:type="string">com.sun.star.loader.SharedLibrary</activator>
34   <url cfg:type="string">tcv.dll</url>
35   <supported-services cfg:type="string" cfg:derivedBy="list">com.sun.star.script.Converter</supported-services>
36  </implementation>
38  <implementation cfg:name="com.sun.star.comp.bootstrap.TestComponent0">
39   <activator cfg:type="string">com.sun.star.loader.SharedLibrary</activator>
40   <url cfg:type="string">cfg_test.dll</url>
41   <supported-services cfg:type="string" cfg:derivedBy="list">com.sun.star.bootstrap.TestComponent0</supported-services>
42   <context-properties cfg:type="set" cfg:element-type="cfg:any">
43    <cfg:any cfg:name="implprop0" cfg:type="int">15</cfg:any>
44    <cfg:any cfg:name="implprop1" cfg:type="string">value of implprop1</cfg:any>
45   </context-properties>
46  </implementation>
48 </implementations>
51 <singletons cfg:type="set" cfg:element-type="singleton">
53  <singleton cfg:name="com.sun.star.script.theConverter">
54   <used-service cfg:type="string">com.sun.star.script.Converter</used-service>
55  </singleton>
57  <singleton cfg:name="com.sun.star.bootstrap.theTestComponent0">
58   <used-service cfg:type="string">com.sun.star.bootstrap.TestComponent0</used-service>
59   <initial-arguments cfg:type="set" cfg:element-type="cfg:any">
60    <cfg:any cfg:name="0" cfg:type="string">first argument</cfg:any>
61    <cfg:any cfg:name="1" cfg:type="string">second argument</cfg:any>
62    <cfg:any cfg:name="2" cfg:type="string">third argument</cfg:any>
63   </initial-arguments>
64  </singleton>
66 </singletons>
69 <global-context-properties cfg:type="set" cfg:element-type="cfg:any">
71  <cfg:any cfg:name="TestValue" cfg:type="int">5</cfg:any>
73 </global-context-properties>
76 </components>