37 for(sal_uInt32
a(0);
a < nPageCount;
a++)
40 DBG_ASSERT(pCandidate,
"ImpPageListWatcher::ImpRecreateSortedPageListOnDemand: Invalid PageList in Model (!)");
56 DBG_ASSERT(!
mpHandoutPage,
"ImpPageListWatcher::ImpRecreateSortedPageListOnDemand: Two Handout pages in PageList of Model (!)");
69 , mpHandoutPage(nullptr)
70 , mbPageListValid(false)
96 "ImpPageListWatcher::GetSdPage(PageKind::Standard): page number " << nPgNum <<
" >= " <<
maPageVectorStandard.size() );
107 "ImpPageListWatcher::GetSdPage(PageKind::Notes): page number " << nPgNum <<
" >= " <<
maPageVectorNotes.size() );
114 DBG_ASSERT(nPgNum == 0,
"ImpPageListWatcher::GetSdPage: access to non existing handout page (!)");
120 "ImpPageListWatcher::GetSdPage: access to non existing handout page (!)");
131 sal_uInt32 nRetval(0);
166 sal_uInt32 nVisiblePageCount = 0;
171 for(sal_uInt32
a(0);
a < nPageCount;
a++)
176 return nVisiblePageCount;
ImpDrawPageListWatcher(const SdrModel &rModel)
virtual ~ImpDrawPageListWatcher() override
virtual SdPage * ImpGetPage(sal_uInt32 nIndex) const override
Return the page with the given index.
virtual sal_uInt32 ImpGetPageCount() const override
virtual ~ImpMasterPageListWatcher() override
ImpMasterPageListWatcher(const SdrModel &rModel)
virtual SdPage * ImpGetPage(sal_uInt32 nIndex) const override
Return the page with the given index.
virtual sal_uInt32 ImpGetPageCount() const override
Maintain a map of page indices to page objects for faster access that remains valid during deletions ...
SdPageVector maPageVectorNotes
SdPageVector maPageVectorStandard
virtual SdPage * ImpGetPage(sal_uInt32 nIndex) const =0
Return the page with the given index.
virtual sal_uInt32 ImpGetPageCount() const =0
virtual ~ImpPageListWatcher()
sal_uInt32 GetSdPageCount(PageKind ePgKind)
SdPage * GetSdPage(PageKind ePgKind, sal_uInt32 nPgNum)
sal_uInt32 GetVisibleSdPageCount() const
void ImpRecreateSortedPageListOnDemand()
ImpPageListWatcher(const SdrModel &rModel)
PageKind GetPageKind() const
const SdrPage * GetMasterPage(sal_uInt16 nPgNum) const
sal_uInt16 GetMasterPageCount() const
const SdrPage * GetPage(sal_uInt16 nPgNum) const
sal_uInt16 GetPageCount() const
#define DBG_ASSERT(sCon, aError)
#define SAL_INFO(area, stream)