Lines Matching refs:pSh
151 pSh(&rWrtShell) in SwIndexMarkDlg()
242 DBG_ASSERT(pSh && pTOXMgr, "Shell nicht da?"); in InitControls()
258 sal_uInt16 nCount = pSh->GetTOXTypeCount(TOX_USER); in InitControls()
261 aTypeDCB.InsertEntry( pSh->GetTOXType(TOX_USER, i)->GetTypeName() ); in InitControls()
265 nCount = pSh->GetTOIKeys( TOI_PRIMARY, aArr ); in InitControls()
270 nCount = pSh->GetTOIKeys( TOI_SECONDARY, aArr ); in InitControls()
284 pSh->SttCrsrMove(); in InitControls()
289 pMoveMark = &pSh->GotoTOXMark( *pMark, TOX_PRV ); in InitControls()
291 pSh->GotoTOXMark( *pMoveMark, TOX_NXT ), bShow = sal_True; in InitControls()
293 pMoveMark = &pSh->GotoTOXMark( *pMark, TOX_NXT ); in InitControls()
295 pSh->GotoTOXMark( *pMoveMark, TOX_PRV ), bShow = sal_True; in InitControls()
304 pMoveMark = &pSh->GotoTOXMark( *pMark, TOX_SAME_PRV ); in InitControls()
306 pSh->GotoTOXMark( *pMoveMark, TOX_SAME_NXT ), bShow = sal_True; in InitControls()
308 pMoveMark = &pSh->GotoTOXMark( *pMark, TOX_SAME_NXT ); in InitControls()
310 pSh->GotoTOXMark( *pMoveMark, TOX_SAME_PRV ), bShow = sal_True; in InitControls()
317 pSh->EndCrsrMove(); in InitControls()
328 sal_uInt16 nCnt = pSh->GetCrsrCnt(); in InitControls()
331 bSelected = !pSh->HasSelection(); in InitControls()
332 aOrgStr = pSh->GetView().GetSelectionTextParam(sal_True, sal_False); in InitControls()
337 const sal_uInt16 nFrmType = pSh->GetFrmType(0,sal_True); in InitControls()
389 sal_uInt16 nScriptType = pSh->GetScriptType(); in UpdateLanguageDependenciesForPhoneticReading()
398 SfxItemSet aLangSet(pSh->GetAttrPool(), nWhich, nWhich); in UpdateLanguageDependenciesForPhoneticReading()
399 pSh->GetCurAttr(aLangSet); in UpdateLanguageDependenciesForPhoneticReading()
430 sal_uInt16 nCnt = pSh->GetCrsrCnt(); in Activate()
433 bSelected = !pSh->HasSelection(); in Activate()
434 aOrgStr = pSh->GetView().GetSelectionTextParam(sal_True, sal_False); in Activate()
439 const sal_uInt16 nFrmType = pSh->GetFrmType(0,sal_True); in Activate()
458 pSh->ResetSelect(0, sal_False); in Apply()
468 pSh->StartUndo(bDel ? UNDO_INDEX_ENTRY_DELETE : UNDO_INDEX_ENTRY_INSERT); in InsertUpdate()
469 pSh->StartAllAction(); in InsertUpdate()
480 else if( !pSh->HasReadonlySel() ) in InsertUpdate()
492 pSh->EndAllAction(); in InsertUpdate()
493 pSh->EndUndo(bDel ? UNDO_INDEX_ENTRY_DELETE : UNDO_INDEX_ENTRY_INSERT); in InsertUpdate()
566 pSh->StartAllAction(); in InsertMark()
571 lcl_SelectSameStrings(*pSh, bWordOnly, bCaseSensitive); in InsertMark()
574 SwTOXMgr aMgr(pSh); in InsertMark()
577 pSh->Pop(sal_False); in InsertMark()
579 pSh->EndAllAction(); in InsertMark()
818 aOKBT.Enable(!pSh->HasReadonlySel() && in IMPL_LINK()
819 (aEntryED.GetText().Len() || pSh->GetCrsrCnt(sal_False))); in IMPL_LINK()
892 DBG_ASSERT(pSh && pTOXMgr, "Shell nicht da?"); in UpdateDialog()
951 pSh->SttCrsrMove(); in UpdateDialog()
954 const SwTOXMark* pMoveMark = &pSh->GotoTOXMark( *pMark, TOX_PRV ); in UpdateDialog()
956 pSh->GotoTOXMark( *pMoveMark, TOX_NXT ); in UpdateDialog()
958 pMoveMark = &pSh->GotoTOXMark( *pMark, TOX_NXT ); in UpdateDialog()
960 pSh->GotoTOXMark( *pMoveMark, TOX_PRV ); in UpdateDialog()
966 const SwTOXMark* pMoveMark = &pSh->GotoTOXMark( *pMark, TOX_SAME_PRV ); in UpdateDialog()
968 pSh->GotoTOXMark( *pMoveMark, TOX_SAME_NXT ); in UpdateDialog()
970 pMoveMark = &pSh->GotoTOXMark( *pMark, TOX_SAME_NXT ); in UpdateDialog()
972 pSh->GotoTOXMark( *pMoveMark, TOX_SAME_PRV ); in UpdateDialog()
976 sal_Bool bEnable = !pSh->HasReadonlySel(); in UpdateDialog()
984 pSh->SelectTxtAttr( RES_TXTATR_TOXMARK, pMark->GetTxtTOXMark() ); in UpdateDialog()
986 pSh->SwapPam(); in UpdateDialog()
988 pSh->EndCrsrMove(); in UpdateDialog()
1086 pSh = &rWrtShell; in ReInitDlg()
1088 pTOXMgr = new SwTOXMgr(pSh); in ReInitDlg()
1259 pSh(0) in SwAuthMarkDlg()
1312 pSh = &rWrtShell; in ReInitDlg()
1383 pSh->GetFldType(RES_AUTHORITY, aEmptyStr); in IMPL_LINK()
1406 if(pSh) in IMPL_LINK()
1413 pSh->GetFldType(RES_AUTHORITY, aEmptyStr); in IMPL_LINK()
1429 SwFldMgr aMgr(pSh); in IMPL_LINK()
1443 pSh->ChangeAuthorityData(&aNewData); in IMPL_LINK()
1468 *pSh, bNewEntry, bCreate); in IMPL_LINK()
1555 pSh->GetFldType(RES_AUTHORITY, aEmptyStr); in IMPL_LINK()
1600 pSh->GetFldType(RES_AUTHORITY, aEmptyStr); in IMPL_LINK()
1615 DBG_ASSERT(pSh, "Shell nicht da?"); in InitControls()
1616 SwField* pField = pSh->GetCurFld(); in InitControls()
1647 aOKBT.Enable(!pSh->HasReadonlySel()); in Activate()