LibreOffice Module sd (master) 1
Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
sd::DrawController Class Referencefinal

The DrawController is the UNO controller for Impress and Draw. More...

#include <DrawController.hxx>

Inheritance diagram for sd::DrawController:
[legend]
Collaboration diagram for sd::DrawController:
[legend]

Public Types

enum  PropertyHandle {
  PROPERTY_WORKAREA = 0 ,
  PROPERTY_SUB_CONTROLLER = 1 ,
  PROPERTY_CURRENTPAGE = 2 ,
  PROPERTY_MASTERPAGEMODE = 3 ,
  PROPERTY_LAYERMODE = 4 ,
  PROPERTY_ACTIVE_LAYER = 5 ,
  PROPERTY_ZOOMTYPE = 6 ,
  PROPERTY_ZOOMVALUE = 7 ,
  PROPERTY_VIEWOFFSET = 8 ,
  PROPERTY_DRAWVIEWMODE = 9 ,
  PROPERTY_UPDATEACC = 10 ,
  PROPERTY_PAGE_CHANGE = 11
}
 

Public Member Functions

 DrawController (ViewShellBase &rBase) noexcept
 Create a new DrawController object for the given ViewShellBase. More...
 
virtual ~DrawController () noexcept override
 
void SetSubController (const css::uno::Reference< css::drawing::XDrawSubController > &rxSubController)
 Replace the currently used sub controller with the given one. More...
 
void FireVisAreaChanged (const ::tools::Rectangle &rVisArea) noexcept
 Call this method when the VisArea has changed. More...
 
void FireSelectionChangeListener () noexcept
 Call this method when the selection has changed. More...
 
void FireChangeEditMode (bool bMasterPageMode) noexcept
 Call this method when the edit mode has changed. More...
 
void FireChangeLayerMode (bool bLayerMode) noexcept
 Call this method when the layer mode has changed. More...
 
void FireSwitchCurrentPage (SdPage *pCurrentPage) noexcept
 Call this method when there is a new current page. More...
 
void BroadcastContextChange () const
 Broadcast a sidebar context change that is caused by a view switch. More...
 
void NotifyAccUpdate ()
 
void fireChangeLayer (css::uno::Reference< css::drawing::XLayer > *pCurrentLayer) noexcept
 
void fireSwitchCurrentPage (sal_Int32 pageIndex) noexcept
 
bool IsDisposing () const
 
ViewShellBaseGetViewShellBase ()
 Return a pointer to the ViewShellBase object that the DrawController is connected to. More...
 
void ReleaseViewShellBase ()
 This method is typically called from the destructor of ViewShellBase to tell the DrawController that it and its members must not access the ViewShellBase anymore. More...
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual sal_Bool SAL_CALL suspend (sal_Bool Suspend) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual sal_Bool SAL_CALL select (const css::uno::Any &aSelection) override
 
virtual css::uno::Any SAL_CALL getSelection () override
 
virtual void SAL_CALL addSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
 
virtual void SAL_CALL removeSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL getFormController (const css::uno::Reference< css::form::XForm > &Form) override
 
virtual sal_Bool SAL_CALL isFormDesignMode () override
 
virtual void SAL_CALL setFormDesignMode (sal_Bool DesignMode) override
 
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl (const css::uno::Reference< css::awt::XControlModel > &xModel) override
 
virtual void SAL_CALL setCurrentPage (const css::uno::Reference< css::drawing::XDrawPage > &xPage) override
 
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getCurrentPage () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &rEventObject) override
 
virtual void SAL_CALL selectionChanged (const css::lang::EventObject &rEvent) override
 
virtual css::uno::Reference< css::drawing::framework::XConfigurationController > SAL_CALL getConfigurationController () override
 
virtual css::uno::Reference< css::drawing::framework::XModuleController > SAL_CALL getModuleController () override
 
- Public Member Functions inherited from cppu::OPropertySetHelper
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 

Private Member Functions

virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 This method must return the name to index table. More...
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 The same as getFastPropertyValue, but return the value through rValue and nHandle is always valid. More...
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 Convert the value rValue and return the result in rConvertedValue and the old value in rOldValue. More...
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 The same as setFastPropertyValue, but no exception is thrown and nHandle is always valid. More...
 
