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

#include <PageListWatcher.hxx>

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

Public Member Functions

 ImpDrawPageListWatcher (const SdrModel &rModel)
 
virtual ~ImpDrawPageListWatcher () 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 65 of file PageListWatcher.hxx.

Constructor & Destructor Documentation

◆ ImpDrawPageListWatcher()

ImpDrawPageListWatcher::ImpDrawPageListWatcher ( const SdrModel rModel)
explicit

Definition at line 189 of file PageListWatcher.cxx.

◆ ~ImpDrawPageListWatcher()

ImpDrawPageListWatcher::~ImpDrawPageListWatcher ( )
overridevirtual

Definition at line 194 of file PageListWatcher.cxx.

Member Function Documentation

◆ ImpGetPage()

SdPage * ImpDrawPageListWatcher::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 184 of file PageListWatcher.cxx.

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

◆ ImpGetPageCount()

sal_uInt32 ImpDrawPageListWatcher::ImpGetPageCount ( ) const
overrideprotectedvirtual

Implements ImpPageListWatcher.

Definition at line 179 of file PageListWatcher.cxx.

References SdrModel::GetPageCount(), and ImpPageListWatcher::mrModel.


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