Lines Matching refs:pMasterPage
48 SdPage* pMasterPage) in CopyMasterPageToLocalDocument() argument
54 if (pMasterPage == NULL) in CopyMasterPageToLocalDocument()
59 pMasterPage->GetModel()); in CopyMasterPageToLocalDocument()
67 pNewMasterPage = pMasterPage; in CopyMasterPageToLocalDocument()
81 sal_uInt16 nIndex = pMasterPage->GetPageNum(); in CopyMasterPageToLocalDocument()
85 if (pMasterPage != static_cast<SdPage*>( in CopyMasterPageToLocalDocument()
103 if (pMasterPage!=NULL in CopyMasterPageToLocalDocument()
104 && pCandidate->GetName().CompareTo(pMasterPage->GetName())==0) in CopyMasterPageToLocalDocument()
135 pNewMasterPage = AddMasterPage(rTargetDocument, pMasterPage); in CopyMasterPageToLocalDocument()
165 SdPage* DocumentHelper::GetSlideForMasterPage (SdPage* pMasterPage) in GetSlideForMasterPage() argument
170 if (pMasterPage != NULL) in GetSlideForMasterPage()
171 pDocument = dynamic_cast<SdDrawDocument*>(pMasterPage->GetModel()); in GetSlideForMasterPage()
189 == pMasterPage) in GetSlideForMasterPage()
216 SdPage* pMasterPage) in AddMasterPage() argument
220 if (pMasterPage!=NULL) in AddMasterPage()
225 pClonedMasterPage = static_cast<SdPage*>(pMasterPage->Clone()); in AddMasterPage()
229 = static_cast<SdDrawDocument*>(pMasterPage->GetModel()); in AddMasterPage()
234 pClonedMasterPage->SetPrecious(pMasterPage->IsPrecious()); in AddMasterPage()
304 SdPage* pMasterPage, in AssignMasterPageToPageList() argument
309 if (pMasterPage == NULL && pMasterPage->IsMasterPage()) in AssignMasterPageToPageList()
314 String sFullLayoutName (pMasterPage->GetLayoutName()); in AssignMasterPageToPageList()
341 SdPage* pMasterPageInDocument = ProvideMasterPage(rTargetDocument,pMasterPage,rpPageList); in AssignMasterPageToPageList()
367 SdPage* pMasterPage, in AddMasterPage() argument
372 if (pMasterPage!=NULL) in AddMasterPage()
375 pClonedMasterPage = static_cast<SdPage*>(pMasterPage->Clone()); in AddMasterPage()
378 pClonedMasterPage->SetPrecious(pMasterPage->IsPrecious()); in AddMasterPage()
382 = static_cast<SdDrawDocument*>(pMasterPage->GetModel()); in AddMasterPage()
393 Size aNewSize (rTargetDocument.GetSdPage(0, pMasterPage->GetPageKind())->GetSize()); in AddMasterPage()
425 SdPage* pMasterPage, in AssignMasterPageToPage() argument
430 if (pPage == NULL || pMasterPage == NULL) in AssignMasterPageToPage()
496 SdPage* pMasterPage, in ProvideMasterPage() argument
502 if (pMasterPage == NULL) in ProvideMasterPage()
505 OSL_ASSERT(pMasterPage != NULL); in ProvideMasterPage()
508 SdDrawDocument* pSourceDocument = static_cast<SdDrawDocument*>(pMasterPage->GetModel()); in ProvideMasterPage()
512 pSourceDocument->GetMasterPage(pMasterPage->GetPageNum()+1)); in ProvideMasterPage()
524 const XubString sMasterPageLayoutName (pMasterPage->GetLayoutName()); in ProvideMasterPage()
551 if (pMasterPage->GetModel() != &rTargetDocument) in ProvideMasterPage()
553 pMasterPageInDocument = AddMasterPage (rTargetDocument, pMasterPage, nInsertionIndex); in ProvideMasterPage()
559 pMasterPageInDocument = pMasterPage; in ProvideMasterPage()