void ThrowIfDisposed () const
 When the called object has been disposed already this method throws a Disposed exception and does not return. More...
 
void FirePropertyChange (sal_Int32 nHandle, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue)
 Send an event to all relevant property listeners that a property has changed its value. More...
 
void ProvideFrameworkControllers ()
 
void DisposeFrameworkControllers ()
 
- Private Member Functions inherited from sd::BroadcastHelperOwner
 BroadcastHelperOwner (::osl::Mutex &rMutex)
 

Static Private Member Functions

static void FillPropertyTable (::std::vector< css::beans::Property > &rProperties)
 

Private Attributes

css::uno::Reference< css::drawing::XLayer > * mpCurrentLayer
 
const css::uno::Type m_aSelectionTypeIdentifier
 
ViewShellBasempBase
 This pointer to the ViewShellBase can be NULL (after a call to ReleaseViewShellBase()). More...
 
::tools::Rectangle maLastVisArea
 
::unotools::WeakReference< SdPagempCurrentPage
 
bool mbMasterPageMode
 
bool mbLayerMode
 
bool mbDisposing
 This flag indicates whether the called DrawController is being disposed or already has been disposed. More...
 
::std::unique_ptr< ::cppu::IPropertyArrayHelpermpPropertyArrayHelper
 
css::uno::Reference< css::drawing::XDrawSubController > mxSubController
 The current sub controller. More...
 
rtl::Reference< sd::framework::ConfigurationControllermxConfigurationController
 
rtl::Reference< sd::framework::ModuleControllermxModuleController
 
- Private Attributes inherited from sd::BroadcastHelperOwner
::cppu::OBroadcastHelper maBroadcastHelper
 

Additional Inherited Members

- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Protected Member Functions inherited from cppu::OPropertySetHelper
void SAL_CALL fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable)
 
void SAL_CALL setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount)
 
virtual IPropertyArrayHelper &SAL_CALL getInfoHelper ()=0
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0
 
void setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value)
 
 ~OPropertySetHelper ()
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 

Detailed Description

The DrawController is the UNO controller for Impress and Draw.

It relies objects that implement the DrawSubController interface for view specific behaviour. The life time of the DrawController is roughly that of ViewShellBase but note that the DrawController can (in the case of a reload) outlive the ViewShellBase.

The implementation of the XControllerManager interface is not yet in its final form.

Definition at line 77 of file DrawController.hxx.

Member Enumeration Documentation

◆ PropertyHandle

Enumerator
PROPERTY_WORKAREA 
PROPERTY_SUB_CONTROLLER 
PROPERTY_CURRENTPAGE 
PROPERTY_MASTERPAGEMODE 
PROPERTY_LAYERMODE 
PROPERTY_ACTIVE_LAYER 
PROPERTY_ZOOMTYPE 
PROPERTY_ZOOMVALUE 
PROPERTY_VIEWOFFSET 
PROPERTY_DRAWVIEWMODE 
PROPERTY_UPDATEACC 
PROPERTY_PAGE_CHANGE 

Definition at line 83 of file DrawController.hxx.

Constructor & Destructor Documentation

◆ DrawController()

sd::DrawController::DrawController ( ViewShellBase rBase)
explicitnoexcept

Create a new DrawController object for the given ViewShellBase.

Definition at line 60 of file DrawController.cxx.

◆ ~DrawController()

sd::DrawController::~DrawController ( )
overridevirtualnoexcept

Definition at line 76 of file DrawController.cxx.

Member Function Documentation

◆ addEventListener()

void SAL_CALL sd::DrawController::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 161 of file DrawController.cxx.

References SfxBaseController::addEventListener(), and ThrowIfDisposed().

◆ addSelectionChangeListener()

void SAL_CALL sd::DrawController::addSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual

◆ BroadcastContextChange()

void sd::DrawController::BroadcastContextChange ( ) const

◆ convertFastPropertyValue()

