Lines Matching refs:pViewSh
85 static SdPage* GetCurrentPage( sd::ViewShell* pViewSh, EditFieldInfo* pInfo, bool& bMasterView ) in GetCurrentPage() argument
104 if( pViewSh && pViewSh->ISA(sd::OutlineViewShell)) in GetCurrentPage()
105 pSdView = static_cast<sd::OutlineView*> (static_cast<sd::OutlineViewShell*>(pViewSh)->GetView()); in GetCurrentPage()
121 pPage = pViewSh->GetDoc()->GetSdPage( (sal_uInt16)nPgNum, PK_STANDARD ); in GetCurrentPage()
139 …const SdrTextObj* pTextObj = (pViewSh && pViewSh->GetDoc()) ? pViewSh->GetDoc()->GetFormattingText… in GetCurrentPage()
235 ::sd::ViewShell* pViewSh = pDocShell ? pDocShell->GetViewShell() : NULL; in IMPL_LINK()
236 if(pViewSh == NULL) in IMPL_LINK()
240 pViewSh = pBase->GetMainViewShell().get(); in IMPL_LINK()
242 if( !pDoc && pViewSh ) in IMPL_LINK()
243 pDoc = pViewSh->GetDoc(); in IMPL_LINK()
246 SdPage* pPage = GetCurrentPage( pViewSh, pInfo, bMasterView ); in IMPL_LINK()
252 if( (pPage->GetPageKind() == PK_HANDOUT) && pViewSh ) in IMPL_LINK()
254 nPgNum = pViewSh->GetPrintedHandoutPageNum(); in IMPL_LINK()
275 ::sd::ViewShell* pViewSh = pDocShell ? pDocShell->GetViewShell() : NULL; in IMPL_LINK()
276 if(pViewSh == NULL) in IMPL_LINK()
280 pViewSh = pBase->GetMainViewShell().get(); in IMPL_LINK()
282 if( !pDoc && pViewSh ) in IMPL_LINK()
283 pDoc = pViewSh->GetDoc(); in IMPL_LINK()
286 SdPage* pPage = GetCurrentPage( pViewSh, pInfo, bMasterView ); in IMPL_LINK()
292 if( pPage && (pPage->GetPageKind() == PK_HANDOUT) && pViewSh ) in IMPL_LINK()
294 nPageCount = pViewSh->GetPrintedHandoutPageCount(); in IMPL_LINK()
349 sd::ViewShell* pViewSh = pDocShell ? pDocShell->GetViewShell() : NULL; in IMPL_LINK() local
351 SdPage* pPage = GetCurrentPage( pViewSh, pInfo, bMasterView ); in IMPL_LINK()