Lines Matching refs:pDocument
219 SdDrawDocument* pDocument = GetDoc(); in CreateOrDuplicatePage() local
220 SdrLayerAdmin& rLayerAdmin = pDocument->GetLayerAdmin(); in CreateOrDuplicatePage()
229 if (pDocument->GetSdPage(0, ePageKind) != NULL) in CreateOrDuplicatePage()
230 pTemplatePage = pDocument->GetSdPage(0, ePageKind); in CreateOrDuplicatePage()
261 pDocument->StopWorkStartupDelay(); in CreateOrDuplicatePage()
270 …SdPage* pNotesTemplatePage = static_cast<SdPage*>(pDocument->GetPage(pTemplatePage->GetPageNum()+1… in CreateOrDuplicatePage()
277 pDocument->StopWorkStartupDelay(); in CreateOrDuplicatePage()
294 pDocument->StopWorkStartupDelay(); in CreateOrDuplicatePage()
363 pDocument->CreateFirstPages(); in CreateOrDuplicatePage()
370 nNewPageIndex = pDocument->CreatePage ( in CreateOrDuplicatePage()
381 sal_uInt16 nPageCount (pDocument->GetSdPageCount(ePageKind)); in CreateOrDuplicatePage()
384 pDocument->GetSdPage(i, PK_STANDARD)->SetSelected( in CreateOrDuplicatePage()
386 pDocument->GetSdPage(i, PK_NOTES)->SetSelected( in CreateOrDuplicatePage()
390 pDocument->MovePages ((sal_uInt16)-1); in CreateOrDuplicatePage()
394 nNewPageIndex = pDocument->CreatePage ( in CreateOrDuplicatePage()
409 nNewPageIndex = pDocument->DuplicatePage ( in CreateOrDuplicatePage()
427 pNewPage = pDocument->GetSdPage(nNewPageIndex, PK_STANDARD); in CreateOrDuplicatePage()
433 pDrView->AddUndo(pDocument->GetSdrUndoFactory().CreateUndoNewPage(*pNewPage)); in CreateOrDuplicatePage()
434 …pDrView->AddUndo(pDocument->GetSdrUndoFactory().CreateUndoNewPage(*pDocument->GetSdPage (nNewPageI… in CreateOrDuplicatePage()