sal_Bool sd::DrawController::convertFastPropertyValue ( css::uno::Any &  rConvertedValue,
css::uno::Any &  rOldValue,
sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprivatevirtual

Convert the value rValue and return the result in rConvertedValue and the old value in rOldValue.

After this call the vetoable listeners are notified.

Parameters
rConvertedValueThe converted value. Only set if return is true.
rOldValueThe old value. Only set if return is true.
nHandleThe handle of the property.
Returns
<TRUE> if the value is converted successfully.
Exceptions
IllegalArgumentException

Implements cppu::OPropertySetHelper.

Definition at line 685 of file DrawController.cxx.

References mxSubController, nHandle, and PROPERTY_SUB_CONTROLLER.

◆ dispose()

void SAL_CALL sd::DrawController::dispose ( void  )
overridevirtual

◆ DisposeFrameworkControllers()

void sd::DrawController::DisposeFrameworkControllers ( )
private

Definition at line 770 of file DrawController.cxx.

References mxConfigurationController, and mxModuleController.

Referenced by dispose(), and ReleaseViewShellBase().

◆ disposing()

void SAL_CALL sd::DrawController::disposing ( const css::lang::EventObject &  rEventObject)
overridevirtual

Definition at line 260 of file DrawController.cxx.

◆ FillPropertyTable()

void sd::DrawController::FillPropertyTable ( ::std::vector< css::beans::Property > &  rProperties)
staticprivate

◆ FireChangeEditMode()

void sd::DrawController::FireChangeEditMode ( bool  bMasterPageMode)
noexcept

Call this method when the edit mode has changed.

Definition at line 375 of file DrawController.cxx.

References Any.

Referenced by sd::DrawViewShell::ChangeEditMode().

◆ fireChangeLayer()

void sd::DrawController::fireChangeLayer ( css::uno::Reference< css::drawing::XLayer > *  pCurrentLayer)
noexcept

Definition at line 436 of file DrawController.cxx.

References Any, and nHandle.

Referenced by sd::DrawViewShell::SetActiveTabLayerIndex().

◆ FireChangeLayerMode()

void sd::DrawController::FireChangeLayerMode ( bool  bLayerMode)
noexcept

Call this method when the layer mode has changed.

Definition at line 388 of file DrawController.cxx.

References Any.

Referenced by sd::DrawViewShell::ChangeEditMode().

◆ FirePropertyChange()

void sd::DrawController::FirePropertyChange ( sal_Int32  nHandle,
const css::uno::Any &  rNewValue,
const css::uno::Any &  rOldValue 
)
private

Send an event to all relevant property listeners that a property has changed its value.

The fire() method of the OPropertySetHelper is wrapped by this method to handle exceptions thrown by called listeners.

Definition at line 467 of file DrawController.cxx.

References cppu::OPropertySetHelper::fire(), and nHandle.

◆ FireSelectionChangeListener()

void sd::DrawController::FireSelectionChangeListener ( )
noexcept

◆ fireSwitchCurrentPage()

void sd::DrawController::fireSwitchCurrentPage ( sal_Int32  pageIndex)
noexcept

◆ FireSwitchCurrentPage()

void sd::DrawController::FireSwitchCurrentPage ( SdPage pCurrentPage)
noexcept

Call this method when there is a new current page.

Definition at line 401 of file DrawController.cxx.

References Any, PROPERTY_CURRENTPAGE, and TOOLS_WARN_EXCEPTION.

Referenced by sd::OutlineViewShell::SetCurrentPage(), and sd::DrawViewShell::SwitchPage().

◆ FireVisAreaChanged()

void sd::DrawController::FireVisAreaChanged ( const ::tools::Rectangle rVisArea)
noexcept

Call this method when the VisArea has changed.

Definition at line 324 of file DrawController.cxx.

References Any.

Referenced by sd::DrawViewShell::VisAreaChanged(), and sd::OutlineViewShell::VisAreaChanged().

◆ getConfigurationController()

Reference< XConfigurationController > SAL_CALL sd::DrawController::getConfigurationController ( )
overridevirtual

◆ getControl()

uno::Reference< awt::XControl > SAL_CALL sd::DrawController::getControl ( const css::uno::Reference< css::awt::XControlModel > &  xModel)
overridevirtual

◆ getCurrentPage()

Reference< drawing::XDrawPage > SAL_CALL sd::DrawController::getCurrentPage ( )
overridevirtual

◆ getFastPropertyValue()

void sd::DrawController::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overrideprivatevirtual

The same as getFastPropertyValue, but return the value through rValue and nHandle is always valid.

Implements cppu::OPropertySetHelper.

Definition at line 728 of file DrawController.cxx.

References tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), maLastVisArea, mxSubController, nHandle, PROPERTY_SUB_CONTROLLER, PROPERTY_WORKAREA, and tools::Rectangle::Top().

