LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
sdr::contact::SdrPageViewAccess Class Reference

is a ->IPageViewAccess implementation based on a real ->SdrPageView instance More...

Inheritance diagram for sdr::contact::SdrPageViewAccess:
[legend]
Collaboration diagram for sdr::contact::SdrPageViewAccess:
[legend]

Public Member Functions

 SdrPageViewAccess (const SdrPageView &_rPageView)
 
virtual ~SdrPageViewAccess ()
 
virtual bool isDesignMode () const override
 determines whether the view is currently in design mode More...
 
virtual Reference< XControlContainer > getControlContainer (const OutputDevice &_rDevice) const override
 retrieves the control container for a given output device More...
 
virtual bool isLayerVisible (SdrLayerID _nLayerID) const override
 determines whether a given layer is visible More...
 

Private Attributes

const SdrPageViewm_rPageView
 

Additional Inherited Members

- Protected Member Functions inherited from sdr::contact::IPageViewAccess
 ~IPageViewAccess ()
 

Detailed Description

is a ->IPageViewAccess implementation based on a real ->SdrPageView instance

Definition at line 361 of file viewobjectcontactofunocontrol.cxx.

Constructor & Destructor Documentation

sdr::contact::SdrPageViewAccess::SdrPageViewAccess ( const SdrPageView _rPageView)
inlineexplicit

Definition at line 365 of file viewobjectcontactofunocontrol.cxx.

virtual sdr::contact::SdrPageViewAccess::~SdrPageViewAccess ( )
inlinevirtual

Definition at line 367 of file viewobjectcontactofunocontrol.cxx.

Member Function Documentation

Reference< XControlContainer > sdr::contact::SdrPageViewAccess::getControlContainer ( const OutputDevice _rDevice) const
overridevirtual

retrieves the control container for a given output device

Implements sdr::contact::IPageViewAccess.

Definition at line 382 of file viewobjectcontactofunocontrol.cxx.

References DBG_ASSERT, SdrPageView::FindPageWindow(), SdrPageView::GetControlContainer(), and m_rPageView.

bool sdr::contact::SdrPageViewAccess::isDesignMode ( ) const
overridevirtual

determines whether the view is currently in design mode

Implements sdr::contact::IPageViewAccess.

Definition at line 376 of file viewobjectcontactofunocontrol.cxx.

References SdrPageView::GetView(), SdrMarkView::IsDesignMode(), and m_rPageView.

bool sdr::contact::SdrPageViewAccess::isLayerVisible ( SdrLayerID  _nLayerID) const
overridevirtual

determines whether a given layer is visible

Implements sdr::contact::IPageViewAccess.

Definition at line 391 of file viewobjectcontactofunocontrol.cxx.

References SdrPageView::GetVisibleLayers(), SdrLayerIDSet::IsSet(), and m_rPageView.

Member Data Documentation

const SdrPageView& sdr::contact::SdrPageViewAccess::m_rPageView
private

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