1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ContentHandlerFactory.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_frame_ContentHandlerFactory_idl__
31 #define __com_sun_star_frame_ContentHandlerFactory_idl__
33 #ifndef __com_sun_star_lang_XMultiServiceFactory_idl__
34 #include
<com
/sun
/star
/lang
/XMultiServiceFactory.idl
>
37 #ifndef __com_sun_star_container_XNameAccess_idl__
38 #include
<com
/sun
/star
/container
/XNameAccess.idl
>
41 #ifndef __com_sun_star_container_XContainerQuery_idl__
42 #include
<com
/sun
/star
/container
/XContainerQuery.idl
>
45 //=============================================================================
47 module com
{ module sun
{ module star
{ module frame
{
49 //=============================================================================
50 /** factory to create content loader
53 With this factory it's possible to
55 <li>have access on configuration of set of registered content handler objects</li>
56 <li>create a content handler by his internal name</li>
57 <li>query for a content handler by using special query or property description.</li>
61 published service ContentHandlerFactory
63 //-------------------------------------------------------------------------
64 /** interface to create handler objects by using his internal name
67 Returned objects must support the service specification of a <type>ContentHandler</type>.
68 They can be created by using of his internal name, which must be unambigous everytime, only.
69 To get this name use further specified interfaces of this factory for access on
70 the flat configuration.
73 interface com
::sun
::star
::lang
::XMultiServiceFactory
;
75 //-------------------------------------------------------------------------
76 /** provides access to the whole content handler configuration
79 This interface supports an access to the internal configuration
80 of all accessible handler objects. The return value of
81 <member scope="com::sun::star::container">XNameAccess::getByName()</member> is a property sequence
88 <td>file types for which handler is registered</td>
93 <td>UI representable and localized name</td>
97 interface com
::sun
::star
::container
::XNameAccess
;
99 //-------------------------------------------------------------------------
100 /** supports query mode for configuration access
103 This interface can be used to get sub sets of current configuration entries
104 which represent given search parameters.
107 interface com
::sun
::star
::container
::XContainerQuery
;
110 //=============================================================================