LibreOffice Module sw (master)  1
unoframe.hxx
Go to the documentation of this file.
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 INCLUDED_SW_INC_UNOFRAME_HXX
20 #define INCLUDED_SW_INC_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/document/XEventsSupplier.hpp>
30 
31 #include <cppuhelper/implbase.hxx>
32 #include <svl/listener.hxx>
33 
34 #include "flyenum.hxx"
35 #include "frmfmt.hxx"
36 #include "unotext.hxx"
37 
38 #include <memory>
39 
40 class SdrObject;
41 class SwDoc;
42 class SwFormat;
43 class SfxItemPropertySet;
44 namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
45 
47 class SwXFrame : public cppu::WeakImplHelper
48 <
49  css::lang::XServiceInfo,
50  css::lang::XUnoTunnel,
51  css::beans::XPropertySet,
52  css::beans::XPropertyState,
53  css::drawing::XShape,
54  css::container::XNamed,
55  css::text::XTextContent
56 >,
57  public SwClient
58 {
59 private:
60  class Impl;
62 
65 
67 
68  // Descriptor-interface
69  std::unique_ptr<BaseFrameProperties_Impl> m_pProps;
71  OUString m_sName;
72 
73  std::unique_ptr<SwPaM> m_pCopySource;
74 
75  sal_Int64 m_nDrawAspect;
78  css::uno::Reference<css::text::XText> m_xParentText;
79 
80 protected:
81  css::uno::Reference< css::beans::XPropertySet > mxStyleData;
82  css::uno::Reference< css::container::XNameAccess > mxStyleFamily;
83  virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override;
84 
85  virtual ~SwXFrame() override;
86 
87  SwXFrame(FlyCntType eSet,
88  const SfxItemPropertySet* pPropSet,
89  SwDoc *pDoc ); //Descriptor-If
90  SwXFrame(SwFrameFormat& rFrameFormat, FlyCntType eSet,
91  const SfxItemPropertySet* pPropSet);
92 
93  template<class Interface, class Impl>
94  static css::uno::Reference<Interface>
95  CreateXFrame(SwDoc & rDoc, SwFrameFormat *const pFrameFormat);
96 
97 public:
98  static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
99 
100  //XUnoTunnel
101  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
102 
103 
104  //XNamed
105  virtual OUString SAL_CALL getName() override;
106  virtual void SAL_CALL setName(const OUString& Name_) override;
107 
108  //XPropertySet
109  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
110  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
111  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
112  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
113  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
114  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
115  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
116 
117  //XPropertyState
118  virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) override;
119  virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override;
120  virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override;
121  virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
122 
123  //XShape
124  virtual css::awt::Point SAL_CALL getPosition( ) override;
125  virtual void SAL_CALL setPosition( const css::awt::Point& aPosition ) override;
126  virtual css::awt::Size SAL_CALL getSize( ) override;
127  virtual void SAL_CALL setSize( const css::awt::Size& aSize ) override;
128 
129  //XShapeDescriptor
130  virtual OUString SAL_CALL getShapeType() override;
131 
132  //Base implementation
133  //XComponent
134  virtual void SAL_CALL dispose() override;
135  virtual void SAL_CALL addEventListener(const css::uno::Reference<css::lang::XEventListener>& xListener) override;
136  virtual void SAL_CALL removeEventListener(const css::uno::Reference<css::lang::XEventListener>& xListener) override;
137 
138  // XTextContent
139  virtual void SAL_CALL attach(const css::uno::Reference<css::text::XTextRange>& xTextRange) override;
140  virtual css::uno::Reference<css::text::XTextRange> SAL_CALL getAnchor() override;
141 
142  //XServiceInfo
143  virtual OUString SAL_CALL getImplementationName() override;
144  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
145  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
146 
149  void attachToRange(const css::uno::Reference< css::text::XTextRange > & xTextRange);
150 
152  {
153  return dynamic_cast<const SwFrameFormat*>( GetRegisteredIn() );
154  }
156  {
157  return dynamic_cast< SwFrameFormat*>( GetRegisteredIn() );
158  }
159  FlyCntType GetFlyCntType()const {return eType;}
160 
161  bool IsDescriptor() const {return bIsDescriptor;}
162  void ResetDescriptor();
163  //copy text from a given source PaM
164  void SetSelection(SwPaM& rCopySource);
166 };
167 
168 typedef cppu::WeakImplHelper
169 <
170  css::text::XTextFrame,
171  css::container::XEnumerationAccess,
172  css::document::XEventsSupplier
173 >
175 
176 class SwXTextFrame final : public SwXTextFrameBaseClass,
177  public SwXText,
178  public SwXFrame
179 {
180  friend class SwXFrame; // just for CreateXFrame
181 
182  virtual const SwStartNode *GetStartNode() const override;
183 
184  virtual css::uno::Reference< css::text::XTextCursor >
185  CreateCursor() override;
186 
187  virtual ~SwXTextFrame() override;
188 
189  SwXTextFrame(SwDoc *pDoc);
190  SwXTextFrame(SwFrameFormat& rFormat);
191 
192 public:
193  static SW_DLLPUBLIC css::uno::Reference<css::text::XTextFrame>
194  CreateXTextFrame(SwDoc & rDoc, SwFrameFormat * pFrameFormat);
195 
196  // FIXME: EVIL HACK: make available for SwXFrame::attachToRange
197  using SwXText::SetDoc;
198 
199  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
200  virtual void SAL_CALL acquire( ) throw() override;
201  virtual void SAL_CALL release( ) throw() override;
202 
203  //XTypeProvider
204  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
205  virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
206 
207  //XTextFrame
208  virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override;
209 
210  //XText
211  virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor() override;
212  virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange(const css::uno::Reference< css::text::XTextRange > & aTextPosition) override;
213 
214  //XEnumerationAccess - frueher XParagraphEnumerationAccess
215  virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override;
216 
217  //XElementAccess
218  virtual css::uno::Type SAL_CALL getElementType( ) override;
219  virtual sal_Bool SAL_CALL hasElements( ) override;
220 
221  //XTextContent
222  virtual void SAL_CALL attach( const css::uno::Reference< css::text::XTextRange >& xTextRange ) override;
223  virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor( ) override;
224 
225  //XComponent
226  virtual void SAL_CALL dispose( ) override;
227  virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) override;
228  virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) override;
229 
230  //XServiceInfo
231  virtual OUString SAL_CALL getImplementationName() override;
232  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
233  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
234 
235  // XEventsSupplier
236  virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents( ) override;
237 
238  //XUnoTunnel
239  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
240 
241  //XPropertySet
242  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
243 };
244 
245 typedef cppu::ImplInheritanceHelper
246 < SwXFrame,
247  css::document::XEventsSupplier
248 >
251 {
252  friend class SwXFrame; // just for CreateXFrame
253 
254  virtual ~SwXTextGraphicObject() override;
255 
256  SwXTextGraphicObject( SwDoc *pDoc );
258 
259 public:
260 
261  static css::uno::Reference<css::text::XTextContent>
262  CreateXTextGraphicObject(SwDoc & rDoc, SwFrameFormat * pFrameFormat);
263 
264  //XServiceInfo
265  virtual OUString SAL_CALL getImplementationName() override;
266  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
267  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
268 
269  // XEventsSupplier
270  virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents( ) override;
271 };
272 
273 typedef cppu::ImplInheritanceHelper
274 < SwXFrame,
275  css::document::XEmbeddedObjectSupplier2,
276  css::document::XEventsSupplier
278 
280 {
281  css::uno::Reference<css::util::XModifyListener> m_xOLEListener;
282 
283  friend class SwXFrame; // just for CreateXFrame
284 
285  virtual ~SwXTextEmbeddedObject() override;
286 
287  SwXTextEmbeddedObject( SwDoc *pDoc );
289 
290 public:
291 
292  static css::uno::Reference<css::text::XTextContent>
293  CreateXTextEmbeddedObject(SwDoc & rDoc, SwFrameFormat * pFrameFormat);
294 
295  //XEmbeddedObjectSupplier2
296  virtual css::uno::Reference< css::lang::XComponent > SAL_CALL getEmbeddedObject() override;
297  virtual css::uno::Reference< css::embed::XEmbeddedObject > SAL_CALL getExtendedControlOverEmbeddedObject() override;
298  virtual ::sal_Int64 SAL_CALL getAspect() override;
299  virtual void SAL_CALL setAspect( ::sal_Int64 _aspect ) override;
300  virtual css::uno::Reference< css::graphic::XGraphic > SAL_CALL getReplacementGraphic() override;
301 
302  //XServiceInfo
303  virtual OUString SAL_CALL getImplementationName() override;
304  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
305  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
306 
307  // XEventsSupplier
308  virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents( ) override;
309 };
310 
311 class SwXOLEListener : public cppu::WeakImplHelper<css::util::XModifyListener>, public SvtListener
312 {
314  css::uno::Reference<css::frame::XModel> m_xOLEModel;
315 
316 public:
317  SwXOLEListener(SwFormat& rOLEFormat, css::uno::Reference< css::frame::XModel > const & xOLE);
318  virtual ~SwXOLEListener() override;
319 
320 // css::lang::XEventListener
321  virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
322 
323 // css::util::XModifyListener
324  virtual void SAL_CALL modified( const css::lang::EventObject& aEvent ) override;
325 
326  virtual void Notify( const SfxHint& ) override;
327 };
328 
329 #endif
330 
331 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Starts a section of nodes in the document model.
Definition: node.hxx:303
Type
virtual OUString SAL_CALL getImplementationName() override
Definition: unoframe.cxx:1187
void SetDoc(SwDoc *const pDoc)
Definition: unotext.cxx:152
virtual void SAL_CALL setName(const OUString &Name_) override
Definition: unoframe.cxx:1318
virtual void SAL_CALL setSize(const css::awt::Size &aSize) override
Definition: unoframe.cxx:3125
void Notify(SwFlyFrame *pFly, SwPageFrame *pOld, const SwRect &rOld, const SwRect *pOldRect=nullptr)
Notify the background based on the difference between old and new rectangle.
Definition: frmtool.cxx:2924
void SetSelection(SwPaM &rCopySource)
Definition: unoframe.cxx:1365
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
Definition: unoframe.cxx:2377
signed char sal_Int8
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unoframe.cxx:2359
std::unique_ptr< BaseFrameProperties_Impl > m_pProps
Definition: unoframe.hxx:69
const SwFrameFormat * GetFrameFormat() const
Definition: unoframe.hxx:151
virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > &xTextRange) override
Definition: unoframe.cxx:3078
bool bIsDescriptor
Definition: unoframe.hxx:70
Definition: doc.hxx:185
SwFormat * m_pOLEFormat
Definition: unoframe.hxx:313
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
Definition: unoframe.cxx:3327
SwDoc * m_pDoc
Definition: unoframe.hxx:64
virtual void SAL_CALL acquire() override
Definition: unoframe.cxx:3159
virtual const SwStartNode * GetStartNode() const override
Definition: unoframe.cxx:3198
virtual void SAL_CALL dispose() override
Definition: unoframe.cxx:3316
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
Definition: unoframe.cxx:2470
static css::uno::Reference< Interface > CreateXFrame(SwDoc &rDoc, SwFrameFormat *const pFrameFormat)
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor() override
Definition: unoframe.cxx:3219
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unoframe.cxx:3342
void ResetDescriptor()
Definition: unoframe.cxx:2669
virtual css::awt::Size SAL_CALL getSize() override
Definition: unoframe.cxx:3118
css::uno::Reference< css::container::XNameAccess > mxStyleFamily
Definition: unoframe.hxx:82
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unoframe.cxx:1197
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unoframe.cxx:3366
virtual ~SwXFrame() override
Definition: unoframe.cxx:1273
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unoframe.cxx:1192
css::uno::Reference< css::beans::XPropertySet > mxStyleData
Definition: unoframe.hxx:81
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override
Definition: unoframe.cxx:3193
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override
Definition: unoframe.cxx:2648
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unoframe.cxx:3337
virtual void SAL_CALL release() override
Definition: unoframe.cxx:3164
std::unique_ptr< T, UnoImplPtrDeleter< T > > UnoImplPtr
Smart pointer class ensuring that the pointed object is deleted with a locked SolarMutex.
Base class for various Writer styles.
Definition: format.hxx:43
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
Definition: unoframe.cxx:3188
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unoframe.cxx:3169
css::uno::Reference< css::text::XText > m_xParentText
Definition: unoframe.hxx:78
FlyCntType GetFlyCntType() const
Definition: unoframe.hxx:159
PaM is Point and Mark: a selection of the document model.
Definition: pam.hxx:136
Style of a layout element.
Definition: frmfmt.hxx:57
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unoframe.cxx:3295
virtual css::uno::Reference< css::text::XTextCursor > CreateCursor() override
Definition: unoframe.cxx:3214
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents() override
Definition: unoframe.cxx:3352
virtual OUString SAL_CALL getImplementationName() override
Definition: unoframe.cxx:3332
FlyCntType
Definition: flyenum.hxx:23
virtual css::awt::Point SAL_CALL getPosition() override
Definition: unoframe.cxx:3102
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unoframe.cxx:2371
std::unique_ptr< SwPaM > m_pCopySource
Definition: unoframe.hxx:73
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: unoframe.cxx:3179
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
Definition: unoframe.cxx:2562
static SW_DLLPUBLIC SdrObject * GetOrCreateSdrObject(SwFlyFrameFormat &rFormat)
Definition: unoframe.cxx:1372
unsigned char sal_Bool
SwFrameFormat * GetFrameFormat()
Definition: unoframe.hxx:155
css::uno::Reference< css::util::XModifyListener > m_xOLEListener
Definition: unoframe.hxx:281
virtual ~SwXTextFrame() override
Definition: unoframe.cxx:3149
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange(const css::uno::Reference< css::text::XTextRange > &aTextPosition) override
Definition: unoframe.cxx:3261
const FlyCntType eType
Definition: unoframe.hxx:66
cppu::ImplInheritanceHelper< SwXFrame, css::document::XEmbeddedObjectSupplier2, css::document::XEventsSupplier > SwXTextEmbeddedObjectBaseClass
Definition: unoframe.hxx:277
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
virtual void Modify(const SfxPoolItem *pOld, const SfxPoolItem *pNew) override
Definition: unoframe.cxx:2600
virtual void SAL_CALL setPosition(const css::awt::Point &aPosition) override
Definition: unoframe.cxx:3110
const SfxItemPropertySet * m_pPropSet
Definition: unoframe.hxx:63
css::uno::Reference< css::frame::XModel > m_xOLEModel
Definition: unoframe.hxx:314
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
Definition: unoframe.cxx:3283
friend class SwXFrame
Definition: unoframe.hxx:180
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unoframe.cxx:2353
virtual OUString SAL_CALL getShapeType() override
Definition: unoframe.cxx:3131
virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > &xTextRange) override
Definition: unoframe.cxx:3305
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
Definition: unoframe.cxx:1175
sal_Int64 m_nVisibleAreaWidth
Definition: unoframe.hxx:76
bool IsDescriptor() const
Definition: unoframe.hxx:161
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
Definition: unoframe.cxx:3357
SwXFrame(FlyCntType eSet, const SfxItemPropertySet *pPropSet, SwDoc *pDoc)
sal_Int64 m_nVisibleAreaHeight
Definition: unoframe.hxx:77
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unoframe.cxx:2365
cppu::WeakImplHelper< css::text::XTextFrame, css::container::XEnumerationAccess, css::document::XEventsSupplier > SwXTextFrameBaseClass
Definition: unoframe.hxx:174
const SwModify * GetRegisteredIn() const
Definition: calbck.hxx:157
static SW_DLLPUBLIC css::uno::Reference< css::text::XTextFrame > CreateXTextFrame(SwDoc &rDoc, SwFrameFormat *pFrameFormat)
Definition: unoframe.cxx:3154
::sw::UnoImplPtr< Impl > m_pImpl
Definition: unoframe.hxx:60
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unoframe.cxx:1336
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
Definition: unoframe.cxx:3322
cppu::ImplInheritanceHelper< SwXFrame, css::document::XEventsSupplier > SwXTextGraphicObjectBaseClass
Definition: unoframe.hxx:249
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId()
Definition: unoframe.cxx:1170
virtual void SAL_CALL dispose() override
Definition: unoframe.cxx:2619
void attachToRange(const css::uno::Reference< css::text::XTextRange > &xTextRange)
Definition: unoframe.cxx:2677
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unoframe.cxx:1983
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
Definition: unoframe.cxx:2586
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override
Definition: unoframe.cxx:3310
OUString m_sName
Definition: unoframe.hxx:71
SwXTextFrame(SwDoc *pDoc)
Definition: unoframe.cxx:3136
sal_Int64 m_nDrawAspect
Definition: unoframe.hxx:75
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
Definition: unoframe.cxx:2593
virtual sal_Bool SAL_CALL hasElements() override
Definition: unoframe.cxx:3300
virtual OUString SAL_CALL getName() override
Definition: unoframe.cxx:1307
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
Definition: unoframe.cxx:2385
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unoframe.cxx:1415