Lines Matching refs:rSh

89 const SwFrmFmt* lcl_GetFrmFmtByName(SwWrtShell& rSh, const String& rName)  in lcl_GetFrmFmtByName()  argument
91 sal_uInt16 nCount = rSh.GetFlyCount(FLYCNTTYPE_FRM); in lcl_GetFrmFmtByName()
94 const SwFrmFmt* pFmt = rSh.GetFlyNum(i, FLYCNTTYPE_FRM); in lcl_GetFrmFmtByName()
116 SwWrtShell &rSh = GetShell(); in Execute() local
125 if ( rSh.IsFrmSelected() ) in Execute()
127 rSh.GotoFlyAnchor(); in Execute()
128 rSh.EnterStdMode(); in Execute()
129 rSh.CallChgLnk(); in Execute()
133 rSh.SelectionToTop(); in Execute()
137 rSh.SelectionToBottom(); in Execute()
141 rSh.SelectionToTop( sal_False ); in Execute()
145 rSh.SelectionToBottom( sal_False ); in Execute()
152 rSh.GetView().GetViewFrame()->GetDispatcher()->Execute( FN_FORMAT_FRAME_DLG, in Execute()
165 rSh.GetFlyFrmAttr( aSet ); in Execute()
174 SwFrmFmt* pFmt = rSh.GetCurFrmFmt(); in Execute()
177 rSh.AutoUpdateFrame(pFmt, aSet); in Execute()
181 rSh.StartAllAction(); in Execute()
182 rSh.SetFlyFrmAttr( aSet ); in Execute()
183 rSh.SetModified(); in Execute()
184 rSh.EndAllAction(); in Execute()
198 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in Execute()
199 rSh.GetFlyFrmAttr( aSet ); in Execute()
203 String sFlyName(rSh.GetFlyName()); in Execute()
208 while (rSh.FindFlyByName(sName)) in Execute()
214 rSh.SetFlyName(sName); in Execute()
220 rSh.SetFlyFrmAttr( aSet ); in Execute()
226 rSh.GetView().GetEditWin().SetChainMode( !rSh.GetView().GetEditWin().IsChainMode() ); in Execute()
230 rSh.Unchain( (SwFrmFmt&)*rSh.GetFlyFrmFmt() ); in Execute()
276 SwDocStat aDocStat( rSh.getIDocumentStatistics()->GetDocStat() ); in Execute()
279 rSh.StartAction(); in Execute()
280 rSh.CountWords( aCurr ); in Execute()
281 rSh.UpdateDocStat( aDocStat ); in Execute()
282 rSh.EndAction(); in Execute()
301 SwFlyFrmAttrMgr aMgr( sal_False, &rSh, FRMMGR_TYPE_NONE ); in Execute()
414 const int nSel = rSh.GetSelectionType(); in Execute()
417 rSh.GetView().GetViewFrame()->GetDispatcher()->Execute(FN_FORMAT_GRAFIC_DLG); in Execute()
452 … const SwDrawModel* pDrawModel = rSh.GetView().GetDocShell()->GetDoc()->GetDrawModel(); in Execute()
459 const SwViewOption* pVOpt = rSh.GetViewOptions(); in Execute()
463 aSet.Put(SfxStringItem(FN_SET_FRM_NAME, rSh.GetFlyName())); in Execute()
466 aSet.Put( SfxStringItem( FN_SET_FRM_ALT_NAME, rSh.GetObjTitle() ) ); in Execute()
469 const SwRect &rPg = rSh.GetAnyCurRect(RECT_PAGE); in Execute()
474 const SwRect &rPr = rSh.GetAnyCurRect(RECT_PAGE_PRT); in Execute()
485 rSize.SetWidth(rSh.GetAnyCurRect(RECT_FLY_EMBEDDED).Width()); in Execute()
487 rSize.SetHeight(rSh.GetAnyCurRect(RECT_FLY_EMBEDDED).Height()); in Execute()
491 rSh.GetDoc()->get( IDocumentSettingAccess::MATH_BASELINE_ALIGNMENT ) ) ); in Execute()
492 const uno::Reference < embed::XEmbeddedObject > xObj( rSh.GetOleRef() ); in Execute()
537 rSh.SetObjTitle(((const SfxStringItem*)pItem)->GetValue()); in Execute()
541 SwFrmFmt* pFmt = rSh.GetCurFrmFmt(); in Execute()
544 rSh.AutoUpdateFrame(pFmt, *pOutSet); in Execute()
548 rSh.SetFlyName(((SfxStringItem*)pItem)->GetValue()); in Execute()
557 rSh.SetFlyName(((SfxStringItem*)pItem)->GetValue()); in Execute()
562 const SwFrmFmt* pCurrFlyFmt = rSh.GetFlyFrmFmt(); in Execute()
567 rSh.HideChainMarker(); in Execute()
579 rSh.Unchain(*pFlyFmt); in Execute()
589 lcl_GetFrmFmtByName(rSh, sPrevName); in Execute()
593 rSh.Chain(*pPrevFmt, *pCurrFlyFmt); in Execute()
596 rSh.SetChainMarker(); in Execute()
602 rSh.HideChainMarker(); in Execute()
613 rSh.Unchain(*((SwFlyFrmFmt*) pCurrFlyFmt)); in Execute()
623 lcl_GetFrmFmtByName(rSh, sNextName); in Execute()
627 rSh.Chain(*(SwFrmFmt*) in Execute()
631 rSh.SetChainMarker(); in Execute()
657 SdrView* pSdrView = rSh.GetDrawViewWithValidMarkList(); in Execute()
661 String aDescription(rSh.GetObjDescription()); in Execute()
662 String aTitle(rSh.GetObjTitle()); in Execute()
677 rSh.SetObjDescription(aDescription); in Execute()
678 rSh.SetObjTitle(aTitle); in Execute()
692 SwFrmFmt* pFmt = rSh.GetCurFrmFmt(); in Execute()
695 rSh.AutoUpdateFrame(pFmt, aMgr.GetAttrSet()); in Execute()
712 SwWrtShell &rSh = GetShell(); in GetState() local
713 sal_Bool bHtmlMode = 0 != ::GetHtmlMode(rSh.GetView().GetDocShell()); in GetState()
714 if (rSh.IsFrmSelected()) in GetState()
716 SfxItemSet aSet( rSh.GetAttrPool(), in GetState()
722 rSh.GetFlyFrmAttr( aSet ); in GetState()
724 sal_Bool bProtect = rSh.IsSelObjProtected(FLYPROTECT_POS); in GetState()
725 sal_Bool bParentCntProt = rSh.IsSelObjProtected( FLYPROTECT_CONTENT|FLYPROTECT_PARENT ) != 0; in GetState()
729 const sal_uInt16 eFrmType = rSh.GetFrmType(0,sal_True); in GetState()
730 SwFlyFrmAttrMgr aMgr( sal_False, &rSh, FRMMGR_TYPE_NONE ); in GetState()
818 const SwFrmFmt* pFmt = rSh.IsFlyInFly(); in GetState()
854 rSh.GetFlyFrmAttr( aURLSet ); in GetState()
861 aHLinkItem.SetName(rSh.GetFlyName()); in GetState()
873 const int nSel = rSh.GetSelectionType(); in GetState()
878 const SwFrmFmt *pFmt = rSh.GetFlyFrmFmt(); in GetState()
879 if ( bParentCntProt || rSh.GetView().GetEditWin().GetApplyTemplate() || in GetState()
886 sal_Bool bChainMode = rSh.GetView().GetEditWin().IsChainMode(); in GetState()
894 const int nSel = rSh.GetSelectionType(); in GetState()
899 const SwFrmFmt *pFmt = rSh.GetFlyFrmFmt(); in GetState()
900 if ( bParentCntProt || rSh.GetView().GetEditWin().GetApplyTemplate() || in GetState()
924 const sal_uInt8 eProtection = rSh.IsSelObjProtected( FLYPROTECT_SIZE ); in GetState()
951 const int nSel = rSh.GetSelectionType(); in GetState()
1012 SwWrtShell &rSh = GetShell(); in ExecFrameStyle() local
1014 if (!rSh.IsFrmSelected()) in ExecFrameStyle()
1022 SfxItemSet aFrameSet(rSh.GetAttrPool(), RES_BOX, RES_BOX); in ExecFrameStyle()
1024 rSh.GetFlyFrmAttr( aFrameSet ); in ExecFrameStyle()
1175 SwFrmFmt* pFmt = rSh.GetCurFrmFmt(); in ExecFrameStyle()
1178 rSh.AutoUpdateFrame(pFmt, aFrameSet); in ExecFrameStyle()
1181 rSh.SetFlyFrmAttr( aFrameSet ); in ExecFrameStyle()
1205 SwWrtShell &rSh = GetShell(); in GetLineStyleState() local
1206 sal_Bool bParentCntProt = rSh.IsSelObjProtected( FLYPROTECT_CONTENT|FLYPROTECT_PARENT ) != 0; in GetLineStyleState()
1210 if (rSh.IsFrmSelected()) in GetLineStyleState()
1218 if (rSh.IsFrmSelected()) in GetLineStyleState()
1220 SfxItemSet aFrameSet( rSh.GetAttrPool(), RES_BOX, RES_BOX ); in GetLineStyleState()
1222 rSh.GetFlyFrmAttr(aFrameSet); in GetLineStyleState()
1247 SwWrtShell &rSh = GetShell(); in GetDrawAttrStateTextFrame() local
1249 if(rSh.IsFrmSelected()) in GetDrawAttrStateTextFrame()
1251 rSh.GetFlyFrmAttr(rSet); in GetDrawAttrStateTextFrame()
1255 SdrView* pSdrView = rSh.GetDrawViewWithValidMarkList(); in GetDrawAttrStateTextFrame()
1268 SwWrtShell& rSh = GetShell(); in ExecDrawAttrArgsTextFrame() local
1272 if(rSh.IsFrmSelected()) in ExecDrawAttrArgsTextFrame()
1274 rSh.SetFlyFrmAttr(const_cast< SfxItemSet& >(*pArgs)); in ExecDrawAttrArgsTextFrame()
1278 SdrView* pSdrView = rSh.GetDrawViewWithValidMarkList(); in ExecDrawAttrArgsTextFrame()
1288 SfxDispatcher* pDis = rSh.GetView().GetViewFrame()->GetDispatcher(); in ExecDrawAttrArgsTextFrame()
1314 SwWrtShell& rSh = GetShell(); in ExecDrawDlgTextFrame() local
1316 if(rSh.IsFrmSelected()) in ExecDrawDlgTextFrame()
1318 SdrView* pView = rSh.GetDrawView(); in ExecDrawDlgTextFrame()
1323 rSh.GetFlyFrmAttr(aNewAttr); in ExecDrawDlgTextFrame()
1337 rSh.SetFlyFrmAttr(const_cast< SfxItemSet& >(*pDlg->GetOutputItemSet())); in ExecDrawDlgTextFrame()
1377 SwWrtShell& rSh = GetShell(); in DisableStateTextFrame() local
1379 if(!rSh.IsFrmSelected()) in DisableStateTextFrame()