Lines Matching refs:pWrtShell

110 														pViewFrame, this, pWrtShell);  in SV_IMPL_PTRARR()
430 if( !pWrtShell->GetSelectedText( sOnlyTxt, GETSELTXT_PARABRK_TO_ONLYCR )) in NewGlossary()
437 const sal_uInt16 nSuccess = pWrtShell->MakeGlossary( *pTmp, rName, rShortName, in NewGlossary()
441 InfoBox(pWrtShell->GetView().GetWindow(), SW_RES(MSG_ERR_INSERT_GLOS)).Execute(); in NewGlossary()
475 ASSERT(pWrtShell->CanInsert(), illegal); in ExpandGlossary()
489 if(pWrtShell->SwCrsrShell::HasSelection() && !pWrtShell->IsBlockMode()) in ExpandGlossary()
491 aShortName = pWrtShell->GetSelTxt(); in ExpandGlossary()
495 if(pWrtShell->IsAddMode()) in ExpandGlossary()
496 pWrtShell->LeaveAddMode(); in ExpandGlossary()
497 else if(pWrtShell->IsBlockMode()) in ExpandGlossary()
498 pWrtShell->LeaveBlockMode(); in ExpandGlossary()
499 else if(pWrtShell->IsExtMode()) in ExpandGlossary()
500 pWrtShell->LeaveExtMode(); in ExpandGlossary()
502 pWrtShell->SelNearestWrd(); in ExpandGlossary()
504 if(pWrtShell->IsSelection()) in ExpandGlossary()
505 aShortName = pWrtShell->GetSelTxt(); in ExpandGlossary()
601 if(pWrtShell->IsSelection() && aShortName.Len() > nMaxLen) in Expand()
608 InfoBox( pWrtShell->GetView().GetWindow(), aTmp ).Execute(); in Expand()
624 pWrtShell->StartUndo(UNDO_INSGLOSSARY); in Expand()
626 pWrtShell->ExecMacro( aStartMacro ); in Expand()
627 if(pWrtShell->HasSelection()) in Expand()
628 pWrtShell->DelLeft(); in Expand()
629 pWrtShell->StartAllAction(); in Expand()
632 SwInputFieldList aFldLst( pWrtShell, sal_True ); in Expand()
634 pWrtShell->InsertGlossary(*pGlossary, aShortName); in Expand()
635 pWrtShell->EndAllAction(); in Expand()
638 pWrtShell->ExecMacro( aEndMacro ); in Expand()
640 pWrtShell->EndUndo(UNDO_INSGLOSSARY); in Expand()
644 pWrtShell->UpdateInputFlds( &aFldLst ); in Expand()
657 ASSERT(pWrtShell->CanInsert(), illegal); in InsertGlossary()
674 pWrtShell->ExecMacro( aStartMacro ); in InsertGlossary()
675 if( pWrtShell->HasSelection() ) in InsertGlossary()
676 pWrtShell->DelRight(); in InsertGlossary()
677 pWrtShell->StartAllAction(); in InsertGlossary()
680 SwInputFieldList aFldLst( pWrtShell, sal_True ); in InsertGlossary()
682 pWrtShell->InsertGlossary(*pGlos, rName); in InsertGlossary()
683 pWrtShell->EndAllAction(); in InsertGlossary()
686 pWrtShell->ExecMacro( aEndMacro ); in InsertGlossary()
691 pWrtShell->UpdateInputFlds( &aFldLst ); in InsertGlossary()
762 pWrtShell( pSh ), in SwGlossaryHdl()