Lines Matching refs:pPage
96 SdPage* pPage = NULL; in GetObj() local
106 pPage = (SdPage*) GetPage(nPage); in GetObj()
107 SdrObjListIter aIter(*pPage, IM_DEEPWITHGROUPS); in GetObj()
133 pPage = (SdPage*) GetMasterPage(nPage); in GetObj()
134 SdrObjListIter aIter(*pPage, IM_DEEPWITHGROUPS); in GetObj()
164 SdPage* pPage = NULL; in GetPageByName() local
175 pPage = const_cast<SdPage*>(static_cast<const SdPage*>( in GetPageByName()
178 if (pPage != NULL in GetPageByName()
179 && pPage->GetPageKind() != PK_HANDOUT in GetPageByName()
180 && pPage->GetName() == rPgName) in GetPageByName()
194 pPage = const_cast<SdPage*>(static_cast<const SdPage*>( in GetPageByName()
197 if (pPage && pPage->GetName() == rPgName) in GetPageByName()
268 SdPage* pPage = NULL; in UpdatePageObjectsInNotes() local
272 pPage = (SdPage*)GetPage(nPage); in UpdatePageObjectsInNotes()
276 if (pPage && pPage->GetPageKind() == PK_NOTES) in UpdatePageObjectsInNotes()
278 sal_uLong nObjCount = pPage->GetObjCount(); in UpdatePageObjectsInNotes()
282 pObj = pPage->GetObj(nObj); in UpdatePageObjectsInNotes()
346 void SdDrawDocument::UpdatePageRelativeURLs(SdPage* pPage, sal_uInt16 nPos, sal_Int32 nIncrement) in UpdatePageRelativeURLs() argument
348 bool bNotes = (pPage->GetPageKind() == PK_NOTES); in UpdatePageRelativeURLs()
430 void SdDrawDocument::InsertPage(SdrPage* pPage, sal_uInt16 nPos) in InsertPage() argument
434 FmFormModel::InsertPage(pPage, nPos); in InsertPage()
436 ((SdPage*)pPage)->ConnectLink(); in InsertPage()
441 UpdatePageRelativeURLs(static_cast<SdPage*>( pPage ), nPos, 1); in InsertPage()
466 SdrPage* pPage = FmFormModel::RemovePage(nPgNum); in RemovePage() local
470 ((SdPage*)pPage)->DisconnectLink(); in RemovePage()
471 ReplacePageInCustomShows( dynamic_cast< SdPage* >( pPage ), 0 ); in RemovePage()
475 UpdatePageRelativeURLs((SdPage*)pPage, nPgNum, -1); in RemovePage()
477 return pPage; in RemovePage()
482 void SdDrawDocument::InsertMasterPage(SdrPage* pPage, sal_uInt16 nPos ) in InsertMasterPage() argument
484 FmFormModel::InsertMasterPage( pPage, nPos ); in InsertMasterPage()
485 …if( pPage && pPage->IsMasterPage() && (static_cast<SdPage*>(pPage)->GetPageKind() == PK_STANDARD) ) in InsertMasterPage()
490 pStylePool->AddStyleFamily( static_cast<SdPage*>(pPage) ); in InsertMasterPage()
496 SdPage* pPage = static_cast<SdPage*>(GetMasterPage(nPgNum )); in RemoveMasterPage() local
497 if( pPage && pPage->IsMasterPage() && (pPage->GetPageKind() == PK_STANDARD) ) in RemoveMasterPage()
502 pStylePool->RemoveStyleFamily( pPage ); in RemoveMasterPage()
514 void SdDrawDocument::SetSelected(SdPage* pPage, sal_Bool bSelect) in SetSelected() argument
516 PageKind ePageKind = pPage->GetPageKind(); in SetSelected()
520 pPage->SetSelected(bSelect); in SetSelected()
522 const sal_uInt16 nDestPageNum(pPage->GetPageNum() + 1); in SetSelected()
537 pPage->SetSelected(bSelect); in SetSelected()
538 SdPage* pStandardPage = (SdPage*) GetPage( pPage->GetPageNum() - 1 ); in SetSelected()
608 SdPage* pPage; in CreateFirstPages() local
616 pPage = dynamic_cast< SdPage* >( AllocPage(bMasterPage=sal_False) ); in CreateFirstPages()
620 pPage->SetSize( pRefPage->GetSize() ); in CreateFirstPages()
621 …pPage->SetBorder( pRefPage->GetLftBorder(), pRefPage->GetUppBorder(), pRefPage->GetRgtBorder(), pR… in CreateFirstPages()
626 pPage->SetSize(aDefSize); in CreateFirstPages()
641 pPage->SetBorder(nLeft, nTop, nRight, nBottom); in CreateFirstPages()
650 pPage->SetBorder(1000, 1000, 1000, 1000); in CreateFirstPages()
657 pPage->SetSize( Size( aSz.Height(), aSz.Width() ) ); in CreateFirstPages()
658 pPage->SetBorder(0, 0, 0, 0); in CreateFirstPages()
661 InsertPage(pPage, 1); in CreateFirstPages()
666 pPage = (SdPage*) GetPage(1); in CreateFirstPages()
673 pMPage->SetSize( pPage->GetSize() ); in CreateFirstPages()
674 pMPage->SetBorder( pPage->GetLftBorder(), in CreateFirstPages()
675 pPage->GetUppBorder(), in CreateFirstPages()
676 pPage->GetRgtBorder(), in CreateFirstPages()
677 pPage->GetLwrBorder() ); in CreateFirstPages()
679 pPage->TRG_SetMasterPage( *pMPage ); in CreateFirstPages()
681 pMPage->SetLayoutName( pPage->GetLayoutName() ); in CreateFirstPages()
713 pNotesPage->SetLayoutName( pPage->GetLayoutName() ); in CreateFirstPages()
728 pNotesMPage->SetLayoutName( pPage->GetLayoutName() ); in CreateFirstPages()
732 pPage->SetAutoLayout( AUTOLAYOUT_TITLE, sal_True, sal_True ); in CreateFirstPages()
770 SdPage* pPage = (SdPage*) GetPage(i); in CreateMissingNotesAndHandoutPages() local
772 if(!pPage->TRG_HasMasterPage()) in CreateMissingNotesAndHandoutPages()
776 pPage->TRG_SetMasterPage(*GetMasterPage(1)); in CreateMissingNotesAndHandoutPages()
783 sal_uInt16 nMasterPageAfterPagesMasterPage = (pPage->TRG_GetMasterPage()).GetPageNum() + 1; in CreateMissingNotesAndHandoutPages()
806 SdPage* pPage = NULL; in MovePages() local
820 pPage = GetSdPage(nPage, PK_STANDARD); in MovePages()
821 if (pPage->IsSelected()) in MovePages()
823 aPageList.Insert(pPage, LIST_APPEND); in MovePages()
831 pPage = GetSdPage(nPage, PK_STANDARD); in MovePages()
832 while (nPage > 0 && pPage->IsSelected()) in MovePages()
835 pPage = GetSdPage(nPage, PK_STANDARD); in MovePages()
838 if (pPage->IsSelected()) in MovePages()
875 pPage = (SdPage*)aPageList.GetObject(0); in MovePages()
876 nPage = pPage->GetPageNum(); in MovePages()
910 nTargetPage = pPage->GetPageNum(); in MovePages()
1009 SdPage* pPage = GetSdPage(0, PK_STANDARD); in IMPL_LINK() local
1011 if (pPage->GetAutoLayout() == AUTOLAYOUT_NONE) in IMPL_LINK()
1014 pPage->SetAutoLayout(AUTOLAYOUT_NONE, sal_True, sal_True); in IMPL_LINK()
1226 SdPage* pPage = NULL; in CheckMasterPages() local
1234 pPage = static_cast<SdPage*> (GetMasterPage( nPage )); in CheckMasterPages()
1236 if( ((1 == (nPage & 1)) && (pPage->GetPageKind() != PK_STANDARD) ) || in CheckMasterPages()
1237 ((0 == (nPage & 1)) && (pPage->GetPageKind() != PK_NOTES) ) ) in CheckMasterPages()
1250 pPage = static_cast<SdPage*> (GetMasterPage( nPage )); in CheckMasterPages()
1251 if( pPage->GetPageKind() != PK_STANDARD ) in CheckMasterPages()
1257 pPage = static_cast<SdPage*>(GetMasterPage( nFound )); in CheckMasterPages()
1258 if( PK_STANDARD == pPage->GetPageKind() ) in CheckMasterPages()
1261 pPage->SetInserted(sal_True); in CheckMasterPages()
1281 …if( (NULL == pNotesPage) || (pNotesPage->GetPageKind() != PK_NOTES) || ( pPage->GetLayoutName() !=… in CheckMasterPages()
1289 …if( (PK_NOTES == pNotesPage->GetPageKind()) && ( pPage->GetLayoutName() == pNotesPage->GetLayoutNa… in CheckMasterPages()
1328 pNewNotesPage->SetLayoutName( pPage->GetLayoutName() ); in CheckMasterPages()
1601 SdPage* pPage, in SetupNewPage() argument
1609 pPage->SetSize( pPreviousPage->GetSize() ); in SetupNewPage()
1610 pPage->SetBorder( pPreviousPage->GetLftBorder(), in SetupNewPage()
1615 pPage->SetName(sPageName); in SetupNewPage()
1617 InsertPage(pPage, nInsertionPoint); in SetupNewPage()
1627 pPage->TRG_SetMasterPageVisibleLayers(aVisibleLayers); in SetupNewPage()