◆ getFormController()

uno::Reference< form::runtime::XFormController > SAL_CALL sd::DrawController::getFormController ( const css::uno::Reference< css::form::XForm > &  Form)
overridevirtual

◆ getImplementationName()

OUString SAL_CALL sd::DrawController::getImplementationName ( )
overridevirtual

Definition at line 194 of file DrawController.cxx.

◆ getInfoHelper()

IPropertyArrayHelper & sd::DrawController::getInfoHelper ( )
overrideprivatevirtual

This method must return the name to index table.

This table contains all property names and types of this object.

Implements cppu::OPropertySetHelper.

Definition at line 611 of file DrawController.cxx.

References aProperties, comphelper::containerToSequence(), FillPropertyTable(), and mpPropertyArrayHelper.

Referenced by getPropertySetInfo().

◆ getModuleController()

Reference< XModuleController > SAL_CALL sd::DrawController::getModuleController ( )
overridevirtual

Definition at line 546 of file DrawController.cxx.

References mxModuleController, and ThrowIfDisposed().

◆ getPropertySetInfo()

Reference< beans::XPropertySetInfo > sd::DrawController::getPropertySetInfo ( )
overridevirtual

◆ getSelection()

Any SAL_CALL sd::DrawController::getSelection ( )
overridevirtual

Definition at line 228 of file DrawController.cxx.

References Any, mxSubController, and ThrowIfDisposed().

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL sd::DrawController::getSupportedServiceNames ( )
overridevirtual

Definition at line 209 of file DrawController.cxx.

References sd::ssServiceName, and ThrowIfDisposed().

◆ GetViewShellBase()

ViewShellBase * sd::DrawController::GetViewShellBase ( )
inline

Return a pointer to the ViewShellBase object that the DrawController is connected to.

Returns
The returned pointer is <NULL> after a call to ReleaseViewShellBase().

Definition at line 154 of file DrawController.hxx.

Referenced by SdPageObjsTLV::GetViewShellForDocShell(), and suspend().

◆ IsDisposing()

bool sd::DrawController::IsDisposing ( ) const
inline

Definition at line 146 of file DrawController.hxx.

Referenced by sd::SlideShowRestarter::StartPresentation().

◆ isFormDesignMode()

sal_Bool SAL_CALL sd::DrawController::isFormDesignMode ( )
overridevirtual

◆ NotifyAccUpdate()

void sd::DrawController::NotifyAccUpdate ( )

◆ ProvideFrameworkControllers()

void sd::DrawController::ProvideFrameworkControllers ( )
private

Definition at line 755 of file DrawController.cxx.

References mxConfigurationController, and mxModuleController.

◆ ReleaseViewShellBase()

void sd::DrawController::ReleaseViewShellBase ( )

This method is typically called from the destructor of ViewShellBase to tell the DrawController that it and its members must not access the ViewShellBase anymore.

After this call the DrawController is semi-disposed.

Definition at line 529 of file DrawController.cxx.

References DisposeFrameworkControllers(), and mpBase.

◆ removeEventListener()

void SAL_CALL sd::DrawController::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

◆ removeSelectionChangeListener()

void SAL_CALL sd::DrawController::removeSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual

◆ select()

sal_Bool SAL_CALL sd::DrawController::select ( const css::uno::Any &  aSelection)
overridevirtual

Definition at line 217 of file DrawController.cxx.

References mxSubController, and ThrowIfDisposed().

◆ selectionChanged()

void SAL_CALL sd::DrawController::selectionChanged ( const css::lang::EventObject &  rEvent)
overridevirtual

