LibreOffice Module sd (master) 1
Public Types | Public Member Functions | Public Attributes | List of all members
sd::MasterPageObserverEvent Class Reference

Objects of this class are sent to listeners of the MasterPageObserver singleton when the list of master pages of one document has changed. More...

#include <MasterPageObserver.hxx>

Public Types

enum  EventType {
  ET_MASTER_PAGE_EXISTS ,
  ET_MASTER_PAGE_ADDED ,
  ET_MASTER_PAGE_REMOVED
}
 

Public Member Functions

 MasterPageObserverEvent (EventType eType, const OUString &rMasterPageName)
 

Public Attributes

EventType meType
 
const OUString & mrMasterPageName
 

Detailed Description

Objects of this class are sent to listeners of the MasterPageObserver singleton when the list of master pages of one document has changed.

Definition at line 94 of file MasterPageObserver.hxx.

Member Enumeration Documentation

◆ EventType

Enumerator
ET_MASTER_PAGE_EXISTS 

Master page already exists when document is registered.

ET_MASTER_PAGE_ADDED 

Master page has been added to a document.

ET_MASTER_PAGE_REMOVED 

Master page has been removed from to a document.

Definition at line 97 of file MasterPageObserver.hxx.

Constructor & Destructor Documentation

◆ MasterPageObserverEvent()

sd::MasterPageObserverEvent::MasterPageObserverEvent ( EventType  eType,
const OUString &  rMasterPageName 
)
inline

Definition at line 110 of file MasterPageObserver.hxx.

References eType.

Member Data Documentation

◆ meType

EventType sd::MasterPageObserverEvent::meType

Definition at line 107 of file MasterPageObserver.hxx.

◆ mrMasterPageName

const OUString& sd::MasterPageObserverEvent::mrMasterPageName

Definition at line 108 of file MasterPageObserver.hxx.


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