Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_sc / linkuno.hxx
blobcd51ffb5e5270471ffd0b24d43a4de547e1ee8bb
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: linkuno.hxx,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 ************************************************************************/
31 #ifndef SC_LINKUNO_HXX
32 #define SC_LINKUNO_HXX
34 #ifndef _SFXLSTNER_HXX //autogen
35 #include <bf_svtools/lstner.hxx>
36 #endif
38 #ifndef _SFX_ITEMPROP_HXX
39 #include <bf_svtools/itemprop.hxx>
40 #endif
42 #ifndef _COM_SUN_STAR_SHEET_XDDELINK_HPP_
43 #include <com/sun/star/sheet/XDDELink.hpp>
44 #endif
45 #ifndef _COM_SUN_STAR_SHEET_XAREALINK_HPP_
46 #include <com/sun/star/sheet/XAreaLink.hpp>
47 #endif
48 #ifndef _COM_SUN_STAR_SHEET_XAREALINKS_HPP_
49 #include <com/sun/star/sheet/XAreaLinks.hpp>
50 #endif
51 #ifndef _COM_SUN_STAR_UTIL_XREFRESHABLE_HPP_
52 #include <com/sun/star/util/XRefreshable.hpp>
53 #endif
54 #ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
55 #include <com/sun/star/lang/XServiceInfo.hpp>
56 #endif
57 #ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
58 #include <com/sun/star/beans/XPropertySet.hpp>
59 #endif
60 #ifndef _COM_SUN_STAR_CONTAINER_XENUMERATIONACCESS_HPP_
61 #include <com/sun/star/container/XEnumerationAccess.hpp>
62 #endif
63 #ifndef _COM_SUN_STAR_CONTAINER_XNAMEACCESS_HPP_
64 #include <com/sun/star/container/XNameAccess.hpp>
65 #endif
66 #ifndef _COM_SUN_STAR_CONTAINER_XNAMED_HPP_
67 #include <com/sun/star/container/XNamed.hpp>
68 #endif
70 #ifndef _CPPUHELPER_IMPLBASE3_HXX_
71 #include <cppuhelper/implbase3.hxx>
72 #endif
73 #ifndef _CPPUHELPER_IMPLBASE4_HXX_
74 #include <cppuhelper/implbase4.hxx>
75 #endif
76 namespace binfilter {
79 class ScAreaLink;
80 class ScDocShell;
81 class ScTableLink;
83 typedef ::com::sun::star::uno::Reference<
84 ::com::sun::star::util::XRefreshListener >* XRefreshListenerPtr;
85 SV_DECL_PTRARR_DEL( XRefreshListenerArr_Impl, XRefreshListenerPtr, 4, 4 )//STRIP008 ;
89 class ScSheetLinkObj : public cppu::WeakImplHelper4<
90 ::com::sun::star::container::XNamed,
91 ::com::sun::star::util::XRefreshable,
92 ::com::sun::star::beans::XPropertySet,
93 ::com::sun::star::lang::XServiceInfo >,
94 public SfxListener
96 private:
97 SfxItemPropertySet aPropSet;
98 ScDocShell* pDocShell;
99 String aFileName;
100 XRefreshListenerArr_Impl aRefreshListeners;
102 ScTableLink* GetLink_Impl() const;
103 void Refreshed_Impl();
104 void ModifyRefreshDelay_Impl( sal_Int32 nRefresh );
106 public:
107 ScSheetLinkObj(ScDocShell* pDocSh, const String& rName);
108 virtual ~ScSheetLinkObj();
110 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
112 // XNamed
113 virtual ::rtl::OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException);
114 virtual void SAL_CALL setName( const ::rtl::OUString& aName )
115 throw(::com::sun::star::uno::RuntimeException);
117 // XRefreshable
118 virtual void SAL_CALL refresh() throw(::com::sun::star::uno::RuntimeException);
119 virtual void SAL_CALL addRefreshListener( const ::com::sun::star::uno::Reference<
120 ::com::sun::star::util::XRefreshListener >& l )
121 throw(::com::sun::star::uno::RuntimeException);
122 virtual void SAL_CALL removeRefreshListener( const ::com::sun::star::uno::Reference<
123 ::com::sun::star::util::XRefreshListener >& l )
124 throw(::com::sun::star::uno::RuntimeException);
126 // XPropertySet
127 virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
128 SAL_CALL getPropertySetInfo( )
129 throw(::com::sun::star::uno::RuntimeException);
130 virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName,
131 const ::com::sun::star::uno::Any& aValue )
132 throw(::com::sun::star::beans::UnknownPropertyException,
133 ::com::sun::star::beans::PropertyVetoException,
134 ::com::sun::star::lang::IllegalArgumentException,
135 ::com::sun::star::lang::WrappedTargetException,
136 ::com::sun::star::uno::RuntimeException);
137 virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
138 const ::rtl::OUString& PropertyName )
139 throw(::com::sun::star::beans::UnknownPropertyException,
140 ::com::sun::star::lang::WrappedTargetException,
141 ::com::sun::star::uno::RuntimeException);
142 virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
143 const ::com::sun::star::uno::Reference<
144 ::com::sun::star::beans::XPropertyChangeListener >& xListener )
145 throw(::com::sun::star::beans::UnknownPropertyException,
146 ::com::sun::star::lang::WrappedTargetException,
147 ::com::sun::star::uno::RuntimeException);
148 virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
149 const ::com::sun::star::uno::Reference<
150 ::com::sun::star::beans::XPropertyChangeListener >& aListener )
151 throw(::com::sun::star::beans::UnknownPropertyException,
152 ::com::sun::star::lang::WrappedTargetException,
153 ::com::sun::star::uno::RuntimeException);
154 virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName,
155 const ::com::sun::star::uno::Reference<
156 ::com::sun::star::beans::XVetoableChangeListener >& aListener )
157 throw(::com::sun::star::beans::UnknownPropertyException,
158 ::com::sun::star::lang::WrappedTargetException,
159 ::com::sun::star::uno::RuntimeException);
160 virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
161 const ::com::sun::star::uno::Reference<
162 ::com::sun::star::beans::XVetoableChangeListener >& aListener )
163 throw(::com::sun::star::beans::UnknownPropertyException,
164 ::com::sun::star::lang::WrappedTargetException,
165 ::com::sun::star::uno::RuntimeException);
167 // aus get/setPropertyValue gerufen:
168 ::rtl::OUString getFileName(void) const;
169 void setFileName(const ::rtl::OUString& FileName);
170 ::rtl::OUString getFilter(void) const;
171 void setFilter(const ::rtl::OUString& Filter);
172 ::rtl::OUString getFilterOptions(void) const;
173 void setFilterOptions(const ::rtl::OUString& FilterOptions);
174 sal_Int32 getRefreshDelay(void) const;
175 void setRefreshDelay(sal_Int32 nRefreshDelay);
177 // XServiceInfo
178 virtual ::rtl::OUString SAL_CALL getImplementationName()
179 throw(::com::sun::star::uno::RuntimeException);
180 virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
181 throw(::com::sun::star::uno::RuntimeException);
182 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
183 throw(::com::sun::star::uno::RuntimeException);
187 class ScSheetLinksObj : public cppu::WeakImplHelper4<
188 ::com::sun::star::container::XNameAccess,
189 ::com::sun::star::container::XEnumerationAccess,
190 ::com::sun::star::container::XIndexAccess,
191 ::com::sun::star::lang::XServiceInfo >,
192 public SfxListener
194 private:
195 ScDocShell* pDocShell;
197 ScSheetLinkObj* GetObjectByIndex_Impl(INT32 nIndex);
198 ScSheetLinkObj* GetObjectByName_Impl(const ::rtl::OUString& aName);
200 public:
201 ScSheetLinksObj(ScDocShell* pDocSh);
202 virtual ~ScSheetLinksObj();
204 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
206 // XNameAccess
207 virtual ::com::sun::star::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName )
208 throw(::com::sun::star::container::NoSuchElementException,
209 ::com::sun::star::lang::WrappedTargetException,
210 ::com::sun::star::uno::RuntimeException);
211 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames()
212 throw(::com::sun::star::uno::RuntimeException);
213 virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName )
214 throw(::com::sun::star::uno::RuntimeException);
216 // XIndexAccess
217 virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
218 virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
219 throw(::com::sun::star::lang::IndexOutOfBoundsException,
220 ::com::sun::star::lang::WrappedTargetException,
221 ::com::sun::star::uno::RuntimeException);
223 // XEnumerationAccess
224 virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
225 createEnumeration() throw(::com::sun::star::uno::RuntimeException);
227 // XElementAccess
228 virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
229 throw(::com::sun::star::uno::RuntimeException);
230 virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
232 // XServiceInfo
233 virtual ::rtl::OUString SAL_CALL getImplementationName()
234 throw(::com::sun::star::uno::RuntimeException);
235 virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
236 throw(::com::sun::star::uno::RuntimeException);
237 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
238 throw(::com::sun::star::uno::RuntimeException);
242 class ScAreaLinkObj : public cppu::WeakImplHelper4<
243 ::com::sun::star::sheet::XAreaLink,
244 ::com::sun::star::util::XRefreshable,
245 ::com::sun::star::beans::XPropertySet,
246 ::com::sun::star::lang::XServiceInfo >,
247 public SfxListener
249 private:
250 SfxItemPropertySet aPropSet;
251 ScDocShell* pDocShell;
252 USHORT nPos;
253 XRefreshListenerArr_Impl aRefreshListeners;
255 void Modify_Impl( const ::rtl::OUString* pNewFile, const ::rtl::OUString* pNewFilter,
256 const ::rtl::OUString* pNewOptions, const ::rtl::OUString* pNewSource,
257 const ::com::sun::star::table::CellRangeAddress* pNewDest );
258 void ModifyRefreshDelay_Impl( sal_Int32 nRefresh );
259 void Refreshed_Impl();
261 public:
262 ScAreaLinkObj(ScDocShell* pDocSh, USHORT nP);
263 virtual ~ScAreaLinkObj();
265 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
267 // XRefreshable
268 virtual void SAL_CALL refresh() throw(::com::sun::star::uno::RuntimeException);
269 virtual void SAL_CALL addRefreshListener( const ::com::sun::star::uno::Reference<
270 ::com::sun::star::util::XRefreshListener >& l )
271 throw(::com::sun::star::uno::RuntimeException);
272 virtual void SAL_CALL removeRefreshListener( const ::com::sun::star::uno::Reference<
273 ::com::sun::star::util::XRefreshListener >& l )
274 throw(::com::sun::star::uno::RuntimeException);
276 // XPropertySet
277 virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
278 SAL_CALL getPropertySetInfo( )
279 throw(::com::sun::star::uno::RuntimeException);
280 virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName,
281 const ::com::sun::star::uno::Any& aValue )
282 throw(::com::sun::star::beans::UnknownPropertyException,
283 ::com::sun::star::beans::PropertyVetoException,
284 ::com::sun::star::lang::IllegalArgumentException,
285 ::com::sun::star::lang::WrappedTargetException,
286 ::com::sun::star::uno::RuntimeException);
287 virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
288 const ::rtl::OUString& PropertyName )
289 throw(::com::sun::star::beans::UnknownPropertyException,
290 ::com::sun::star::lang::WrappedTargetException,
291 ::com::sun::star::uno::RuntimeException);
292 virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
293 const ::com::sun::star::uno::Reference<
294 ::com::sun::star::beans::XPropertyChangeListener >& xListener )
295 throw(::com::sun::star::beans::UnknownPropertyException,
296 ::com::sun::star::lang::WrappedTargetException,
297 ::com::sun::star::uno::RuntimeException);
298 virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
299 const ::com::sun::star::uno::Reference<
300 ::com::sun::star::beans::XPropertyChangeListener >& aListener )
301 throw(::com::sun::star::beans::UnknownPropertyException,
302 ::com::sun::star::lang::WrappedTargetException,
303 ::com::sun::star::uno::RuntimeException);
304 virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName,
305 const ::com::sun::star::uno::Reference<
306 ::com::sun::star::beans::XVetoableChangeListener >& aListener )
307 throw(::com::sun::star::beans::UnknownPropertyException,
308 ::com::sun::star::lang::WrappedTargetException,
309 ::com::sun::star::uno::RuntimeException);
310 virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
311 const ::com::sun::star::uno::Reference<
312 ::com::sun::star::beans::XVetoableChangeListener >& aListener )
313 throw(::com::sun::star::beans::UnknownPropertyException,
314 ::com::sun::star::lang::WrappedTargetException,
315 ::com::sun::star::uno::RuntimeException);
317 // aus get/setPropertyValue gerufen:
318 ::rtl::OUString getFileName(void) const;
319 void setFileName(const ::rtl::OUString& FileName);
320 ::rtl::OUString getFilter(void) const;
321 void setFilter(const ::rtl::OUString& Filter);
322 ::rtl::OUString getFilterOptions(void) const;
323 void setFilterOptions(const ::rtl::OUString& FilterOptions);
324 sal_Int32 getRefreshDelay(void) const;
325 void setRefreshDelay(sal_Int32 nRefreshDelay);
327 // XAreaLink
328 virtual ::rtl::OUString SAL_CALL getSourceArea() throw(::com::sun::star::uno::RuntimeException);
329 virtual void SAL_CALL setSourceArea( const ::rtl::OUString& aSourceArea )
330 throw(::com::sun::star::uno::RuntimeException);
331 virtual ::com::sun::star::table::CellRangeAddress SAL_CALL getDestArea()
332 throw(::com::sun::star::uno::RuntimeException);
333 virtual void SAL_CALL setDestArea( const ::com::sun::star::table::CellRangeAddress& aDestArea )
334 throw(::com::sun::star::uno::RuntimeException);
336 // XServiceInfo
337 virtual ::rtl::OUString SAL_CALL getImplementationName()
338 throw(::com::sun::star::uno::RuntimeException);
339 virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
340 throw(::com::sun::star::uno::RuntimeException);
341 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
342 throw(::com::sun::star::uno::RuntimeException);
346 class ScAreaLinksObj : public cppu::WeakImplHelper3<
347 ::com::sun::star::sheet::XAreaLinks,
348 ::com::sun::star::container::XEnumerationAccess,
349 ::com::sun::star::lang::XServiceInfo >,
350 public SfxListener
352 private:
353 ScDocShell* pDocShell;
355 ScAreaLinkObj* GetObjectByIndex_Impl(INT32 nIndex);
357 public:
358 ScAreaLinksObj(ScDocShell* pDocSh);
359 virtual ~ScAreaLinksObj();
361 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
363 // XAreaLinks
364 virtual void SAL_CALL insertAtPosition( const ::com::sun::star::table::CellAddress& aDestPos,
365 const ::rtl::OUString& aFileName,
366 const ::rtl::OUString& aSourceArea,
367 const ::rtl::OUString& aFilter,
368 const ::rtl::OUString& aFilterOptions )
369 throw(::com::sun::star::uno::RuntimeException);
370 virtual void SAL_CALL removeByIndex( sal_Int32 nIndex )
371 throw(::com::sun::star::uno::RuntimeException);
373 // XIndexAccess
374 virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
375 virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
376 throw(::com::sun::star::lang::IndexOutOfBoundsException,
377 ::com::sun::star::lang::WrappedTargetException,
378 ::com::sun::star::uno::RuntimeException);
380 // XEnumerationAccess
381 virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
382 createEnumeration() throw(::com::sun::star::uno::RuntimeException);
384 // XElementAccess
385 virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
386 throw(::com::sun::star::uno::RuntimeException);
387 virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
389 // XServiceInfo
390 virtual ::rtl::OUString SAL_CALL getImplementationName()
391 throw(::com::sun::star::uno::RuntimeException);
392 virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
393 throw(::com::sun::star::uno::RuntimeException);
394 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
395 throw(::com::sun::star::uno::RuntimeException);
399 //! order of XNamed and DDELink changed to avoid "duplicate comdat" symbols
401 class ScDDELinkObj : public cppu::WeakImplHelper4<
402 ::com::sun::star::sheet::XDDELink,
403 ::com::sun::star::container::XNamed,
404 ::com::sun::star::util::XRefreshable,
405 ::com::sun::star::lang::XServiceInfo >,
406 public SfxListener
408 private:
409 ScDocShell* pDocShell;
410 String aAppl;
411 String aTopic;
412 String aItem;
413 XRefreshListenerArr_Impl aRefreshListeners;
415 void Refreshed_Impl();
417 public:
418 ScDDELinkObj(ScDocShell* pDocSh, const String& rA,
419 const String& rT, const String& rI);
420 virtual ~ScDDELinkObj();
422 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
424 // XNamed
425 virtual ::rtl::OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException);
426 virtual void SAL_CALL setName( const ::rtl::OUString& aName )
427 throw(::com::sun::star::uno::RuntimeException);
429 // XDDELink
430 virtual ::rtl::OUString SAL_CALL getApplication() throw(::com::sun::star::uno::RuntimeException);
431 virtual ::rtl::OUString SAL_CALL getTopic() throw(::com::sun::star::uno::RuntimeException);
432 virtual ::rtl::OUString SAL_CALL getItem() throw(::com::sun::star::uno::RuntimeException);
434 // XRefreshable
435 virtual void SAL_CALL refresh() throw(::com::sun::star::uno::RuntimeException);
436 virtual void SAL_CALL addRefreshListener( const ::com::sun::star::uno::Reference<
437 ::com::sun::star::util::XRefreshListener >& l )
438 throw(::com::sun::star::uno::RuntimeException);
439 virtual void SAL_CALL removeRefreshListener( const ::com::sun::star::uno::Reference<
440 ::com::sun::star::util::XRefreshListener >& l )
441 throw(::com::sun::star::uno::RuntimeException);
443 // XServiceInfo
444 virtual ::rtl::OUString SAL_CALL getImplementationName()
445 throw(::com::sun::star::uno::RuntimeException);
446 virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
447 throw(::com::sun::star::uno::RuntimeException);
448 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
449 throw(::com::sun::star::uno::RuntimeException);
453 class ScDDELinksObj : public cppu::WeakImplHelper4<
454 ::com::sun::star::container::XNameAccess,
455 ::com::sun::star::container::XEnumerationAccess,
456 ::com::sun::star::container::XIndexAccess,
457 ::com::sun::star::lang::XServiceInfo >,
458 public SfxListener
460 private:
461 ScDocShell* pDocShell;
463 ScDDELinkObj* GetObjectByIndex_Impl(INT32 nIndex);
464 ScDDELinkObj* GetObjectByName_Impl(const ::rtl::OUString& aName);
466 public:
467 ScDDELinksObj(ScDocShell* pDocSh);
468 virtual ~ScDDELinksObj();
470 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
472 // XNameAccess
473 virtual ::com::sun::star::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName )
474 throw(::com::sun::star::container::NoSuchElementException,
475 ::com::sun::star::lang::WrappedTargetException,
476 ::com::sun::star::uno::RuntimeException);
477 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames()
478 throw(::com::sun::star::uno::RuntimeException);
479 virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName )
480 throw(::com::sun::star::uno::RuntimeException);
482 // XIndexAccess
483 virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
484 virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
485 throw(::com::sun::star::lang::IndexOutOfBoundsException,
486 ::com::sun::star::lang::WrappedTargetException,
487 ::com::sun::star::uno::RuntimeException);
489 // XEnumerationAccess
490 virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
491 createEnumeration() throw(::com::sun::star::uno::RuntimeException);
493 // XElementAccess
494 virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
495 throw(::com::sun::star::uno::RuntimeException);
496 virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
498 // XServiceInfo
499 virtual ::rtl::OUString SAL_CALL getImplementationName()
500 throw(::com::sun::star::uno::RuntimeException);
501 virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
502 throw(::com::sun::star::uno::RuntimeException);
503 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
504 throw(::com::sun::star::uno::RuntimeException);
510 } //namespace binfilter
511 #endif