LibreOffice Module sw (master)  1
unodraw.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_UNODRAW_HXX
20 #define INCLUDED_SW_INC_UNODRAW_HXX
21 
22 #include <svl/itemprop.hxx>
23 #include <svl/listener.hxx>
24 #include <svx/fmdpage.hxx>
25 #include "calbck.hxx"
26 #include "frmfmt.hxx"
27 #include <com/sun/star/text/XTextContent.hpp>
28 #include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
29 #include <com/sun/star/drawing/XShape.hpp>
30 #include <com/sun/star/lang/XUnoTunnel.hpp>
31 #include <com/sun/star/beans/XPropertySet.hpp>
32 #include <com/sun/star/beans/XPropertyState.hpp>
33 #include <com/sun/star/drawing/XShapes.hpp>
34 #include <cppuhelper/implbase4.hxx>
35 #include <cppuhelper/implbase6.hxx>
36 #include <com/sun/star/container/XEnumerationAccess.hpp>
37 #include <com/sun/star/drawing/HomogenMatrix3.hpp>
38 
39 class SdrMarkList;
40 class SdrView;
41 class SwDoc;
42 class SwXShape;
43 
45 {
47  std::vector<SwXShape*> m_vShapes;
48 public:
49  SwFmDrawPage( SdrPage* pPage );
50  virtual ~SwFmDrawPage() throw () override;
51 
52  const SdrMarkList& PreGroup(const css::uno::Reference< css::drawing::XShapes >& rShapes);
53  void PreUnGroup(const css::uno::Reference< css::drawing::XShapeGroup >& rShapeGroup);
54 
55  SdrView* GetDrawView() {return mpView.get();}
57  void RemovePageView();
58  static css::uno::Reference<css::drawing::XShape> GetShape(SdrObject* pObj);
59  static css::uno::Reference<css::drawing::XShapeGroup> GetShapeGroup(SdrObject* pObj);
60 
61  // The following method is called when a SvxShape-object is to be created.
62  // Derived classes may obtain at this point a derivation or an object
63  // that is aggregating a SvxShape.
64  virtual css::uno::Reference< css::drawing::XShape > CreateShape( SdrObject *pObj ) const override;
65  void RemoveShape(const SwXShape* pShape)
66  {
67  auto ppShape = find(m_vShapes.begin(), m_vShapes.end(), pShape);
68  if(ppShape != m_vShapes.end())
69  m_vShapes.erase(ppShape);
70  };
71 };
72 
74 <
75  css::container::XEnumerationAccess,
76  css::drawing::XDrawPage,
77  css::lang::XServiceInfo,
78  css::drawing::XShapeGrouper
79 >
82 {
84  css::uno::Reference< css::uno::XAggregation > xPageAgg;
86 public:
87  SwXDrawPage(SwDoc* pDoc);
88  virtual ~SwXDrawPage() override;
89 
90  //XEnumerationAccess
91  virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override;
92 
93  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
94  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
95 
96  //XIndexAccess
97  virtual sal_Int32 SAL_CALL getCount() override;
98  virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override;
99 
100  //XElementAccess
101  virtual css::uno::Type SAL_CALL getElementType( ) override;
102  virtual sal_Bool SAL_CALL hasElements( ) override;
103 
104  //XShapes
105  virtual void SAL_CALL add(const css::uno::Reference< css::drawing::XShape > & xShape) override;
106  virtual void SAL_CALL remove(const css::uno::Reference< css::drawing::XShape > & xShape) override;
107 
108  //XShapeGrouper
109  virtual css::uno::Reference< css::drawing::XShapeGroup > SAL_CALL group(const css::uno::Reference< css::drawing::XShapes > & xShapes) override;
110  virtual void SAL_CALL ungroup(const css::uno::Reference< css::drawing::XShapeGroup > & aGroup) override;
111 
112  //XServiceInfo
113  virtual OUString SAL_CALL getImplementationName() override;
114  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
115  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
116 
118  // renamed and outlined to detect where it's called
119  void InvalidateSwDoc(); // {pDoc = 0;}
120 };
121 
123 typedef
125 <
126  css::beans::XPropertySet,
127  css::beans::XPropertyState,
128  css::text::XTextContent,
129  css::lang::XServiceInfo,
130  css::lang::XUnoTunnel,
131  css::drawing::XShape
132 >
134 class SwXShape : public SwXShapeBaseClass, public SvtListener
135 {
136  friend class SwXGroupShape;
137  friend class SwXDrawPage;
138  friend class SwFmDrawPage;
141 
142  css::uno::Reference< css::uno::XAggregation > xShapeAgg;
143  // reference to <XShape>, determined in the
144  // constructor by <queryAggregation> at <xShapeAgg>.
145  css::uno::Reference< css::drawing::XShape > mxShape;
146 
149 
150  std::unique_ptr<SwShapeDescriptor_Impl> pImpl;
151 
153 
155 
157  SdrObject* GetTopGroupObj( SvxShape* _pSvxShape = nullptr );
158 
160  css::awt::Point GetAttrPosition();
161 
164  css::awt::Point ConvertPositionToHoriL2R(
165  const css::awt::Point& rObjPos,
166  const css::awt::Size& rObjSize );
167 
171  css::drawing::HomogenMatrix3 ConvertTransformationToLayoutDir(
172  const css::drawing::HomogenMatrix3& rMatrixInHoriL2R );
173 
181  void AdjustPositionProperties(const css::awt::Point& rPosition);
182 
186  css::awt::Point ConvertStartOrEndPosToLayoutDir(
187  const css::awt::Point& aStartOrEndPos );
188 
192  css::drawing::PolyPolygonBezierCoords ConvertPolyPolygonBezierToLayoutDir(
193  const css::drawing::PolyPolygonBezierCoords& aPath );
194 
201  css::uno::Any _getPropAtAggrObj( const OUString& _rPropertyName );
203  {
204  EndListeningAll();
205  StartListening(pFormat->GetNotifier());
206  m_pFormat = pFormat;
207  }
208 
209 protected:
210  virtual ~SwXShape() override;
211 public:
212  SwXShape(css::uno::Reference<css::uno::XInterface> & xShape, SwDoc const*const pDoc);
213 
214  virtual void Notify(const SfxHint&) override;
215  static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
216  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
217  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
218  virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
219 
220  //XUnoTunnel
221  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
222 
223  //XPropertySet
224  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
225  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
226  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
227  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
228  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
229  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
230  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
231 
232  //XPropertyState
233  virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) override;
234  virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override;
235  virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override;
236  virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
237 
238  //XTextContent
239  virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > & xTextRange) override;
240  virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override;
241 
242  //XComponent
243  virtual void SAL_CALL dispose() override;
244  virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) override;
245  virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) override;
246 
247  //XServiceInfo
248  virtual OUString SAL_CALL getImplementationName() override;
249  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
250  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
251 
252  virtual css::awt::Point SAL_CALL getPosition( ) override;
253  virtual void SAL_CALL setPosition( const css::awt::Point& aPosition ) override;
254  virtual css::awt::Size SAL_CALL getSize( ) override;
255  virtual void SAL_CALL setSize( const css::awt::Size& aSize ) override;
256  virtual OUString SAL_CALL getShapeType( ) override;
257 
258  SwShapeDescriptor_Impl* GetDescImpl() {return pImpl.get();}
260  const css::uno::Reference< css::uno::XAggregation >& GetAggregationInterface() {return xShapeAgg;}
261 
262  // helper
263  static void AddExistingShapeToFormat( SdrObject const & _rObj );
264 };
265 
267  public SwXShape,
268  public css::drawing::XShapes
269 {
270 protected:
271  virtual ~SwXGroupShape() override;
272 public:
273  SwXGroupShape(css::uno::Reference<css::uno::XInterface> & xShape, SwDoc const* pDoc);
274 
275  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
276  virtual void SAL_CALL acquire( ) throw() override;
277  virtual void SAL_CALL release( ) throw() override;
278 
279  //XShapes
280  virtual void SAL_CALL add( const css::uno::Reference< css::drawing::XShape >& xShape ) override;
281  virtual void SAL_CALL remove( const css::uno::Reference< css::drawing::XShape >& xShape ) override;
282 
283  //XIndexAccess
284  virtual sal_Int32 SAL_CALL getCount() override;
285  virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override;
286 
287  //XElementAccess
288  virtual css::uno::Type SAL_CALL getElementType( ) override;
289  virtual sal_Bool SAL_CALL hasElements( ) override;
290 };
291 #endif
292 
293 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
static css::uno::Reference< css::drawing::XShapeGroup > GetShapeGroup(SdrObject *pObj)
Definition: unodraw.cxx:305
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
Definition: unodraw.cxx:1739
SwXGroupShape(css::uno::Reference< css::uno::XInterface > &xShape, SwDoc const *pDoc)
Definition: unodraw.cxx:2674
virtual sal_Int32 SAL_CALL getCount() override
Definition: unodraw.cxx:2783
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unodraw.cxx:1947
std::unique_ptr< SwShapeDescriptor_Impl > pImpl
Definition: unodraw.hxx:150
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
Definition: unodraw.cxx:527
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unodraw.cxx:1032
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unodraw.cxx:2813
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
Definition: unodraw.cxx:1005
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unodraw.cxx:2151
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unodraw.cxx:465
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unodraw.cxx:1960
Definition: doc.hxx:185
SdrObject * GetTopGroupObj(SvxShape *_pSvxShape=nullptr)
method to determine top group object
Definition: unodraw.cxx:2338
virtual css::uno::Reference< css::drawing::XShape > CreateShape(SdrObject *pObj) const override
Definition: unodraw.cxx:310
virtual void SAL_CALL dispose() override
Definition: unodraw.cxx:2079
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: unodraw.cxx:989
const SwFmDrawPage * m_pPage
Definition: unodraw.hxx:139
virtual sal_Bool SAL_CALL hasElements() override
Definition: unodraw.cxx:2828
void PreUnGroup(const css::uno::Reference< css::drawing::XShapeGroup > &rShapeGroup)
Definition: unodraw.cxx:269
virtual css::uno::Reference< css::drawing::XShapeGroup > SAL_CALL group(const css::uno::Reference< css::drawing::XShapes > &xShapes) override
Definition: unodraw.cxx:729
SwShapeDescriptor_Impl * GetDescImpl()
Definition: unodraw.hxx:258
SwFrameFormat * m_pFormat
Definition: unodraw.hxx:140
OSQLColumns::Vector::const_iterator find(const OSQLColumns::Vector::const_iterator &first, const OSQLColumns::Vector::const_iterator &last, const OUString &_rVal, const ::comphelper::UStringMixEqual &_rCase)
virtual void SAL_CALL acquire() override
Definition: unodraw.cxx:2698
SwXDrawPage(SwDoc *pDoc)
Definition: unodraw.cxx:471
virtual css::awt::Point SAL_CALL getPosition() override
Definition: unodraw.cxx:2181
virtual ~SwXGroupShape() override
Definition: unodraw.cxx:2684
void RemovePageView()
Definition: unodraw.cxx:281
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
Definition: unodraw.cxx:2130
SdrPageView * GetPageView()
Definition: unodraw.cxx:274
const SfxItemPropertyMapEntry * m_pPropertyMapEntries
Definition: unodraw.hxx:148
virtual OUString SAL_CALL getImplementationName() override
Definition: unodraw.cxx:455
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unodraw.cxx:1980
SdrPageView * pPageView
Definition: unodraw.hxx:46
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
Definition: unodraw.cxx:1731
css::awt::Point GetAttrPosition()
method to determine position according to the positioning attributes
Definition: unodraw.cxx:2362
void EndListeningAll()
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unodraw.cxx:2156
css::drawing::HomogenMatrix3 ConvertTransformationToLayoutDir(const css::drawing::HomogenMatrix3 &rMatrixInHoriL2R)
method to convert the transformation of the drawing object to the layout direction, the drawing object is in
Definition: unodraw.cxx:2447
virtual sal_Bool SAL_CALL hasElements() override
Definition: unodraw.cxx:544
Style of a layout element.
Definition: frmfmt.hxx:57
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unodraw.cxx:1010
SvxShape * GetSvxShape()
Definition: unodraw.cxx:2166
css::awt::Point ConvertStartOrEndPosToLayoutDir(const css::awt::Point &aStartOrEndPos)
method to convert start or end position of the drawing object to the Writer specific position...
Definition: unodraw.cxx:2587
std::unique_ptr< SdrView > mpView
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId()
Definition: unodraw.cxx:835
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unodraw.cxx:486
unsigned char sal_Bool
SwFmDrawPage * GetSvxPage()
Definition: unodraw.cxx:799
SdrView * GetDrawView()
Definition: unodraw.hxx:55
css::uno::Reference< css::drawing::XShape > mxShape
Definition: unodraw.hxx:145
std::vector< SwXShape * > m_vShapes
Definition: unodraw.hxx:47
SwXShape(css::uno::Reference< css::uno::XInterface > &xShape, SwDoc const *const pDoc)
Definition: unodraw.cxx:869
bool StartListening(SvtBroadcaster &rBroadcaster)
virtual sal_Int32 SAL_CALL getCount() override
Definition: unodraw.cxx:513
const css::uno::Reference< css::uno::XAggregation > & GetAggregationInterface()
Definition: unodraw.hxx:260
cppu::WeakAggImplHelper4< css::container::XEnumerationAccess, css::drawing::XDrawPage, css::lang::XServiceInfo, css::drawing::XShapeGrouper > SwXDrawPageBaseClass
Definition: unodraw.hxx:80
static css::uno::Reference< css::drawing::XShape > GetShape(SdrObject *pObj)
Definition: unodraw.cxx:288
cppu::WeakAggImplHelper6< css::beans::XPropertySet, css::beans::XPropertyState, css::text::XTextContent, css::lang::XServiceInfo, css::lang::XUnoTunnel, css::drawing::XShape > SwXShapeBaseClass
Definition: unodraw.hxx:122
virtual ~SwXDrawPage() override
Definition: unodraw.cxx:477
void SetFrameFormat(SwFrameFormat *pFormat)
Definition: unodraw.hxx:202
SvtBroadcaster & GetNotifier()
Definition: calbck.hxx:93
static void AddExistingShapeToFormat(SdrObject const &_rObj)
Definition: unodraw.cxx:920
css::drawing::PolyPolygonBezierCoords ConvertPolyPolygonBezierToLayoutDir(const css::drawing::PolyPolygonBezierCoords &aPath)
method to convert PolyPolygonBezier of the drawing object to the Writer specific position, which is the attribute position in layout direction
Definition: unodraw.cxx:2625
virtual void SAL_CALL add(const css::uno::Reference< css::drawing::XShape > &xShape) override
Definition: unodraw.cxx:555
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
Definition: unodraw.cxx:448
virtual void SAL_CALL add(const css::uno::Reference< css::drawing::XShape > &xShape) override
Definition: unodraw.cxx:2708
virtual OUString SAL_CALL getImplementationName() override
Definition: unodraw.cxx:2146
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unodraw.cxx:1429
SwFmDrawPage(SdrPage *pPage)
Definition: unodraw.cxx:250
virtual ~SwXShape() override
Definition: unodraw.cxx:954
css::uno::Reference< css::uno::XAggregation > xShapeAgg
Definition: unodraw.hxx:142
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unodraw.cxx:2688
css::uno::Reference< css::uno::XAggregation > xPageAgg
Definition: unodraw.hxx:84
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: unodraw.cxx:505
virtual void SAL_CALL setPosition(const css::awt::Point &aPosition) override
Definition: unodraw.cxx:2219
void RemoveShape(const SwXShape *pShape)
Definition: unodraw.hxx:65
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
Definition: unodraw.cxx:840
SwDoc * pDoc
Definition: unodraw.hxx:83
void AdjustPositionProperties(const css::awt::Point &rPosition)
method to adjust the positioning properties
Definition: unodraw.cxx:2511
css::uno::Any _getPropAtAggrObj(const OUString &_rPropertyName)
method to get property from aggregation object
Definition: unodraw.cxx:1714
void InvalidateSwDoc()
Renamed and outlined to detect where it's called.
Definition: unodraw.cxx:825
virtual css::awt::Size SAL_CALL getSize() override
Definition: unodraw.cxx:2305
css::awt::Point ConvertPositionToHoriL2R(const css::awt::Point &rObjPos, const css::awt::Size &rObjSize)
method to convert the position (translation) of the drawing object to the layout direction horizontal...
Definition: unodraw.cxx:2406
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unodraw.cxx:969
virtual void SAL_CALL ungroup(const css::uno::Reference< css::drawing::XShapeGroup > &aGroup) override
Definition: unodraw.cxx:775
const SfxItemPropertySet * m_pPropSet
Definition: unodraw.hxx:147
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unodraw.cxx:460
virtual void SAL_CALL release() override
Definition: unodraw.cxx:2703
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
Definition: unodraw.cxx:2138
virtual void Notify(const SfxHint &) override
Definition: unodraw.cxx:1987
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
Definition: unodraw.cxx:1914
virtual ~SwFmDrawPage() override
Definition: unodraw.cxx:255
const SdrMarkList & PreGroup(const css::uno::Reference< css::drawing::XShapes > &rShapes)
Definition: unodraw.cxx:262
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
Definition: unodraw.cxx:2798
bool m_bDescriptor
Definition: unodraw.hxx:152
SwFrameFormat * GetFrameFormat() const
Definition: unodraw.hxx:259
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
Definition: unodraw.cxx:1853
virtual OUString SAL_CALL getShapeType() override
Definition: unodraw.cxx:2327
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unodraw.cxx:539
virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > &xTextRange) override
Definition: unodraw.cxx:1996
SwFmDrawPage * pDrawPage
Definition: unodraw.hxx:85
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override
Definition: unodraw.cxx:2057
virtual void SAL_CALL setSize(const css::awt::Size &aSize) override
Definition: unodraw.cxx:2315
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unodraw.cxx:1973