1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef __com_sun_star_frame_ContentHandlerFactory_idl__
28 #define __com_sun_star_frame_ContentHandlerFactory_idl__
30 #ifndef __com_sun_star_lang_XMultiServiceFactory_idl__
31 #include
<com
/sun
/star
/lang
/XMultiServiceFactory.idl
>
34 #ifndef __com_sun_star_container_XNameAccess_idl__
35 #include
<com
/sun
/star
/container
/XNameAccess.idl
>
38 #ifndef __com_sun_star_container_XContainerQuery_idl__
39 #include
<com
/sun
/star
/container
/XContainerQuery.idl
>
42 //=============================================================================
44 module com
{ module sun
{ module star
{ module frame
{
46 //=============================================================================
47 /** factory to create content loader
50 With this factory it's possible to
52 <li>have access on configuration of set of registered content handler objects</li>
53 <li>create a content handler by his internal name</li>
54 <li>query for a content handler by using special query or property description.</li>
58 published service ContentHandlerFactory
60 //-------------------------------------------------------------------------
61 /** interface to create handler objects by using his internal name
64 Returned objects must support the service specification of a <type>ContentHandler</type>.
65 They can be created by using of his internal name, which must be unambigous everytime, only.
66 To get this name use further specified interfaces of this factory for access on
67 the flat configuration.
70 interface com
::sun
::star
::lang
::XMultiServiceFactory
;
72 //-------------------------------------------------------------------------
73 /** provides access to the whole content handler configuration
76 This interface supports an access to the internal configuration
77 of all accessible handler objects. The return value of
78 <member scope="com::sun::star::container">XNameAccess::getByName()</member> is a property sequence
85 <td>file types for which handler is registered</td>
90 <td>UI representable and localized name</td>
94 interface com
::sun
::star
::container
::XNameAccess
;
96 //-------------------------------------------------------------------------
97 /** supports query mode for configuration access
100 This interface can be used to get sub sets of current configuration entries
101 which represent given search parameters.
104 interface com
::sun
::star
::container
::XContainerQuery
;
107 //=============================================================================