xref: /aoo41x/main/sc/inc/afmtuno.hxx (revision cdf0e10c)
1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir #ifndef SC_AFMTUNO_HXX
29*cdf0e10cSrcweir #define SC_AFMTUNO_HXX
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir #include <svl/lstner.hxx>
32*cdf0e10cSrcweir #include <svl/itemprop.hxx>
33*cdf0e10cSrcweir #include <com/sun/star/lang/XServiceInfo.hpp>
34*cdf0e10cSrcweir #include <com/sun/star/container/XContainer.hpp>
35*cdf0e10cSrcweir #include <com/sun/star/container/XIndexContainer.hpp>
36*cdf0e10cSrcweir #include <com/sun/star/container/XNameReplace.hpp>
37*cdf0e10cSrcweir #include <com/sun/star/container/XContainerListener.hpp>
38*cdf0e10cSrcweir #include <com/sun/star/container/XSet.hpp>
39*cdf0e10cSrcweir #include <com/sun/star/container/ContainerEvent.hpp>
40*cdf0e10cSrcweir #include <com/sun/star/container/XIndexReplace.hpp>
41*cdf0e10cSrcweir #include <com/sun/star/container/XNameContainer.hpp>
42*cdf0e10cSrcweir #include <com/sun/star/container/XNamed.hpp>
43*cdf0e10cSrcweir #include <com/sun/star/beans/XPropertySet.hpp>
44*cdf0e10cSrcweir #include <com/sun/star/lang/XUnoTunnel.hpp>
45*cdf0e10cSrcweir #include <com/sun/star/lang/XMultiServiceFactory.hpp>
46*cdf0e10cSrcweir #include <cppuhelper/implbase2.hxx>
47*cdf0e10cSrcweir #include <cppuhelper/implbase4.hxx>
48*cdf0e10cSrcweir #include <cppuhelper/implbase6.hxx>
49*cdf0e10cSrcweir 
50*cdf0e10cSrcweir class ScAutoFormatFieldObj;
51*cdf0e10cSrcweir class ScAutoFormatObj;
52*cdf0e10cSrcweir 
53*cdf0e10cSrcweir 
54*cdf0e10cSrcweir #define SC_AFMTOBJ_INVALID	USHRT_MAX
55*cdf0e10cSrcweir 
56*cdf0e10cSrcweir 
57*cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL
58*cdf0e10cSrcweir 	ScAutoFormatsObj_CreateInstance(
59*cdf0e10cSrcweir 		const ::com::sun::star::uno::Reference<
60*cdf0e10cSrcweir 			::com::sun::star::lang::XMultiServiceFactory >& );
61*cdf0e10cSrcweir 
62*cdf0e10cSrcweir 
63*cdf0e10cSrcweir class ScAutoFormatsObj : public ::cppu::WeakImplHelper4<
64*cdf0e10cSrcweir 							::com::sun::star::container::XNameContainer,
65*cdf0e10cSrcweir 							::com::sun::star::container::XEnumerationAccess,
66*cdf0e10cSrcweir 							::com::sun::star::container::XIndexAccess,
67*cdf0e10cSrcweir 							::com::sun::star::lang::XServiceInfo >
68*cdf0e10cSrcweir {
69*cdf0e10cSrcweir private:
70*cdf0e10cSrcweir 	ScAutoFormatObj*		GetObjectByIndex_Impl(sal_uInt16 nIndex);
71*cdf0e10cSrcweir 	ScAutoFormatObj*		GetObjectByName_Impl(const ::rtl::OUString& aName);
72*cdf0e10cSrcweir 
73*cdf0e10cSrcweir public:
74*cdf0e10cSrcweir 							ScAutoFormatsObj();
75*cdf0e10cSrcweir 	virtual					~ScAutoFormatsObj();
76*cdf0e10cSrcweir 
77*cdf0e10cSrcweir 	static ::rtl::OUString	getImplementationName_Static();
78*cdf0e10cSrcweir 	static ::com::sun::star::uno::Sequence< ::rtl::OUString> getSupportedServiceNames_Static();
79*cdf0e10cSrcweir 
80*cdf0e10cSrcweir 							// XNameContainer
81*cdf0e10cSrcweir 	virtual void SAL_CALL	insertByName( const ::rtl::OUString& aName,
82*cdf0e10cSrcweir 								const ::com::sun::star::uno::Any& aElement )
83*cdf0e10cSrcweir 									throw(::com::sun::star::lang::IllegalArgumentException,
84*cdf0e10cSrcweir 										::com::sun::star::container::ElementExistException,
85*cdf0e10cSrcweir 										::com::sun::star::lang::WrappedTargetException,
86*cdf0e10cSrcweir 										::com::sun::star::uno::RuntimeException);
87*cdf0e10cSrcweir 	virtual void SAL_CALL	removeByName( const ::rtl::OUString& Name )
88*cdf0e10cSrcweir 								throw(::com::sun::star::container::NoSuchElementException,
89*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
90*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
91*cdf0e10cSrcweir 
92*cdf0e10cSrcweir 							// XNameReplace
93*cdf0e10cSrcweir 	virtual void SAL_CALL	replaceByName( const ::rtl::OUString& aName,
94*cdf0e10cSrcweir 								const ::com::sun::star::uno::Any& aElement )
95*cdf0e10cSrcweir 									throw(::com::sun::star::lang::IllegalArgumentException,
96*cdf0e10cSrcweir 										::com::sun::star::container::NoSuchElementException,
97*cdf0e10cSrcweir 										::com::sun::star::lang::WrappedTargetException,
98*cdf0e10cSrcweir 										::com::sun::star::uno::RuntimeException);
99*cdf0e10cSrcweir 
100*cdf0e10cSrcweir 							// XNameAccess
101*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName )
102*cdf0e10cSrcweir 								throw(::com::sun::star::container::NoSuchElementException,
103*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
104*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
105*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames()
106*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
107*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName )
108*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
109*cdf0e10cSrcweir 
110*cdf0e10cSrcweir 							// XElementAccess
111*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
112*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
113*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
114*cdf0e10cSrcweir 
115*cdf0e10cSrcweir 							// XEnumerationAccess
116*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
117*cdf0e10cSrcweir 							createEnumeration() throw(::com::sun::star::uno::RuntimeException);
118*cdf0e10cSrcweir 
119*cdf0e10cSrcweir 							// XIndexAccess
120*cdf0e10cSrcweir 	virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
121*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
122*cdf0e10cSrcweir 								throw(::com::sun::star::lang::IndexOutOfBoundsException,
123*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
124*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
125*cdf0e10cSrcweir 
126*cdf0e10cSrcweir 							// XServiceInfo
127*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getImplementationName()
128*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
129*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
130*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
131*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
132*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
133*cdf0e10cSrcweir };
134*cdf0e10cSrcweir 
135*cdf0e10cSrcweir 
136*cdf0e10cSrcweir class ScAutoFormatObj : public ::cppu::WeakImplHelper6<
137*cdf0e10cSrcweir 							::com::sun::star::container::XIndexAccess,
138*cdf0e10cSrcweir 							::com::sun::star::container::XEnumerationAccess,
139*cdf0e10cSrcweir 							::com::sun::star::container::XNamed,
140*cdf0e10cSrcweir 							::com::sun::star::beans::XPropertySet,
141*cdf0e10cSrcweir 							::com::sun::star::lang::XUnoTunnel,
142*cdf0e10cSrcweir 							::com::sun::star::lang::XServiceInfo >,
143*cdf0e10cSrcweir 						public SfxListener
144*cdf0e10cSrcweir {
145*cdf0e10cSrcweir private:
146*cdf0e10cSrcweir 	SfxItemPropertySet		aPropSet;
147*cdf0e10cSrcweir 	sal_uInt16					nFormatIndex;
148*cdf0e10cSrcweir 
149*cdf0e10cSrcweir 	ScAutoFormatFieldObj*	GetObjectByIndex_Impl(sal_uInt16 nIndex);
150*cdf0e10cSrcweir 
151*cdf0e10cSrcweir public:
152*cdf0e10cSrcweir 							ScAutoFormatObj(sal_uInt16 nIndex);
153*cdf0e10cSrcweir 	virtual					~ScAutoFormatObj();
154*cdf0e10cSrcweir 
155*cdf0e10cSrcweir 	virtual void			Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
156*cdf0e10cSrcweir 
157*cdf0e10cSrcweir 							// per getImplementation gerufen:
158*cdf0e10cSrcweir 	sal_Bool				IsInserted() const		{ return nFormatIndex != SC_AFMTOBJ_INVALID; }
159*cdf0e10cSrcweir 	void					InitFormat( sal_uInt16 nNewIndex );
160*cdf0e10cSrcweir 
161*cdf0e10cSrcweir 							// XIndexAccess
162*cdf0e10cSrcweir 	virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
163*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
164*cdf0e10cSrcweir 								throw(::com::sun::star::lang::IndexOutOfBoundsException,
165*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
166*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
167*cdf0e10cSrcweir 
168*cdf0e10cSrcweir 							// XElementAccess
169*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
170*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
171*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
172*cdf0e10cSrcweir 
173*cdf0e10cSrcweir 							// XEnumerationAccess
174*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
175*cdf0e10cSrcweir 							createEnumeration() throw(::com::sun::star::uno::RuntimeException);
176*cdf0e10cSrcweir 
177*cdf0e10cSrcweir 							// XNamed
178*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException);
179*cdf0e10cSrcweir 	virtual void SAL_CALL	setName( const ::rtl::OUString& aName )
180*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
181*cdf0e10cSrcweir 
182*cdf0e10cSrcweir 							// XPropertySet
183*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
184*cdf0e10cSrcweir 							SAL_CALL getPropertySetInfo()
185*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
186*cdf0e10cSrcweir 	virtual void SAL_CALL	setPropertyValue( const ::rtl::OUString& aPropertyName,
187*cdf0e10cSrcweir 									const ::com::sun::star::uno::Any& aValue )
188*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
189*cdf0e10cSrcweir 									::com::sun::star::beans::PropertyVetoException,
190*cdf0e10cSrcweir 									::com::sun::star::lang::IllegalArgumentException,
191*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
192*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
193*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
194*cdf0e10cSrcweir 									const ::rtl::OUString& PropertyName )
195*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
196*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
197*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
198*cdf0e10cSrcweir 	virtual void SAL_CALL	addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
199*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
200*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& xListener )
201*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
202*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
203*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
204*cdf0e10cSrcweir 	virtual void SAL_CALL	removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
205*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
206*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& aListener )
207*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
208*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
209*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
210*cdf0e10cSrcweir 	virtual void SAL_CALL	addVetoableChangeListener( const ::rtl::OUString& PropertyName,
211*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
212*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
213*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
214*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
215*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
216*cdf0e10cSrcweir 	virtual void SAL_CALL	removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
217*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
218*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
219*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
220*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
221*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
222*cdf0e10cSrcweir 
223*cdf0e10cSrcweir 							// XServiceInfo
224*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getImplementationName()
225*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
226*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
227*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
228*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
229*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
230*cdf0e10cSrcweir 
231*cdf0e10cSrcweir 							// XUnoTunnel
232*cdf0e10cSrcweir 	virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence<
233*cdf0e10cSrcweir 									sal_Int8 >& aIdentifier )
234*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
235*cdf0e10cSrcweir 
236*cdf0e10cSrcweir 	static const ::com::sun::star::uno::Sequence<sal_Int8>& getUnoTunnelId();
237*cdf0e10cSrcweir 	static ScAutoFormatObj* getImplementation( const ::com::sun::star::uno::Reference<
238*cdf0e10cSrcweir 									::com::sun::star::uno::XInterface> xObj );
239*cdf0e10cSrcweir };
240*cdf0e10cSrcweir 
241*cdf0e10cSrcweir 
242*cdf0e10cSrcweir class ScAutoFormatFieldObj : public ::cppu::WeakImplHelper2<
243*cdf0e10cSrcweir 								::com::sun::star::beans::XPropertySet,
244*cdf0e10cSrcweir 								::com::sun::star::lang::XServiceInfo >,
245*cdf0e10cSrcweir 							public SfxListener
246*cdf0e10cSrcweir {
247*cdf0e10cSrcweir private:
248*cdf0e10cSrcweir 	SfxItemPropertySet		aPropSet;
249*cdf0e10cSrcweir 	sal_uInt16					nFormatIndex;
250*cdf0e10cSrcweir 	sal_uInt16					nFieldIndex;
251*cdf0e10cSrcweir 
252*cdf0e10cSrcweir public:
253*cdf0e10cSrcweir 							ScAutoFormatFieldObj(sal_uInt16 nFormat, sal_uInt16 nField);
254*cdf0e10cSrcweir 	virtual					~ScAutoFormatFieldObj();
255*cdf0e10cSrcweir 
256*cdf0e10cSrcweir 	virtual void			Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
257*cdf0e10cSrcweir 
258*cdf0e10cSrcweir 							// XPropertySet
259*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
260*cdf0e10cSrcweir 							SAL_CALL getPropertySetInfo()
261*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
262*cdf0e10cSrcweir 	virtual void SAL_CALL	setPropertyValue( const ::rtl::OUString& aPropertyName,
263*cdf0e10cSrcweir 									const ::com::sun::star::uno::Any& aValue )
264*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
265*cdf0e10cSrcweir 									::com::sun::star::beans::PropertyVetoException,
266*cdf0e10cSrcweir 									::com::sun::star::lang::IllegalArgumentException,
267*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
268*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
269*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
270*cdf0e10cSrcweir 									const ::rtl::OUString& PropertyName )
271*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
272*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
273*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
274*cdf0e10cSrcweir 	virtual void SAL_CALL	addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
275*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
276*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& xListener )
277*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
278*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
279*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
280*cdf0e10cSrcweir 	virtual void SAL_CALL	removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
281*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
282*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& aListener )
283*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
284*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
285*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
286*cdf0e10cSrcweir 	virtual void SAL_CALL	addVetoableChangeListener( const ::rtl::OUString& PropertyName,
287*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
288*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
289*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
290*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
291*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
292*cdf0e10cSrcweir 	virtual void SAL_CALL	removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
293*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
294*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
295*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
296*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
297*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
298*cdf0e10cSrcweir 
299*cdf0e10cSrcweir 							// XServiceInfo
300*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getImplementationName()
301*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
302*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
303*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
304*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
305*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
306*cdf0e10cSrcweir };
307*cdf0e10cSrcweir 
308*cdf0e10cSrcweir 
309*cdf0e10cSrcweir #endif
310*cdf0e10cSrcweir 
311