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 {
83  css::uno::Reference< css::uno::XAggregation > m_xPageAgg;
85 public:
86  SwXDrawPage(SwDoc* pDoc);
87  virtual ~SwXDrawPage() override;
88 
89  //XEnumerationAccess
90  virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override;
91 
92  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
93  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
94 
95  //XIndexAccess
96  virtual sal_Int32 SAL_CALL getCount() override;
97  virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override;
98 
99  //XElementAccess
100  virtual css::uno::Type SAL_CALL getElementType( ) override;
101  virtual sal_Bool SAL_CALL hasElements( ) override;
102 
103  //XShapes
104  virtual void SAL_CALL add(const css::uno::Reference< css::drawing::XShape > & xShape) override;
105  virtual void SAL_CALL remove(const css::uno::Reference< css::drawing::XShape > & xShape) override;
106 
107  //XShapeGrouper
108  virtual css::uno::Reference< css::drawing::XShapeGroup > SAL_CALL group(const css::uno::Reference< css::drawing::XShapes > & xShapes) override;
109  virtual void SAL_CALL ungroup(const css::uno::Reference< css::drawing::XShapeGroup > & aGroup) override;
110 
111  //XServiceInfo
112  virtual OUString SAL_CALL getImplementationName() override;
113  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
114  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
115 
117  // renamed and outlined to detect where it's called
118  void InvalidateSwDoc(); // {pDoc = 0;}
119 };
120 
122 typedef
124 <
125  css::beans::XPropertySet,
126  css::beans::XPropertyState,
127  css::text::XTextContent,
128  css::lang::XServiceInfo,
129  css::lang::XUnoTunnel,
130  css::drawing::XShape
131 >
133 class SwXShape : public SwXShapeBaseClass, public SvtListener
134 {
135  friend class SwXGroupShape;
136  friend class SwXDrawPage;
137  friend class SwFmDrawPage;
140 
141  css::uno::Reference< css::uno::XAggregation > m_xShapeAgg;
142  // reference to <XShape>, determined in the
143  // constructor by <queryAggregation> at <xShapeAgg>.
144  css::uno::Reference< css::drawing::XShape > mxShape;
145 
148 
149  std::unique_ptr<SwShapeDescriptor_Impl> m_pImpl;
150 
152 
154 
156  SdrObject* GetTopGroupObj( SvxShape* _pSvxShape = nullptr );
157 
159  css::awt::Point GetAttrPosition();
160 
163  css::awt::Point ConvertPositionToHoriL2R(
164  const css::awt::Point& rObjPos,
165  const css::awt::Size& rObjSize );
166 
170  css::drawing::HomogenMatrix3 ConvertTransformationToLayoutDir(
171  const css::drawing::HomogenMatrix3& rMatrixInHoriL2R );
172 
180  void AdjustPositionProperties(const css::awt::Point& rPosition);
181 
185  css::awt::Point ConvertStartOrEndPosToLayoutDir(
186  const css::awt::Point& aStartOrEndPos );
187 
191  css::drawing::PolyPolygonBezierCoords ConvertPolyPolygonBezierToLayoutDir(
192  const css::drawing::PolyPolygonBezierCoords& aPath );
193 
200  css::uno::Any _getPropAtAggrObj( const OUString& _rPropertyName );
202  {
203  EndListeningAll();
204  StartListening(pFormat->GetNotifier());
205  m_pFormat = pFormat;
206  }
207 
208 protected:
209  virtual ~SwXShape() override;
210 public:
211  SwXShape(css::uno::Reference<css::uno::XInterface> & xShape, SwDoc const*const pDoc);
212 
213  virtual void Notify(const SfxHint&) override;
214  static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
215  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
216  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
217  virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
218 
219  //XUnoTunnel
220  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
221 
222  //XPropertySet
223  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
224  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
225  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
226  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
227  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
228  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
229  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
230 
231  //XPropertyState
232  virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) override;
233  virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override;
234  virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override;
235  virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
236 
237  //XTextContent
238  virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > & xTextRange) override;
239  virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override;
240 
241  //XComponent
242  virtual void SAL_CALL dispose() override;
243  virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) override;
244  virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) override;
245 
246  //XServiceInfo
247  virtual OUString SAL_CALL getImplementationName() override;
248  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
249  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
250 
251  virtual css::awt::Point SAL_CALL getPosition( ) override;
252  virtual void SAL_CALL setPosition( const css::awt::Point& aPosition ) override;
253  virtual css::awt::Size SAL_CALL getSize( ) override;
254  virtual void SAL_CALL setSize( const css::awt::Size& aSize ) override;
255  virtual OUString SAL_CALL getShapeType( ) override;
256 
257  SwShapeDescriptor_Impl* GetDescImpl() {return m_pImpl.get();}
259  const css::uno::Reference< css::uno::XAggregation >& GetAggregationInterface() const {return m_xShapeAgg;}
260 
261  // helper
262  static void AddExistingShapeToFormat( SdrObject const & _rObj );
263 };
264 
266  public SwXShape,
267  public css::drawing::XShapes
268 {
269 protected:
270  virtual ~SwXGroupShape() override;
271 public:
272  SwXGroupShape(css::uno::Reference<css::uno::XInterface> & xShape, SwDoc const* pDoc);
273 
274  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
275  virtual void SAL_CALL acquire( ) throw() override;
276  virtual void SAL_CALL release( ) throw() override;
277 
278  //XShapes
279  virtual void SAL_CALL add( const css::uno::Reference< css::drawing::XShape >& xShape ) override;
280  virtual void SAL_CALL remove( const css::uno::Reference< css::drawing::XShape >& xShape ) override;
281 
282  //XIndexAccess
283  virtual sal_Int32 SAL_CALL getCount() override;
284  virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override;
285 
286  //XElementAccess
287  virtual css::uno::Type SAL_CALL getElementType( ) override;
288  virtual sal_Bool SAL_CALL hasElements( ) override;
289 };
290 #endif
291 
292 /* 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:1767
SwXGroupShape(css::uno::Reference< css::uno::XInterface > &xShape, SwDoc const *pDoc)
Definition: unodraw.cxx:2699
virtual sal_Int32 SAL_CALL getCount() override
Definition: unodraw.cxx:2808
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unodraw.cxx:1975
sal_Int32 nIndex
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
Definition: unodraw.cxx:530
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unodraw.cxx:1049
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unodraw.cxx:2838
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
Definition: unodraw.cxx:1022
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unodraw.cxx:2187
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unodraw.cxx:469
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unodraw.cxx:1988
Definition: doc.hxx:186
SdrObject * GetTopGroupObj(SvxShape *_pSvxShape=nullptr)
method to determine top group object
Definition: unodraw.cxx:2363
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:2115
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: unodraw.cxx:1006
SwFmDrawPage * m_pDrawPage
Definition: unodraw.hxx:84
const SwFmDrawPage * m_pPage
Definition: unodraw.hxx:138
virtual sal_Bool SAL_CALL hasElements() override
Definition: unodraw.cxx:2853
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:753
SwShapeDescriptor_Impl * GetDescImpl()
Definition: unodraw.hxx:257
SwFrameFormat * m_pFormat
Definition: unodraw.hxx:139
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:2723
SwXDrawPage(SwDoc *pDoc)
Definition: unodraw.cxx:474
virtual css::awt::Point SAL_CALL getPosition() override
Definition: unodraw.cxx:2210
virtual ~SwXGroupShape() override
Definition: unodraw.cxx:2709
void RemovePageView()
Definition: unodraw.cxx:285
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
Definition: unodraw.cxx:2166
SdrPageView * GetPageView()
Definition: unodraw.cxx:278
const SfxItemPropertyMapEntry * m_pPropertyMapEntries
Definition: unodraw.hxx:147
const css::uno::Reference< css::uno::XAggregation > & GetAggregationInterface() const
Definition: unodraw.hxx:259
virtual OUString SAL_CALL getImplementationName() override
Definition: unodraw.cxx:459
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unodraw.cxx:2008
SdrPageView * m_pPageView
Definition: unodraw.hxx:45
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
Definition: unodraw.cxx:1759
css::awt::Point GetAttrPosition()
method to determine position according to the positioning attributes
Definition: unodraw.cxx:2387
void EndListeningAll()
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unodraw.cxx:2192
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:2472
virtual sal_Bool SAL_CALL hasElements() override
Definition: unodraw.cxx:547
Style of a layout element.
Definition: frmfmt.hxx:58
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unodraw.cxx:1027
SvxShape * GetSvxShape()
Definition: unodraw.cxx:2201
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:2612
std::unique_ptr< SdrView > mpView
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId()
Definition: unodraw.cxx:860
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unodraw.cxx:489
unsigned char sal_Bool
SwFmDrawPage * GetSvxPage()
Definition: unodraw.cxx:824
SdrView * GetDrawView()
Definition: unodraw.hxx:54
css::uno::Reference< css::drawing::XShape > mxShape
Definition: unodraw.hxx:144
std::vector< SwXShape * > m_vShapes
Definition: unodraw.hxx:46
SwXShape(css::uno::Reference< css::uno::XInterface > &xShape, SwDoc const *const pDoc)
Definition: unodraw.cxx:894
bool StartListening(SvtBroadcaster &rBroadcaster)
virtual sal_Int32 SAL_CALL getCount() override
Definition: unodraw.cxx:516
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:121
virtual ~SwXDrawPage() override
Definition: unodraw.cxx:480
void SetFrameFormat(SwFrameFormat *pFormat)
Definition: unodraw.hxx:201
SvtBroadcaster & GetNotifier()
Definition: calbck.hxx:99
static void AddExistingShapeToFormat(SdrObject const &_rObj)
Definition: unodraw.cxx:941
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:2650
virtual void SAL_CALL add(const css::uno::Reference< css::drawing::XShape > &xShape) override
Definition: unodraw.cxx:558
SwDoc * m_pDoc
Definition: unodraw.hxx:82
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
Definition: unodraw.cxx:452
virtual void SAL_CALL add(const css::uno::Reference< css::drawing::XShape > &xShape) override
Definition: unodraw.cxx:2733
virtual OUString SAL_CALL getImplementationName() override
Definition: unodraw.cxx:2182
css::uno::Reference< css::uno::XAggregation > m_xShapeAgg
Definition: unodraw.hxx:141
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unodraw.cxx:1457
SwFmDrawPage(SdrPage *pPage)
Definition: unodraw.cxx:254
virtual ~SwXShape() override
Definition: unodraw.cxx:971
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unodraw.cxx:2713
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: unodraw.cxx:508
virtual void SAL_CALL setPosition(const css::awt::Point &aPosition) override
Definition: unodraw.cxx:2248
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:865
void AdjustPositionProperties(const css::awt::Point &rPosition)
method to adjust the positioning properties
Definition: unodraw.cxx:2536
css::uno::Any _getPropAtAggrObj(const OUString &_rPropertyName)
method to get property from aggregation object
Definition: unodraw.cxx:1742
void InvalidateSwDoc()
Renamed and outlined to detect where it's called.
Definition: unodraw.cxx:850
virtual css::awt::Size SAL_CALL getSize() override
Definition: unodraw.cxx:2330
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:2431
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unodraw.cxx:986
virtual void SAL_CALL ungroup(const css::uno::Reference< css::drawing::XShapeGroup > &aGroup) override
Definition: unodraw.cxx:800
const SfxItemPropertySet * m_pPropSet
Definition: unodraw.hxx:146
std::unique_ptr< SwShapeDescriptor_Impl > m_pImpl
Definition: unodraw.hxx:149
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unodraw.cxx:464
virtual void SAL_CALL release() override
Definition: unodraw.cxx:2728
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
Definition: unodraw.cxx:2174
css::uno::Reference< css::uno::XAggregation > m_xPageAgg
Definition: unodraw.hxx:83
virtual void Notify(const SfxHint &) override
Definition: unodraw.cxx:2015
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
Definition: unodraw.cxx:1942
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:2823
bool m_bDescriptor
Definition: unodraw.hxx:151
SwFrameFormat * GetFrameFormat() const
Definition: unodraw.hxx:258
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
Definition: unodraw.cxx:1881
virtual OUString SAL_CALL getShapeType() override
Definition: unodraw.cxx:2352
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unodraw.cxx:542
virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > &xTextRange) override
Definition: unodraw.cxx:2024
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override
Definition: unodraw.cxx:2086
virtual void SAL_CALL setSize(const css::awt::Size &aSize) override
Definition: unodraw.cxx:2340
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unodraw.cxx:2001