1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#if ! defined INCLUDED_com_sun_star_rendering_CanvasFactory_idl
25#define INCLUDED_com_sun_star_rendering_CanvasFactory_idl
26
27#include <com/sun/star/lang/XMultiComponentFactory.idl>
28
29
30module com { module sun { module star { module rendering {
31
32/** The <type>CanvasFactory</type> is used to create the <type>Canvas</type>
33    objects, evaluating the user's configuration preferences from
34
35    <code>/org.openoffice.VCL/Settings/Canvas/PreferredServices</code>.
36
37    The latter specifies a string list of service names to use.
38
39    <p>
40    Instantiating this service, you can use its
41    <type scope="com::sun::star::lang">XMultiComponentFactory</type>
42    interface to create <type>Canvas</type> objects, passing an empty string
43    as service specifier (default).
44    If you want to manually override the configured service list, you can pass
45    a service name to try first.
46    </p>
47
48    @since OOo 2.0
49*/
50service CanvasFactory : com::sun::star::lang::XMultiComponentFactory;
51
52}; }; }; };
53
54#endif
55