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 
79 protected:
80  css::uno::Reference< css::beans::XPropertySet > mxStyleData;
81  css::uno::Reference< css::container::XNameAccess > mxStyleFamily;
82  virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override;
83 
84  virtual ~SwXFrame() override;
85 
86  SwXFrame(FlyCntType eSet,
87  const SfxItemPropertySet* pPropSet,
88  SwDoc *pDoc ); //Descriptor-If
89  SwXFrame(SwFrameFormat& rFrameFormat, FlyCntType eSet,
90  const SfxItemPropertySet* pPropSet);
91 
92  template<class Interface, class Impl>
93  static css::uno::Reference<Interface>
94  CreateXFrame(SwDoc & rDoc, SwFrameFormat *const pFrameFormat);
95 
96 public:
97  static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
98 
99  //XUnoTunnel
100  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
101 
102 
103  //XNamed
104  virtual OUString SAL_CALL getName() override;
105  virtual void SAL_CALL setName(const OUString& Name_) override;
106 
107  //XPropertySet
108  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
109  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
110  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
111  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
112  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
113  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
114  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
115 
116  //XPropertyState
117  virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) override;
118  virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override;
119  virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override;
120  virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
121 
122  //XShape
123  virtual css::awt::Point SAL_CALL getPosition( ) override;
124  virtual void SAL_CALL setPosition( const css::awt::Point& aPosition ) override;
125  virtual css::awt::Size SAL_CALL getSize( ) override;
126  virtual void SAL_CALL setSize( const css::awt::Size& aSize ) override;
127 
128  //XShapeDescriptor
129  virtual OUString SAL_CALL getShapeType() override;
130 
131  //Base implementation
132  //XComponent
133  virtual void SAL_CALL dispose() override;
134  virtual void SAL_CALL addEventListener(const css::uno::Reference<css::lang::XEventListener>& xListener) override;
135  virtual void SAL_CALL removeEventListener(const css::uno::Reference<css::lang::XEventListener>& xListener) override;
136 
137  // XTextContent
138  virtual void SAL_CALL attach(const css::uno::Reference<css::text::XTextRange>& xTextRange) override;
139  virtual css::uno::Reference<css::text::XTextRange> SAL_CALL getAnchor() override;
140 
141  //XServiceInfo
142  virtual OUString SAL_CALL getImplementationName() override;
143  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
144  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
145 
148  void attachToRange(const css::uno::Reference< css::text::XTextRange > & xTextRange);
149 
151  {
152  return dynamic_cast<const SwFrameFormat*>( GetRegisteredIn() );
153  }
155  {
156  return dynamic_cast< SwFrameFormat*>( GetRegisteredIn() );
157  }
158  FlyCntType GetFlyCntType()const {return eType;}
159 
160  bool IsDescriptor() const {return bIsDescriptor;}
161  void ResetDescriptor();
162  //copy text from a given source PaM
163  void SetSelection(SwPaM& rCopySource);
165 };
166 
167 typedef cppu::WeakImplHelper
168 <
169  css::text::XTextFrame,
170  css::container::XEnumerationAccess,
171  css::document::XEventsSupplier
172 >
174 
175 class SwXTextFrame final : public SwXTextFrameBaseClass,
176  public SwXText,
177  public SwXFrame
178 {
179  friend class SwXFrame; // just for CreateXFrame
180 
181  virtual const SwStartNode *GetStartNode() const override;
182 
183  virtual css::uno::Reference< css::text::XTextCursor >
184  CreateCursor() override;
185 
186  virtual ~SwXTextFrame() override;
187 
188  SwXTextFrame(SwDoc *pDoc);
189  SwXTextFrame(SwFrameFormat& rFormat);
190 
191 public:
192  static SW_DLLPUBLIC css::uno::Reference<css::text::XTextFrame>
193  CreateXTextFrame(SwDoc & rDoc, SwFrameFormat * pFrameFormat);
194 
195  // FIXME: EVIL HACK: make available for SwXFrame::attachToRange
196  using SwXText::SetDoc;
197 
198  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
199  virtual void SAL_CALL acquire( ) throw() override;
200  virtual void SAL_CALL release( ) throw() override;
201 
202  //XTypeProvider
203  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
204  virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
205 
206  //XTextFrame
207  virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override;
208 
209  //XText
210  virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor() override;
211  virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange(const css::uno::Reference< css::text::XTextRange > & aTextPosition) override;
212 
213  //XEnumerationAccess - frueher XParagraphEnumerationAccess
214  virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override;
215 
216  //XElementAccess
217  virtual css::uno::Type SAL_CALL getElementType( ) override;
218  virtual sal_Bool SAL_CALL hasElements( ) override;
219 
220  //XTextContent
221  virtual void SAL_CALL attach( const css::uno::Reference< css::text::XTextRange >& xTextRange ) override;
222  virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor( ) override;
223 
224  //XComponent
225  virtual void SAL_CALL dispose( ) override;
226  virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) override;
227  virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) override;
228 
229  //XServiceInfo
230  virtual OUString SAL_CALL getImplementationName() override;
231  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
232  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
233 
234  // XEventsSupplier
235  virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents( ) override;
236 
237  //XUnoTunnel
238  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
239 
240  //XPropertySet
241  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
242 };
243 
244 typedef cppu::ImplInheritanceHelper
245 < SwXFrame,
246  css::document::XEventsSupplier
247 >
250 {
251  friend class SwXFrame; // just for CreateXFrame
252 
253  virtual ~SwXTextGraphicObject() override;
254 
255  SwXTextGraphicObject( SwDoc *pDoc );
257 
258 public:
259 
260  static css::uno::Reference<css::text::XTextContent>
261  CreateXTextGraphicObject(SwDoc & rDoc, SwFrameFormat * pFrameFormat);
262 
263  //XServiceInfo
264  virtual OUString SAL_CALL getImplementationName() override;
265  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
266  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
267 
268  // XEventsSupplier
269  virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents( ) override;
270 };
271 
272 typedef cppu::ImplInheritanceHelper
273 < SwXFrame,
274  css::document::XEmbeddedObjectSupplier2,
275  css::document::XEventsSupplier
277 
279 {
280  css::uno::Reference<css::util::XModifyListener> m_xOLEListener;
281 
282  friend class SwXFrame; // just for CreateXFrame
283 
284  virtual ~SwXTextEmbeddedObject() override;
285 
286  SwXTextEmbeddedObject( SwDoc *pDoc );
288 
289 public:
290 
291  static css::uno::Reference<css::text::XTextContent>
292  CreateXTextEmbeddedObject(SwDoc & rDoc, SwFrameFormat * pFrameFormat);
293 
294  //XEmbeddedObjectSupplier2
295  virtual css::uno::Reference< css::lang::XComponent > SAL_CALL getEmbeddedObject() override;
296  virtual css::uno::Reference< css::embed::XEmbeddedObject > SAL_CALL getExtendedControlOverEmbeddedObject() override;
297  virtual ::sal_Int64 SAL_CALL getAspect() override;
298  virtual void SAL_CALL setAspect( ::sal_Int64 _aspect ) override;
299  virtual css::uno::Reference< css::graphic::XGraphic > SAL_CALL getReplacementGraphic() override;
300 
301  //XServiceInfo
302  virtual OUString SAL_CALL getImplementationName() override;
303  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
304  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
305 
306  // XEventsSupplier
307  virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents( ) override;
308 };
309 
310 class SwXOLEListener : public cppu::WeakImplHelper<css::util::XModifyListener>, public SvtListener
311 {
313  css::uno::Reference<css::frame::XModel> m_xOLEModel;
314 
315 public:
316  SwXOLEListener(SwFormat& rOLEFormat, css::uno::Reference< css::frame::XModel > const & xOLE);
317  virtual ~SwXOLEListener() override;
318 
319 // css::lang::XEventListener
320  virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
321 
322 // css::util::XModifyListener
323  virtual void SAL_CALL modified( const css::lang::EventObject& aEvent ) override;
324 
325  virtual void Notify( const SfxHint& ) override;
326 };
327 
328 #endif
329 
330 /* 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:1185
void SetDoc(SwDoc *const pDoc)
Definition: unotext.cxx:152
virtual void SAL_CALL setName(const OUString &Name_) override
Definition: unoframe.cxx:1316
virtual void SAL_CALL setSize(const css::awt::Size &aSize) override
Definition: unoframe.cxx:3081
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:2921
void SetSelection(SwPaM &rCopySource)
Definition: unoframe.cxx:1363
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
Definition: unoframe.cxx:2334
signed char sal_Int8
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unoframe.cxx:2316
std::unique_ptr< BaseFrameProperties_Impl > m_pProps
Definition: unoframe.hxx:69
const SwFrameFormat * GetFrameFormat() const
Definition: unoframe.hxx:150
virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > &xTextRange) override
Definition: unoframe.cxx:3036
bool bIsDescriptor
Definition: unoframe.hxx:70
Definition: doc.hxx:185
SwFormat * m_pOLEFormat
Definition: unoframe.hxx:312
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
Definition: unoframe.cxx:3283
SwDoc * m_pDoc
Definition: unoframe.hxx:64
virtual void SAL_CALL acquire() override
Definition: unoframe.cxx:3115
virtual const SwStartNode * GetStartNode() const override
Definition: unoframe.cxx:3154
virtual void SAL_CALL dispose() override
Definition: unoframe.cxx:3272
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
Definition: unoframe.cxx:2428
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:3175
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unoframe.cxx:3298
void ResetDescriptor()
Definition: unoframe.cxx:2627
virtual css::awt::Size SAL_CALL getSize() override
Definition: unoframe.cxx:3074
css::uno::Reference< css::container::XNameAccess > mxStyleFamily
Definition: unoframe.hxx:81
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unoframe.cxx:1195
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unoframe.cxx:3322
virtual ~SwXFrame() override
Definition: unoframe.cxx:1271
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unoframe.cxx:1190
css::uno::Reference< css::beans::XPropertySet > mxStyleData
Definition: unoframe.hxx:80
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override
Definition: unoframe.cxx:3149
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override
Definition: unoframe.cxx:2606
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unoframe.cxx:3293
virtual void SAL_CALL release() override
Definition: unoframe.cxx:3120
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:3144
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unoframe.cxx:3125
FlyCntType GetFlyCntType() const
Definition: unoframe.hxx:158
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:3251
virtual css::uno::Reference< css::text::XTextCursor > CreateCursor() override
Definition: unoframe.cxx:3170
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents() override
Definition: unoframe.cxx:3308
virtual OUString SAL_CALL getImplementationName() override
Definition: unoframe.cxx:3288
FlyCntType
Definition: flyenum.hxx:23
virtual css::awt::Point SAL_CALL getPosition() override
Definition: unoframe.cxx:3058
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unoframe.cxx:2328
std::unique_ptr< SwPaM > m_pCopySource
Definition: unoframe.hxx:73
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: unoframe.cxx:3135
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
Definition: unoframe.cxx:2520
static SW_DLLPUBLIC SdrObject * GetOrCreateSdrObject(SwFlyFrameFormat &rFormat)
Definition: unoframe.cxx:1370
unsigned char sal_Bool
SwFrameFormat * GetFrameFormat()
Definition: unoframe.hxx:154
css::uno::Reference< css::util::XModifyListener > m_xOLEListener
Definition: unoframe.hxx:280
virtual ~SwXTextFrame() override
Definition: unoframe.cxx:3105
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange(const css::uno::Reference< css::text::XTextRange > &aTextPosition) override
Definition: unoframe.cxx:3217
const FlyCntType eType
Definition: unoframe.hxx:66
cppu::ImplInheritanceHelper< SwXFrame, css::document::XEmbeddedObjectSupplier2, css::document::XEventsSupplier > SwXTextEmbeddedObjectBaseClass
Definition: unoframe.hxx:276
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
virtual void Modify(const SfxPoolItem *pOld, const SfxPoolItem *pNew) override
Definition: unoframe.cxx:2558
virtual void SAL_CALL setPosition(const css::awt::Point &aPosition) override
Definition: unoframe.cxx:3066
const SfxItemPropertySet * m_pPropSet
Definition: unoframe.hxx:63
css::uno::Reference< css::frame::XModel > m_xOLEModel
Definition: unoframe.hxx:313
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
Definition: unoframe.cxx:3239
friend class SwXFrame
Definition: unoframe.hxx:179
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unoframe.cxx:2310
virtual OUString SAL_CALL getShapeType() override
Definition: unoframe.cxx:3087
virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > &xTextRange) override
Definition: unoframe.cxx:3261
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
Definition: unoframe.cxx:1173
sal_Int64 m_nVisibleAreaWidth
Definition: unoframe.hxx:76
bool IsDescriptor() const
Definition: unoframe.hxx:160
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
Definition: unoframe.cxx:3313
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:2322
cppu::WeakImplHelper< css::text::XTextFrame, css::container::XEnumerationAccess, css::document::XEventsSupplier > SwXTextFrameBaseClass
Definition: unoframe.hxx:173
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:3110
::sw::UnoImplPtr< Impl > m_pImpl
Definition: unoframe.hxx:60
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unoframe.cxx:1334
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
Definition: unoframe.cxx:3278
cppu::ImplInheritanceHelper< SwXFrame, css::document::XEventsSupplier > SwXTextGraphicObjectBaseClass
Definition: unoframe.hxx:248
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId()
Definition: unoframe.cxx:1168
virtual void SAL_CALL dispose() override
Definition: unoframe.cxx:2577
void attachToRange(const css::uno::Reference< css::text::XTextRange > &xTextRange)
Definition: unoframe.cxx:2635
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unoframe.cxx:1982
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
Definition: unoframe.cxx:2544
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override
Definition: unoframe.cxx:3266
OUString m_sName
Definition: unoframe.hxx:71
SwXTextFrame(SwDoc *pDoc)
Definition: unoframe.cxx:3092
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:2551
virtual sal_Bool SAL_CALL hasElements() override
Definition: unoframe.cxx:3256
virtual OUString SAL_CALL getName() override
Definition: unoframe.cxx:1305
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
Definition: unoframe.cxx:2342
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unoframe.cxx:1413