Lines Matching refs:pWrtShell

105                                                         pViewFrame, this, pWrtShell);  in SV_IMPL_PTRARR()
415 if( !pWrtShell->GetSelectedText( sOnlyTxt, GETSELTXT_PARABRK_TO_ONLYCR )) in NewGlossary()
422 const sal_uInt16 nSuccess = pWrtShell->MakeGlossary( *pTmp, rName, rShortName, in NewGlossary()
426 InfoBox(pWrtShell->GetView().GetWindow(), SW_RES(MSG_ERR_INSERT_GLOS)).Execute(); in NewGlossary()
458 ASSERT(pWrtShell->CanInsert(), illegal); in ExpandGlossary()
472 if(pWrtShell->SwCrsrShell::HasSelection() && !pWrtShell->IsBlockMode()) in ExpandGlossary()
474 aShortName = pWrtShell->GetSelTxt(); in ExpandGlossary()
478 if(pWrtShell->IsAddMode()) in ExpandGlossary()
479 pWrtShell->LeaveAddMode(); in ExpandGlossary()
480 else if(pWrtShell->IsBlockMode()) in ExpandGlossary()
481 pWrtShell->LeaveBlockMode(); in ExpandGlossary()
482 else if(pWrtShell->IsExtMode()) in ExpandGlossary()
483 pWrtShell->LeaveExtMode(); in ExpandGlossary()
485 pWrtShell->SelNearestWrd(); in ExpandGlossary()
487 if(pWrtShell->IsSelection()) in ExpandGlossary()
488 aShortName = pWrtShell->GetSelTxt(); in ExpandGlossary()
584 if(pWrtShell->IsSelection() && aShortName.Len() > nMaxLen) in Expand()
591 InfoBox( pWrtShell->GetView().GetWindow(), aTmp ).Execute(); in Expand()
607 pWrtShell->StartUndo(UNDO_INSGLOSSARY); in Expand()
609 pWrtShell->ExecMacro( aStartMacro ); in Expand()
610 if(pWrtShell->HasSelection()) in Expand()
611 pWrtShell->DelLeft(); in Expand()
612 pWrtShell->StartAllAction(); in Expand()
615 SwInputFieldList aFldLst( pWrtShell, sal_True ); in Expand()
617 pWrtShell->InsertGlossary(*pGlossary, aShortName); in Expand()
618 pWrtShell->EndAllAction(); in Expand()
621 pWrtShell->ExecMacro( aEndMacro ); in Expand()
623 pWrtShell->EndUndo(UNDO_INSGLOSSARY); in Expand()
627 pWrtShell->UpdateInputFlds( &aFldLst ); in Expand()
639 ASSERT(pWrtShell->CanInsert(), illegal); in InsertGlossary()
656 pWrtShell->ExecMacro( aStartMacro ); in InsertGlossary()
657 if( pWrtShell->HasSelection() ) in InsertGlossary()
658 pWrtShell->DelRight(); in InsertGlossary()
659 pWrtShell->StartAllAction(); in InsertGlossary()
662 SwInputFieldList aFldLst( pWrtShell, sal_True ); in InsertGlossary()
664 pWrtShell->InsertGlossary(*pGlos, rName); in InsertGlossary()
665 pWrtShell->EndAllAction(); in InsertGlossary()
668 pWrtShell->ExecMacro( aEndMacro ); in InsertGlossary()
673 pWrtShell->UpdateInputFlds( &aFldLst ); in InsertGlossary()
741 pWrtShell( pSh ), in SwGlossaryHdl()