Lines Matching refs:pSh

247         SwWrtShell *pSh = pNewView->GetWrtShellPtr();  in InsertLab()  local
248 ASSERT( pSh, "missing WrtShell" ); in InsertLab()
254 SET_CURR_SHELL(pSh); in InsertLab()
255 pSh->SetLabelDoc(rItem.bSynchron); in InsertLab()
256 pSh->DoUndo( sal_False ); in InsertLab()
257 pSh->StartAllAction(); in InsertLab()
259 pSh->SetNewDoc(); // Performanceprobleme vermeiden in InsertLab()
261 SwPageDesc aDesc = pSh->GetPageDesc( 0 ); in InsertLab()
294 const SwPageDesc &rFollow = pSh->GetPageDesc( pSh->GetCurPageDesc() ); in InsertLab()
297 pPrt = pSh->getIDocumentDeviceAccess()->getPrinter( true ); in InsertLab()
307 pSh->ChgPageDesc( 0, aDesc ); in InsertLab()
323 pSh->SetAttrItem( aLR ); in InsertLab()
324 SwFmt *pStandard = pSh->GetTxtCollFromPool( RES_POOLCOLL_STANDARD ); in InsertLab()
331 SwFrmFmt* pFmt = pSh->GetFrmFmtFromPool( RES_POOLFRM_LABEL ); in InsertLab()
357 pSh->Push(); in InsertLab()
360 lcl_InsertLabText( *pSh, rItem, *pFmt, *pFldMgr, j, i, in InsertLab()
363 lcl_InsertBCText(*pSh, rItem, *pFmt, j, i, sal_True); in InsertLab()
372 pSh->Push(); in InsertLab()
373 pSh->SttDoc(); in InsertLab()
374 sal_Bool bInFly = 0 != pSh->WizzardGetFly(); in InsertLab()
375 pSh->Pop( bInFly ); in InsertLab()
378 pSh->EndDoc(sal_True); // select all content in InsertLab()
381 pSh->SetMark(); // set only the mark in InsertLab()
385 pSh->InsertSection(aSect); in InsertLab()
391 pSh->GetUniqueSectionName()); in InsertLab()
397 pSh->Insert(aDotStr); // Dummytext zum Zuweisen der Section in InsertLab()
398 pSh->SttDoc(); in InsertLab()
399 pSh->EndDoc(sal_True); // Alles im Rahmen selektieren in InsertLab()
400 pSh->InsertSection(aSect); in InsertLab()
402 pSh->Pop( sal_False ); in InsertLab()
405 pSh->SplitNode(); // Kleine Optimierung in InsertLab()
411 lcl_InsertLabText( *pSh, rItem, *pFmt, *pFldMgr, in InsertLab()
414 lcl_InsertBCText(*pSh, rItem, *pFmt, in InsertLab()
422 uno::Reference< frame::XModel > xModel = pSh->GetView().GetDocShell()->GetBaseModel(); in InsertLab()
429 pFldMgr->EvalExpFlds(pSh); in InsertLab()
433 pSh->GotoFly(pFirstFlyFmt->GetName(), FLYCNTTYPE_ALL, sal_False); in InsertLab()
435 pSh->EndAllAction(); in InsertLab()
436 pSh->DoUndo( sal_True ); in InsertLab()
442 ShowDBObj( *pNewView, pSh->GetDBData() ); in InsertLab()