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 "frmfmt.hxx"
26 #include <com/sun/star/text/XTextContent.hpp>
27 #include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
28 #include <com/sun/star/drawing/XShape.hpp>
29 #include <com/sun/star/lang/XUnoTunnel.hpp>
30 #include <com/sun/star/beans/XPropertySet.hpp>
31 #include <com/sun/star/beans/XPropertyState.hpp>
32 #include <com/sun/star/drawing/XShapes.hpp>
33 #include <cppuhelper/implbase4.hxx>
34 #include <cppuhelper/implbase6.hxx>
35 #include <com/sun/star/container/XEnumerationAccess.hpp>
36 #include <com/sun/star/drawing/HomogenMatrix3.hpp>
37 
38 class SdrMarkList;
39 class SdrView;
40 class SwDoc;
41 class SwXShape;
42 
43 class SwFmDrawPage final : public SvxFmDrawPage
44 {
46  std::vector<SwXShape*> m_vShapes;
47 public:
48  SwFmDrawPage( SdrPage* pPage );
49  virtual ~SwFmDrawPage() throw () override;
50 
51  const SdrMarkList& PreGroup(const css::uno::Reference< css::drawing::XShapes >& rShapes);
52  void PreUnGroup(const css::uno::Reference< css::drawing::XShapeGroup >& rShapeGroup);
53 
54  SdrView* GetDrawView() {return mpView.get();}
56  void RemovePageView();
57  static css::uno::Reference<css::drawing::XShape> GetShape(SdrObject* pObj);
58  static css::uno::Reference<css::drawing::XShapeGroup> GetShapeGroup(SdrObject* pObj);
59 
60  // The following method is called when a SvxShape-object is to be created.
61  // Derived classes may obtain at this point a derivation or an object
62  // that is aggregating a SvxShape.
63  virtual css::uno::Reference< css::drawing::XShape > CreateShape( SdrObject *pObj ) const override;
64  void RemoveShape(const SwXShape* pShape)
65  {
66  auto ppShape = find(m_vShapes.begin(), m_vShapes.end(), pShape);
67  if(ppShape != m_vShapes.end())
68  m_vShapes.erase(ppShape);
69  };
70 };
71 
73 <
74  css::container::XEnumerationAccess,
75  css::drawing::XDrawPage,
76  css::lang::XServiceInfo,
77  css::drawing::XShapeGrouper
78 >
80 class SwXDrawPage final : public SwXDrawPageBaseClass
81 {
84 public:
85  SwXDrawPage(SwDoc* pDoc);
86  virtual ~SwXDrawPage() override;
87 
88  //XEnumerationAccess
89  virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override;
90 
91  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
92  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
93 
94  //XIndexAccess
95  virtual sal_Int32 SAL_CALL getCount() override;
96  virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override;
97 
98  //XElementAccess
99  virtual css::uno::Type SAL_CALL getElementType( ) override;
100  virtual sal_Bool SAL_CALL hasElements( ) override;
101 
102  //XShapes
103  virtual void SAL_CALL add(const css::uno::Reference< css::drawing::XShape > & xShape) override;
104  virtual void SAL_CALL remove(const css::uno::Reference< css::drawing::XShape > & xShape) override;
105 
106  //XShapeGrouper
107  virtual css::uno::Reference< css::drawing::XShapeGroup > SAL_CALL group(const css::uno::Reference< css::drawing::XShapes > & xShapes) override;
108  virtual void SAL_CALL ungroup(const css::uno::Reference< css::drawing::XShapeGroup > & aGroup) override;
109 
110  //XServiceInfo
111  virtual OUString SAL_CALL getImplementationName() override;
112  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
113  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
114 
116  // renamed and outlined to detect where it's called
117  void InvalidateSwDoc(); // {pDoc = 0;}
118 };
119 
121 typedef
123 <
124  css::beans::XPropertySet,
125  css::beans::XPropertyState,
126  css::text::XTextContent,
127  css::lang::XServiceInfo,
128  css::lang::XUnoTunnel,
129  css::drawing::XShape
130 >
132 class SwXShape : public SwXShapeBaseClass, public SvtListener
133 {
134  friend class SwXGroupShape;
135  friend class SwXDrawPage;
136  friend class SwFmDrawPage;
139 
140  css::uno::Reference< css::uno::XAggregation > m_xShapeAgg;
141  // reference to <XShape>, determined in the
142  // constructor by <queryAggregation> at <xShapeAgg>.
143  css::uno::Reference< css::drawing::XShape > mxShape;
144 
147 
148  std::unique_ptr<SwShapeDescriptor_Impl> m_pImpl;
149 
151 
153 
155  SdrObject* GetTopGroupObj( SvxShape* _pSvxShape = nullptr );
156 
158  css::awt::Point GetAttrPosition();
159 
162  css::awt::Point ConvertPositionToHoriL2R(
163  const css::awt::Point& rObjPos,
164  const css::awt::Size& rObjSize );
165 
169  css::drawing::HomogenMatrix3 ConvertTransformationToLayoutDir(
170  const css::drawing::HomogenMatrix3& rMatrixInHoriL2R );
171 
179  void AdjustPositionProperties(const css::awt::Point& rPosition);
180 
184  css::awt::Point ConvertStartOrEndPosToLayoutDir(
185  const css::awt::Point& aStartOrEndPos );
186 
190  css::drawing::PolyPolygonBezierCoords ConvertPolyPolygonBezierToLayoutDir(
191  const css::drawing::PolyPolygonBezierCoords& aPath );
192 
199  css::uno::Any _getPropAtAggrObj( const OUString& _rPropertyName );
201  {
202  EndListeningAll();
203  StartListening(pFormat->GetNotifier());
204  m_pFormat = pFormat;
205  }
206 
207 protected:
208  virtual ~SwXShape() override;
209 public:
210  SwXShape(css::uno::Reference<css::uno::XInterface> & xShape, SwDoc const*const pDoc);
211 
212  virtual void Notify(const SfxHint&) override;
213  static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
214  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
215  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
216  virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
217 
218  //XUnoTunnel
219  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
220 
221  //XPropertySet
222  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
223  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
224  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
225  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
226  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
227  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
228  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
229 
230  //XPropertyState
231  virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) override;
232  virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override;
233  virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override;
234  virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
235 
236  //XTextContent
237  virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > & xTextRange) override;
238  virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override;
239 
240  //XComponent
241  virtual void SAL_CALL dispose() override;
242  virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) override;
243  virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) override;
244 
245  //XServiceInfo
246  virtual OUString SAL_CALL getImplementationName() override;
247  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
248  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
249 
250  virtual css::awt::Point SAL_CALL getPosition( ) override;
251  virtual void SAL_CALL setPosition( const css::awt::Point& aPosition ) override;
252  virtual css::awt::Size SAL_CALL getSize( ) override;
253  virtual void SAL_CALL setSize( const css::awt::Size& aSize ) override;
254  virtual OUString SAL_CALL getShapeType( ) override;
255 
256  SwShapeDescriptor_Impl* GetDescImpl() {return m_pImpl.get();}
258  const css::uno::Reference< css::uno::XAggregation >& GetAggregationInterface() const {return m_xShapeAgg;}
259 
260  // helper
261  static void AddExistingShapeToFormat( SdrObject const & _rObj );
262 };
263 
265  public SwXShape,
266  public css::drawing::XShapes
267 {
268 protected:
269  virtual ~SwXGroupShape() override;
270 public:
271  SwXGroupShape(css::uno::Reference<css::uno::XInterface> & xShape, SwDoc const* pDoc);
272 
273  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
274  virtual void SAL_CALL acquire( ) throw() override;
275  virtual void SAL_CALL release( ) throw() override;
276 
277  //XShapes
278  virtual void SAL_CALL add( const css::uno::Reference< css::drawing::XShape >& xShape ) override;
279  virtual void SAL_CALL remove( const css::uno::Reference< css::drawing::XShape >& xShape ) override;
280 
281  //XIndexAccess
282  virtual sal_Int32 SAL_CALL getCount() override;
283  virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override;
284 
285  //XElementAccess
286  virtual css::uno::Type SAL_CALL getElementType( ) override;
287  virtual sal_Bool SAL_CALL hasElements( ) override;
288 };
289 #endif
290 
291 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
static css::uno::Reference< css::drawing::XShapeGroup > GetShapeGroup(SdrObject *pObj)
Definition: unodraw.cxx:309
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
Definition: unodraw.cxx:1756
SwXGroupShape(css::uno::Reference< css::uno::XInterface > &xShape, SwDoc const *pDoc)
Definition: unodraw.cxx:2688
virtual sal_Int32 SAL_CALL getCount() override
Definition: unodraw.cxx:2797
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unodraw.cxx:1964
sal_Int32 nIndex
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
Definition: unodraw.cxx:528
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unodraw.cxx:1038
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unodraw.cxx:2827
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
Definition: unodraw.cxx:1011
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unodraw.cxx:2176
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unodraw.cxx:468
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unodraw.cxx:1977
Definition: doc.hxx:187
SdrObject * GetTopGroupObj(SvxShape *_pSvxShape=nullptr)
method to determine top group object
Definition: unodraw.cxx:2352
virtual css::uno::Reference< css::drawing::XShape > CreateShape(SdrObject *pObj) const override
Definition: unodraw.cxx:314
virtual void SAL_CALL dispose() override
Definition: unodraw.cxx:2104
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: unodraw.cxx:995
const SwFmDrawPage * m_pPage
Definition: unodraw.hxx:137
virtual sal_Bool SAL_CALL hasElements() override
Definition: unodraw.cxx:2842
void PreUnGroup(const css::uno::Reference< css::drawing::XShapeGroup > &rShapeGroup)
Definition: unodraw.cxx:273
virtual css::uno::Reference< css::drawing::XShapeGroup > SAL_CALL group(const css::uno::Reference< css::drawing::XShapes > &xShapes) override
Definition: unodraw.cxx:751
rtl::Reference< SwFmDrawPage > m_pDrawPage
Definition: unodraw.hxx:83
SwShapeDescriptor_Impl * GetDescImpl()
Definition: unodraw.hxx:256
SwFrameFormat * m_pFormat
Definition: unodraw.hxx:138
OSQLColumns::const_iterator find(const OSQLColumns::const_iterator &first, const OSQLColumns::const_iterator &last, std::u16string_view _rVal, const ::comphelper::UStringMixEqual &_rCase)
virtual void SAL_CALL acquire() override
Definition: unodraw.cxx:2712
SwXDrawPage(SwDoc *pDoc)
Definition: unodraw.cxx:473
virtual css::awt::Point SAL_CALL getPosition() override
Definition: unodraw.cxx:2199
virtual ~SwXGroupShape() override
Definition: unodraw.cxx:2698
void RemovePageView()
Definition: unodraw.cxx:285
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
Definition: unodraw.cxx:2155
SdrPageView * GetPageView()
Definition: unodraw.cxx:278
const SfxItemPropertyMapEntry * m_pPropertyMapEntries
Definition: unodraw.hxx:146
const css::uno::Reference< css::uno::XAggregation > & GetAggregationInterface() const
Definition: unodraw.hxx:258
virtual OUString SAL_CALL getImplementationName() override
Definition: unodraw.cxx:458
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unodraw.cxx:1997
SdrPageView * m_pPageView
Definition: unodraw.hxx:45
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
Definition: unodraw.cxx:1748
css::awt::Point GetAttrPosition()
method to determine position according to the positioning attributes
Definition: unodraw.cxx:2376
void EndListeningAll()
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unodraw.cxx:2181
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:2461
virtual sal_Bool SAL_CALL hasElements() override
Definition: unodraw.cxx:545
Style of a layout element.
Definition: frmfmt.hxx:58
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unodraw.cxx:1016
SvxShape * GetSvxShape()
Definition: unodraw.cxx:2190
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:2601
std::unique_ptr< SdrView > mpView
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId()
Definition: unodraw.cxx:850
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unodraw.cxx:487
unsigned char sal_Bool
SwFmDrawPage * GetSvxPage()
Definition: unodraw.cxx:822
SdrView * GetDrawView()
Definition: unodraw.hxx:54
css::uno::Reference< css::drawing::XShape > mxShape
Definition: unodraw.hxx:143
std::vector< SwXShape * > m_vShapes
Definition: unodraw.hxx:46
SwXShape(css::uno::Reference< css::uno::XInterface > &xShape, SwDoc const *const pDoc)
Definition: unodraw.cxx:885
bool StartListening(SvtBroadcaster &rBroadcaster)
virtual sal_Int32 SAL_CALL getCount() override
Definition: unodraw.cxx:514
cppu::WeakAggImplHelper4< css::container::XEnumerationAccess, css::drawing::XDrawPage, css::lang::XServiceInfo, css::drawing::XShapeGrouper > SwXDrawPageBaseClass
Definition: unodraw.hxx:79
static css::uno::Reference< css::drawing::XShape > GetShape(SdrObject *pObj)
Definition: unodraw.cxx:292
cppu::WeakAggImplHelper6< css::beans::XPropertySet, css::beans::XPropertyState, css::text::XTextContent, css::lang::XServiceInfo, css::lang::XUnoTunnel, css::drawing::XShape > SwXShapeBaseClass
Definition: unodraw.hxx:120
virtual ~SwXDrawPage() override
Definition: unodraw.cxx:478
void SetFrameFormat(SwFrameFormat *pFormat)
Definition: unodraw.hxx:200
SvtBroadcaster & GetNotifier()
Definition: calbck.hxx:99
static void AddExistingShapeToFormat(SdrObject const &_rObj)
Definition: unodraw.cxx:930
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:2639
virtual void SAL_CALL add(const css::uno::Reference< css::drawing::XShape > &xShape) override
Definition: unodraw.cxx:556
SwDoc * m_pDoc
Definition: unodraw.hxx:82
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
Definition: unodraw.cxx:451
virtual void SAL_CALL add(const css::uno::Reference< css::drawing::XShape > &xShape) override
Definition: unodraw.cxx:2722
virtual OUString SAL_CALL getImplementationName() override
Definition: unodraw.cxx:2171
css::uno::Reference< css::uno::XAggregation > m_xShapeAgg
Definition: unodraw.hxx:140
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unodraw.cxx:1446
SwFmDrawPage(SdrPage *pPage)
Definition: unodraw.cxx:254
virtual ~SwXShape() override
Definition: unodraw.cxx:960
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unodraw.cxx:2702
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: unodraw.cxx:506
virtual void SAL_CALL setPosition(const css::awt::Point &aPosition) override
Definition: unodraw.cxx:2237
void RemoveShape(const SwXShape *pShape)
Definition: unodraw.hxx:64
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
Definition: unodraw.cxx:856
void AdjustPositionProperties(const css::awt::Point &rPosition)
method to adjust the positioning properties
Definition: unodraw.cxx:2525
css::uno::Any _getPropAtAggrObj(const OUString &_rPropertyName)
method to get property from aggregation object
Definition: unodraw.cxx:1731
void InvalidateSwDoc()
Renamed and outlined to detect where it's called.
Definition: unodraw.cxx:845
virtual css::awt::Size SAL_CALL getSize() override
Definition: unodraw.cxx:2319
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:2420
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unodraw.cxx:975
virtual void SAL_CALL ungroup(const css::uno::Reference< css::drawing::XShapeGroup > &aGroup) override
Definition: unodraw.cxx:798
const SfxItemPropertySet * m_pPropSet
Definition: unodraw.hxx:145
std::unique_ptr< SwShapeDescriptor_Impl > m_pImpl
Definition: unodraw.hxx:148
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unodraw.cxx:463
virtual void SAL_CALL release() override
Definition: unodraw.cxx:2717
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
Definition: unodraw.cxx:2163
virtual void Notify(const SfxHint &) override
Definition: unodraw.cxx:2004
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
Definition: unodraw.cxx:1931
virtual ~SwFmDrawPage() override
Definition: unodraw.cxx:259
const SdrMarkList & PreGroup(const css::uno::Reference< css::drawing::XShapes > &rShapes)
Definition: unodraw.cxx:266
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
Definition: unodraw.cxx:2812
bool m_bDescriptor
Definition: unodraw.hxx:150
SwFrameFormat * GetFrameFormat() const
Definition: unodraw.hxx:257
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
Definition: unodraw.cxx:1870
virtual OUString SAL_CALL getShapeType() override
Definition: unodraw.cxx:2341
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unodraw.cxx:540
virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > &xTextRange) override
Definition: unodraw.cxx:2013
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override
Definition: unodraw.cxx:2075
virtual void SAL_CALL setSize(const css::awt::Size &aSize) override
Definition: unodraw.cxx:2329
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unodraw.cxx:1990