Lines Matching refs:pMaster

1374 		SdPage* pMaster = pMasterPage;  in RemoveUnnecessaryMasterPages()  local
1377 if (!pMaster) in RemoveUnnecessaryMasterPages()
1379 pMaster = (SdPage*) GetMasterSdPage( (sal_uInt16) nMPage, PK_STANDARD ); in RemoveUnnecessaryMasterPages()
1386 if ( pMaster == GetMasterPage( nMPg ) ) in RemoveUnnecessaryMasterPages()
1394 DBG_ASSERT( pMaster->GetPageKind() == PK_STANDARD, "wrong page kind" ); in RemoveUnnecessaryMasterPages()
1396 if ( pMaster->GetPageKind() == PK_STANDARD && in RemoveUnnecessaryMasterPages()
1397 GetMasterPageUserCount( pMaster ) == 0 && in RemoveUnnecessaryMasterPages()
1401 sal_Bool bDeleteMaster = !pMaster->IsPrecious(); in RemoveUnnecessaryMasterPages()
1402 String aLayoutName = pMaster->GetLayoutName(); in RemoveUnnecessaryMasterPages()
1411 if( pMPg != pMaster && in RemoveUnnecessaryMasterPages()
1429 if( (pShownPage == pMaster) || (pShownPage == pNotesMaster) ) in RemoveUnnecessaryMasterPages()
1449 AddUndo(GetSdrUndoFactory().CreateUndoDeletePage(*pMaster)); in RemoveUnnecessaryMasterPages()
1451 RemoveMasterPage( pMaster->GetPageNum() ); in RemoveUnnecessaryMasterPages()
1454 delete pMaster; in RemoveUnnecessaryMasterPages()
1589 SdPage* pMaster = NULL; in SetMasterPage() local
1607 pMaster = (SdPage*) pSourceDoc->GetMasterSdPage(0, PK_STANDARD); in SetMasterPage()
1623 pMaster = pMP; in SetMasterPage()
1627 if (pMaster && pNotesMaster) in SetMasterPage()
1630 DBG_ASSERT(pMaster, "MasterPage (Standard page) not found"); in SetMasterPage()
1634 if( (pMaster == NULL) || (pNotesMaster == NULL) ) in SetMasterPage()
1637 pMaster = (SdPage*) pSourceDoc->GetMasterSdPage(0, PK_STANDARD); in SetMasterPage()
1643 if( (pMaster == NULL) || (pNotesMaster == NULL) ) in SetMasterPage()
1655 const String aOriginalNewLayoutName( pMaster->GetName() ); in SetMasterPage()
1662 SdPage* pNewMaster = dynamic_cast< SdPage* >(pMaster->Clone(this)); in SetMasterPage()
1673 pMaster = pNewMaster; in SetMasterPage()
1676 aTargetNewLayoutName = pMaster->GetLayoutName(); in SetMasterPage()
1687 pMaster->SetName(aTargetNewLayoutName); in SetMasterPage()
1688 pMaster->SetLayoutName(aTemp); in SetMasterPage()
1838 String aPageLayoutName(pMaster->GetLayoutName()); in SetMasterPage()
1869 InsertMasterPage(pMaster, nInsertPos); in SetMasterPage()
1871 AddUndo(GetSdrUndoFactory().CreateUndoNewPage(*pMaster)); in SetMasterPage()
1890 pPageList->Insert(pMaster, LIST_APPEND); in SetMasterPage()
1945 pMaster->ScaleObjects(aSize, aBorderRect, sal_True); in SetMasterPage()
1946 pMaster->SetSize(aSize); in SetMasterPage()
1947 pMaster->SetBorder(rOldMaster.GetLftBorder(), in SetMasterPage()
1951 pMaster->SetOrientation( rOldMaster.GetOrientation() ); in SetMasterPage()
1952 pMaster->SetAutoLayout(pMaster->GetAutoLayout()); in SetMasterPage()
1981 pMaster->RemoveEmptyPresentationObjects(); in SetMasterPage()
2016 pMaster = (SdPage*) AllocPage(sal_True); in SetMasterPage()
2017 pMaster->SetSize(pSelectedPage->GetSize()); in SetMasterPage()
2018 pMaster->SetBorder(pSelectedPage->GetLftBorder(), in SetMasterPage()
2022 pMaster->SetName(aName); in SetMasterPage()
2023 pMaster->SetLayoutName(aPageLayoutName); in SetMasterPage()
2024 InsertMasterPage(pMaster); in SetMasterPage()
2027 AddUndo(GetSdrUndoFactory().CreateUndoNewPage(*pMaster)); in SetMasterPage()
2029 pMaster->SetAutoLayout(AUTOLAYOUT_NONE, true, true); in SetMasterPage()