Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
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 .
18 : */
19 : #ifndef _UNOFRAME_HXX
20 : #define _UNOFRAME_HXX
21 :
22 : #include <com/sun/star/beans/XPropertyState.hpp>
23 : #include <com/sun/star/container/XNamed.hpp>
24 : #include <com/sun/star/container/XEnumerationAccess.hpp>
25 : #include <com/sun/star/document/XEmbeddedObjectSupplier2.hpp>
26 : #include <com/sun/star/text/XTextFrame.hpp>
27 : #include <com/sun/star/drawing/XShape.hpp>
28 : #include <com/sun/star/util/XModifyListener.hpp>
29 : #include <com/sun/star/frame/XModel.hpp>
30 : #include <com/sun/star/document/XEventsSupplier.hpp>
31 :
32 : #include <cppuhelper/implbase1.hxx>
33 : #include <cppuhelper/implbase3.hxx>
34 : #include <cppuhelper/implbase6.hxx>
35 :
36 : #include <sfx2/objsh.hxx>
37 :
38 : #include <flyenum.hxx>
39 : #include <frmfmt.hxx>
40 : #include <unoevtlstnr.hxx>
41 : #include <unotext.hxx>
42 :
43 : class SdrObject;
44 : class SwDoc;
45 : class SwFmt;
46 : class SwFlyFrmFmt;
47 :
48 : class BaseFrameProperties_Impl;
49 : class SwXFrame : public cppu::WeakImplHelper6
50 : <
51 : ::com::sun::star::lang::XServiceInfo,
52 : ::com::sun::star::beans::XPropertySet,
53 : ::com::sun::star::beans::XPropertyState,
54 : ::com::sun::star::drawing::XShape,
55 : ::com::sun::star::container::XNamed,
56 : ::com::sun::star::lang::XUnoTunnel
57 : >,
58 : public SwClient
59 : {
60 : SwEventListenerContainer aLstnrCntnr;
61 : const SfxItemPropertySet* m_pPropSet;
62 : SwDoc* m_pDoc;
63 :
64 : const FlyCntType eType;
65 :
66 : // Descriptor-interface
67 : BaseFrameProperties_Impl* pProps;
68 : bool bIsDescriptor;
69 : String sName;
70 :
71 : SwPaM* m_pCopySource;
72 :
73 : protected:
74 : com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxStyleData;
75 : com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > mxStyleFamily;
76 : virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew);
77 :
78 : virtual ~SwXFrame();
79 : public:
80 : SwXFrame(FlyCntType eSet,
81 : const SfxItemPropertySet* pPropSet,
82 : SwDoc *pDoc ); //Descriptor-If
83 : SwXFrame(SwFrmFmt& rFrmFmt, FlyCntType eSet,
84 : const SfxItemPropertySet* pPropSet);
85 :
86 :
87 : static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId();
88 :
89 : //XUnoTunnel
90 : virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
91 :
92 : TYPEINFO();
93 :
94 : //XNamed
95 : virtual rtl::OUString SAL_CALL getName(void) throw( ::com::sun::star::uno::RuntimeException );
96 : virtual void SAL_CALL setName(const rtl::OUString& Name_) throw( ::com::sun::star::uno::RuntimeException );
97 :
98 : //XPropertySet
99 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
100 : virtual void SAL_CALL setPropertyValue( const ::rtl::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);
101 : virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
102 : virtual void SAL_CALL addPropertyChangeListener( const ::rtl::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);
103 : virtual void SAL_CALL removePropertyChangeListener( const ::rtl::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);
104 : virtual void SAL_CALL addVetoableChangeListener( const ::rtl::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);
105 : virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::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);
106 :
107 : //XPropertyState
108 : virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
109 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
110 : virtual void SAL_CALL setPropertyToDefault( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
111 : virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const ::rtl::OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
112 :
113 : //XShape
114 : virtual ::com::sun::star::awt::Point SAL_CALL getPosition( ) throw(::com::sun::star::uno::RuntimeException);
115 : virtual void SAL_CALL setPosition( const ::com::sun::star::awt::Point& aPosition ) throw(::com::sun::star::uno::RuntimeException);
116 : virtual ::com::sun::star::awt::Size SAL_CALL getSize( ) throw(::com::sun::star::uno::RuntimeException);
117 : virtual void SAL_CALL setSize( const ::com::sun::star::awt::Size& aSize ) throw(::com::sun::star::beans::PropertyVetoException, ::com::sun::star::uno::RuntimeException);
118 :
119 : //XShapeDescriptor
120 : virtual rtl::OUString SAL_CALL getShapeType(void) throw( ::com::sun::star::uno::RuntimeException );
121 :
122 : //Base implementation
123 : //XComponent
124 : virtual void SAL_CALL dispose( ) throw(::com::sun::star::uno::RuntimeException);
125 : virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw(::com::sun::star::uno::RuntimeException);
126 : virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) throw(::com::sun::star::uno::RuntimeException);
127 :
128 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getAnchor(void) throw( ::com::sun::star::uno::RuntimeException );
129 :
130 : //XServiceInfo
131 : virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
132 : virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
133 : virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
134 :
135 : void attachToRange(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange)throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException );
136 : void attach( const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange >& xTextRange ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
137 :
138 2045 : SwFrmFmt* GetFrmFmt() const
139 : {
140 2045 : return PTR_CAST ( SwFrmFmt, GetRegisteredIn() );
141 : }
142 0 : FlyCntType GetFlyCntType()const {return eType;}
143 :
144 1976 : bool IsDescriptor() const {return bIsDescriptor;}
145 : void ResetDescriptor();
146 : //copy text from a given source PaM
147 : void SetSelection(SwPaM& rCopySource);
148 : static SW_DLLPUBLIC SdrObject *GetOrCreateSdrObject( SwFlyFrmFmt *pFmt );
149 : };
150 :
151 : typedef cppu::WeakImplHelper3
152 : <
153 : ::com::sun::star::text::XTextFrame,
154 : ::com::sun::star::container::XEnumerationAccess,
155 : ::com::sun::star::document::XEventsSupplier
156 : >
157 : SwXTextFrameBaseClass;
158 :
159 : class SwXTextFrame : public SwXTextFrameBaseClass,
160 : public SwXText,
161 : public SwXFrame
162 : {
163 : protected:
164 : virtual const SwStartNode *GetStartNode() const;
165 :
166 : virtual ::com::sun::star::uno::Reference<
167 : ::com::sun::star::text::XTextCursor >
168 : CreateCursor()
169 : throw (::com::sun::star::uno::RuntimeException);
170 :
171 : virtual ~SwXTextFrame();
172 : public:
173 : SwXTextFrame(SwDoc *pDoc);
174 : SwXTextFrame(SwFrmFmt& rFmt);
175 :
176 : // FIXME: EVIL HACK: make available for SwXFrame::attachToRange
177 27 : void SetDoc(SwDoc *const pDoc) { SwXText::SetDoc(pDoc); };
178 :
179 : virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException);
180 : virtual void SAL_CALL acquire( ) throw();
181 : virtual void SAL_CALL release( ) throw();
182 :
183 : //XTypeProvider
184 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException);
185 : virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
186 :
187 : //XTextFrame
188 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > SAL_CALL getText(void) throw( ::com::sun::star::uno::RuntimeException );
189 :
190 : //XText
191 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > SAL_CALL createTextCursor(void) throw( ::com::sun::star::uno::RuntimeException );
192 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > SAL_CALL createTextCursorByRange(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & aTextPosition) throw( ::com::sun::star::uno::RuntimeException );
193 :
194 : //XEnumerationAccess - frueher XParagraphEnumerationAccess
195 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL createEnumeration(void) throw( ::com::sun::star::uno::RuntimeException );
196 :
197 : //XElementAccess
198 : virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw(::com::sun::star::uno::RuntimeException);
199 : virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException);
200 :
201 : //XTextContent
202 : virtual void SAL_CALL attach( const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange >& xTextRange ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
203 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getAnchor( ) throw(::com::sun::star::uno::RuntimeException);
204 :
205 : //XComponent
206 : virtual void SAL_CALL dispose( ) throw(::com::sun::star::uno::RuntimeException);
207 : virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw(::com::sun::star::uno::RuntimeException);
208 : virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) throw(::com::sun::star::uno::RuntimeException);
209 :
210 : //XServiceInfo
211 : virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
212 : virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
213 : virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
214 :
215 : // XEventsSupplier
216 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > SAL_CALL getEvents( ) throw(::com::sun::star::uno::RuntimeException);
217 :
218 : //XUnoTunnel
219 : virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
220 :
221 : //XPropertySet
222 : virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
223 :
224 : void * SAL_CALL operator new( size_t ) throw();
225 : void SAL_CALL operator delete( void * ) throw();
226 : };
227 :
228 : typedef cppu::WeakImplHelper2
229 : <
230 : ::com::sun::star::text::XTextContent,
231 : ::com::sun::star::document::XEventsSupplier
232 : >
233 : SwXTextGraphicObjectBaseClass;
234 : class SwXTextGraphicObject : public SwXTextGraphicObjectBaseClass,
235 : public SwXFrame
236 : {
237 : protected:
238 : virtual ~SwXTextGraphicObject();
239 : public:
240 : SwXTextGraphicObject( SwDoc *pDoc );
241 : SwXTextGraphicObject(SwFrmFmt& rFmt);
242 :
243 :
244 : virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException);
245 : virtual void SAL_CALL acquire( ) throw();
246 : virtual void SAL_CALL release( ) throw();
247 :
248 : //XTypeProvider
249 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException);
250 : virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
251 :
252 : //XTextContent
253 : virtual void SAL_CALL attach(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException );
254 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getAnchor(void) throw( ::com::sun::star::uno::RuntimeException );
255 :
256 : //XComponent
257 : virtual void SAL_CALL dispose(void) throw( ::com::sun::star::uno::RuntimeException );
258 : virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw( ::com::sun::star::uno::RuntimeException );
259 : virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw( ::com::sun::star::uno::RuntimeException );
260 :
261 : //XServiceInfo
262 : virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
263 : virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
264 : virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
265 :
266 : // XEventsSupplier
267 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > SAL_CALL getEvents( ) throw(::com::sun::star::uno::RuntimeException);
268 : void * SAL_CALL operator new( size_t ) throw();
269 : void SAL_CALL operator delete( void * ) throw();
270 : };
271 :
272 : class SwOLENode;
273 : typedef cppu::WeakImplHelper3
274 : <
275 : ::com::sun::star::text::XTextContent,
276 : ::com::sun::star::document::XEmbeddedObjectSupplier2,
277 : ::com::sun::star::document::XEventsSupplier
278 : >SwXTextEmbeddedObjectBaseClass;
279 :
280 : class SwXTextEmbeddedObject : public SwXTextEmbeddedObjectBaseClass,
281 : public SwXFrame
282 : {
283 : protected:
284 : virtual ~SwXTextEmbeddedObject();
285 :
286 : public:
287 : SwXTextEmbeddedObject( SwDoc *pDoc );
288 : SwXTextEmbeddedObject(SwFrmFmt& rFmt);
289 :
290 :
291 : virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException);
292 : virtual void SAL_CALL acquire( ) throw();
293 : virtual void SAL_CALL release( ) throw();
294 :
295 : //XTypeProvider
296 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException);
297 : virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
298 :
299 : //XTextContent
300 : virtual void SAL_CALL attach(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException );
301 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getAnchor(void) throw( ::com::sun::star::uno::RuntimeException );
302 :
303 : //XComponent
304 : virtual void SAL_CALL dispose(void) throw( ::com::sun::star::uno::RuntimeException );
305 : virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw( ::com::sun::star::uno::RuntimeException );
306 : virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw( ::com::sun::star::uno::RuntimeException );
307 :
308 : //XEmbeddedObjectSupplier2
309 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > SAL_CALL getEmbeddedObject(void) throw( ::com::sun::star::uno::RuntimeException );
310 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject > SAL_CALL getExtendedControlOverEmbeddedObject(void) throw( ::com::sun::star::uno::RuntimeException );
311 : virtual ::sal_Int64 SAL_CALL getAspect() throw (::com::sun::star::uno::RuntimeException);
312 : virtual void SAL_CALL setAspect( ::sal_Int64 _aspect ) throw (::com::sun::star::uno::RuntimeException);
313 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > SAL_CALL getReplacementGraphic() throw (::com::sun::star::uno::RuntimeException);
314 :
315 : //XServiceInfo
316 : virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
317 : virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
318 : virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
319 :
320 : // XEventsSupplier
321 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > SAL_CALL getEvents( ) throw(::com::sun::star::uno::RuntimeException);
322 : void * SAL_CALL operator new( size_t ) throw();
323 : void SAL_CALL operator delete( void * ) throw();
324 : };
325 :
326 :
327 :
328 : class SwXOLEListener : public cppu::WeakImplHelper1
329 : <
330 : ::com::sun::star::util::XModifyListener
331 : >,
332 : public SwClient
333 : {
334 : ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > xOLEModel;
335 :
336 0 : SwFmt* GetFmt() const { return (SwFmt*)GetRegisteredIn(); }
337 : public:
338 : SwXOLEListener(SwFmt& rOLEFmt, ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > xOLE);
339 : ~SwXOLEListener();
340 : TYPEINFO();
341 :
342 : // ::com::sun::star::lang::XEventListener
343 : virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException);
344 :
345 : // ::com::sun::star::util::XModifyListener
346 : virtual void SAL_CALL modified( const ::com::sun::star::lang::EventObject& aEvent ) throw(::com::sun::star::uno::RuntimeException);
347 :
348 : protected:
349 : virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew);
350 : };
351 :
352 :
353 :
354 : #endif
355 :
356 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|