1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
25 #include <com/sun/star/lang/XUnoTunnel.hpp>
26 #include <com/sun/star/chart2/data/XDataProvider.hpp>
27 #include <com/sun/star/chart2/data/XDataSource.hpp>
28 #include <com/sun/star/chart2/data/XDataSequence.hpp>
29 #include <com/sun/star/chart2/data/XTextualDataSequence.hpp>
30 #include <com/sun/star/chart2/data/XNumericalDataSequence.hpp>
31 #include <com/sun/star/chart2/data/XLabeledDataSequence2.hpp>
32 #include <com/sun/star/chart2/data/XRangeXMLConversion.hpp>
33 #include <com/sun/star/chart2/data/DataSequenceRole.hpp>
34 #include <com/sun/star/lang/XServiceInfo.hpp>
35 #include <com/sun/star/beans/XPropertySet.hpp>
36 #include <com/sun/star/util/XCloneable.hpp>
37 #include <com/sun/star/lang/XComponent.hpp>
38 #include <com/sun/star/lang/XEventListener.hpp>
39 #include <com/sun/star/util/XModifiable.hpp>
40 #include <com/sun/star/util/XModifyBroadcaster.hpp>
41 #include <com/sun/star/util/XModifyListener.hpp>
42 #include <com/sun/star/chart/ChartDataRowSource.hpp>
44 #include <cppuhelper/interfacecontainer.h> //OMultiTypeInterfaceContainerHelper
45 #include <cppuhelper/implbase2.hxx> // helper for implementations
46 #include <cppuhelper/implbase4.hxx> // helper for implementations
47 #include <cppuhelper/implbase6.hxx> // helper for implementations
48 #include <cppuhelper/implbase10.hxx> // helper for implementations
49 #include <cppuhelper/weakref.hxx>
51 #include <tools/string.hxx>
52 #include <tools/link.hxx>
53 #include <vcl/timer.hxx>
58 class SfxItemPropertySet
;
63 struct SwRangeDescriptor
;
67 //////////////////////////////////////////////////////////////////////
69 bool FillRangeDescriptor( SwRangeDescriptor
&rDesc
, const String
&rCellRangeName
);
71 //////////////////////////////////////////////////////////////////////
76 static void DoUpdateAllCharts( SwDoc
* pDoc
);
79 //////////////////////////////////////////////////////////////////////
81 class SwChartLockController_Helper
85 DECL_LINK( DoUnlockAllCharts
, Timer
* );
86 Timer aUnlockTimer
; // timer to unlock chart controllers
90 // disallow use of d-tor, copy c-tor and assignment operator
91 SwChartLockController_Helper( const SwChartLockController_Helper
& );
92 SwChartLockController_Helper
& operator = ( const SwChartLockController_Helper
& );
94 void LockUnlockAllCharts( sal_Bool bLock
);
95 void LockAllCharts() { LockUnlockAllCharts( sal_True
); };
96 void UnlockAllCharts() { LockUnlockAllCharts( sal_False
); };
99 SwChartLockController_Helper( SwDoc
*pDocument
);
100 ~SwChartLockController_Helper();
102 void StartOrContinueLocking();
106 //////////////////////////////////////////////////////////////////////
108 typedef cppu::WeakImplHelper4
110 ::com::sun::star::chart2::data::XDataProvider
,
111 ::com::sun::star::chart2::data::XRangeXMLConversion
,
112 ::com::sun::star::lang::XComponent
,
113 ::com::sun::star::lang::XServiceInfo
115 SwChartDataProviderBaseClass
;
117 class SwChartDataProvider
:
118 public SwChartDataProviderBaseClass
,
122 // used to keep weak-references to all data-sequences of a single table
123 // see set definition below...
124 struct lt_DataSequenceRef
126 bool operator()( ::com::sun::star::uno::WeakReference
< ::com::sun::star::chart2::data::XDataSequence
> xWRef1
, ::com::sun::star::uno::WeakReference
< ::com::sun::star::chart2::data::XDataSequence
> xWRef2
) const
128 ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
> xRef1( xWRef1
);
129 ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
> xRef2( xWRef2
);
130 return xRef1
.get() < xRef2
.get();
133 typedef std::set
< ::com::sun::star::uno::WeakReference
< ::com::sun::star::chart2::data::XDataSequence
>, lt_DataSequenceRef
> Set_DataSequenceRef_t
;
135 // map of data-sequence sets for each table
136 struct lt_SwTable_Ptr
138 bool operator()( const SwTable
*p1
, const SwTable
*p2
) const
143 typedef std::map
< const SwTable
*, Set_DataSequenceRef_t
, lt_SwTable_Ptr
> Map_Set_DataSequenceRef_t
;
146 // map of all data-sequences provided directly or indirectly (e.g. via
147 // data-source) by this object. Since there is only one object of this type
148 // for each document it should hold references to all used data-sequences for
149 // all tables of the document.
150 mutable Map_Set_DataSequenceRef_t aDataSequences
;
152 ::cppu::OInterfaceContainerHelper aEvtListeners
;
157 // disallow use of c-tor and assignment operator
158 SwChartDataProvider( const SwChartDataProvider
& );
159 SwChartDataProvider
& operator = ( const SwChartDataProvider
& );
161 ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSource
> SAL_CALL
Impl_createDataSource( const ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
>& aArguments
, sal_Bool bTestOnly
= sal_False
) throw (::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::uno::RuntimeException
);
162 ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
> SAL_CALL
Impl_createDataSequenceByRangeRepresentation( const OUString
& aRangeRepresentation
, sal_Bool bTestOnly
= sal_False
) throw (::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::uno::RuntimeException
);
164 OUString
GetBrokenCellRangeForExport( const OUString
&rCellRangeRepresentation
);
168 virtual void Modify( const SfxPoolItem
* pOld
, const SfxPoolItem
*pNew
);
171 SwChartDataProvider( const SwDoc
* pDoc
);
172 virtual ~SwChartDataProvider();
175 virtual ::sal_Bool SAL_CALL
createDataSourcePossible( const ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
>& aArguments
) throw (::com::sun::star::uno::RuntimeException
);
176 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSource
> SAL_CALL
createDataSource( const ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
>& aArguments
) throw (::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::uno::RuntimeException
);
177 virtual ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
> SAL_CALL
detectArguments( const ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSource
>& xDataSource
) throw (::com::sun::star::uno::RuntimeException
);
178 virtual ::sal_Bool SAL_CALL
createDataSequenceByRangeRepresentationPossible( const OUString
& aRangeRepresentation
) throw (::com::sun::star::uno::RuntimeException
);
179 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
> SAL_CALL
createDataSequenceByRangeRepresentation( const OUString
& aRangeRepresentation
) throw (::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::uno::RuntimeException
);
180 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::sheet::XRangeSelection
> SAL_CALL
getRangeSelection( ) throw (::com::sun::star::uno::RuntimeException
);
182 // XRangeXMLConversion
183 virtual OUString SAL_CALL
convertRangeToXML( const OUString
& aRangeRepresentation
) throw (::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::uno::RuntimeException
);
184 virtual OUString SAL_CALL
convertRangeFromXML( const OUString
& aXMLRange
) throw (::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::uno::RuntimeException
);
187 virtual void SAL_CALL
dispose( ) throw (::com::sun::star::uno::RuntimeException
);
188 virtual void SAL_CALL
addEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& xListener
) throw (::com::sun::star::uno::RuntimeException
);
189 virtual void SAL_CALL
removeEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& aListener
) throw (::com::sun::star::uno::RuntimeException
);
192 virtual OUString SAL_CALL
getImplementationName( ) throw (::com::sun::star::uno::RuntimeException
);
193 virtual sal_Bool SAL_CALL
supportsService( const OUString
& ServiceName
) throw (::com::sun::star::uno::RuntimeException
);
194 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException
);
196 SwFrmFmt
* GetFrmFmt() const { return (SwFrmFmt
*)GetRegisteredIn(); }
198 void AddDataSequence( const SwTable
&rTable
, ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
> &rxDataSequence
);
199 void RemoveDataSequence( const SwTable
&rTable
, ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
> &rxDataSequence
);
201 // will send modifdied events for all data-sequences of the table
202 void InvalidateTable( const SwTable
*pTable
);
203 sal_Bool
DeleteBox( const SwTable
*pTable
, const SwTableBox
&rBox
);
204 void DisposeAllDataSequences( const SwTable
*pTable
);
206 // functionality needed to get notified about new added rows/cols
207 void AddRowCols( const SwTable
&rTable
, const SwSelBoxes
& rBoxes
, sal_uInt16 nLines
, sal_Bool bBehind
);
210 //////////////////////////////////////////////////////////////////////
212 typedef cppu::WeakImplHelper2
214 ::com::sun::star::chart2::data::XDataSource
,
215 ::com::sun::star::lang::XServiceInfo
217 SwChartDataSourceBaseClass
;
219 class SwChartDataSource
:
220 public SwChartDataSourceBaseClass
222 com::sun::star::uno::Sequence
<
223 com::sun::star::uno::Reference
<
224 com::sun::star::chart2::data::XLabeledDataSequence
> > aLDS
;
226 // disallow use of c-tor and assignment operator
227 SwChartDataSource( const SwChartDataSource
& );
228 SwChartDataSource
& operator = ( const SwChartDataSource
& );
231 SwChartDataSource( const com::sun::star::uno::Sequence
< com::sun::star::uno::Reference
< com::sun::star::chart2::data::XLabeledDataSequence
> > &rLDS
);
232 virtual ~SwChartDataSource();
235 virtual ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XLabeledDataSequence
> > SAL_CALL
getDataSequences( ) throw (::com::sun::star::uno::RuntimeException
);
238 virtual OUString SAL_CALL
getImplementationName( ) throw (::com::sun::star::uno::RuntimeException
);
239 virtual sal_Bool SAL_CALL
supportsService( const OUString
& ServiceName
) throw (::com::sun::star::uno::RuntimeException
);
240 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException
);
243 //////////////////////////////////////////////////////////////////////
245 typedef cppu::WeakImplHelper10
247 ::com::sun::star::chart2::data::XDataSequence
,
248 ::com::sun::star::chart2::data::XTextualDataSequence
,
249 ::com::sun::star::chart2::data::XNumericalDataSequence
,
250 ::com::sun::star::util::XCloneable
,
251 ::com::sun::star::beans::XPropertySet
,
252 ::com::sun::star::lang::XServiceInfo
,
253 ::com::sun::star::lang::XUnoTunnel
,
254 ::com::sun::star::util::XModifiable
,
255 ::com::sun::star::lang::XEventListener
,
256 ::com::sun::star::lang::XComponent
258 SwChartDataSequenceBaseClass
;
260 class SwChartDataSequence
:
261 public SwChartDataSequenceBaseClass
,
264 ::cppu::OInterfaceContainerHelper aEvtListeners
;
265 ::cppu::OInterfaceContainerHelper aModifyListeners
;
266 ::com::sun::star::chart2::data::DataSequenceRole aRole
;
268 String aRowLabelText
;
269 String aColLabelText
;
271 // holds a reference to the data-provider to guarantee it's lifetime last as
272 // long as the pointer may be used.
273 ::com::sun::star::uno::Reference
< com::sun::star::chart2::data::XDataProvider
> xDataProvider
;
274 SwChartDataProvider
* pDataProvider
;
276 SwUnoCrsr
* pTblCrsr
; // cursor spanned over cells to use
277 SwDepend aCursorDepend
; //the cursor is removed after the doc has been removed
279 const SfxItemPropertySet
* _pPropSet
;
283 // disallow use of c-tor and assignment operator
284 SwChartDataSequence( const SwChartDataSequence
&rObj
);
285 SwChartDataSequence
& operator = ( const SwChartDataSequence
& );
289 virtual void Modify( const SfxPoolItem
* pOld
, const SfxPoolItem
*pNew
);
292 SwChartDataSequence( SwChartDataProvider
&rProvider
,
294 SwUnoCrsr
*pTableCursor
);
295 virtual ~SwChartDataSequence();
297 static const ::com::sun::star::uno::Sequence
< sal_Int8
> & getUnoTunnelId();
300 virtual sal_Int64 SAL_CALL
getSomething( const ::com::sun::star::uno::Sequence
< sal_Int8
>& aIdentifier
) throw(::com::sun::star::uno::RuntimeException
);
303 virtual ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Any
> SAL_CALL
getData( ) throw (::com::sun::star::uno::RuntimeException
);
304 virtual OUString SAL_CALL
getSourceRangeRepresentation( ) throw (::com::sun::star::uno::RuntimeException
);
305 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
generateLabel( ::com::sun::star::chart2::data::LabelOrigin eLabelOrigin
) throw (::com::sun::star::uno::RuntimeException
);
306 virtual ::sal_Int32 SAL_CALL
getNumberFormatKeyByIndex( ::sal_Int32 nIndex
) throw (::com::sun::star::lang::IndexOutOfBoundsException
, ::com::sun::star::uno::RuntimeException
);
308 // XTextualDataSequence
309 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getTextualData( ) throw (::com::sun::star::uno::RuntimeException
);
311 // XNumericalDataSequence
312 virtual ::com::sun::star::uno::Sequence
< double > SAL_CALL
getNumericalData( ) throw (::com::sun::star::uno::RuntimeException
);
315 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::util::XCloneable
> SAL_CALL
createClone( ) throw (::com::sun::star::uno::RuntimeException
);
318 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertySetInfo
> SAL_CALL
getPropertySetInfo( ) throw (::com::sun::star::uno::RuntimeException
);
319 virtual void SAL_CALL
setPropertyValue( const OUString
& aPropertyName
, const ::com::sun::star::uno::Any
& aValue
) throw (::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::beans::PropertyVetoException
, ::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
320 virtual ::com::sun::star::uno::Any SAL_CALL
getPropertyValue( const OUString
& PropertyName
) throw (::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
321 virtual void SAL_CALL
addPropertyChangeListener( const OUString
& aPropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertyChangeListener
>& xListener
) throw (::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
322 virtual void SAL_CALL
removePropertyChangeListener( const OUString
& aPropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertyChangeListener
>& aListener
) throw (::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
323 virtual void SAL_CALL
addVetoableChangeListener( const OUString
& PropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XVetoableChangeListener
>& aListener
) throw (::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
324 virtual void SAL_CALL
removeVetoableChangeListener( const OUString
& PropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XVetoableChangeListener
>& aListener
) throw (::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
327 virtual OUString SAL_CALL
getImplementationName( ) throw (::com::sun::star::uno::RuntimeException
);
328 virtual sal_Bool SAL_CALL
supportsService( const OUString
& ServiceName
) throw (::com::sun::star::uno::RuntimeException
);
329 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException
);
332 virtual ::sal_Bool SAL_CALL
isModified( ) throw (::com::sun::star::uno::RuntimeException
);
333 virtual void SAL_CALL
setModified( ::sal_Bool bModified
) throw (::com::sun::star::beans::PropertyVetoException
, ::com::sun::star::uno::RuntimeException
);
335 // XModifyBroadcaster
336 virtual void SAL_CALL
addModifyListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::util::XModifyListener
>& aListener
) throw (::com::sun::star::uno::RuntimeException
);
337 virtual void SAL_CALL
removeModifyListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::util::XModifyListener
>& aListener
) throw (::com::sun::star::uno::RuntimeException
);
340 virtual void SAL_CALL
disposing( const ::com::sun::star::lang::EventObject
& Source
) throw (::com::sun::star::uno::RuntimeException
);
343 virtual void SAL_CALL
dispose( ) throw (::com::sun::star::uno::RuntimeException
);
344 virtual void SAL_CALL
addEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& xListener
) throw (::com::sun::star::uno::RuntimeException
);
345 virtual void SAL_CALL
removeEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& aListener
) throw (::com::sun::star::uno::RuntimeException
);
347 SwFrmFmt
* GetFrmFmt() const { return (SwFrmFmt
*)GetRegisteredIn(); }
348 sal_Bool
DeleteBox( const SwTableBox
&rBox
);
350 void FillRangeDesc( SwRangeDescriptor
&rRangeDesc
) const;
351 bool ExtendTo( bool bExtendCol
, sal_Int32 nFirstNew
, sal_Int32 nCount
);
354 //////////////////////////////////////////////////////////////////////
356 typedef cppu::WeakImplHelper4
358 ::com::sun::star::chart2::data::XLabeledDataSequence2
,
359 ::com::sun::star::lang::XServiceInfo
,
360 ::com::sun::star::util::XModifyListener
,
361 ::com::sun::star::lang::XComponent
363 SwChartLabeledDataSequenceBaseClass
;
365 class SwChartLabeledDataSequence
:
366 public SwChartLabeledDataSequenceBaseClass
368 ::cppu::OInterfaceContainerHelper aEvtListeners
;
369 ::cppu::OInterfaceContainerHelper aModifyListeners
;
371 ::com::sun::star::uno::Reference
<
372 ::com::sun::star::chart2::data::XDataSequence
> xData
;
373 ::com::sun::star::uno::Reference
<
374 ::com::sun::star::chart2::data::XDataSequence
> xLabels
;
378 // disallow use of c-tor and assignment operator
379 SwChartLabeledDataSequence( const SwChartLabeledDataSequence
& );
380 SwChartLabeledDataSequence
& operator = ( const SwChartLabeledDataSequence
& );
382 void SetDataSequence( ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
>& rxDest
, const ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
>& rxSource
);
386 SwChartLabeledDataSequence();
387 virtual ~SwChartLabeledDataSequence();
389 // XLabeledDataSequence
390 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
> SAL_CALL
getValues( ) throw (::com::sun::star::uno::RuntimeException
);
391 virtual void SAL_CALL
setValues( const ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
>& xSequence
) throw (::com::sun::star::uno::RuntimeException
);
392 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
> SAL_CALL
getLabel( ) throw (::com::sun::star::uno::RuntimeException
);
393 virtual void SAL_CALL
setLabel( const ::com::sun::star::uno::Reference
< ::com::sun::star::chart2::data::XDataSequence
>& xSequence
) throw (::com::sun::star::uno::RuntimeException
);
396 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::util::XCloneable
> SAL_CALL
createClone( ) throw (::com::sun::star::uno::RuntimeException
);
399 virtual OUString SAL_CALL
getImplementationName( ) throw (::com::sun::star::uno::RuntimeException
);
400 virtual sal_Bool SAL_CALL
supportsService( const OUString
& ServiceName
) throw (::com::sun::star::uno::RuntimeException
);
401 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException
);
404 virtual void SAL_CALL
disposing( const ::com::sun::star::lang::EventObject
& Source
) throw (::com::sun::star::uno::RuntimeException
);
407 virtual void SAL_CALL
modified( const ::com::sun::star::lang::EventObject
& aEvent
) throw (::com::sun::star::uno::RuntimeException
);
409 // XModifyBroadcaster
410 virtual void SAL_CALL
addModifyListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::util::XModifyListener
>& aListener
) throw (::com::sun::star::uno::RuntimeException
);
411 virtual void SAL_CALL
removeModifyListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::util::XModifyListener
>& aListener
) throw (::com::sun::star::uno::RuntimeException
);
414 virtual void SAL_CALL
dispose( ) throw (::com::sun::star::uno::RuntimeException
);
415 virtual void SAL_CALL
addEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& xListener
) throw (::com::sun::star::uno::RuntimeException
);
416 virtual void SAL_CALL
removeEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& aListener
) throw (::com::sun::star::uno::RuntimeException
);
419 //////////////////////////////////////////////////////////////////////
423 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */