merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / frame / ContentHandlerFactory.idl
blob7fb08ba7aa130087f76835e20728c02fa532ec29
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>
32 #endif
34 #ifndef __com_sun_star_container_XNameAccess_idl__
35 #include <com/sun/star/container/XNameAccess.idl>
36 #endif
38 #ifndef __com_sun_star_container_XContainerQuery_idl__
39 #include <com/sun/star/container/XContainerQuery.idl>
40 #endif
42 //=============================================================================
44 module com { module sun { module star { module frame {
46 //=============================================================================
47 /** factory to create content loader
49 <p>
50 With this factory it's possible to
51 <ul>
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>
55 </ul>
56 </p>
58 published service ContentHandlerFactory
60 //-------------------------------------------------------------------------
61 /** interface to create handler objects by using his internal name
63 <p>
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.
68 </p>
70 interface com::sun::star::lang::XMultiServiceFactory;
72 //-------------------------------------------------------------------------
73 /** provides access to the whole content handler configuration
75 <p>
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
79 packed in an any.
80 </p>
81 <table border=1>
82 <tr>
83 <td><b>Types<b></td>
84 <td>[string]</td>
85 <td>file types for which handler is registered</td>
86 </tr>
87 <tr>
88 <td><b>UIName<b></td>
89 <td>[string]</td>
90 <td>UI representable and localized name</td>
91 </tr>
92 </table>
94 interface com::sun::star::container::XNameAccess;
96 //-------------------------------------------------------------------------
97 /** supports query mode for configuration access
99 <p>
100 This interface can be used to get sub sets of current configuration entries
101 which represent given search parameters.
102 </p>
104 interface com::sun::star::container::XContainerQuery;
107 //=============================================================================
109 }; }; }; };
111 #endif