Lines Matching refs:pPg
1422 SdrPage* pPg=(SdrPage*)(rPL.GetObject(i)); in RecalcPageNums() local
1423 pPg->SetPageNum(i); in RecalcPageNums()
1448 SdrPage* pPg=RemovePage(nPgNum); in DeletePage() local
1449 delete pPg; in DeletePage()
1454 SdrPage* pPg=(SdrPage*)maPages.Remove(nPgNum); in RemovePage() local
1457 if (pPg!=NULL) { in RemovePage()
1458 pPg->SetInserted(sal_False); in RemovePage()
1463 aHint.SetPage(pPg); in RemovePage()
1465 return pPg; in RemovePage()
1470 SdrPage* pPg=(SdrPage*)maPages.Remove(nPgNum); in MovePage() local
1473 if (pPg!=NULL) { in MovePage()
1474 pPg->SetInserted(sal_False); in MovePage()
1475 InsertPage(pPg,nNewPos); in MovePage()
1500 SdrPage* pPg=RemoveMasterPage(nPgNum); in DeleteMasterPage() local
1501 if (pPg!=NULL) delete pPg; in DeleteMasterPage()
1533 SdrPage* pPg=(SdrPage*)maMaPag.Remove(nPgNum); in MoveMasterPage() local
1536 if (pPg!=NULL) { in MoveMasterPage()
1537 pPg->SetInserted(sal_False); in MoveMasterPage()
1538 maMaPag.Insert(pPg,nNewPos); in MoveMasterPage()
1545 aHint.SetPage(pPg); in MoveMasterPage()
1604 SdrPage* pPg=pPagePtrs[nCopyNum]; in CopyPages() local
1605 sal_uInt16 nPageNum2=pPg->GetPageNum(); in CopyPages()
1609 pPg=pPg1->Clone(); in CopyPages()
1610 InsertPage(pPg,nDestNum); in CopyPages()
1612 AddUndo(GetSdrUndoFactory().CreateUndoCopyPage(*pPg)); in CopyPages()
1624 pPg=RemovePage(nPageNum2); in CopyPages()
1625 InsertPage(pPg,nDestNum); in CopyPages()
1682 const SdrPage* pPg=rSourceModel.GetPage(i); in Merge() local
1683 if(pPg->TRG_HasMasterPage()) in Merge()
1685 SdrPage& rMasterPage = pPg->TRG_GetMasterPage(); in Merge()
1711 SdrPage* pPg=NULL; in Merge() local
1714 pPg=pPg1->Clone(); in Merge()
1716 pPg=rSourceModel.RemoveMasterPage(i); in Merge()
1718 if (pPg!=NULL) { in Merge()
1722 maMaPag.Insert(pPg,nDstMasterPageAnz); in Merge()
1725 pPg->SetInserted(sal_True); in Merge()
1726 pPg->SetModel(this); in Merge()
1728 if (bUndo) AddUndo(GetSdrUndoFactory().CreateUndoNewPage(*pPg)); in Merge()
1742 SdrPage* pPg=NULL; in Merge() local
1745 pPg=pPg1->Clone(); in Merge()
1747 pPg=rSourceModel.RemovePage(nSourcePos); in Merge()
1749 if (pPg!=NULL) { in Merge()
1750 InsertPage(pPg,nDestPos); in Merge()
1751 if (bUndo) AddUndo(GetSdrUndoFactory().CreateUndoNewPage(*pPg)); in Merge()
1754 if(pPg->TRG_HasMasterPage()) in Merge()
1756 SdrPage& rMasterPage = pPg->TRG_GetMasterPage(); in Merge()
1772 AddUndo(GetSdrUndoFactory().CreateUndoPageChangeMasterPage(*pPg)); in Merge()
1775 pPg->TRG_SetMasterPage(*GetMasterPage(nNeuNum)); in Merge()
1781 pPg->TRG_ClearMasterPage(); in Merge()