/aoo42x/main/sw/source/ui/shells/ |
H A D | langhelper.cxx | 183 rSh.StartAction(); in SetLanguageStatus() 184 rSh.LockView( sal_True ); in SetLanguageStatus() 185 rSh.Push(); in SetLanguageStatus() 188 rSh.SelAll(); in SetLanguageStatus() 189 rSh.ExtendedSelectAll(); in SetLanguageStatus() 226 rSh.Pop( sal_False ); in SetLanguageStatus() 227 rSh.LockView( sal_False ); in SetLanguageStatus() 228 rSh.EndAction(); in SetLanguageStatus() 408 rSh.GetCurAttr( aSet ); in GetLanguage() 444 LanguageType GetCurrentLanguage( SwWrtShell &rSh ) in GetCurrentLanguage() argument [all …]
|
H A D | drwtxtsh.cxx | 116 SwWrtShell &rSh = GetShell(); in TYPEINIT1() local 117 pSdrView = rSh.GetDrawView(); in TYPEINIT1() 151 SwWrtShell &rSh = GetShell(); in SwDrawTextShell() local 156 rSh.NoEdit(sal_True); in SwDrawTextShell() 275 SwWrtShell &rSh = GetShell(); in ExecFormText() local 311 SwWrtShell &rSh = GetShell(); in GetFormTextState() local 364 SwWrtShell &rSh = GetShell(); in ExecDrawLingu() local 460 SwWrtShell &rSh = GetShell(); in ExecDraw() local 461 pSdrView = rSh.GetDrawView(); in ExecDraw() 534 rSh.Edit(); in ExecDraw() [all …]
|
H A D | textidx.cxx | 130 SwWrtShell& rSh = GetShell(); in ExecIdx() local 146 pCurTOX = rSh.GetCurTOX(); in ExecIdx() 165 SwWrtShell& rSh = GetShell(); in ExecIdx() local 166 const SwTOXBase* pBase = rSh.GetCurTOX(); in ExecIdx() 169 rSh.DeleteTOX(*pBase, sal_True); in ExecIdx() 181 SwWrtShell& rSh = GetShell(); in GetIdxState() local 214 else if ( rSh.CrsrInsideInputFld() ) in GetIdxState() 227 sal_Bool bInReadonly = rSh.HasReadonlySel(); in GetIdxState() 228 if( rSh.HasSelection() || bInReadonly) in GetIdxState() 233 rSh.GetCurTOXMarks( aArr ); in GetIdxState() [all …]
|
H A D | drwtxtex.cxx | 143 SwWrtShell &rSh = GetShell(); in Execute() local 419 SwDocStat aDocStat( rSh.getIDocumentStatistics()->GetDocStat() ); in Execute() 422 rSh.StartAction(); in Execute() 423 rSh.CountWords( aCurr ); in Execute() 424 rSh.UpdateDocStat( aDocStat ); in Execute() 425 rSh.EndAction(); in Execute() 548 rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin(), sal_False); in Execute() 549 rSh.GetView().AttrChangedNotify( &rSh ); in Execute() 591 rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin(), sal_False ); in Execute() 592 rSh.GetView().AttrChangedNotify( &rSh ); in Execute() [all …]
|
H A D | grfshex.cxx | 107 SwWrtShell& rSh = GetShell(); in InsertMediaDlg() local 109 if( !rSh.HasDrawView() ) in InsertMediaDlg() 110 rSh.MakeDrawView(); in InsertMediaDlg() 112 Size aDocSz( rSh.GetDocSize() ); in InsertMediaDlg() 113 const SwRect& rVisArea = rSh.VisArea(); in InsertMediaDlg() 136 rSh.EnterStdMode(); in InsertMediaDlg() 137 rSh.SwFEShell::InsertDrawObj( *pObj, aPos ); in InsertMediaDlg()
|
H A D | annotsh.cxx | 155 SwWrtShell &rSh = rView.GetWrtShell(); in TYPEINIT1() local 454 SwWrtShell &rSh = rView.GetWrtShell(); in Exec() local 459 rSh.StartAction(); in Exec() 460 rSh.CountWords( aCurr ); in Exec() 461 rSh.UpdateDocStat( aDocStat ); in Exec() 462 rSh.EndAction(); in Exec() 1214 SwWrtShell &rSh = rView.GetWrtShell(); in ExecLingu() local 1459 SwWrtShell &rSh = rView.GetWrtShell(); in ExecUndo() local 1491 rSh.Do( SwWrtShell::UNDO, nCnt ); in ExecUndo() 1515 rSh.Do( SwWrtShell::REDO, nCnt ); in ExecUndo() [all …]
|
H A D | drwbassh.cxx | 636 SwWrtShell &rSh = GetShell(); in IMPL_LINK() local 637 SdrView *pSdrView = rSh.GetDrawView(); in IMPL_LINK() 650 SwDrawModel* pModel = rSh.getIDocumentDrawModelAccess()->GetDrawModel(); in IMPL_LINK() 683 SwWrtShell &rSh = GetShell(); in GetState() local 684 SdrView* pSdrView = rSh.GetDrawViewWithValidMarkList(); in GetState() 687 sal_Bool bProtected = rSh.IsSelObjProtected(FLYPROTECT_CONTENT); in GetState() 704 if( bProtected || !rSh.IsObjSelected() ) in GetState() 708 if ( rSh.IsObjSelected() < 2 || bProtected || !rSh.IsGroupAllowed() ) in GetState() 712 if ( !rSh.IsGroupSelected() || bProtected ) in GetState() 716 if ( !rSh.IsGroupSelected() ) in GetState() [all …]
|
/aoo42x/main/sw/source/ui/uiview/ |
H A D | viewdlg2.cxx | 129 SwWrtShell &rSh = GetWrtShell(); in InsertCaption() local 134 rSh.GetTxtCollFromPool(nPoolId); in InsertCaption() 136 else if( !rSh.GetParaStyle(rName) ) in InsertCaption() 140 rSh.MakeTxtFmtColl(rName, pDerivedFrom); in InsertCaption() 144 SelectionType eType = rSh.GetSelectionType(); in InsertCaption() 155 SwFldMgr aMgr(&rSh); in InsertCaption() 191 rSh.StartAllAction(); in InsertCaption() 205 rSh.UpdateExpFlds( sal_True ); in InsertCaption() 207 rSh.EndAllAction(); in InsertCaption() 209 if ( rSh.IsFrmSelected() ) in InsertCaption() [all …]
|
H A D | viewprt.cxx | 134 SwWrtShell &rSh = GetWrtShell(); in SetPrinter() local 135 SfxPrinter* pOld = rSh.getIDocumentDeviceAccess()->getPrinter( false ); in SetPrinter() 141 rSh.getIDocumentDeviceAccess()->setPrinter( pNew, true, true ); in SetPrinter() 143 rSh.SetModified(); in SetPrinter() 147 ::SetPrinter( rSh.getIDocumentDeviceAccess(), pNew, bWeb ); in SetPrinter() 153 rSh.StartAllAction(); in SetPrinter() 155 rSh.ChgAllPageOrientation( sal_uInt16(pNew->GetOrientation()) ); in SetPrinter() 159 rSh.ChgAllPageSize( aSz ); in SetPrinter() 161 rSh.SetModified(); in SetPrinter() 162 rSh.EndAllAction(); in SetPrinter()
|
/aoo42x/main/sw/source/ui/misc/ |
H A D | glshell.cxx | 77 void lcl_Execute( SwDocShell& rSh, SfxRequest& rReq ) in lcl_Execute() argument 81 if( !rSh.HasName() ) in lcl_Execute() 83 rReq.SetReturnValue( SfxBoolItem( 0, rSh.Save() ) ); in lcl_Execute() 88 rSh.ExecuteSlot( rReq, in lcl_Execute() 89 rSh.SfxObjectShell::GetInterface() ); in lcl_Execute() 91 rSh.GetDoc()->ResetModified(); in lcl_Execute() 97 void lcl_GetState( SwDocShell& rSh, SfxItemSet& rSet ) in lcl_GetState() argument 101 if( !rSh.GetDoc()->IsModified() ) in lcl_GetState() 119 pGlosHdl = rSh.GetView().GetGlosHdl(); in lcl_Save() 133 rSh.EnterStdMode(); in lcl_Save() [all …]
|
H A D | srtdlg.cxx | 103 const SwTableNode* pTblNd = rSh.IsCrsrInTbl(); in lcl_GetSelTbl() 112 ::GetTblSel( rSh, aSelBoxes ); in lcl_GetSelTbl() 180 rSh(rShell), in SwSortDlg() 199 if(rSh.GetSelectionType() & in SwSortDlg() 268 if( ::lcl_GetSelTbl( rSh, nX, nY) ) in SwSortDlg() 390 aOptions.bTable = rSh.IsTableMode(); in Apply() 396 rSh.StartAllAction(); in Apply() 397 if( 0 != (bRet = rSh.Sort( aOptions ))) in Apply() 398 rSh.SetModified(); in Apply() 399 rSh.EndAllAction(); in Apply() [all …]
|
/aoo42x/main/sw/source/ui/app/ |
H A D | applab.cxx | 95 const SwFrmFmt *lcl_InsertBCText( SwWrtShell& rSh, const SwLabItem& rItem, in lcl_InsertBCText() argument 99 SfxItemSet aSet(rSh.GetAttrPool(), RES_ANCHOR, RES_ANCHOR, in lcl_InsertBCText() 103 rSh.GetPageNum( nPhyPageNum, nVirtPageNum ); in lcl_InsertBCText() 120 rSh.UnSelectFrm(); //Rahmen wurde automatisch selektiert in lcl_InsertBCText() 122 rSh.SetTxtFmtColl( rSh.GetTxtCollFromPool( RES_POOLCOLL_STANDARD ) ); in lcl_InsertBCText() 132 SwGlossaryHdl* pGlosHdl = rSh.GetView().GetGlosHdl(); in lcl_InsertBCText() 140 const SwFrmFmt *lcl_InsertLabText( SwWrtShell& rSh, const SwLabItem& rItem, in lcl_InsertLabText() argument 144 SfxItemSet aSet(rSh.GetAttrPool(), RES_ANCHOR, RES_ANCHOR, in lcl_InsertLabText() 148 rSh.GetPageNum( nPhyPageNum, nVirtPageNum ); in lcl_InsertLabText() 165 rSh.UnSelectFrm(); //Rahmen wurde automatisch selektiert in lcl_InsertLabText() [all …]
|
/aoo42x/main/sw/source/ui/docvw/ |
H A D | romenu.cxx | 121 SwWrtShell &rSh = rView.GetWrtShell(); in SwReadOnlyPopup() local 126 if( rSh.GetContentAtPos( rDocPos, aCntntAtPos, sal_False)) in SwReadOnlyPopup() 145 const SwFrmFmt* pGrfFmt = rSh.GetFmtFromObj( rDocPos ); in SwReadOnlyPopup() 181 const SwPageDesc &rDesc = rSh.GetPageDesc( rSh.GetCurPageDesc() ); in SwReadOnlyPopup() 208 if ( !rSh.GetViewOptions()->IsGraphic() ) in SwReadOnlyPopup() 270 SwWrtShell &rSh = rView.GetWrtShell(); in Execute() local 343 sal_Bool bModified = rSh.IsModified(); in Execute() 344 SwViewOption aOpt( *rSh.GetViewOptions() ); in Execute() 346 rSh.ApplyViewOptions( aOpt ); in Execute() 348 rSh.ResetModified(); in Execute() [all …]
|
H A D | edtwin2.cxx | 109 SwWrtShell &rSh = rView.GetWrtShell(); in RequestHelp() local 111 if(bQuickBalloon && !rSh.GetViewOptions()->IsShowContentTips()) in RequestHelp() 114 SET_CURR_SHELL(&rSh); in RequestHelp() 119 SdrView *pSdrView = rSh.GetDrawView(); in RequestHelp() 148 if( rSh.GetContentAtPos( aPos, aCntntAtPos, sal_False, &aFldRect ) ) in RequestHelp() 193 IDocumentMarkAccess* const pMarkAccess = rSh.getIDocumentMarkAccess(); in RequestHelp() 362 if( rSh.GetContentAtPos( aPos, aCntntAtPos, sal_False, &aFldRect ) ) in RequestHelp() 389 sal_uInt8 nTabCols = rSh.WhichMouseTabCol(aPos); in RequestHelp()
|
/aoo42x/main/sw/source/ui/dialog/ |
H A D | uiregionsw.cxx | 396 rSh( rWrtSh ), in SwEditRegionDlg() 448 pCurrSect = rSh.GetCurrSection(); in SwEditRegionDlg() 864 rSh.StartAllAction(); in IMPL_LINK() 865 rSh.StartUndo(); in IMPL_LINK() 866 rSh.ResetSelect( 0,sal_False ); in IMPL_LINK() 914 rSh.DelSectionFmt( nNewPos ); in IMPL_LINK() 924 rSh.EndUndo(); in IMPL_LINK() 925 rSh.EndAllAction(); in IMPL_LINK() 1582 rWrtSh(rSh) in SwInsertSectionTabDialog() 1753 m_pWrtSh = &rSh; in SetWrtShell() [all …]
|
H A D | swdlgfact.cxx | 743 SwWrtShell &rSh, in CreateSwInsertBookmarkDlg() argument 768 SwWrtShell &rSh, in CreateSwBreakDlg() argument 775 pDlg = new SwBreakDlg( pParent, rSh ); in CreateSwBreakDlg() 902 pDlg = new SwFootNoteOptionDlg( pParent, rSh ); in CreateSwFootNoteOptionDlg() 1021 pDlg = new SwTableHeightDlg( pParent, rSh); in CreateVclAbstractDialog() 1025 pDlg = new SwSortDlg( pParent, rSh); in CreateVclAbstractDialog() 1028 pDlg = new SwColumnDlg( pParent, rSh ); in CreateVclAbstractDialog() 1031 pDlg = new SwAuthMarkModalDlg( pParent, rSh ); in CreateVclAbstractDialog() 1337 Window *pParent, SwWrtShell &rSh, in CreateFldInputDlg() argument 1361 pDlg = new SwInsFootNoteDlg( pParent, rSh, bEd ); in CreateInsFootNoteDlg() [all …]
|
H A D | SwSpellDialogChildWindow.cxx | 144 void lcl_LeaveDrawText(SwWrtShell& rSh) in lcl_LeaveDrawText() argument 146 if(rSh.GetDrawView()) in lcl_LeaveDrawText() 148 rSh.GetDrawView()->SdrEndTextEdit( sal_True ); in lcl_LeaveDrawText() 151 rSh.SelectObj(aPt, SW_LEAVE_FRAME); in lcl_LeaveDrawText() 152 rSh.EnterStdMode(); in lcl_LeaveDrawText() 153 rSh.GetView().AttrChangedNotify(&rSh); in lcl_LeaveDrawText() 773 SdrView* pDrView = rSh.GetDrawView(); in FindNextDrawTextError_Impl() 776 SwView& rView = rSh.GetView(); in FindNextDrawTextError_Impl() 844 rSh.SelectObj( aTmp, 0, pTextObj ); in FindNextDrawTextError_Impl() 847 rView.AttrChangedNotify(&rSh); in FindNextDrawTextError_Impl() [all …]
|
H A D | swdlgfact.hxx | 440 …virtual VclAbstractDialog * CreateSwInsertBookmarkDlg( Window *pParent, SwWrtShell &rSh, SfxReques… 441 …virtual AbstractSwBreakDlg * CreateSwBreakDlg ( Window *pParent, SwWrtShell &rSh,int nResId ); // … 452 …virtual SfxAbstractTabDialog * CreateSwFootNoteOptionDlg( Window *pParent, SwWrtShell &rSh,int nRe… 454 …virtual AbstractDropDownFieldDialog * CreateDropDownFieldDialog ( Window *pParent, SwWrtShell &rSh… 471 …virtual VclAbstractDialog * CreateVclAbstractDialog ( Window * pParent, SwWrtShell &rSh, int nResI… 472 …virtual AbstractSplitTableDialog * CreateSplitTblDialog ( Window * pParent, SwWrtShell &rSh ); //a… 513 Window *pParent, SwWrtShell &rSh, 516 Window * pParent, SwWrtShell &rSh, sal_Bool bEd = sal_False); //add for SwInsFootNoteDlg 526 Window* pParent, SwWrtShell& rSh, 550 … Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh); //add for SwInsertSectionTabDialog [all …]
|
H A D | regionsw.cxx | 73 SwWrtShell& rSh = GetShell(); in InsertRegionDialog() local 89 rSh.CalcBoundRect(aRect, FLY_AS_CHAR); in InsertRegionDialog() 99 &GetView().GetViewFrame()->GetWindow(), aSet , rSh); in InsertRegionDialog() 111 aTmpStr = rSh.GetUniqueSectionName( in InsertRegionDialog() 114 aTmpStr = rSh.GetUniqueSectionName(); in InsertRegionDialog() 125 rSh.CalcBoundRect(aRect, FLY_AS_CHAR); in InsertRegionDialog() 187 rSh.InsertSection(aSection, aSet.Count() ? &aSet : 0); in InsertRegionDialog()
|
/aoo42x/main/sw/source/ui/frmdlg/ |
H A D | cption.cxx | 148 SwWrtShell &rSh = rView.GetWrtShell(); in SwCaptionDialog() local 151 eType = rSh.GetSelectionType(); in SwCaptionDialog() 188 sObjectName = rSh.GetFlyName(); in SwCaptionDialog() 203 sObjectName = rSh.GetTableFmt()->GetName(); in SwCaptionDialog() 211 sObjectName = rSh.GetFlyName(); in SwCaptionDialog() 349 SwWrtShell &rSh = rView.GetWrtShell(); in IMPL_LINK_INLINE_END() local 401 SwWrtShell &rSh = rView.GetWrtShell(); in DrawSample() local 508 SwWrtShell &rSh = rView.GetWrtShell(); in SwSequenceOptionDialog() local 537 SwWrtShell &rSh = rView.GetWrtShell(); in Apply() local 556 rSh.InsertFldType( aFldType ); in Apply() [all …]
|
/aoo42x/main/sw/source/ui/chrdlg/ |
H A D | drpcps.cxx | 220 _rPage.rSh.GetCurAttr(aSet); in GetFontSettings() 245 pPage->rSh.SttCrsrMove(); in UpdatePaintSettings() 246 pPage->rSh.Push(); in UpdatePaintSettings() 247 pPage->rSh.ClearMark(); in UpdatePaintSettings() 260 pPage->rSh.Pop(sal_False); in UpdatePaintSettings() 261 pPage->rSh.EndCrsrMove(); in UpdatePaintSettings() 266 SwCharFmt *pFmt = pPage->rSh.GetCharStyle( in UpdatePaintSettings() 588 rSh(::GetActiveView()->GetWrtShell()) in SwDropCapsPage() 696 aTextEdit.SetText(rSh.GetDropTxt(nVal)); in Reset() 781 if (bFormat || !rSh.GetDropTxt(1).Len()) in IMPL_LINK() [all …]
|
H A D | break.cxx | 128 pPageDesc = rSh.FindPageDescByName( aPageCollBox.GetSelectEntry(), in IMPL_LINK_INLINE_END() 131 pPageDesc = &rSh.GetPageDesc(rSh.GetCurPageDesc()); in IMPL_LINK_INLINE_END() 158 rSh(rS), in SwBreakDlg() 192 const sal_uInt16 nCount = rSh.GetPageDescCnt(); in SwBreakDlg() 197 const SwPageDesc &rPageDesc = rSh.GetPageDesc(i); in SwBreakDlg() 225 else if(rSh.GetFrmType(0,sal_True) in CheckEnable()
|
/aoo42x/main/sw/source/ui/fldui/ |
H A D | inpdlg.cxx | 54 rSh( rS ), in SwFldInputDlg() 103 if( 0 != ( pUsrType = (SwUserFieldType*)rSh.GetFldType( in SwFldInputDlg() 127 sal_Bool bEnable = !rSh.IsCrsrReadonly(); in SwFldInputDlg() 157 rSh.StartAllAction(); in Apply() 173 rSh.SwEditShell::UpdateFlds(*pInpFld); in Apply() 180 rSh.SwEditShell::UpdateFlds(*pSetFld); in Apply() 185 rSh.SetUndoNoResetModified(); in Apply() 187 rSh.EndAllAction(); in Apply()
|
H A D | DropDownFieldDialog.cxx | 61 rSh( rS ), in DropDownFieldDialog() 92 sal_Bool bEnable = !rSh.IsCrsrReadonly(); in DropDownFieldDialog() 114 rSh.StartAllAction(); in Apply() 120 rSh.SwEditShell::UpdateFlds(*pCopy); in Apply() 122 rSh.SetUndoNoResetModified(); in Apply() 123 rSh.EndAllAction(); in Apply()
|
/aoo42x/main/sw/inc/ |
H A D | swabstdlg.hxx | 357 …virtual VclAbstractDialog * CreateSwInsertBookmarkDlg( Window *pParent, SwWrtShell &rSh, SfxReques… 359 …virtual AbstractSwBreakDlg * CreateSwBreakDlg( Window *pParent, SwWrtShell &rSh,int nResId ) = 0; … 370 …virtual SfxAbstractTabDialog * CreateSwFootNoteOptionDlg( Window *pParent, SwWrtShell &rSh,int nRe… 372 …virtual AbstractDropDownFieldDialog * CreateDropDownFieldDialog ( Window *pParent, SwWrtShell &rSh… 393 …virtual VclAbstractDialog * CreateVclAbstractDialog ( Window * pParent, SwWrtShell &rSh, int nResI… 394 …virtual AbstractSplitTableDialog * CreateSplitTblDialog ( Window * pParent, SwWrtShell &rSh ) = 0;… 438 Window *pParent, SwWrtShell &rSh, 441 … Window * pParent, SwWrtShell &rSh, sal_Bool bEd = sal_False) = 0; //add for SwInsFootNoteDlg 451 Window* pParent, SwWrtShell& rSh, 475 … Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh ) = 0; //add for SwInsertSectionTabDialog [all …]
|