Lines Matching refs:rSh

228         SwWrtShell &rSh = GetWrtShell();  in InsertGraphic()  local
231 … const bool bReplaceMode(rSh.HasSelection() && nsSelectionType::SEL_FRM == rSh.GetSelectionType()); in InsertGraphic()
236 rSh.ReRead( in InsertGraphic()
243 rSh.StartAction(); in InsertGraphic()
255 rSh.Insert( sURL, in InsertGraphic()
260 rSh.Insert( aEmptyStr, aEmptyStr, aGrf, &aFrmMgr ); in InsertGraphic()
264 rSh.EndAction(); in InsertGraphic()
420 SwWrtShell& rSh = GetWrtShell(); in InsertGraphicDlg() local
421 rSh.LockPaint(); in InsertGraphicDlg()
422 rSh.StartAction(); in InsertGraphicDlg()
429 … const bool bReplaceMode(rSh.HasSelection() && nsSelectionType::SEL_FRM == rSh.GetSelectionType()); in InsertGraphicDlg()
431 rSh.StartUndo(UNDO_INSERT, &aRewriter); in InsertGraphicDlg()
441 if ( !bReplaceMode && rSh.IsFrmSelected() ) in InsertGraphicDlg()
448 rSh.SetFrmFmt( pFmt ); in InsertGraphicDlg()
474 rSh.EndAction(); in InsertGraphicDlg()
475 rSh.UnlockPaint(); in InsertGraphicDlg()
493 rSh.EndUndo(); // due to possible change of Shell in InsertGraphicDlg()
1018 SwWrtShell &rSh = GetWrtShell(); in Execute() local
1019 if(bInMailMerge && rSh.IsAnyDatabaseFieldInDoc()) in Execute()
1021 SwNewDBMgr* pNewDBMgr = rSh.GetNewDBMgr(); in Execute()
1025 aData = rSh.GetDBData(); in Execute()
1026 rSh.EnterStdMode(); // Wechsel in Textshell erzwingen; ist fuer in Execute()
1028 AttrChangedNotify( &rSh ); in Execute()
1039 pNewDBMgr->ExecuteFormLetter(rSh, aProperties, sal_True); in Execute()
1579 SwWrtShell &rSh = GetWrtShell(); in ExecuteStatusLine() local
1598 const IDocumentMarkAccess* pMarkAccess = rSh.getIDocumentMarkAccess(); in ExecuteStatusLine()
1602 …const IDocumentMarkAccess::const_iterator_t ppBookmark = rSh.getIDocumentMarkAccess()->getBookmark… in ExecuteStatusLine()
1603 rSh.EnterStdMode(); in ExecuteStatusLine()
1604 rSh.GotoMark( ppBookmark->get() ); in ExecuteStatusLine()
1630 const SwViewOption& rViewOptions = *rSh.GetViewOptions(); in ExecuteStatusLine()
1634 const bool bBrowseMode = rSh.GetViewOptions()->getBrowseMode(); in ExecuteStatusLine()
1692 … if ( pArgs && !rSh.getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE) && in ExecuteStatusLine()
1734 if( rSh.IsCrsrInTbl() ) in ExecuteStatusLine()
1736 else if( rSh.GetCurTOX() ) in ExecuteStatusLine()
1738 else if( rSh.GetCurrSection() ) in ExecuteStatusLine()
1742 const SwNumRule* pNumRule = rSh.GetNumRuleAtCurrCrsrPos(); in ExecuteStatusLine()
1753 else if( rSh.IsFrmSelected() ) in ExecuteStatusLine()
1755 else if( rSh.IsObjSelected() ) in ExecuteStatusLine()
1772 case 0: rSh.EnterStdMode(); break; in ExecuteStatusLine()
1773 case 1: rSh.EnterExtMode(); break; in ExecuteStatusLine()
1774 case 2: rSh.EnterAddMode(); break; in ExecuteStatusLine()
1775 case 3: rSh.EnterBlockMode(); break; in ExecuteStatusLine()
1782 if( !rSh.IsAddMode() && !rSh.IsExtMode() && !rSh.IsBlockMode() ) in ExecuteStatusLine()
1783 rSh.ToggleExtMode(); in ExecuteStatusLine()
1784 else if ( rSh.IsExtMode() ) in ExecuteStatusLine()
1786 rSh.ToggleExtMode(); in ExecuteStatusLine()
1787 rSh.ToggleAddMode(); in ExecuteStatusLine()
1789 else if ( rSh.IsAddMode() ) in ExecuteStatusLine()
1791 rSh.ToggleAddMode(); in ExecuteStatusLine()
1792 rSh.ToggleBlockMode(); in ExecuteStatusLine()
1795 rSh.ToggleBlockMode(); in ExecuteStatusLine()
1801 rSh.ToggleAddMode(); in ExecuteStatusLine()
1806 rSh.ToggleBlockMode(); in ExecuteStatusLine()
1811 rSh.ToggleExtMode(); in ExecuteStatusLine()
1822 rSh.ToggleInsMode(); in ExecuteStatusLine()
2406 SwWrtShell &rSh = GetWrtShell(); in GenerateFormLetter() local
2407 aData = rSh.GetDBData(); in GenerateFormLetter()
2408 rSh.EnterStdMode(); // Wechsel in Textshell erzwingen; ist fuer in GenerateFormLetter()
2410 AttrChangedNotify( &rSh ); in GenerateFormLetter()