LibreOffice Module svx (master)  1
svdouno.cxx
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 
22 #include <com/sun/star/container/XChild.hpp>
23 #include <com/sun/star/beans/XPropertySet.hpp>
24 #include <com/sun/star/util/XCloneable.hpp>
25 #include <com/sun/star/uno/XComponentContext.hpp>
27 #include <svx/svdouno.hxx>
28 #include <svx/svdpagv.hxx>
29 #include <svx/svdmodel.hxx>
30 #include <svx/dialmgr.hxx>
31 #include <svx/strings.hrc>
32 #include <svx/svdview.hxx>
33 #include <svx/svdorect.hxx>
34 #include <svx/svdviter.hxx>
35 #include <rtl/ustrbuf.hxx>
36 #include <rtl/ref.hxx>
37 #include <svx/sdrpagewindow.hxx>
38 #include <tools/diagnose_ex.h>
39 #include <tools/debug.hxx>
40 #include <o3tl/sorted_vector.hxx>
41 
42 using namespace ::com::sun::star;
43 using namespace sdr::contact;
44 
45 
46 // Defines
47 
48 
49 // Helper class SdrControlEventListenerImpl
50 
51 #include <com/sun/star/lang/XEventListener.hpp>
52 
53 #include <cppuhelper/implbase.hxx>
54 
55 
56 class SdrControlEventListenerImpl : public ::cppu::WeakImplHelper< css::lang::XEventListener >
57 {
58 protected:
60 
61 public:
63  : pObj(_pObj)
64  {}
65 
66  // XEventListener
67  virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
68 
69  void StopListening(const uno::Reference< lang::XComponent >& xComp);
70  void StartListening(const uno::Reference< lang::XComponent >& xComp);
71 };
72 
73 // XEventListener
74 void SAL_CALL SdrControlEventListenerImpl::disposing( const css::lang::EventObject& /*Source*/)
75 {
76  if (pObj)
77  {
78  pObj->xUnoControlModel = nullptr;
79  }
80 }
81 
82 void SdrControlEventListenerImpl::StopListening(const uno::Reference< lang::XComponent >& xComp)
83 {
84  if (xComp.is())
85  xComp->removeEventListener(this);
86 }
87 
88 void SdrControlEventListenerImpl::StartListening(const uno::Reference< lang::XComponent >& xComp)
89 {
90  if (xComp.is())
91  xComp->addEventListener(this);
92 }
93 
94 
96 {
97  mutable ::rtl::Reference< SdrControlEventListenerImpl >
99 };
100 
101 
102 namespace
103 {
104  void lcl_ensureControlVisibility( SdrView const * _pView, const SdrUnoObj* _pObject, bool _bVisible )
105  {
106  OSL_PRECOND( _pObject, "lcl_ensureControlVisibility: no object -> no survival!" );
107 
108  SdrPageView* pPageView = _pView ? _pView->GetSdrPageView() : nullptr;
109  DBG_ASSERT( pPageView, "lcl_ensureControlVisibility: no view found!" );
110  if ( !pPageView )
111  return;
112 
113  ViewContact& rUnoControlContact( _pObject->GetViewContact() );
114 
115  for ( sal_uInt32 i = 0; i < pPageView->PageWindowCount(); ++i )
116  {
117  SdrPageWindow* pPageWindow = pPageView->GetPageWindow( i );
118  DBG_ASSERT( pPageWindow, "lcl_ensureControlVisibility: invalid PageViewWindow!" );
119  if ( !pPageWindow )
120  continue;
121 
122  if ( !pPageWindow->HasObjectContact() )
123  continue;
124 
125  ObjectContact& rPageViewContact( pPageWindow->GetObjectContact() );
126  const ViewObjectContact& rViewObjectContact( rUnoControlContact.GetViewObjectContact( rPageViewContact ) );
127  const ViewObjectContactOfUnoControl* pUnoControlContact = dynamic_cast< const ViewObjectContactOfUnoControl* >( &rViewObjectContact );
128  DBG_ASSERT( pUnoControlContact, "lcl_ensureControlVisibility: wrong ViewObjectContact type!" );
129  if ( !pUnoControlContact )
130  continue;
131 
132  pUnoControlContact->ensureControlVisibility( _bVisible );
133  }
134  }
135 }
136 
138  SdrModel& rSdrModel,
139  const OUString& rModelName)
140 : SdrRectObj(rSdrModel),
142 {
143  m_bIsUnoObj = true;
144 
145  m_pImpl->pEventListener = new SdrControlEventListenerImpl(this);
146 
147  // only an owner may create independently
148  if (!rModelName.isEmpty())
149  CreateUnoControlModel(rModelName);
150 }
151 
152 SdrUnoObj::SdrUnoObj( SdrModel& rSdrModel, SdrUnoObj const & rSource)
153 : SdrRectObj(rSdrModel, rSource),
155 {
156  m_bIsUnoObj = true;
157 
158  m_pImpl->pEventListener = new SdrControlEventListenerImpl(this);
159 
162 
163  // copy the uno control model
164  const uno::Reference< awt::XControlModel > xSourceControlModel = rSource.GetUnoControlModel();
165  if ( xSourceControlModel.is() )
166  {
167  try
168  {
169  uno::Reference< util::XCloneable > xClone( xSourceControlModel, uno::UNO_QUERY_THROW );
170  xUnoControlModel.set( xClone->createClone(), uno::UNO_QUERY_THROW );
171  }
172  catch( const uno::Exception& )
173  {
175  }
176  }
177 
178  // get service name of the control from the control model
179  uno::Reference< beans::XPropertySet > xSet(xUnoControlModel, uno::UNO_QUERY);
180  if (xSet.is())
181  {
182  uno::Any aValue( xSet->getPropertyValue("DefaultControl") );
183  OUString aStr;
184 
185  if( aValue >>= aStr )
186  aUnoControlTypeName = aStr;
187  }
188 
189  uno::Reference< lang::XComponent > xComp(xUnoControlModel, uno::UNO_QUERY);
190  if (xComp.is())
191  m_pImpl->pEventListener->StartListening(xComp);
192 }
193 
195  SdrModel& rSdrModel,
196  const OUString& rModelName,
197  const uno::Reference< lang::XMultiServiceFactory >& rxSFac)
198 : SdrRectObj(rSdrModel),
200 {
201  m_bIsUnoObj = true;
202 
203  m_pImpl->pEventListener = new SdrControlEventListenerImpl(this);
204 
205  // only an owner may create independently
206  if (!rModelName.isEmpty())
207  CreateUnoControlModel(rModelName,rxSFac);
208 }
209 
211 {
212  try
213  {
214  // clean up the control model
215  uno::Reference< lang::XComponent > xComp(xUnoControlModel, uno::UNO_QUERY);
216  if (xComp.is())
217  {
218  // is the control model owned by its environment?
219  uno::Reference< container::XChild > xContent(xUnoControlModel, uno::UNO_QUERY);
220  if (xContent.is() && !xContent->getParent().is())
221  xComp->dispose();
222  else
223  m_pImpl->pEventListener->StopListening(xComp);
224  }
225  }
226  catch( const uno::Exception& )
227  {
228  TOOLS_WARN_EXCEPTION( "svx", "SdrUnoObj::~SdrUnoObj" );
229  }
230 }
231 
233 {
234  rInfo.bRotateFreeAllowed = false;
235  rInfo.bRotate90Allowed = false;
236  rInfo.bMirrorFreeAllowed = false;
237  rInfo.bMirror45Allowed = false;
238  rInfo.bMirror90Allowed = false;
239  rInfo.bTransparenceAllowed = false;
240  rInfo.bShearAllowed = false;
241  rInfo.bEdgeRadiusAllowed = false;
242  rInfo.bNoOrthoDesired = false;
243  rInfo.bCanConvToPath = false;
244  rInfo.bCanConvToPoly = false;
245  rInfo.bCanConvToPathLineToArea = false;
246  rInfo.bCanConvToPolyLineToArea = false;
247  rInfo.bCanConvToContour = false;
248 }
249 
251 {
252  return OBJ_UNO;
253 }
254 
255 void SdrUnoObj::SetContextWritingMode( const sal_Int16 _nContextWritingMode )
256 {
257  try
258  {
259  uno::Reference< beans::XPropertySet > xModelProperties( GetUnoControlModel(), uno::UNO_QUERY_THROW );
260  xModelProperties->setPropertyValue( "ContextWritingMode", uno::makeAny( _nContextWritingMode ) );
261  }
262  catch( const uno::Exception& )
263  {
265  }
266 }
267 
269 {
270  OUStringBuffer sName(SvxResId(STR_ObjNameSingulUno));
271 
272  OUString aName(GetName());
273  if (!aName.isEmpty())
274  {
275  sName.append(' ');
276  sName.append('\'');
277  sName.append(aName);
278  sName.append('\'');
279  }
280 
281  return sName.makeStringAndClear();
282 }
283 
285 {
286  return SvxResId(STR_ObjNamePluralUno);
287 }
288 
290 {
291  return new SdrUnoObj(rTargetModel, *this);
292 }
293 
294 void SdrUnoObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact)
295 {
296  SdrRectObj::NbcResize(rRef,xFact,yFact);
297 
298  if (aGeo.nShearAngle==0_deg100 && aGeo.nRotationAngle==0_deg100)
299  return;
300 
301  // small correctors
302  if (aGeo.nRotationAngle>=9000_deg100 && aGeo.nRotationAngle<27000_deg100)
303  {
305  }
306 
307  aGeo.nRotationAngle = 0_deg100;
308  aGeo.nShearAngle = 0_deg100;
309  aGeo.mfSinRotationAngle = 0.0;
310  aGeo.mfCosRotationAngle = 1.0;
311  aGeo.mfTanShearAngle = 0.0;
312  SetRectsDirty();
313 }
314 
315 
317 {
318  // no special drag; we have no rounding rect and
319  // do want frame handles
320  return false;
321 }
322 
324 {
325  if ( GetLayer() == _nLayer )
326  { // redundant call -> not interested in doing anything here
327  SdrRectObj::NbcSetLayer( _nLayer );
328  return;
329  }
330 
331  // we need some special handling here in case we're moved from an invisible layer
332  // to a visible one, or vice versa
333  // (relative to a layer. Remember that the visibility of a layer is a view attribute
334  // - the same layer can be visible in one view, and invisible in another view, at the
335  // same time)
336 
337  // collect all views in which our old layer is visible
338  o3tl::sorted_vector< SdrView* > aPreviouslyVisible;
339 
340  {
341  SdrViewIter aIter( this );
342  for ( SdrView* pView = aIter.FirstView(); pView; pView = aIter.NextView() )
343  aPreviouslyVisible.insert( pView );
344  }
345 
346  SdrRectObj::NbcSetLayer( _nLayer );
347 
348  // collect all views in which our new layer is visible
349  o3tl::sorted_vector< SdrView* > aNewlyVisible;
350 
351  {
352  SdrViewIter aIter( this );
353  for ( SdrView* pView = aIter.FirstView(); pView; pView = aIter.NextView() )
354  {
355  if ( aPreviouslyVisible.erase(pView) == 0 )
356  {
357  // in pView, we were visible _before_ the layer change, and are
358  // _not_ visible after the layer change
359  // => remember this view, as our visibility there changed
360  aNewlyVisible.insert( pView );
361  }
362  }
363  }
364 
365  // now aPreviouslyVisible contains all views where we became invisible
366  for (const auto& rpView : aPreviouslyVisible)
367  {
368  lcl_ensureControlVisibility( rpView, this, false );
369  }
370 
371  // and aNewlyVisible all views where we became visible
372  for (const auto& rpView : aNewlyVisible)
373  {
374  lcl_ensureControlVisibility( rpView, this, true );
375  }
376 }
377 
378 void SdrUnoObj::CreateUnoControlModel(const OUString& rModelName)
379 {
380  DBG_ASSERT(!xUnoControlModel.is(), "model already exists");
381 
382  aUnoControlModelTypeName = rModelName;
383 
384  uno::Reference< awt::XControlModel > xModel;
385  uno::Reference< uno::XComponentContext > xContext( ::comphelper::getProcessComponentContext() );
386  if (!aUnoControlModelTypeName.isEmpty() )
387  {
388  xModel.set(xContext->getServiceManager()->createInstanceWithContext(
389  aUnoControlModelTypeName, xContext), uno::UNO_QUERY);
390 
391  if (xModel.is())
392  SetChanged();
393  }
394 
395  SetUnoControlModel(xModel);
396 }
397 
398 void SdrUnoObj::CreateUnoControlModel(const OUString& rModelName,
399  const uno::Reference< lang::XMultiServiceFactory >& rxSFac)
400 {
401  DBG_ASSERT(!xUnoControlModel.is(), "model already exists");
402 
403  aUnoControlModelTypeName = rModelName;
404 
405  uno::Reference< awt::XControlModel > xModel;
406  if (!aUnoControlModelTypeName.isEmpty() && rxSFac.is() )
407  {
408  xModel.set(rxSFac->createInstance(aUnoControlModelTypeName), uno::UNO_QUERY);
409 
410  if (xModel.is())
411  SetChanged();
412  }
413 
414  SetUnoControlModel(xModel);
415 }
416 
417 void SdrUnoObj::SetUnoControlModel( const uno::Reference< awt::XControlModel >& xModel)
418 {
419  if (xUnoControlModel.is())
420  {
421  uno::Reference< lang::XComponent > xComp(xUnoControlModel, uno::UNO_QUERY);
422  if (xComp.is())
423  m_pImpl->pEventListener->StopListening(xComp);
424  }
425 
426  xUnoControlModel = xModel;
427 
428  // control model has to contain service name of the control
429  if (xUnoControlModel.is())
430  {
431  uno::Reference< beans::XPropertySet > xSet(xUnoControlModel, uno::UNO_QUERY);
432  if (xSet.is())
433  {
434  uno::Any aValue( xSet->getPropertyValue("DefaultControl") );
435  OUString aStr;
436  if( aValue >>= aStr )
437  aUnoControlTypeName = aStr;
438  }
439 
440  uno::Reference< lang::XComponent > xComp(xUnoControlModel, uno::UNO_QUERY);
441  if (xComp.is())
442  m_pImpl->pEventListener->StartListening(xComp);
443  }
444 
445  // invalidate all ViewObject contacts
446  ViewContactOfUnoControl* pVC = nullptr;
447  if ( impl_getViewContact( pVC ) )
448  {
449  // flushViewObjectContacts() removes all existing VOCs for the local DrawHierarchy. This
450  // is always allowed since they will be re-created on demand (and with the changed model)
452  }
453 }
454 
455 
456 uno::Reference< awt::XControl > SdrUnoObj::GetUnoControl(const SdrView& _rView, const OutputDevice& _rOut) const
457 {
458  uno::Reference< awt::XControl > xControl;
459 
460  SdrPageView* pPageView = _rView.GetSdrPageView();
461  OSL_ENSURE( pPageView && getSdrPageFromSdrObject() == pPageView->GetPage(), "SdrUnoObj::GetUnoControl: This object is not displayed in that particular view!" );
462  if ( !pPageView || getSdrPageFromSdrObject() != pPageView->GetPage() )
463  return nullptr;
464 
465  SdrPageWindow* pPageWindow = pPageView->FindPageWindow( _rOut );
466  OSL_ENSURE( pPageWindow, "SdrUnoObj::GetUnoControl: did not find my SdrPageWindow!" );
467  if ( !pPageWindow )
468  return nullptr;
469 
470  ViewObjectContact& rViewObjectContact( GetViewContact().GetViewObjectContact( pPageWindow->GetObjectContact() ) );
471  ViewObjectContactOfUnoControl* pUnoContact = dynamic_cast< ViewObjectContactOfUnoControl* >( &rViewObjectContact );
472  OSL_ENSURE( pUnoContact, "SdrUnoObj::GetUnoControl: wrong contact type!" );
473  if ( pUnoContact )
474  xControl = pUnoContact->getControl();
475 
476  return xControl;
477 }
478 
479 
480 uno::Reference< awt::XControl > SdrUnoObj::GetTemporaryControlForWindow(
481  const vcl::Window& _rWindow, uno::Reference< awt::XControlContainer >& _inout_ControlContainer ) const
482 {
483  uno::Reference< awt::XControl > xControl;
484 
485  ViewContactOfUnoControl* pVC = nullptr;
486  if ( impl_getViewContact( pVC ) )
487  xControl = pVC->getTemporaryControlForWindow( _rWindow, _inout_ControlContainer );
488 
489  return xControl;
490 }
491 
492 
494 {
495  ViewContact& rViewContact( GetViewContact() );
496  _out_rpContact = dynamic_cast< ViewContactOfUnoControl* >( &rViewContact );
497  DBG_ASSERT( _out_rpContact, "SdrUnoObj::impl_getViewContact: could not find my ViewContact!" );
498  return ( _out_rpContact != nullptr );
499 }
500 
501 
502 std::unique_ptr<sdr::contact::ViewContact> SdrUnoObj::CreateObjectSpecificViewContact()
503 {
504  return std::make_unique<sdr::contact::ViewContactOfUnoControl>( *this );
505 }
506 
507 
508 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SVX_DLLPRIVATE bool impl_getViewContact(sdr::contact::ViewContactOfUnoControl *&_out_rpContact) const
Retrieves the typed ViewContact for the object.
Definition: svdouno.cxx:493
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
Definition: svdouno.cxx:74
css::uno::Reference< css::awt::XControl > getControl()
returns the ->XControl instance belonging to the instance, creates it if necessary ...
void StartListening(const uno::Reference< lang::XComponent > &xComp)
Definition: svdouno.cxx:88
virtual SdrObjKind GetObjIdentifier() const override
Definition: svdouno.cxx:250
virtual void TakeObjInfo(SdrObjTransformInfoRec &rInfo) const override
Definition: svdouno.cxx:232
GeoStat aGeo
Definition: svdotext.hxx:185
css::uno::Reference< css::awt::XControl > getTemporaryControlForWindow(const vcl::Window &_rWindow, css::uno::Reference< css::awt::XControlContainer > &_inout_ControlContainer) const
retrieves a temporary XControl instance, whose parent is the given window SdrUnoObj::GetTemporaryCon...
double mfSinRotationAngle
Definition: svdtrans.hxx:220
virtual void SetContextWritingMode(const sal_Int16 _nContextWritingMode) override
Definition: svdouno.cxx:255
SdrUnoObj(SdrModel &rSdrModel, const OUString &rModelName)
Definition: svdouno.cxx:137
SdrObjKind
Definition: svdobjkind.hxx:24
sdr::contact::ViewContact & GetViewContact() const
Definition: svdobj.cxx:248
Rectangle objects (rectangle, circle, ...)
Definition: svdorect.hxx:39
SdrView * NextView()
Definition: svdviter.cxx:158
SdrPageWindow * FindPageWindow(SdrPaintWindow &rPaintWindow) const
Definition: svdpagv.cxx:43
Provides information about various ZObject properties.
Definition: svdobj.hxx:194
virtual void NbcSetLayer(SdrLayerID nLayer) override
Definition: svdouno.cxx:323
SdrPageWindow * GetPageWindow(sal_uInt32 nIndex) const
Definition: svdpagv.cxx:83
tools::Long Left() const
SdrPage * getSdrPageFromSdrObject() const
Definition: svdobj.cxx:266
OUString SvxResId(const char *pId)
Definition: dialmgr.cxx:25
bool m_bIsUnoObj
Definition: svdobj.hxx:895
SVX_DLLPRIVATE void CreateUnoControlModel(const OUString &rModelName)
Definition: svdouno.cxx:378
tools::Long Bottom() const
virtual std::unique_ptr< sdr::contact::ViewContact > CreateObjectSpecificViewContact() override
Definition: svdouno.cxx:502
tools::Rectangle maRect
Definition: svdotext.hxx:182
virtual ~SdrUnoObj() override
Definition: svdouno.cxx:210
void StopListening(const uno::Reference< lang::XComponent > &xComp)
Definition: svdouno.cxx:82
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
Definition: svdouno.cxx:294
virtual OUString TakeObjNamePlural() const override
Definition: svdouno.cxx:284
double mfTanShearAngle
Definition: svdtrans.hxx:219
OUString aUnoControlTypeName
Definition: svdouno.hxx:52
#define DBG_UNHANDLED_EXCEPTION(...)
#define TOOLS_WARN_EXCEPTION(area, stream)
#define DBG_ASSERT(sCon, aError)
int i
OUString sName
friend class SdrControlEventListenerImpl
Definition: svdouno.hxx:47
css::uno::Reference< css::awt::XControl > GetTemporaryControlForWindow(const vcl::Window &_rWindow, css::uno::Reference< css::awt::XControlContainer > &_inout_ControlContainer) const
Retrieves a temporary XControl instance for a given output device.
Definition: svdouno.cxx:480
virtual void SetUnoControlModel(const css::uno::Reference< css::awt::XControlModel > &xModel)
Definition: svdouno.cxx:417
void flushViewObjectContacts(bool bWithHierarchy=true)
tools::Long Top() const
const sdr::contact::ObjectContact & GetObjectContact() const
OUString GetName() const
Definition: svdobj.cxx:775
virtual SdrLayerID GetLayer() const
Definition: svdobj.cxx:651
virtual bool hasSpecialDrag() const override
The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPol...
Definition: svdouno.cxx:316
SdrControlEventListenerImpl(SdrUnoObj *_pObj)
Definition: svdouno.cxx:62
mutable::rtl::Reference< SdrControlEventListenerImpl > pEventListener
Definition: svdouno.cxx:98
std::unique_ptr< SdrUnoObjDataHolder > m_pImpl
Definition: svdouno.hxx:49
SdrPage * GetPage() const
Definition: svdpagv.hxx:171
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
Definition: svdorect.cxx:463
Degree100 nRotationAngle
Definition: svdtrans.hxx:217
bool HasObjectContact() const
determines whether there already exists an ObjectContact
OUString aName
double mfCosRotationAngle
Definition: svdtrans.hxx:221
Reference< XComponentContext > getProcessComponentContext()
virtual OUString TakeObjNameSingul() const override
Definition: svdouno.cxx:268
css::uno::Reference< css::awt::XControl > GetUnoControl(const SdrView &_rView, const OutputDevice &_rOut) const
Definition: svdouno.cxx:456
SdrPageView * GetSdrPageView() const
Definition: svdpntv.hxx:304
virtual void SetRectsDirty(bool bNotMyself=false, bool bRecursive=true)
Definition: svdobj.cxx:509
const css::uno::Reference< css::awt::XControlModel > & GetUnoControlModel() const
Definition: svdouno.hxx:92
uno::Reference< ucb::XContent > xContent
void Move(tools::Long nHorzMoveDelta, tools::Long nVertMoveDelta)
Reference< XModel > xModel
css::uno::Reference< css::awt::XControlModel > xUnoControlModel
Definition: svdouno.hxx:55
continuously activated OLE (PlugIn-Frame or similar)
Definition: svdobjkind.hxx:54
::std::unique_ptr< XmlIdRegistry_Impl > m_pImpl
std::pair< const_iterator, bool > insert(Value &&x)
virtual void SetChanged()
Definition: svdobj.cxx:1006
virtual SdrUnoObj * CloneSdrObject(SdrModel &rTargetModel) const override
Definition: svdouno.cxx:289
SdrView * FirstView()
Definition: svdviter.cxx:152
aStr
Degree100 nShearAngle
Definition: svdtrans.hxx:218
tools::Long Right() const
OUString aUnoControlModelTypeName
Definition: svdouno.hxx:51
size_type erase(const Value &x)
virtual void NbcSetLayer(SdrLayerID nLayer)
Definition: svdobj.cxx:668
sal_uInt32 PageWindowCount() const
Definition: svdpagv.hxx:94