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

#include <sdrmasterpagedescriptor.hxx>

Inheritance diagram for sdr::MasterPageDescriptor:
[legend]
Collaboration diagram for sdr::MasterPageDescriptor:
[legend]

Public Member Functions

 MasterPageDescriptor (SdrPage &aOwnerPage, SdrPage &aUsedPage)
 
virtual ~MasterPageDescriptor ()
 
sdr::contact::ViewContactGetViewContact () const
 
virtual void PageInDestruction (const SdrPage &rPage) override
 
SdrPageGetUsedPage () const
 
SdrPageGetOwnerPage () const
 
const SdrLayerIDSetGetVisibleLayers () const
 
void SetVisibleLayers (const SdrLayerIDSet &rNew)
 
const SdrPagePropertiesgetCorrectSdrPageProperties () const
 
virtual void PageInDestruction (const SdrPage &rPage)=0
 

Private Member Functions

void operator= (const MasterPageDescriptor &rCandidate)=delete
 

Private Attributes

SdrPagemaOwnerPage
 
SdrPagemaUsedPage
 
SdrLayerIDSet maVisibleLayers
 
std::unique_ptr< sdr::contact::ViewContactmpViewContact
 

Additional Inherited Members

- Protected Member Functions inherited from sdr::PageUser
 ~PageUser ()
 

Detailed Description

Definition at line 33 of file sdrmasterpagedescriptor.hxx.

Constructor & Destructor Documentation

◆ MasterPageDescriptor()

sdr::MasterPageDescriptor::MasterPageDescriptor ( SdrPage aOwnerPage,
SdrPage aUsedPage 
)

◆ ~MasterPageDescriptor()

sdr::MasterPageDescriptor::~MasterPageDescriptor ( )
virtual

Definition at line 42 of file sdrmasterpagedescriptor.cxx.

References maUsedPage, mpViewContact, and SdrPage::RemovePageUser().

Member Function Documentation

◆ getCorrectSdrPageProperties()

const SdrPageProperties * sdr::MasterPageDescriptor::getCorrectSdrPageProperties ( ) const

◆ GetOwnerPage()

SdrPage & sdr::MasterPageDescriptor::GetOwnerPage ( ) const
inline

◆ GetUsedPage()

SdrPage & sdr::MasterPageDescriptor::GetUsedPage ( ) const
inline

◆ GetViewContact()

sdr::contact::ViewContact & sdr::MasterPageDescriptor::GetViewContact ( ) const

Definition at line 51 of file sdrmasterpagedescriptor.cxx.

References mpViewContact.

Referenced by SetVisibleLayers().

◆ GetVisibleLayers()

const SdrLayerIDSet & sdr::MasterPageDescriptor::GetVisibleLayers ( ) const
inline

◆ operator=()

void sdr::MasterPageDescriptor::operator= ( const MasterPageDescriptor rCandidate)
privatedelete

◆ PageInDestruction()

void sdr::MasterPageDescriptor::PageInDestruction ( const SdrPage rPage)
overridevirtual

Implements sdr::PageUser.

Definition at line 65 of file sdrmasterpagedescriptor.cxx.

References maOwnerPage, and SdrPage::TRG_ClearMasterPage().

◆ SetVisibleLayers()

void sdr::MasterPageDescriptor::SetVisibleLayers ( const SdrLayerIDSet rNew)

Member Data Documentation

◆ maOwnerPage

SdrPage& sdr::MasterPageDescriptor::maOwnerPage
private

Definition at line 36 of file sdrmasterpagedescriptor.hxx.

Referenced by GetOwnerPage(), and PageInDestruction().

◆ maUsedPage

SdrPage& sdr::MasterPageDescriptor::maUsedPage
private

◆ maVisibleLayers

SdrLayerIDSet sdr::MasterPageDescriptor::maVisibleLayers
private

◆ mpViewContact

std::unique_ptr<sdr::contact::ViewContact> sdr::MasterPageDescriptor::mpViewContact
mutableprivate

Definition at line 41 of file sdrmasterpagedescriptor.hxx.

Referenced by GetViewContact(), and ~MasterPageDescriptor().


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