xref: /trunk/main/framework/inc/services/frameloaderfactory.hxx (revision dd7c3b33482ba9f3da08b3487f5a9899f3559585)
1f8e07b45SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3f8e07b45SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4f8e07b45SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5f8e07b45SAndrew Rist  * distributed with this work for additional information
6f8e07b45SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7f8e07b45SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8f8e07b45SAndrew Rist  * "License"); you may not use this file except in compliance
9f8e07b45SAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
11f8e07b45SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
13f8e07b45SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14f8e07b45SAndrew Rist  * software distributed under the License is distributed on an
15f8e07b45SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16f8e07b45SAndrew Rist  * KIND, either express or implied.  See the License for the
17f8e07b45SAndrew Rist  * specific language governing permissions and limitations
18f8e07b45SAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
20f8e07b45SAndrew Rist  *************************************************************/
21f8e07b45SAndrew Rist 
22f8e07b45SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef __FRAMEWORK_SERVICES_FRAMELOADERFACTORY_HXX_
25cdf0e10cSrcweir #define __FRAMEWORK_SERVICES_FRAMELOADERFACTORY_HXX_
26cdf0e10cSrcweir 
27cdf0e10cSrcweir //_________________________________________________________________________________________________________________
28cdf0e10cSrcweir //  my own includes
29cdf0e10cSrcweir //_________________________________________________________________________________________________________________
30cdf0e10cSrcweir 
31cdf0e10cSrcweir #include <classes/filtercache.hxx>
32cdf0e10cSrcweir #include <threadhelp/threadhelpbase.hxx>
33cdf0e10cSrcweir #include <macros/generic.hxx>
34cdf0e10cSrcweir #include <macros/debug.hxx>
35cdf0e10cSrcweir #include <macros/xinterface.hxx>
36cdf0e10cSrcweir #include <macros/xtypeprovider.hxx>
37cdf0e10cSrcweir #include <macros/xserviceinfo.hxx>
38cdf0e10cSrcweir #include <general.h>
39cdf0e10cSrcweir 
40cdf0e10cSrcweir //_________________________________________________________________________________________________________________
41cdf0e10cSrcweir //  interface includes
42cdf0e10cSrcweir //_________________________________________________________________________________________________________________
43cdf0e10cSrcweir #include <com/sun/star/beans/PropertyValue.hpp>
44cdf0e10cSrcweir #include <com/sun/star/lang/XInitialization.hpp>
45cdf0e10cSrcweir #include <com/sun/star/lang/WrappedTargetException.hpp>
46cdf0e10cSrcweir #include <com/sun/star/container/XNameAccess.hpp>
47cdf0e10cSrcweir #include <com/sun/star/container/NoSuchElementException.hpp>
48cdf0e10cSrcweir #include <com/sun/star/io/XInputStream.hpp>
49cdf0e10cSrcweir 
50cdf0e10cSrcweir //_________________________________________________________________________________________________________________
51cdf0e10cSrcweir //  other includes
52cdf0e10cSrcweir //_________________________________________________________________________________________________________________
53cdf0e10cSrcweir #include <cppuhelper/implbase3.hxx>
54cdf0e10cSrcweir 
55cdf0e10cSrcweir //_________________________________________________________________________________________________________________
56cdf0e10cSrcweir //  namespace
57cdf0e10cSrcweir //_________________________________________________________________________________________________________________
58cdf0e10cSrcweir 
59cdf0e10cSrcweir namespace framework{
60cdf0e10cSrcweir 
61cdf0e10cSrcweir //_________________________________________________________________________________________________________________
62cdf0e10cSrcweir //  exported const
63cdf0e10cSrcweir //_________________________________________________________________________________________________________________
64cdf0e10cSrcweir 
65cdf0e10cSrcweir //_________________________________________________________________________________________________________________
66cdf0e10cSrcweir //  exported definitions
67cdf0e10cSrcweir //_________________________________________________________________________________________________________________
68cdf0e10cSrcweir 
69cdf0e10cSrcweir struct tIMPLExtractedArguments
70cdf0e10cSrcweir {
71cdf0e10cSrcweir     ::rtl::OUString                                 sMimeType           ;
72cdf0e10cSrcweir     sal_Int32                                       nFlags              ;
73cdf0e10cSrcweir     ::rtl::OUString                                 sFilterName         ;
74cdf0e10cSrcweir     sal_Int32                                       nClipboardFormat    ;
75cdf0e10cSrcweir     ::rtl::OUString                                 sDetectService      ;
76cdf0e10cSrcweir     css::uno::Reference< css::io::XInputStream >    xInputStream        ;
77cdf0e10cSrcweir 
78cdf0e10cSrcweir     sal_Int32                                       nValidMask          ;
79cdf0e10cSrcweir };
80cdf0e10cSrcweir 
81cdf0e10cSrcweir /*-************************************************************************************************************//**
82cdf0e10cSrcweir     @short      factory to create frameloader-objects
83cdf0e10cSrcweir     @descr      These class can be used to create new loader for specified contents.
8430acf5e8Spfg                 We use cached values of the registry to lay down, which frameloader match
85cdf0e10cSrcweir                 a given URL or filtername. To do this, we use the XMultiServiceFactory-interface.
86cdf0e10cSrcweir 
87cdf0e10cSrcweir     @ATTENTION  In a specialmode of these implementation we support a simple filterdetection.
88cdf0e10cSrcweir                 But there is no special interface. You must call some existing methods in another context!
89cdf0e10cSrcweir                 see createInstanceWithArguments() fo rfurther informations!
90cdf0e10cSrcweir 
91cdf0e10cSrcweir     @implements XInterface
92cdf0e10cSrcweir                 XTypeProvider
93cdf0e10cSrcweir                 XServiceInfo
94cdf0e10cSrcweir                 XMultiServiceFactory
95cdf0e10cSrcweir                 XNameAccess
96cdf0e10cSrcweir                 XElementAccess
97cdf0e10cSrcweir     @base       ThreadHelpBase
98cdf0e10cSrcweir                 OWeakObject
99cdf0e10cSrcweir 
100cdf0e10cSrcweir     @devstatus  deprecated
101cdf0e10cSrcweir *//*-*************************************************************************************************************/
102cdf0e10cSrcweir 
10330acf5e8Spfg class FrameLoaderFactory    :   public ThreadHelpBase                           ,       // Struct for right initialization of mutex member! Mst first of baseclasses
104cdf0e10cSrcweir                                 public ::cppu::WeakImplHelper3< ::com::sun::star::lang::XServiceInfo,::com::sun::star::lang::XMultiServiceFactory,::com::sun::star::container::XNameAccess >
105cdf0e10cSrcweir {
106cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
107cdf0e10cSrcweir     //  public methods
108cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
109cdf0e10cSrcweir 
110cdf0e10cSrcweir     public:
111cdf0e10cSrcweir 
112cdf0e10cSrcweir         //---------------------------------------------------------------------------------------------------------
113cdf0e10cSrcweir         //  constructor / destructor
114cdf0e10cSrcweir         //---------------------------------------------------------------------------------------------------------
115cdf0e10cSrcweir 
116cdf0e10cSrcweir         /*-****************************************************************************************************//**
117cdf0e10cSrcweir             @short      standard constructor
118cdf0e10cSrcweir             @descr      Initialize a new instance and fill the registrycache with values.
119cdf0e10cSrcweir                         To do this - xFactory must be valid!
120cdf0e10cSrcweir 
121cdf0e10cSrcweir             @seealso    class RegistryCache
122cdf0e10cSrcweir             @seealso    member m_aRegistryCache
123cdf0e10cSrcweir 
124cdf0e10cSrcweir             @param      "xFactory", factory which has created us.
125cdf0e10cSrcweir             @return     -
126cdf0e10cSrcweir 
127cdf0e10cSrcweir             @onerror    An ASSERTION is thrown in debug version, if xFactory is invalid or cache can't filled.
128cdf0e10cSrcweir         *//*-*****************************************************************************************************/
129cdf0e10cSrcweir 
130cdf0e10cSrcweir         FrameLoaderFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory );
131cdf0e10cSrcweir 
132cdf0e10cSrcweir         /*-****************************************************************************************************//**
133cdf0e10cSrcweir             @short      standard destructor to delete instance
134b12a77c9Smseidel             @descr      We use it to clear our cache.
135cdf0e10cSrcweir 
136cdf0e10cSrcweir             @seealso    class RegistryCache
137cdf0e10cSrcweir 
138cdf0e10cSrcweir             @param      -
139cdf0e10cSrcweir             @return     -
140cdf0e10cSrcweir 
141cdf0e10cSrcweir             @onerror    -
142cdf0e10cSrcweir         *//*-*****************************************************************************************************/
143cdf0e10cSrcweir 
144cdf0e10cSrcweir         virtual ~FrameLoaderFactory();
145cdf0e10cSrcweir 
146cdf0e10cSrcweir         //---------------------------------------------------------------------------------------------------------
147cdf0e10cSrcweir         //  XInterface, XTypeProvider, XServiceInfo
148cdf0e10cSrcweir         //---------------------------------------------------------------------------------------------------------
149cdf0e10cSrcweir 
150cdf0e10cSrcweir         DECLARE_XSERVICEINFO
151cdf0e10cSrcweir 
152cdf0e10cSrcweir         //---------------------------------------------------------------------------------------------------------
153cdf0e10cSrcweir         //  XMultiServiceFactory
154cdf0e10cSrcweir         //---------------------------------------------------------------------------------------------------------
155cdf0e10cSrcweir 
156cdf0e10cSrcweir         /*-****************************************************************************************************//**
157cdf0e10cSrcweir             @short      create a new frameloder (without arguments!)
158cdf0e10cSrcweir             @descr      We search for an agreement between given type name and our cache-content.
159cdf0e10cSrcweir                         If we found some information, we create the registered frameloader for these type.
160cdf0e10cSrcweir                         Otherwise - we return NULL.
161cdf0e10cSrcweir                         We search from begin to end of internal loader list!
162cdf0e10cSrcweir 
163cdf0e10cSrcweir             @seealso    method impl_createFrameLoader()
164cdf0e10cSrcweir             @seealso    method createInstanceWithArguments()
165cdf0e10cSrcweir 
166cdf0e10cSrcweir             @param      "sTypeName", type name of a document to filter, open or save.
167cdf0e10cSrcweir             @return     A reference to a new created frameloader.
168cdf0e10cSrcweir 
169cdf0e10cSrcweir             @onerror    A null reference is returned.
170cdf0e10cSrcweir         *//*-*****************************************************************************************************/
171cdf0e10cSrcweir 
172cdf0e10cSrcweir         virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( const ::rtl::OUString& sTypeName ) throw(  css::uno::Exception         ,
173cdf0e10cSrcweir                                                                                                                                 css::uno::RuntimeException  );
174cdf0e10cSrcweir 
175cdf0e10cSrcweir         /*-****************************************************************************************************//**
176cdf0e10cSrcweir             @short      create a new frameloder
177cdf0e10cSrcweir             @descr      We search for an agreement between given type name and our cache-content.
178cdf0e10cSrcweir                         If we found some information, we create the registered frameloader for these type.
179cdf0e10cSrcweir                         Otherwise - we return NULL.
180cdf0e10cSrcweir                         You can give us some optional arguments to influence our search!
181cdf0e10cSrcweir 
182cdf0e10cSrcweir             @seealso    method impl_createFrameLoader()
183cdf0e10cSrcweir             @seealso    method createInstance()
184cdf0e10cSrcweir 
185cdf0e10cSrcweir             @param      "sTypeName", type name of a document to filter, open or save.
186cdf0e10cSrcweir             @param      "seqArguments", list of optional arguments for initializing of new frameloader.
187cdf0e10cSrcweir             @return     A reference to a new created frameloader.
188cdf0e10cSrcweir 
189cdf0e10cSrcweir             @onerror    A null reference is returned.
190cdf0e10cSrcweir         *//*-*****************************************************************************************************/
191cdf0e10cSrcweir 
192cdf0e10cSrcweir         virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(   const   ::rtl::OUString&                        sTypeName   ,
193cdf0e10cSrcweir                                                                                                     const   css::uno::Sequence< css::uno::Any >&    seqArguments) throw(    css::uno::Exception     ,
194cdf0e10cSrcweir                                                                                                                                                                             css::uno::RuntimeException);
195cdf0e10cSrcweir 
196cdf0e10cSrcweir         /*-****************************************************************************************************//**
197cdf0e10cSrcweir             @short      not supported
1988f79cfd8Smseidel             @descr      Please use XNameAccess instead of these!
199cdf0e10cSrcweir 
200cdf0e10cSrcweir             @seealso    -
201cdf0e10cSrcweir 
202cdf0e10cSrcweir             @param      -
203cdf0e10cSrcweir             @return     -
204cdf0e10cSrcweir 
205cdf0e10cSrcweir             @onerror    -
206cdf0e10cSrcweir         *//*-*****************************************************************************************************/
207cdf0e10cSrcweir 
208cdf0e10cSrcweir         virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getAvailableServiceNames() throw( css::uno::RuntimeException );
209cdf0e10cSrcweir 
210cdf0e10cSrcweir         //---------------------------------------------------------------------------------------------------------
211cdf0e10cSrcweir         //  XNameAccess
212cdf0e10cSrcweir         //---------------------------------------------------------------------------------------------------------
213cdf0e10cSrcweir 
214cdf0e10cSrcweir         /*-****************************************************************************************************//**
215cdf0e10cSrcweir             @short      return properties of registered frame loader specified by his implementation name
216cdf0e10cSrcweir             @descr      Use these method to get all informations about our internal loader cache
217cdf0e10cSrcweir                         and a special frame loader.
218cdf0e10cSrcweir                         We return a Sequence< PropertyValue > in an Any packed as result.
219cdf0e10cSrcweir 
220cdf0e10cSrcweir                         structure of return value:
221cdf0e10cSrcweir                             [0].Name    =   "Types"
222cdf0e10cSrcweir                             [0].Value   =   list of supported types of these loader as [sequence< oustring >]
223cdf0e10cSrcweir 
224cdf0e10cSrcweir                             [1].Name    =   "UIName"
225cdf0e10cSrcweir                             [1].Value   =   localized name of loader as [string]
226cdf0e10cSrcweir 
227cdf0e10cSrcweir             @seealso    method getElementNames()
228cdf0e10cSrcweir             @seealso    method hasByName()
229cdf0e10cSrcweir 
230cdf0e10cSrcweir             @param      "sName", the name of searched frame loader (use getElementNames() to get it!)
231cdf0e10cSrcweir             @return     A Sequence< PropertyValue > packed in an Any.
232cdf0e10cSrcweir 
233cdf0e10cSrcweir             @onerror    If given name not exist a NoSuchElementException is thrown.
234cdf0e10cSrcweir         *//*-*****************************************************************************************************/
235cdf0e10cSrcweir 
236cdf0e10cSrcweir         virtual css::uno::Any SAL_CALL getByName( const ::rtl::OUString& sName ) throw( css::container::NoSuchElementException  ,
237cdf0e10cSrcweir                                                                                         css::lang::WrappedTargetException       ,
238cdf0e10cSrcweir                                                                                         css::uno::RuntimeException              );
239cdf0e10cSrcweir 
240cdf0e10cSrcweir         /*-****************************************************************************************************//**
241cdf0e10cSrcweir             @short      return list of all well known loader names from configuration
242cdf0e10cSrcweir             @descr      Use these method to get all names of well known loader.
243cdf0e10cSrcweir                         You can use it to get the properties of a loader by calling getByName()!
244cdf0e10cSrcweir 
245cdf0e10cSrcweir             @seealso    method getByName()
246cdf0e10cSrcweir             @seealso    method hasByName()
247cdf0e10cSrcweir 
248cdf0e10cSrcweir             @param      -
249cdf0e10cSrcweir             @return     A list of well known loader. Is static at runtime!
250cdf0e10cSrcweir 
25107a3d7f1SPedro Giffuni             @onerror    No error should occur.
252cdf0e10cSrcweir         *//*-*****************************************************************************************************/
253cdf0e10cSrcweir 
254cdf0e10cSrcweir         virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames() throw( css::uno::RuntimeException );
255cdf0e10cSrcweir 
256cdf0e10cSrcweir         /*-****************************************************************************************************//**
257cdf0e10cSrcweir             @short      check if searched frame loader exist in configuration
2582e3a1b6eSmseidel             @descr      Normally nobody needs really these method (use getElementNames() in combination with getByName()).
259cdf0e10cSrcweir                         We guarantee correctness of these mechanism. There is no reason to check for existing elements then ...
260036fea61SDamjan Jovanovic                         but if you have an unknown name and has no fun to search it in returned sequence ...
261cdf0e10cSrcweir                         you can call these ...
262cdf0e10cSrcweir 
263cdf0e10cSrcweir             @seealso    method getByName()
264cdf0e10cSrcweir             @seealso    method getElementNames()
265cdf0e10cSrcweir 
266cdf0e10cSrcweir             @param      "sName", implementation name of searched frame loader
267cdf0e10cSrcweir             @return     sal_True if loader exist, sal_False otherwise.
268cdf0e10cSrcweir 
26907a3d7f1SPedro Giffuni             @onerror    No error should occur.
270cdf0e10cSrcweir         *//*-*****************************************************************************************************/
271cdf0e10cSrcweir 
272cdf0e10cSrcweir         virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& sName ) throw( css::uno::RuntimeException );
273cdf0e10cSrcweir 
274cdf0e10cSrcweir         //---------------------------------------------------------------------------------------------------------
275cdf0e10cSrcweir         //  XElementAccess
276cdf0e10cSrcweir         //---------------------------------------------------------------------------------------------------------
277cdf0e10cSrcweir 
278cdf0e10cSrcweir         /*-****************************************************************************************************//**
279cdf0e10cSrcweir             @short      return the type of retrun value of method XNameAccess::getByName()
280cdf0e10cSrcweir             @descr      In these implementation its a Sequence< PropertyValue > every time!
281cdf0e10cSrcweir 
282cdf0e10cSrcweir             @seealso    description of interface XNameAccess
283cdf0e10cSrcweir 
284cdf0e10cSrcweir             @param      -
285cdf0e10cSrcweir             @return     Type of Sequence< PropertyValue >.
286cdf0e10cSrcweir 
28707a3d7f1SPedro Giffuni             @onerror    No error should occur.
288cdf0e10cSrcweir         *//*-*****************************************************************************************************/
289cdf0e10cSrcweir 
290cdf0e10cSrcweir         virtual css::uno::Type SAL_CALL getElementType() throw( css::uno::RuntimeException );
291cdf0e10cSrcweir 
292cdf0e10cSrcweir         /*-****************************************************************************************************//**
293cdf0e10cSrcweir             @short      return state if informations about frame loader available
294*dd7c3b33SJohn Bampton             @descr      If these method return false - no information couldn't read from configuration ...
2952e3a1b6eSmseidel                         I think nothing will work then. Normally we return sal_True!
296cdf0e10cSrcweir 
297cdf0e10cSrcweir             @seealso    class FilterCache!
298cdf0e10cSrcweir 
299cdf0e10cSrcweir             @param      -
300cdf0e10cSrcweir             @return     sal_True if information available, sal_False otherwise.
301cdf0e10cSrcweir 
30207a3d7f1SPedro Giffuni             @onerror    No error should occur.
303cdf0e10cSrcweir         *//*-*****************************************************************************************************/
304cdf0e10cSrcweir 
305cdf0e10cSrcweir         virtual sal_Bool SAL_CALL hasElements() throw( css::uno::RuntimeException );
306cdf0e10cSrcweir 
307cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
308cdf0e10cSrcweir     //  protected methods
309cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
310cdf0e10cSrcweir 
311cdf0e10cSrcweir     protected:
312cdf0e10cSrcweir 
313cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
314cdf0e10cSrcweir     //  private methods
315cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
316cdf0e10cSrcweir 
317cdf0e10cSrcweir     private:
318cdf0e10cSrcweir 
319cdf0e10cSrcweir         /*-****************************************************************************************************//**
320cdf0e10cSrcweir             @short      try to set configuration properties at created loader
321cdf0e10cSrcweir             @descr      We support the old async. loader interface ( XFrameLoader ) and the new one XSynchronousFrameLoader.
322cdf0e10cSrcweir                         The new one should implement a property set on which we can set his configuration values!
323cdf0e10cSrcweir                         We try to cast given loader to these interface - if it's exist we set the values - otherwise not!
324cdf0e10cSrcweir 
325cdf0e10cSrcweir             @seealso    service FrameLoader
326cdf0e10cSrcweir             @seealso    service SynchronousFrameLoader
327cdf0e10cSrcweir 
328cdf0e10cSrcweir             @param      "xLoader" loader with generic XInterface! (We don't know before which service type is used!)
329cdf0e10cSrcweir             @param      "pLoaderInfo" configuration structure of these loader.
330cdf0e10cSrcweir             @return     -
331cdf0e10cSrcweir 
33207a3d7f1SPedro Giffuni             @onerror    No error should occur.
333cdf0e10cSrcweir         *//*-*****************************************************************************************************/
334cdf0e10cSrcweir 
335cdf0e10cSrcweir         void impl_initializeLoader( css::uno::Reference< css::uno::XInterface >& xLoader, const Loader& pLoaderInfo );
336cdf0e10cSrcweir 
337cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
338cdf0e10cSrcweir     //  debug methods
339cdf0e10cSrcweir     //  (should be private everyway!)
340cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
341cdf0e10cSrcweir 
342cdf0e10cSrcweir         /*-****************************************************************************************************//**
343ad1df53dSJohn Bampton             @short      debug-method to check incoming parameter of some other methods of this class
344cdf0e10cSrcweir             @descr      The following methods are used to check parameters for other methods
345cdf0e10cSrcweir                         of this class. The return value is used directly for an ASSERT(...).
346cdf0e10cSrcweir 
347cdf0e10cSrcweir             @seealso    ASSERTs in implementation!
348cdf0e10cSrcweir 
349cdf0e10cSrcweir             @param      references to checking variables
350cdf0e10cSrcweir             @return     sal_False ,on invalid parameter
351cdf0e10cSrcweir             @return     sal_True  ,otherwise
352cdf0e10cSrcweir 
353cdf0e10cSrcweir             @onerror    -
354cdf0e10cSrcweir         *//*-*****************************************************************************************************/
355cdf0e10cSrcweir 
356cdf0e10cSrcweir 
357cdf0e10cSrcweir     #ifdef ENABLE_ASSERTIONS
358cdf0e10cSrcweir 
359cdf0e10cSrcweir     private:
360cdf0e10cSrcweir 
361cdf0e10cSrcweir         static sal_Bool impldbg_checkParameter_FrameLoaderFactory           (   const   css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory    );
362cdf0e10cSrcweir         static sal_Bool impldbg_checkParameter_createInstance               (   const   ::rtl::OUString&                                        sTypeName   );
363cdf0e10cSrcweir         static sal_Bool impldbg_checkParameter_createInstanceWithArguments  (   const   ::rtl::OUString&                                        sTypeName   ,
364cdf0e10cSrcweir                                                                                 const   css::uno::Sequence< css::uno::Any >&                    seqArguments);
365cdf0e10cSrcweir         static sal_Bool impldbg_checkParameter_getByName                    (   const   ::rtl::OUString&                                        sName       );
366cdf0e10cSrcweir         static sal_Bool impldbg_checkParameter_hasByName                    (   const   ::rtl::OUString&                                        sName       );
367cdf0e10cSrcweir 
368cdf0e10cSrcweir     #endif  //  #ifdef ENABLE_ASSERTIONS
369cdf0e10cSrcweir 
370cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
371cdf0e10cSrcweir     //  private variables
372cdf0e10cSrcweir     //  (should be private everyway!)
373cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
374cdf0e10cSrcweir 
375cdf0e10cSrcweir     private:
376cdf0e10cSrcweir 
377cdf0e10cSrcweir         css::uno::Reference< css::lang::XMultiServiceFactory >      m_xFactory          ;
378cdf0e10cSrcweir         FilterCache                                                 m_aCache            ;
379cdf0e10cSrcweir 
380cdf0e10cSrcweir };      //  class FrameLoaderFactory
381cdf0e10cSrcweir 
382cdf0e10cSrcweir }       //  namespace framework
383cdf0e10cSrcweir 
384cdf0e10cSrcweir #endif  //  #ifndef __FRAMEWORK_SERVICES_FRAMELOADERFACTORY_HXX_
385