Lines Matching refs:rSh
100 SwWrtShell& rSh = GetShell(); in ExecField() local
119 SwField* pFld = rSh.GetCurFld(); in ExecField()
131 …SfxAbstractLinksDialog* pDlg = pFact->CreateLinksDialog( pMDI, &rSh.GetLinkManager(), sal_False, &… in ExecField()
156 SwField* pFld = rSh.GetCurFld(); in ExecField()
165 rSh.ExecMacro(aMacro); in ExecField()
175 SwFieldType* pFld = rSh.GetFldType( 0, RES_INPUTFLD ); in ExecField()
176 const bool bAddSetExpressionFlds = !( rSh.GetViewOptions()->IsReadonly() ); in ExecField()
178 && rSh.MoveFldType( in ExecField()
184 rSh.ClearMark(); in ExecField()
185 if ( dynamic_cast<SwInputField*>(rSh.GetCurFld( true )) != NULL ) in ExecField()
187 rSh.SttSelect(); in ExecField()
188 rSh.SelectTxt( in ExecField()
189 rSh.StartOfInputFldAtPos( *(rSh.GetCrsr()->Start()) ) + 1, in ExecField()
190 rSh.EndOfInputFldAtPos( *(rSh.GetCrsr()->Start()) ) - 1 ); in ExecField()
194 rSh.StartInputFldDlg( rSh.GetCurFld( true ), sal_False ); in ExecField()
370 if ( rSh.HasSelection() && !rSh.IsTableMode() ) in ExecField()
372 rSh.KillPams(); in ExecField()
382 rSh.Push(); in ExecField()
383 rSh.SwCrsrShell::Left(1, CRSR_SKIP_CHARS, sal_False); in ExecField()
385 rSh.Pop(sal_False); // Cursorpos restaurieren in ExecField()
390 … SwFieldType* pType = rSh.GetDoc()->GetFldType(RES_POSTITFLD, aEmptyStr,false); in ExecField()
423 const SwRedline *pRedline = rSh.GetCurrRedline(); in ExecField()
445 rSh.StartAction(); in ExecField()
447 rSh.Push(); in ExecField()
448 const SwRedline *pActRed = rSh.SelPrevRedline(); in ExecField()
452 rSh.Pop(); // Alten Cursor wegwerfen in ExecField()
453 rSh.Push(); in ExecField()
454 pActRed = rSh.SelPrevRedline(); in ExecField()
458 rSh.Pop(sal_False); in ExecField()
459 rSh.EndAction(); in ExecField()
461 rSh.ClearMark(); in ExecField()
462 rSh.SelNextRedline(); // Aktueller Redline wird selektiert in ExecField()
464 rSh.StartAction(); in ExecField()
465 rSh.Push(); in ExecField()
466 pActRed = rSh.SelNextRedline(); in ExecField()
468 rSh.Pop(sal_False); // Cursorpos restaurieren in ExecField()
470 if( rSh.IsCrsrPtAtEnd() ) in ExecField()
471 rSh.SwapPam(); in ExecField()
473 rSh.EndAction(); in ExecField()
495 rSh.SetCareWin(pDlg->GetWindow()); in ExecField()
504 rSh.SetRedlineComment(sMsg); in ExecField()
508 rSh.SetCareWin(NULL); in ExecField()
510 rSh.ClearMark(); in ExecField()
541 pMDI, &rSh); in ExecField()
567 rSh.SetUndoNoResetModified(); in ExecField()
610 … nInsertFormat = aFldMgr.GetDefaultFormat(nInsertType, bIsText, rSh.GetNumberFormatter()); in ExecField()
626 SwWrtShell& rSh = GetShell(); in StateField() local
658 pField = rSh.GetCurFld(); in StateField()
681 pField = rSh.GetCurFld(); in StateField()
691 if ( rSh.CrsrInsideInputFld() ) in StateField()
712 || rSh.CrsrInsideInputFld() ) in StateField()
720 if ( rSh.CrsrInsideInputFld() ) in StateField()
731 if (!rSh.GetCurrRedline()) in StateField()
739 pField = rSh.GetCurFld(); in StateField()
745 if( !bCurField && rSh.IsReadOnlyAvailable() && rSh.HasReadonlySel() ) in StateField()
749 else if ( rSh.CrsrInsideInputFld() ) in StateField()
765 if ( rSh.CrsrInsideInputFld() ) in StateField()
790 SwWrtShell& rSh = GetShell(); in InsertHyperlink() local
792 if( rSh.GetSelectionType() & nsSelectionType::SEL_TXT ) in InsertHyperlink()
794 rSh.StartAction(); in InsertHyperlink()
796 rSh.GetCurAttr( aSet ); in InsertHyperlink()
802 rSh.SwCrsrShell::SelectTxtAttr(RES_TXTATR_INETFMT, sal_False); in InsertHyperlink()
823 rSh.SttSelect(); in InsertHyperlink()
824 rSh.InsertURL( aINetFmt, rName, sal_True ); in InsertHyperlink()
825 rSh.EndSelect(); in InsertHyperlink()
830 sal_Bool bSel = rSh.HasSelection(); in InsertHyperlink()
832 rSh.DelRight(); in InsertHyperlink()
834 rSh.EnterStdMode(); in InsertHyperlink()
837 rSh.EndAction(); in InsertHyperlink()