◆ setCurrentPage()

void SAL_CALL sd::DrawController::setCurrentPage ( const css::uno::Reference< css::drawing::XDrawPage > &  xPage)
overridevirtual

◆ setFastPropertyValue_NoBroadcast()

void sd::DrawController::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprivatevirtual

The same as setFastPropertyValue, but no exception is thrown and nHandle is always valid.

You must not broadcast the changes in this method.

Implements cppu::OPropertySetHelper.

Definition at line 717 of file DrawController.cxx.

References mxSubController, nHandle, PROPERTY_SUB_CONTROLLER, and SetSubController().

◆ setFormDesignMode()

void SAL_CALL sd::DrawController::setFormDesignMode ( sal_Bool  DesignMode)
overridevirtual

◆ SetSubController()

void sd::DrawController::SetSubController ( const css::uno::Reference< css::drawing::XDrawSubController > &  rxSubController)

Replace the currently used sub controller with the given one.

This new sub controller is used from now on for the view (that is the main view shell to be precise) specific tasks. Call this method with a suitable sub controller whenever the view shell in the center pane is exchanged.

Parameters
pSubControllerThe ViewShell specific sub controller or NULL when (temporarily while switching to another one) there is no ViewShell displayed in the center pane.

Definition at line 80 of file DrawController.cxx.

References FireSelectionChangeListener(), maLastVisArea, mpPropertyArrayHelper, and mxSubController.

Referenced by sd::framework::BasicViewFactory::ActivateCenterView(), sd::framework::BasicViewFactory::releaseResource(), and setFastPropertyValue_NoBroadcast().

◆ supportsService()

sal_Bool SAL_CALL sd::DrawController::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 204 of file DrawController.cxx.

References cppu::supportsService().

◆ suspend()

sal_Bool SAL_CALL sd::DrawController::suspend ( sal_Bool  Suspend)
overridevirtual

◆ ThrowIfDisposed()

void sd::DrawController::ThrowIfDisposed ( ) const
private

Member Data Documentation

◆ m_aSelectionTypeIdentifier

const css::uno::Type sd::DrawController::m_aSelectionTypeIdentifier
private

◆ maLastVisArea

::tools::Rectangle sd::DrawController::maLastVisArea
private

Definition at line 285 of file DrawController.hxx.

Referenced by getFastPropertyValue(), and SetSubController().

◆ mbDisposing

bool sd::DrawController::mbDisposing
private

This flag indicates whether the called DrawController is being disposed or already has been disposed.

Definition at line 293 of file DrawController.hxx.

Referenced by addSelectionChangeListener(), dispose(), removeEventListener(), and ThrowIfDisposed().

◆ mbLayerMode

bool sd::DrawController::mbLayerMode
private

Definition at line 288 of file DrawController.hxx.

◆ mbMasterPageMode

bool sd::DrawController::mbMasterPageMode
private

Definition at line 287 of file DrawController.hxx.

Referenced by BroadcastContextChange().

◆ mpBase

ViewShellBase* sd::DrawController::mpBase
private

◆ mpCurrentLayer

css::uno::Reference< css::drawing::XLayer>* sd::DrawController::mpCurrentLayer
private

Definition at line 276 of file DrawController.hxx.

◆ mpCurrentPage

::unotools::WeakReference<SdPage> sd::DrawController::mpCurrentPage
private

Definition at line 286 of file DrawController.hxx.

Referenced by getCurrentPage().

◆ mpPropertyArrayHelper

::std::unique_ptr< ::cppu::IPropertyArrayHelper> sd::DrawController::mpPropertyArrayHelper
private

Definition at line 295 of file DrawController.hxx.

Referenced by getInfoHelper(), and SetSubController().

◆ mxConfigurationController

rtl::Reference<sd::framework::ConfigurationController> sd::DrawController::mxConfigurationController
private

◆ mxModuleController

rtl::Reference<sd::framework::ModuleController> sd::DrawController::mxModuleController
private

◆ mxSubController

css::uno::Reference<css::drawing::XDrawSubController> sd::DrawController::mxSubController
private

The documentation for this class was generated from the following files: