Lines Matching refs:rTargetDocument
47 SdDrawDocument& rTargetDocument, in CopyMasterPageToLocalDocument() argument
65 if (pSourceDocument == &rTargetDocument) in CopyMasterPageToLocalDocument()
98 sal_uInt16 nMasterPageCount(rTargetDocument.GetMasterSdPageCount(PK_STANDARD)); in CopyMasterPageToLocalDocument()
102 rTargetDocument.GetMasterSdPage (nMaster, PK_STANDARD)); in CopyMasterPageToLocalDocument()
116 rTargetDocument.getUnoModel(), uno::UNO_QUERY); in CopyMasterPageToLocalDocument()
126 SdPage* pSlide = rTargetDocument.GetSdPage( in CopyMasterPageToLocalDocument()
127 rTargetDocument.GetSdPageCount(PK_STANDARD)-1, in CopyMasterPageToLocalDocument()
135 pNewMasterPage = AddMasterPage(rTargetDocument, pMasterPage); in CopyMasterPageToLocalDocument()
139 = AddMasterPage(rTargetDocument, pNotesMasterPage); in CopyMasterPageToLocalDocument()
145 rTargetDocument.SetMasterPage ( in CopyMasterPageToLocalDocument()
146 rTargetDocument.GetSdPageCount(PK_STANDARD)-1, in CopyMasterPageToLocalDocument()
148 &rTargetDocument, in CopyMasterPageToLocalDocument()
157 rTargetDocument.SetChanged (sal_False); in CopyMasterPageToLocalDocument()
215 SdDrawDocument& rTargetDocument, in AddMasterPage() argument
231 ProvideStyles (*pSourceDocument, rTargetDocument, pClonedMasterPage); in AddMasterPage()
238 rTargetDocument.InsertMasterPage (pClonedMasterPage); in AddMasterPage()
265 SdDrawDocument& rTargetDocument, in ProvideStyles() argument
276 static_cast<SdStyleSheetPool*>(rTargetDocument.GetStyleSheetPool()); in ProvideStyles()
286 ::svl::IUndoManager* pUndoManager = rTargetDocument.GetDocSh()->GetUndoManager(); in ProvideStyles()
291 &rTargetDocument, in ProvideStyles()
303 SdDrawDocument& rTargetDocument, in AssignMasterPageToPageList() argument
327 OSL_ASSERT(*iPage!=NULL && (*iPage)->GetModel() == &rTargetDocument); in AssignMasterPageToPageList()
337 ::svl::IUndoManager* pUndoMgr = rTargetDocument.GetDocSh()->GetUndoManager(); in AssignMasterPageToPageList()
341 SdPage* pMasterPageInDocument = ProvideMasterPage(rTargetDocument,pMasterPage,rpPageList); in AssignMasterPageToPageList()
366 SdDrawDocument& rTargetDocument, in AddMasterPage() argument
385 ProvideStyles (*pSourceDocument, rTargetDocument, pClonedMasterPage); in AddMasterPage()
389 rTargetDocument.InsertMasterPage (pClonedMasterPage, nInsertionIndex); in AddMasterPage()
393 Size aNewSize (rTargetDocument.GetSdPage(0, pMasterPage->GetPageKind())->GetSize()); in AddMasterPage()
495 SdDrawDocument& rTargetDocument, in ProvideMasterPage() argument
525 for (sal_uInt16 nIndex=0,nCount=rTargetDocument.GetMasterPageCount(); nIndex<nCount; ++nIndex) in ProvideMasterPage()
527 SdPage* pCandidate = static_cast<SdPage*>(rTargetDocument.GetMasterPage(nIndex)); in ProvideMasterPage()
544 sal_uInt16 nInsertionIndex = rTargetDocument.GetMasterPageCount(); in ProvideMasterPage()
551 if (pMasterPage->GetModel() != &rTargetDocument) in ProvideMasterPage()
553 pMasterPageInDocument = AddMasterPage (rTargetDocument, pMasterPage, nInsertionIndex); in ProvideMasterPage()
554 if( rTargetDocument.IsUndoEnabled() ) in ProvideMasterPage()
555 rTargetDocument.AddUndo( in ProvideMasterPage()
556 rTargetDocument.GetSdrUndoFactory().CreateUndoNewPage(*pMasterPageInDocument)); in ProvideMasterPage()
562 if (pNotesMasterPage->GetModel() != &rTargetDocument) in ProvideMasterPage()
565 = AddMasterPage (rTargetDocument, pNotesMasterPage, nInsertionIndex+1); in ProvideMasterPage()
566 if( rTargetDocument.IsUndoEnabled() ) in ProvideMasterPage()
567 rTargetDocument.AddUndo( in ProvideMasterPage()
568 rTargetDocument.GetSdrUndoFactory().CreateUndoNewPage(*pClonedNotesMasterPage)); in ProvideMasterPage()