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()
233 ::sd::ViewShell* pViewSh = pDocShell ? pDocShell->GetViewShell() : NULL; in IMPL_LINK()
234 if(pViewSh == NULL) in IMPL_LINK()
238 pViewSh = pBase->GetMainViewShell().get(); in IMPL_LINK()
240 if( !pDoc && pViewSh ) in IMPL_LINK()
241 pDoc = pViewSh->GetDoc(); in IMPL_LINK()
244 SdPage* pPage = GetCurrentPage( pViewSh, pInfo, bMasterView ); in IMPL_LINK()
250 if( (pPage->GetPageKind() == PK_HANDOUT) && pViewSh ) in IMPL_LINK()
252 nPgNum = pViewSh->GetPrintedHandoutPageNum(); in IMPL_LINK()
273 ::sd::ViewShell* pViewSh = pDocShell ? pDocShell->GetViewShell() : NULL; in IMPL_LINK()
274 if(pViewSh == NULL) in IMPL_LINK()
278 pViewSh = pBase->GetMainViewShell().get(); in IMPL_LINK()
280 if( !pDoc && pViewSh ) in IMPL_LINK()
281 pDoc = pViewSh->GetDoc(); in IMPL_LINK()
284 SdPage* pPage = GetCurrentPage( pViewSh, pInfo, bMasterView ); in IMPL_LINK()
290 if( pPage && (pPage->GetPageKind() == PK_HANDOUT) && pViewSh ) in IMPL_LINK()
292 nPageCount = pViewSh->GetPrintedHandoutPageCount(); in IMPL_LINK()
347 sd::ViewShell* pViewSh = pDocShell ? pDocShell->GetViewShell() : NULL; in IMPL_LINK() local
349 SdPage* pPage = GetCurrentPage( pViewSh, pInfo, bMasterView ); in IMPL_LINK()