LibreOffice Module sd (master) 1
Public Member Functions | Protected Member Functions | List of all members
ImpMasterPageListWatcher Class Reference

#include <PageListWatcher.hxx>

Inheritance diagram for ImpMasterPageListWatcher:
[legend]
Collaboration diagram for ImpMasterPageListWatcher:
[legend]

Public Member Functions

 ImpMasterPageListWatcher (const SdrModel &rModel)
 
virtual ~ImpMasterPageListWatcher () override
 
- Public Member Functions inherited from ImpPageListWatcher
 ImpPageListWatcher (const SdrModel &rModel)
 
virtual ~ImpPageListWatcher ()
 
void Invalidate ()
 
SdPageGetSdPage (PageKind ePgKind, sal_uInt32 nPgNum)
 
sal_uInt32 GetSdPageCount (PageKind ePgKind)
 
sal_uInt32 GetVisibleSdPageCount () const
 

Protected Member Functions

virtual sal_uInt32 ImpGetPageCount () const override
 
virtual SdPageImpGetPage (sal_uInt32 nIndex) const override
 Return the page with the given index. More...
 
- Protected Member Functions inherited from ImpPageListWatcher
void ImpRecreateSortedPageListOnDemand ()
 
virtual sal_uInt32 ImpGetPageCount () const =0
 
virtual SdPageImpGetPage (sal_uInt32 nIndex) const =0
 Return the page with the given index. More...
 

Additional Inherited Members

- Protected Types inherited from ImpPageListWatcher
typedef ::std::vector< SdPage * > SdPageVector
 
- Protected Attributes inherited from ImpPageListWatcher
const SdrModelmrModel
 
SdPageVector maPageVectorStandard
 
SdPageVector maPageVectorNotes
 
SdPagempHandoutPage
 
bool mbPageListValid
 

Detailed Description

Definition at line 76 of file PageListWatcher.hxx.

Constructor & Destructor Documentation

◆ ImpMasterPageListWatcher()

ImpMasterPageListWatcher::ImpMasterPageListWatcher ( const SdrModel rModel)
explicit

Definition at line 208 of file PageListWatcher.cxx.

◆ ~ImpMasterPageListWatcher()

ImpMasterPageListWatcher::~ImpMasterPageListWatcher ( )
overridevirtual

Definition at line 213 of file PageListWatcher.cxx.

Member Function Documentation

◆ ImpGetPage()

SdPage * ImpMasterPageListWatcher::ImpGetPage ( sal_uInt32  nIndex) const
overrideprotectedvirtual

Return the page with the given index.

Parameters
nIndexWhen given an invalid index then NULL is returned.

Implements ImpPageListWatcher.

Definition at line 203 of file PageListWatcher.cxx.

References SdrModel::GetMasterPage(), ImpPageListWatcher::mrModel, and nIndex.

◆ ImpGetPageCount()

sal_uInt32 ImpMasterPageListWatcher::ImpGetPageCount ( ) const
overrideprotectedvirtual

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