1 <?xml version="1.0" encoding="UTF-8"?>
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 <components cfg:package="uno"
20 xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
21 xmlns:cfg="http://openoffice.org/2000/registry/instance"
22 xmlns="http://openoffice.org/2000/uno/Components">
25 <services cfg:type="set" cfg:element-type="service">
27 <service cfg:name="com.sun.star.script.Converter">
28 <available-implementations cfg:type="string" cfg:derivedBy="list">
29 com.sun.star.comp.stoc.TypeConverter
30 </available-implementations>
33 <service cfg:name="com.sun.star.bootstrap.TestComponent0">
34 <available-implementations cfg:type="string" cfg:derivedBy="list">
35 com.sun.star.comp.bootstrap.TestComponent0
36 </available-implementations>
37 <context-properties cfg:type="set" cfg:element-type="cfg:any">
38 <cfg:any cfg:name="serviceprop0" cfg:type="int">13</cfg:any>
39 <cfg:any cfg:name="serviceprop1" cfg:type="string">value of serviceprop1</cfg:any>
46 <implementations cfg:type="set" cfg:element-type="implementation">
48 <implementation cfg:name="com.sun.star.comp.stoc.TypeConverter">
49 <activator cfg:type="string">com.sun.star.loader.SharedLibrary</activator>
50 <url cfg:type="string">tcv.dll</url>
51 <supported-services cfg:type="string" cfg:derivedBy="list">com.sun.star.script.Converter</supported-services>
54 <implementation cfg:name="com.sun.star.comp.bootstrap.TestComponent0">
55 <activator cfg:type="string">com.sun.star.loader.SharedLibrary</activator>
56 <url cfg:type="string">cfg_test.dll</url>
57 <supported-services cfg:type="string" cfg:derivedBy="list">com.sun.star.bootstrap.TestComponent0</supported-services>
58 <context-properties cfg:type="set" cfg:element-type="cfg:any">
59 <cfg:any cfg:name="implprop0" cfg:type="int">15</cfg:any>
60 <cfg:any cfg:name="implprop1" cfg:type="string">value of implprop1</cfg:any>
67 <singletons cfg:type="set" cfg:element-type="singleton">
69 <singleton cfg:name="com.sun.star.script.theConverter">
70 <used-service cfg:type="string">com.sun.star.script.Converter</used-service>
73 <singleton cfg:name="com.sun.star.bootstrap.theTestComponent0">
74 <used-service cfg:type="string">com.sun.star.bootstrap.TestComponent0</used-service>
75 <initial-arguments cfg:type="set" cfg:element-type="cfg:any">
76 <cfg:any cfg:name="0" cfg:type="string">first argument</cfg:any>
77 <cfg:any cfg:name="1" cfg:type="string">second argument</cfg:any>
78 <cfg:any cfg:name="2" cfg:type="string">third argument</cfg:any>
85 <global-context-properties cfg:type="set" cfg:element-type="cfg:any">
87 <cfg:any cfg:name="TestValue" cfg:type="int">5</cfg:any>
89 </global-context-properties>