Lines Matching refs:rSh
165 void lcl_UpdateIMapDlg( SwWrtShell& rSh ) in TYPEINIT1()
167 Graphic aGrf( rSh.GetIMapGraphic() ); in TYPEINIT1()
170 ? rSh.GetIMapInventor() : 0; in TYPEINIT1()
172 rSh.GetView().GetViewFrame()->GetTopFrame().GetTargetList(*pList); in TYPEINIT1()
174 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in TYPEINIT1()
175 rSh.GetFlyFrmAttr( aSet ); in TYPEINIT1()
190 sal_Bool lcl_UpdateContourDlg( SwWrtShell &rSh, int nSel ) in lcl_UpdateContourDlg() argument
192 Graphic aGraf( rSh.GetIMapGraphic() ); in lcl_UpdateContourDlg()
199 rSh.GetGrfNms( &aGrfName, 0 ); in lcl_UpdateContourDlg()
201 SvxContourDlg *pDlg = SWCONTOURDLG(rSh.GetView()); in lcl_UpdateContourDlg()
203 rSh.GetGraphicPolygon(), rSh.GetIMapInventor() ); in lcl_UpdateContourDlg()
214 SwWrtShell &rSh = GetShell(); in ExecDelete() local
219 rSh.DelRight(); in ExecDelete()
224 if( rSh.IsNoNum() ) in ExecDelete()
226 rSh.SttCrsrMove(); in ExecDelete()
227 sal_Bool bLeft = rSh.Left( CRSR_SKIP_CHARS, sal_True, 1, sal_False ); in ExecDelete()
234 rSh.DelLeft(); in ExecDelete()
240 rSh.DelNumRules(); in ExecDelete()
242 rSh.EndCrsrMove(); in ExecDelete()
248 rSh.DelLeft(); in ExecDelete()
270 SwWrtShell &rSh = GetShell(); in ExecClpbrd() local
278 if ( rSh.HasSelection() ) in ExecClpbrd()
280 SwTransferable* pTransfer = new SwTransferable( rSh ); in ExecClpbrd()
283 if ( nId == SID_CUT && !rSh.IsSelObjProtected(FLYPROTECT_CONTENT|FLYPROTECT_PARENT) ) in ExecClpbrd()
287 const sal_Bool bLockedView = rSh.IsViewLocked(); in ExecClpbrd()
288 rSh.LockView( sal_True ); //lock visible section in ExecClpbrd()
290 rSh.LockView( bLockedView ); in ExecClpbrd()
299 … TransferableDataHelper::CreateFromSystemClipboard( &rSh.GetView().GetEditWin() ) ); in ExecClpbrd()
301 && SwTransferable::IsPaste( rSh, aDataHelper ) in ExecClpbrd()
302 && !rSh.CrsrInsideInputFld() ) in ExecClpbrd()
307 SwTransferable::Paste( rSh, aDataHelper ); in ExecClpbrd()
308 if( rSh.IsFrmSelected() || rSh.IsObjSelected() ) in ExecClpbrd()
309 rSh.EnterSelFrmMode(); in ExecClpbrd()
310 pView->AttrChangedNotify( &rSh ); in ExecClpbrd()
325 &rSh.GetView().GetEditWin()) ); in ExecClpbrd()
333 SwTransferable::PasteFormat( rSh, aDataHelper, in ExecClpbrd()
339 if( rSh.IsFrmSelected() || rSh.IsObjSelected()) in ExecClpbrd()
340 rSh.EnterSelFrmMode(); in ExecClpbrd()
341 pView->AttrChangedNotify( &rSh ); in ExecClpbrd()
350 … TransferableDataHelper::CreateFromSystemClipboard( &rSh.GetView().GetEditWin()) ); in ExecClpbrd()
352 && SwTransferable::IsPaste( rSh, aDataHelper ) ) in ExecClpbrd()
359 int nRet = SwTransferable::PasteUnformatted( rSh, aDataHelper ); in ExecClpbrd()
372 if (rSh.IsFrmSelected() || rSh.IsObjSelected()) in ExecClpbrd()
373 rSh.EnterSelFrmMode(); in ExecClpbrd()
374 pView->AttrChangedNotify( &rSh ); in ExecClpbrd()
384 … TransferableDataHelper::CreateFromSystemClipboard( &rSh.GetView().GetEditWin()) ); in ExecClpbrd()
386 && SwTransferable::IsPaste( rSh, aDataHelper ) in ExecClpbrd()
387 && !rSh.CrsrInsideInputFld() ) in ExecClpbrd()
395 int nRet = SwTransferable::PasteSpecial( rSh, aDataHelper, nFormatId ); in ExecClpbrd()
408 if (rSh.IsFrmSelected() || rSh.IsObjSelected()) in ExecClpbrd()
409 rSh.EnterSelFrmMode(); in ExecClpbrd()
410 pView->AttrChangedNotify( &rSh ); in ExecClpbrd()
431 SwWrtShell &rSh = GetShell(); in StateClpbrd() local
434 const sal_Bool bCopy = rSh.HasSelection(); in StateClpbrd()
443 if( 0 != rSh.IsSelObjProtected(FLYPROTECT_CONTENT|FLYPROTECT_PARENT ) ) in StateClpbrd()
455 || rSh.CrsrInsideInputFld() ) in StateClpbrd()
463 || rSh.CrsrInsideInputFld() ) in StateClpbrd()
480 &rSh.GetView().GetEditWin()) ); in StateClpbrd()
483 SwTransferable::FillClipFmtItem( rSh, aDataHelper, aFmtItem ); in StateClpbrd()
498 SwWrtShell &rSh = GetShell(); in ExecUndo() local
512 rSh.LockPaint(); in ExecUndo()
513 rSh.Do( SwWrtShell::UNDO, nCnt ); in ExecUndo()
514 rSh.UnlockPaint(); in ExecUndo()
518 rSh.LockPaint(); in ExecUndo()
519 rSh.Do( SwWrtShell::REDO, nCnt ); in ExecUndo()
520 rSh.UnlockPaint(); in ExecUndo()
524 rSh.Do( SwWrtShell::REPEAT ); in ExecUndo()
539 SwWrtShell &rSh = GetShell(); in StateUndo() local
548 if (rSh.GetLastUndoInfo(0, 0)) in StateUndo()
551 rSh.GetDoString(SwWrtShell::UNDO))); in StateUndo()
559 if (rSh.GetFirstRedoInfo(0)) in StateUndo()
562 rSh.GetDoString(SwWrtShell::REDO))); in StateUndo()
570 if ((!rSh.GetFirstRedoInfo(0)) && in StateUndo()
571 !rSh.IsSelFrmMode() && in StateUndo()
572 (UNDO_EMPTY != rSh.GetRepeatInfo(0))) in StateUndo()
574 rSet.Put(SfxStringItem(nWhich, rSh.GetRepeatString())); in StateUndo()
582 if (rSh.GetLastUndoInfo(0, 0)) in StateUndo()
585 rSh.GetDoStrings( SwWrtShell::UNDO, aStrLst ); in StateUndo()
593 if (rSh.GetFirstRedoInfo(0)) in StateUndo()
596 rSh.GetDoStrings( SwWrtShell::REDO, aStrLst ); in StateUndo()
614 SwWrtShell &rSh = GetShell(); in Execute() local
627 rSh.CalcLayout(); in Execute()
633 rSh.UpdateDocStat(aDocStat); in Execute()
634 rSh.EndAllTblBoxEdit(); in Execute()
635 rSh.ViewShell::UpdateFlds(sal_True); in Execute()
637 if( rSh.IsCrsrInTbl() ) in Execute()
639 if( !rSh.IsTblComplexForChart() ) in Execute()
640 SwTableFUNC( &rSh, sal_False).UpdateChart(); in Execute()
641 rSh.ClearTblBoxCntnt(); in Execute()
642 rSh.SaveTblBoxCntnt(); in Execute()
649 rSh.UpdateAllCharts(); in Execute()
656 rSh.EnterStdMode(); in Execute()
657 if( rSh.GetLinkManager().GetLinks().Count() ) in Execute()
659 rSh.StartAllAction(); in Execute()
660 rSh.GetLinkManager().UpdateAllLinks( sal_False, sal_True, sal_True ); in Execute()
661 rSh.EndAllAction(); in Execute()
667 rSh.CalcLayout(); in Execute()
672 rSh.UpdateInputFlds(); in Execute()
676 rReq.SetReturnValue(SfxBoolItem( nSlot, rSh.GoPrevBookmark())); in Execute()
679 rReq.SetReturnValue(SfxBoolItem( nSlot, rSh.GoNextBookmark())); in Execute()
690 if (rSh.IsSelFrmMode()) in Execute()
692 rSh.UnSelectFrm(); in Execute()
693 rSh.LeaveSelFrmMode(); in Execute()
696 if (rSh.HasMark()) in Execute()
698 MV_KONTEXT(&rSh); in Execute()
699 if (rSh.IsCrsrPtAtEnd()) in Execute()
700 rSh.SwapPam(); in Execute()
701 rSh.ClearMark(); in Execute()
702 rSh.EndSelect(); in Execute()
704 sal_Bool bRet = rSh.MoveFldType( pFldType, nSlot == FN_GOTO_NEXT_MARK ); in Execute()
705 SwField* pCurField = bRet ? rSh.GetCurFld() : 0; in Execute()
707 rSh.ClickToField(*pCurField); in Execute()
716 if (rSh.IsSelFrmMode()) in Execute()
718 rSh.UnSelectFrm(); in Execute()
719 rSh.LeaveSelFrmMode(); in Execute()
721 rSh.EnterStdMode(); in Execute()
723 rSh.SttEndDoc(sal_True) : in Execute()
724 rSh.SttEndDoc(sal_False); in Execute()
730 sal_Bool bSuccess = rSh.GotoObj( in Execute()
733 if (bSuccess && !rSh.IsSelFrmMode()) in Execute()
735 rSh.HideCrsr(); in Execute()
736 rSh.EnterSelFrmMode(); in Execute()
737 GetView().AttrChangedNotify( &rSh ); in Execute()
747 const int nSelType = rSh.GetSelectionType(); in Execute()
750 if ( (!rSh.IsSelFrmMode() || nSelType & nsSelectionType::SEL_GRF) && in Execute()
766 rSh.ReRead( aGrfName, aFltName, &aGrf ); in Execute()
768 rSh.Insert( aGrfName, aFltName, aGrf ); in Execute()
772 else if(!rSh.IsSelFrmMode() && in Execute()
801 const sal_uInt16 nCurIdx = rSh.GetCurPageDesc(); in Execute()
802 SwPageDesc aPageDesc(rSh.GetPageDesc(nCurIdx)); in Execute()
821 rSh.ChgPageDesc(nCurIdx, aPageDesc); in Execute()
834 ( nSlot == FN_CONVERT_TEXT_TABLE && 0 == rSh.GetTableFmt() )) in Execute()
924 rSh.TableToText( cDelim ); in Execute()
927 … bInserted = rSh.TextToTable( aInsTblOpts, cDelim, text::HoriOrientation::FULL, pTAFmt ); in Execute()
929 rSh.EnterStdMode(); in Execute()
954 const sal_Bool bLockedView = rSh.IsViewLocked(); in Execute()
955 rSh.LockView( sal_True ); //lock visible section in Execute()
959 rSh.LockView( bLockedView ); in Execute()
978 if ( pVFrame->HasChildWindow( nId ) && rSh.IsFrmSelected() ) in Execute()
979 lcl_UpdateIMapDlg( rSh ); in Execute()
987 if ( rSh.IsFrmSelected() && in Execute()
988 pDlg->GetEditingObject() == rSh.GetIMapInventor() ) in Execute()
990 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in Execute()
991 rSh.GetFlyFrmAttr( aSet ); in Execute()
995 rSh.SetFlyFrmAttr( aSet ); in Execute()
1007 int nSel = rSh.GetSelectionType(); in Execute()
1011 lcl_UpdateContourDlg( rSh, nSel ); in Execute()
1020 int nSel = rSh.GetSelectionType(); in Execute()
1023 if ( pDlg->GetEditingObject() == rSh.GetIMapInventor() ) in Execute()
1025 rSh.StartAction(); in Execute()
1026 SfxItemSet aSet( rSh.GetAttrPool(), RES_SURROUND, RES_SURROUND); in Execute()
1027 rSh.GetFlyFrmAttr( aSet ); in Execute()
1035 rSh.SetFlyFrmAttr( aSet ); in Execute()
1038 rSh.SetGraphicPolygon( &aPoly ); in Execute()
1040 rSh.ReRead( aEmptyStr, aEmptyStr, &pDlg->GetGraphic()); in Execute()
1041 rSh.EndAction(); in Execute()
1048 rSh.GotoFlyAnchor(); in Execute()
1049 rSh.EnterStdMode(); in Execute()
1050 rSh.CallChgLnk(); in Execute()
1070 rSh.StartUndo(); in Execute()
1071 if( rSh.IsObjSelected() ) in Execute()
1072 rSh.ChgAnchor( eSet ); in Execute()
1073 else if( rSh.IsFrmSelected() ) in Execute()
1079 SwFmtAnchor aAnc( eSet, rSh.GetPhyPageNum() ); in Execute()
1081 rSh.SetFlyFrmAttr(aSet); in Execute()
1086 const uno::Reference < embed::XEmbeddedObject > xObj( rSh.GetOleRef() ); in Execute()
1088 … && FLY_AS_CHAR == eSet && rSh.GetDoc()->get( IDocumentSettingAccess::MATH_BASELINE_ALIGNMENT ); in Execute()
1090 rSh.AlignFormulaToBaseline( xObj ); in Execute()
1096 rSh.GetFlyFrmAttr(aSet); in Execute()
1150 rSh.SetFlyFrmAttr( aSet ); in Execute()
1152 rSh.EndUndo(); in Execute()
1172 if( rSh.GetLinkManager().GetLinks().Count() ) in Execute()
1175 rSh.EnterStdMode(); in Execute()
1176 rSh.StartAllAction(); in Execute()
1177 rSh.GetLinkManager().UpdateAllLinks( sal_False, bCallErrHdl, bUpdateGrf ); in Execute()
1178 rSh.EndAllAction(); in Execute()
1200 SwViewOption aViewOption = *rSh.GetViewOptions(); in Execute()
1202 rSh.ApplyViewOptions( aViewOption ); in Execute()
1220 rSh.StartAllAction(); in Execute()
1221 SfxItemSet aSet( rSh.GetAttrPool(), in Execute()
1227 if ( rSh.IsTableMode() ) in Execute()
1229 SwFrmFmt *pFmt = rSh.GetTableFmt(); in Execute()
1232 else if ( rSh.IsFrmSelected() ) in Execute()
1235 SwFlyFrmAttrMgr aMgr( sal_False, &rSh, FRMMGR_TYPE_NONE ); in Execute()
1241 rSh.SetAttrSet( *pArgs ); in Execute()
1243 rSh.EndAllAction(); in Execute()
1259 if ( rSh.IsTableMode() ) in Execute()
1262 rSh.SetTabBorders(*pArgs); in Execute()
1264 else if ( rSh.IsFrmSelected() ) in Execute()
1267 SwFlyFrmAttrMgr aMgr( sal_False, &rSh, FRMMGR_TYPE_NONE ); in Execute()
1274 rSh.SetAttrItem( *pItem ); in Execute()
1292 SwWrtShell &rSh = GetShell(); in IMPL_LINK() local
1293 if( CNT_GRF == rSh.SwEditShell::GetCntType() && in IMPL_LINK()
1294 GRAPHIC_NONE != ( nGrfType = rSh.GetGraphicType() ) && in IMPL_LINK()
1297 sal_Bool bProtect = 0 != rSh.IsSelObjProtected(FLYPROTECT_CONTENT|FLYPROTECT_PARENT); in IMPL_LINK()
1316 pDlg->GetEditingObject() != rSh.GetIMapInventor()) in IMPL_LINK()
1317 lcl_UpdateIMapDlg( rSh ); in IMPL_LINK()
1332 rSh.GetIMapInventor() ) in IMPL_LINK()
1333 lcl_UpdateContourDlg( rSh, nsSelectionType::SEL_GRF ); in IMPL_LINK()
1344 rSh.GetFlyFrmAttr(aSet); in IMPL_LINK()
1383 SwWrtShell &rSh = GetShell(); in GetState() local
1393 if ( rSh.IsObjSelected() || in GetState()
1394 (rSh.IsSelFrmMode() && in GetState()
1395 !(rSh.GetSelectionType() & nsSelectionType::SEL_GRF)) ) in GetState()
1403 if( !rSh.IsAnySectionInDoc() ) in GetState()
1408 if( rSh.CrsrInsideInputFld() in GetState()
1409 || rSh.IsSelFrmMode() in GetState()
1410 || !rSh.IsInsRegionAvailable() ) in GetState()
1418 sal_uInt16 eFrmType = rSh.GetFrmType(0,sal_True); in GetState()
1420 !rSh.GetTableFmt() ) in GetState()
1426 sal_uInt16 eFrmType = rSh.GetFrmType(0,sal_True); in GetState()
1428 !rSh.IsTextToTableAvailable() ) in GetState()
1434 sal_uInt16 eFrmType = rSh.GetFrmType(0,sal_True); in GetState()
1436 (!rSh.GetTableFmt() && !rSh.IsTextToTableAvailable() ) ) in GetState()
1442 SfxItemSet aSet( rSh.GetAttrPool(), in GetState()
1446 if ( rSh.IsTableMode() ) in GetState()
1448 SwFrmFmt *pFmt = rSh.GetTableFmt(); in GetState()
1451 else if( rSh.IsFrmSelected() ) in GetState()
1453 SwFlyFrmAttrMgr aMgr( sal_False, &rSh, FRMMGR_TYPE_NONE ); in GetState()
1457 rSh.GetCurAttr( aSet ); in GetState()
1472 … const sal_Bool bProtect = 0 != rSh.IsSelObjProtected(FLYPROTECT_CONTENT|FLYPROTECT_PARENT); in GetState()
1481 const sal_Bool bFrmSel = rSh.IsFrmSelected(); in GetState()
1483 rSh.GetSelectionType() == nsSelectionType::SEL_GRF; in GetState()
1491 if ( bHas && bIsGraphicSelection && rSh.IsGrfSwapOut( sal_True ) ) in GetState()
1494 rSh.GetGraphic(sal_False); // start the loading in GetState()
1501 rSh.GetGraphicType() == GRAPHIC_NONE ) ) ) in GetState()
1509 lcl_UpdateIMapDlg( rSh ); in GetState()
1521 if( !rSh.IsFrmSelected()) in GetState()
1526 if(rSh.GetSelectionType() == nsSelectionType::SEL_GRF in GetState()
1527 && rSh.IsGrfSwapOut(sal_True)) in GetState()
1530 rSh.GetGraphic(sal_False); // start the loading in GetState()
1535 if( pDlg->GetEditingObject() != rSh.GetIMapInventor() ) in GetState()
1536 lcl_UpdateIMapDlg( rSh ); in GetState()
1545 if ( ( rSh.HasReadonlySel() && !rSh.CrsrInsideInputFld() ) in GetState()
1546 || rSh.IsSelObjProtected( FLYPROTECT_CONTENT|FLYPROTECT_PARENT ) != 0 ) in GetState()
1554 sal_Bool bParentCntProt = 0 != rSh.IsSelObjProtected(FLYPROTECT_CONTENT|FLYPROTECT_PARENT ); in GetState()
1563 int nSel = rSh.GetSelectionType(); in GetState()
1576 rSh.IsGrfSwapOut(sal_True) ) in GetState()
1579 rSh.GetGraphic(sal_False); // start the loading in GetState()
1585 bDisable = !lcl_UpdateContourDlg( rSh, nSel ); in GetState()
1591 bDisable = GRAPHIC_NONE == rSh.GetGraphicType(); in GetState()
1593 bDisable = GRAPHIC_NONE == rSh.GetIMapGraphic().GetType(); in GetState()
1608 int nSel = rSh.GetSelectionType(); in GetState()
1615 if( pDlg->GetEditingObject() != rSh.GetIMapInventor() ) in GetState()
1629 sal_Bool bObj = 0 != rSh.IsObjSelected(); in GetState()
1630 sal_Bool bParentCntProt = rSh.IsSelObjProtected( FLYPROTECT_CONTENT|FLYPROTECT_PARENT ) != 0; in GetState()
1632 if( !bParentCntProt && (bObj || rSh.IsFrmSelected())) in GetState()
1636 rSh.GetObjAttr(aSet); in GetState()
1638 rSh.GetFlyFrmAttr(aSet); in GetState()
1656 ( nWhich == FN_TOOL_ANKER_FRAME && !rSh.IsFlyInFly() ) ) in GetState()
1702 sal_Bool bObj = 0 != rSh.IsObjSelected(); in GetState()
1703 sal_Bool bParentCntProt = rSh.IsSelObjProtected( FLYPROTECT_CONTENT|FLYPROTECT_PARENT ) != 0; in GetState()
1705 if( !bParentCntProt && (bObj || rSh.IsFrmSelected())) in GetState()
1711 rSh.GetObjAttr(aSet); in GetState()
1712 nAnchorType = rSh.GetAnchorId(); in GetState()
1716 rSh.GetFlyFrmAttr(aSet); in GetState()
1754 bSet = nSurround == SURROUND_THROUGHT && rSh.GetLayerId(); in GetState()
1761 bSet = nSurround == SURROUND_THROUGHT && !rSh.GetLayerId(); in GetState()
1772 int nSel = rSh.GetSelectionType(); in GetState()
1774 rSh.IsGrfSwapOut(sal_True)) in GetState()
1777 rSh.GetGraphic(sal_False); // start the loading in GetState()
1779 else if( rSh.IsFrmSelected() ) in GetState()
1784 GRAPHIC_NONE == rSh.GetIMapGraphic().GetType(); in GetState()
1813 if( !rSh.HasCharts() ) in GetState()
1817 if ( !rSh.GetLinkManager().GetLinks().Count() ) in GetState()
1822 if( rSh.GetDoc()->isXForms() ) in GetState()
1825 sal_Bool bValue = ! rSh.GetViewOptions()->IsFormView(); in GetState()
1890 SwWrtShell &rSh = GetShell(); in SetWrapMode() local
1891 sal_Bool bObj = 0 != rSh.IsObjSelected(); in SetWrapMode()
1892 if( bObj || rSh.IsFrmSelected()) in SetWrapMode()
1896 rSh.GetObjAttr(aSet); in SetWrapMode()
1898 rSh.GetFlyFrmAttr(aSet); in SetWrapMode()
1965 rSh.SetObjAttr(aSet); in SetWrapMode()
1967 rSh.SelectionToHeaven(); in SetWrapMode()
1969 rSh.SelectionToHell(); in SetWrapMode()
1972 rSh.SetFlyFrmAttr(aSet); in SetWrapMode()
2040 SwWrtShell &rSh = GetShell(); in ExecTxtCtrl() local
2043 SfxItemPool& rPool = rSh.GetAttrPool(); in ExecTxtCtrl()
2055 nScripts = rSh.GetScriptType(); in ExecTxtCtrl()
2058 if(!rSh.HasSelection()) in ExecTxtCtrl()
2075 if(rSh.HasSelection()) in ExecTxtCtrl()
2083 nScripts = rSh.GetScriptType(); in ExecTxtCtrl()
2094 rSh.GetCurAttr( aLangSet ); in ExecTxtCtrl()
2137 ( rSh.HasSelection() && rSh.IsSelFullPara() ) ) in ExecTxtCtrl()
2139 SwTxtFmtColl * pColl = rSh.GetCurTxtFmtColl(); in ExecTxtCtrl()
2142 rSh.AutoUpdatePara( pColl, *pArgs ); in ExecTxtCtrl()
2149 rSh.SetAttrSet( *pArgs ); in ExecTxtCtrl()
2165 SwWrtShell &rSh = GetShell(); in GetTxtCtrlState() local
2166 rSh.GetCurAttr( rSet ); in GetTxtCtrlState()
2171 SwWrtShell &rSh = GetShell(); in GetTxtFontCtrlState() local
2190 rSh.GetCurAttr( *pFntCoreSet ); in GetTxtFontCtrlState()
2191 nScriptType = rSh.GetScriptType(); in GetTxtFontCtrlState()
2197 if(!rSh.HasSelection() && ( in GetTxtFontCtrlState()
2228 sal_Bool bVertical = rSh.IsInVerticalText(); in GetTxtFontCtrlState()
2240 rSh.GetCurAttr( rSet ); in GetTxtFontCtrlState()
2255 SwWrtShell &rSh = GetShell(); in GetBckColState() local
2258 int nSelType(rSh.GetSelectionType()); in GetBckColState()
2263 rSh.GetBoxBackground( aBrushItem ); in GetBckColState()
2274 rSh.GetFlyFrmAttr(aCoreSet); in GetBckColState()
2278 rSh.GetCurAttr(aCoreSet); in GetBckColState()
2312 SwWrtShell &rSh = GetShell(); in ExecBckCol() local
2313 int nSelType(rSh.GetSelectionType()); in ExecBckCol()
2326 rSh.GetBoxBackground( aBrushItem ); in ExecBckCol()
2337 rSh.GetFlyFrmAttr(aCoreSet); in ExecBckCol()
2341 rSh.GetCurAttr(aCoreSet); in ExecBckCol()
2385 rSh.SetBoxBackground( aBrushItem ); in ExecBckCol()
2398 SwFrmFmt* pFmt = rSh.GetCurFrmFmt(); in ExecBckCol()
2402 rSh.AutoUpdateFrame(pFmt, aCoreSet); in ExecBckCol()
2406 rSh.SetFlyFrmAttr(aCoreSet); in ExecBckCol()
2411 SwTxtFmtColl* pColl = rSh.GetCurTxtFmtColl(); in ExecBckCol()
2415 rSh.AutoUpdatePara(pColl, aCoreSet); in ExecBckCol()
2419 rSh.SetAttrSet(aCoreSet); in ExecBckCol()
2434 SwWrtShell &rSh = GetShell(); in GetBorderState() local
2437 sal_Bool bTableMode = rSh.IsTableMode(); in GetBorderState()
2445 rSh.GetTabBorders( aCoreSet ); in GetBorderState()
2448 else if ( rSh.IsFrmSelected() ) in GetBorderState()
2450 SwFlyFrmAttrMgr aMgr( sal_False, &rSh, FRMMGR_TYPE_NONE ); in GetBorderState()
2456 rSh.GetCurAttr( rSet ); in GetBorderState()
2458 ::PrepareBoxInfo( rSet, rSh ); in GetBorderState()
2470 SwWrtShell &rSh = GetShell(); in ExecDlg() local
2491 const sal_uInt16 nCurIdx = rSh.GetCurPageDesc(); in ExecDlg()
2492 const SwPageDesc& rPageDesc = rSh.GetPageDesc( nCurIdx ); in ExecDlg()
2499 rSh ); in ExecDlg()
2506 SfxItemSet aSet( rSh.GetAttrPool(), in ExecDlg()
2512 if ( rSh.IsTableMode() ) in ExecDlg()
2515 ::PrepareBoxInfo( aSet, rSh ); in ExecDlg()
2516 rSh.GetTabBorders( aSet ); in ExecDlg()
2524 rSh.SetTabBorders( *pDlg->GetOutputItemSet() ); in ExecDlg()
2528 else if ( rSh.IsFrmSelected() ) in ExecDlg()
2531 SwFlyFrmAttrMgr aMgr( sal_False, &rSh, FRMMGR_TYPE_NONE ); in ExecDlg()
2549 rSh.GetCurAttr( aSet ); in ExecDlg()
2550 ::PrepareBoxInfo( aSet, rSh ); in ExecDlg()
2559 rSh.SetAttrSet( *pDlg->GetOutputItemSet() ); in ExecDlg()
2573 SfxItemSet aSet( rSh.GetAttrPool(), in ExecDlg()
2582 if ( rSh.IsTableMode() ) in ExecDlg()
2586 rSh.GetBoxBackground( aBrush ); in ExecDlg()
2596 rSh.SetBoxBackground( (SvxBrushItem&) in ExecDlg()
2601 else if ( rSh.IsFrmSelected() ) in ExecDlg()
2604 rSh.GetFlyFrmAttr( aSet ); in ExecDlg()
2612 rSh.SetFlyFrmAttr((SfxItemSet &) *pDlg->GetOutputItemSet() ); in ExecDlg()
2619 rSh.GetCurAttr( aSet ); in ExecDlg()
2627 rSh.SetAttrSet( *pDlg->GetOutputItemSet() ); in ExecDlg()
2666 SwWrtShell& rSh = GetShell(); in InsertTable() local
2668 if ( !( rSh.GetFrmType( 0, sal_True ) & FRMTYPE_FOOTNOTE ) ) in InsertTable()
2674 if( !pArgs && rSh.IsSelection() && !rSh.IsInClickToEdit() && in InsertTable()
2675 !rSh.IsTableMode() ) in InsertTable()
2680 rSh.StartUndo(UNDO_INSTABLE); in InsertTable()
2683 sal_Bool bInserted = rSh.TextToTable( aInsTblOpts, '\t', text::HoriOrientation::FULL ); in InsertTable()
2684 rSh.EnterStdMode(); in InsertTable()
2764 rSh.StartUndo(UNDO_INSTABLE); in InsertTable()
2767 rSh.StartAllAction(); in InsertTable()
2768 if( rSh.HasSelection() ) in InsertTable()
2769 rSh.DelRight(); in InsertTable()
2771 rSh.InsertTable( aInsTblOpts, nRows, nCols, text::HoriOrientation::FULL, pTAFmt ); in InsertTable()
2772 rSh.MoveTable( fnTablePrev, fnTableStart ); in InsertTable()
2774 if( aTableName.Len() && !rSh.GetTblStyle( aTableName ) ) in InsertTable()
2775 rSh.GetTableFmt()->SetName( aTableName ); in InsertTable()
2777 rSh.EndAllAction(); in InsertTable()
2787 if (rSh.GetTableFmt()) in InsertTable()
2790 aRewriter.AddRule(UNDO_ARG2, rSh.GetTableFmt()->GetName()); in InsertTable()
2794 rSh.EndUndo(UNDO_INSTABLE, &aRewriter); // wegen moegl. Shellwechsel in InsertTable()
2803 SwWrtShell &rSh = GetShell(); in GetGalleryState() local
2810 int nSel = rSh.GetSelectionType(); in GetGalleryState()
2860 const sal_uInt16 nType = rSh.GetFrmType(0,sal_True); in GetGalleryState()
2884 SwWrtShell &rSh = GetShell(); in ExecuteGallery() local
2885 rSh.StartAction(); in ExecuteGallery()
2895 int nSel = rSh.GetSelectionType(); in ExecuteGallery()
2910 rSh.SetAttrItem( aBrush ); in ExecuteGallery()
2912 rSh.SetTabBackground( aBrush ); in ExecuteGallery()
2914 rSh.SetRowBackground( aBrush ); in ExecuteGallery()
2916 rSh.SetBoxBackground( aBrush ); in ExecuteGallery()
2921 rSh.SetFlyFrmAttr( aCoreSet ); in ExecuteGallery()
2925 sal_uInt16 nDesc = rSh.GetCurPageDesc(); in ExecuteGallery()
2926 SwPageDesc aDesc( rSh.GetPageDesc( nDesc ) ); in ExecuteGallery()
2941 rSh.ChgPageDesc( nDesc, aDesc ); in ExecuteGallery()
2946 rSh.EndAction(); in ExecuteGallery()