update dev300-m58
[ooovba.git] / offapi / com / sun / star / frame / ContentHandlerFactory.idl
blobee9f528fd8516f2d0b00aa3db22b2fa9a9e848b7
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ContentHandlerFactory.idl,v $
10 * $Revision: 1.7 $
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>
35 #endif
37 #ifndef __com_sun_star_container_XNameAccess_idl__
38 #include <com/sun/star/container/XNameAccess.idl>
39 #endif
41 #ifndef __com_sun_star_container_XContainerQuery_idl__
42 #include <com/sun/star/container/XContainerQuery.idl>
43 #endif
45 //=============================================================================
47 module com { module sun { module star { module frame {
49 //=============================================================================
50 /** factory to create content loader
52 <p>
53 With this factory it's possible to
54 <ul>
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>
58 </ul>
59 </p>
61 published service ContentHandlerFactory
63 //-------------------------------------------------------------------------
64 /** interface to create handler objects by using his internal name
66 <p>
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.
71 </p>
73 interface com::sun::star::lang::XMultiServiceFactory;
75 //-------------------------------------------------------------------------
76 /** provides access to the whole content handler configuration
78 <p>
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
82 packed in an any.
83 </p>
84 <table border=1>
85 <tr>
86 <td><b>Types<b></td>
87 <td>[string]</td>
88 <td>file types for which handler is registered</td>
89 </tr>
90 <tr>
91 <td><b>UIName<b></td>
92 <td>[string]</td>
93 <td>UI representable and localized name</td>
94 </tr>
95 </table>
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.
105 </p>
107 interface com::sun::star::container::XContainerQuery;
110 //=============================================================================
112 }; }; }; };
114 #endif