| /trunk/main/sd/source/ui/view/ |
| H A D | Outliner.cxx | 283 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in PrepareSpelling() 284 if (pViewShell) in PrepareSpelling() 298 mpImpl->ProvideOutlinerView(*this, pViewShell, mpWindow); in PrepareSpelling() 328 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in EndSpelling() 329 ::boost::shared_ptr<ViewShell> pOldViewShell (pViewShell); in EndSpelling() 333 pViewShell = pBase->GetMainViewShell(); in EndSpelling() 335 pViewShell.reset(); in EndSpelling() 336 mpWeakViewShell = pViewShell; in EndSpelling() 340 sal_Bool bViewIsDrawViewShell(pViewShell && pViewShell->ISA(DrawViewShell)); in EndSpelling() 344 mpView = pViewShell->GetView(); in EndSpelling() [all …]
|
| H A D | ViewShellManager.cxx | 120 const SfxShell* pViewShell, 123 const SfxShell* pViewShell, 126 ViewShell* pViewShell); 131 void SetFormShell (const ViewShell* pViewShell, FmFormShell* pFormShell, bool bAbove); 274 ViewShell* pViewShell, in AddSubShellFactory() argument 278 mpImpl->AddShellFactory(pViewShell, rpFactory); in AddSubShellFactory() 285 ViewShell* pViewShell, in RemoveSubShellFactory() argument 289 mpImpl->RemoveShellFactory(pViewShell, rpFactory); in RemoveSubShellFactory() 295 void ViewShellManager::ActivateViewShell (ViewShell* pViewShell) in ActivateViewShell() argument 298 return mpImpl->ActivateViewShell(pViewShell); in ActivateViewShell() [all …]
|
| /trunk/main/sc/source/ui/undo/ |
| H A D | undodat.cxx | 112 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in Undo() local 116 SCTAB nVisTab = pViewShell->GetViewData()->GetTabNo(); in Undo() 118 pViewShell->SetTabNo( nTab ); in Undo() 123 pViewShell->HideOutline( bColumns, nLevel, nEntry, sal_False, sal_False ); in Undo() 125 pViewShell->ShowOutline( bColumns, nLevel, nEntry, sal_False, sal_False ); in Undo() 135 pViewShell->UpdateScrollBars(); in Undo() 146 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in Redo() local 150 SCTAB nVisTab = pViewShell->GetViewData()->GetTabNo(); in Redo() 152 pViewShell->SetTabNo( nTab ); in Redo() 155 pViewShell->ShowOutline( bColumns, nLevel, nEntry, sal_False ); in Redo() [all …]
|
| H A D | undobase.cxx | 71 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in SetViewMarkData() local 72 if ( !pViewShell ) in SetViewMarkData() 75 pViewShell->SetMarkData( rMarkData ); in SetViewMarkData() 106 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in BeginUndo() local 107 if (pViewShell) in BeginUndo() 108 pViewShell->HideAllCursors(); // z.B. wegen zusammengefassten Zellen in BeginUndo() 119 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in EndUndo() local 120 if (pViewShell) in EndUndo() 122 pViewShell->UpdateAutoFillMark(); in EndUndo() 123 pViewShell->UpdateInputHandler(); in EndUndo() [all …]
|
| H A D | undotab.cxx | 128 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in Undo() local 129 pViewShell->SetTabNo(nTab); in Undo() 133 pViewShell->DeleteTable( nTab, sal_False ); in Undo() 149 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in Redo() local 156 pViewShell->AppendTable( sNewName, sal_False ); in Redo() 159 pViewShell->SetTabNo(nTab); in Redo() 160 pViewShell->InsertTable( sNewName, nTab, sal_False ); in Redo() 242 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in Undo() local 243 pViewShell->SetTabNo(nTab); in Undo() 254 pViewShell->DeleteTables( TheTabs, sal_False ); in Undo() [all …]
|
| H A D | undoblk.cxx | 241 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in DoChange() local 286 if (pViewShell) in DoChange() 287 pViewShell->CellContentChanged(); in DoChange() 534 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in Undo() local 535 if (pViewShell) in Undo() 539 …pViewShell->MarkRange( ScRange(aEffRange.aStart.Col(), aEffRange.aStart.Row(), pTabs[i], aEffRange… in Undo() 552 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in Redo() local 553 if (pViewShell) in Redo() 554 pViewShell->DoneBlockMode(); // aktuelle weg in Redo() 628 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in DoChange() local [all …]
|
| H A D | undoblk3.cxx | 192 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in DoChange() local 193 if ( !( (pViewShell) && pViewShell->AdjustRowHeight( in DoChange() 198 if (pViewShell) in DoChange() 199 pViewShell->CellContentChanged(); in DoChange() 375 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in DoChange() local 376 if (pViewShell) in DoChange() 378 SCTAB nTab = pViewShell->GetViewData()->GetTabNo(); in DoChange() 380 pViewShell->SetTabNo( nSrcTab ); in DoChange() 382 pViewShell->DoneBlockMode(); // gibt sonst Probleme, weil Markierung auf falscher Tabelle in DoChange() 510 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in DoChange() local [all …]
|
| H A D | undocell.cxx | 109 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in DoChange() local 110 if (pViewShell) in DoChange() 112 pViewShell->SetTabNo( nTab ); in DoChange() 113 pViewShell->MoveCursorAbs( nCol, nRow, SC_FOLLOW_JUMP, sal_False, sal_False ); in DoChange() 114 pViewShell->AdjustBlockHeight(); in DoChange() 140 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in Undo() local 141 if (pViewShell) in Undo() 142 pViewShell->ForgetFormatArea(); in Undo() 218 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in DoChange() local 219 if (pViewShell) in DoChange() [all …]
|
| H A D | undoblk2.cxx | 149 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in Undo() local 150 if (pViewShell) in Undo() 152 pViewShell->UpdateScrollBars(); in Undo() 154 SCTAB nCurrentTab = pViewShell->GetViewData()->GetTabNo(); in Undo() 156 pViewShell->SetTabNo( nStartTab ); in Undo() 173 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in Redo() local 174 if (pViewShell) in Redo() 176 SCTAB nTab = pViewShell->GetViewData()->GetTabNo(); in Redo() 178 pViewShell->SetTabNo( nStartTab ); in Redo() 182 if ( pViewShell ) in Redo() [all …]
|
| H A D | undoutil.cxx | 49 ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); in MarkSimpleBlock() local 50 if (pViewShell) in MarkSimpleBlock() 52 SCTAB nViewTab = pViewShell->GetViewData()->GetTabNo(); in MarkSimpleBlock() 54 pViewShell->SetTabNo( nStartZ ); in MarkSimpleBlock() 56 pViewShell->DoneBlockMode(); in MarkSimpleBlock() 57 pViewShell->MoveCursorAbs( nStartX, nStartY, SC_FOLLOW_JUMP, sal_False, sal_False ); in MarkSimpleBlock() 58 pViewShell->InitOwnBlockMode(); in MarkSimpleBlock() 59 pViewShell->GetViewData()->GetMarkData(). in MarkSimpleBlock() 61 pViewShell->MarkDataChanged(); in MarkSimpleBlock()
|
| /trunk/main/sc/source/ui/view/ |
| H A D | reffact.cxx | 106 ScTabViewShell* pViewShell = lcl_GetTabViewShell( p ); \ 108 if (!pViewShell) \ 109 pViewShell = PTR_CAST( ScTabViewShell, SfxViewShell::Current() ); \ 110 DBG_ASSERT( pViewShell, "missing view shell :-(" ); \ 111 pWindow = pViewShell ? \ 112 pViewShell->CreateRefDialog( p, this, pInfo, pParentP, sid ) : NULL; \ 113 if (pViewShell && !pWindow) \ 114 pViewShell->GetViewFrame()->SetChildWindow( nId, sal_False ); \ 219 ScTabViewShell* pViewShell = NULL; in ScSimpleRefDlgWrapper() local 225 pViewShell = PTR_CAST( ScTabViewShell, pViewFrm->GetViewShell() ); in ScSimpleRefDlgWrapper() [all …]
|
| /trunk/main/sc/source/ui/unoobj/ |
| H A D | dispuno.cxx | 57 uno::Reference<view::XSelectionSupplier> lcl_GetSelectionSupplier( SfxViewShell* pViewShell ) in lcl_GetSelectionSupplier() argument 59 if ( pViewShell ) in lcl_GetSelectionSupplier() 61 SfxViewFrame* pViewFrame = pViewShell->GetViewFrame(); in lcl_GetSelectionSupplier() 74 pViewShell( pViewSh ) in ScDispatchProviderInterceptor() 76 if ( pViewShell ) in ScDispatchProviderInterceptor() 78 …m_xIntercepted.set(uno::Reference<frame::XDispatchProviderInterception>(pViewShell->GetViewFrame()… in ScDispatchProviderInterceptor() 94 StartListening(*pViewShell); in ScDispatchProviderInterceptor() 100 if (pViewShell) in ~ScDispatchProviderInterceptor() 101 EndListening(*pViewShell); in ~ScDispatchProviderInterceptor() 108 pViewShell = NULL; in Notify() [all …]
|
| /trunk/main/sc/source/ui/Accessibility/ |
| H A D | AccessibleText.cxx | 62 … ScViewForwarder(ScTabViewShell* pViewShell, ScSplitPos eSplitPos, const ScAddress& rCell); 73 ScViewForwarder::ScViewForwarder(ScTabViewShell* pViewShell, ScSplitPos eSplitPos, const ScAddress&… in ScViewForwarder() argument 75 mpViewShell(pViewShell), in ScViewForwarder() 271 ScPreviewViewForwarder(ScPreviewShell* pViewShell); 287 ScPreviewViewForwarder::ScPreviewViewForwarder(ScPreviewShell* pViewShell) in ScPreviewViewForwarder() argument 289 mpViewShell(pViewShell), in ScPreviewViewForwarder() 404 … ScPreviewHeaderFooterViewForwarder(ScPreviewShell* pViewShell, sal_Bool bHeader); 410 ScPreviewHeaderFooterViewForwarder::ScPreviewHeaderFooterViewForwarder(ScPreviewShell* pViewShell, … in ScPreviewHeaderFooterViewForwarder() argument 412 ScPreviewViewForwarder(pViewShell), in ScPreviewHeaderFooterViewForwarder() 447 ScPreviewCellViewForwarder(ScPreviewShell* pViewShell, [all …]
|
| /trunk/main/sc/source/ui/vba/ |
| H A D | vbawindow.cxx | 112 ScTabViewShell* pViewShell = excel::getBestViewShell( m_xModel ); in SelectedSheetsEnumAccess() local 113 if ( !pViewShell ) in SelectedSheetsEnumAccess() 119 const ScMarkData& rMarkData = pViewShell->GetViewData()->GetMarkData(); in SelectedSheetsEnumAccess() 360 ScTabViewShell* pViewShell = excel::getBestViewShell( m_xModel ); in getScrollRow() local 361 if ( pViewShell ) in getScrollRow() 363 ScSplitPos eWhich = pViewShell->GetViewData()->GetActivePart(); in getScrollRow() 364 nValue = pViewShell->GetViewData()->GetPosY(WhichV(eWhich)); in getScrollRow() 374 ScTabViewShell* pViewShell = excel::getBestViewShell( m_xModel ); in setScrollRow() local 375 if ( pViewShell ) in setScrollRow() 379 ScSplitPos eWhich = pViewShell->GetViewData()->GetActivePart(); in setScrollRow() [all …]
|
| H A D | excelvbahelper.cxx | 136 ScTabViewShell* pViewShell = getBestViewShell( xModel ); in implnPaste() local 137 if ( pViewShell ) in implnPaste() 139 pViewShell->PasteFromSystem(); in implnPaste() 140 pViewShell->CellContentChanged(); in implnPaste() 148 ScTabViewShell* pViewShell = getBestViewShell( xModel ); in implnCopy() local 149 if ( pViewShell ) in implnCopy() 151 pViewShell->CopyToClip(NULL,false,false,true); in implnCopy() 163 ScTabViewShell* pViewShell = getBestViewShell( xModel ); in implnCut() local 164 if ( pViewShell ) in implnCut() 166 pViewShell->CutToClip( NULL, sal_True ); in implnCut() [all …]
|
| H A D | vbahelper.cxx | 161 ScTabViewShell* pViewShell = getBestViewShell( xModel ); in dispatchExecute() local 163 if ( pViewShell ) in dispatchExecute() 164 pViewFrame = pViewShell->GetViewFrame(); in dispatchExecute() 179 ScTabViewShell* pViewShell = getCurrentBestViewShell(); in implnPaste() local 180 if ( pViewShell ) in implnPaste() 182 pViewShell->PasteFromSystem(); in implnPaste() 183 pViewShell->CellContentChanged(); in implnPaste() 191 ScTabViewShell* pViewShell = getCurrentBestViewShell(); in implnCopy() local 192 if ( pViewShell ) in implnCopy() 193 pViewShell->CopyToClip(NULL,false,false,true); in implnCopy() [all …]
|
| /trunk/main/sc/source/ui/drawfunc/ |
| H A D | fudraw.cxx | 130 ScViewData* pViewData = pViewShell->GetViewData(); in ResetModifiers() 206 sal_Bool lcl_KeyEditMode( SdrObject* pObj, ScTabViewShell* pViewShell, const KeyEvent* pInitialKey ) in lcl_KeyEditMode() argument 219 FuPoor* pPoor = pViewShell->GetViewData()->GetView()->GetDrawFuncPtr(); in lcl_KeyEditMode() 222 pViewShell->GetViewData()->GetDispatcher(). in lcl_KeyEditMode() 227 pPoor = pViewShell->GetViewData()->GetView()->GetDrawFuncPtr(); in lcl_KeyEditMode() 242 ScViewData& rViewData = *pViewShell->GetViewData(); in KeyInput() 266 if ( pViewShell->IsDrawTextShell() || aSfxRequest.GetSlot() == SID_DRAW_NOTEEDIT ) in KeyInput() 272 else if ( pViewShell->IsDrawSelMode() ) in KeyInput() 289 pViewShell->SetDrawShell( sal_False ); in KeyInput() 309 sal_Bool bOle = pViewShell->GetViewFrame()->GetFrame().IsInPlace(); in KeyInput() [all …]
|
| H A D | fusel.cxx | 227 pViewShell->FakeButtonUp( pViewShell->GetViewData()->GetActivePart() ); in MouseButtonDown() 261 pViewShell->FakeButtonUp( pViewShell->GetViewData()->GetActivePart() ); in MouseButtonDown() 267 SfxInPlaceClient* pClient = pViewShell->GetIPClient(); in MouseButtonDown() 302 if (pViewShell->IsDrawSelMode()) in MouseButtonDown() 309 if (pViewShell->IsDrawSelMode()) in MouseButtonDown() 393 sal_Bool bOle = pViewShell->GetViewFrame()->GetFrame().IsInPlace(); in MouseButtonUp() 403 ScViewData* pViewData = ( pViewShell ? pViewShell->GetViewData() : NULL ); in MouseButtonUp() 448 FuPoor* pPoor = pViewShell->GetViewData()->GetView()->GetDrawFuncPtr(); in MouseButtonUp() 496 SfxInPlaceClient* pIPClient = pViewShell->GetIPClient(); in MouseButtonUp() 538 pViewShell->ActivateObject( (SdrOle2Obj*) pObj, 0 ); in MouseButtonUp() [all …]
|
| H A D | futext.cxx | 217 pViewShell->SetDrawTextUndo( &pO->GetUndoManager() ); in MouseButtonDown() 278 SfxBindings& rBindings = pViewShell->GetViewFrame()->GetBindings(); in MouseButtonDown() 315 pViewShell->GetViewData()->GetDispatcher(). in MouseButtonDown() 334 lcl_InvalidateAttribs( pViewShell->GetViewFrame()->GetBindings() ); in MouseButtonDown() 337 pViewShell->SetActivePointer(pView->GetPreferedPointer( in MouseButtonDown() 356 pViewShell->SetActivePointer(pView->GetPreferedPointer( in MouseMove() 406 lcl_InvalidateAttribs( pViewShell->GetViewFrame()->GetBindings() ); in MouseButtonUp() 421 FuPoor* pPoor = pViewShell->GetViewData()->GetView()->GetDrawFuncPtr(); in MouseButtonUp() 491 SfxDispatcher& rDisp = pViewShell->GetViewData()->GetDispatcher(); in MouseButtonUp() 511 SfxDispatcher& rDisp = pViewShell->GetViewData()->GetDispatcher(); in MouseButtonUp() [all …]
|
| H A D | fumark.cxx | 96 pViewShell->DrawMarkRect(aZoomRect); in MouseMove() 104 pViewShell->DrawMarkRect(aZoomRect); in MouseMove() 127 pViewShell->DrawMarkRect(aZoomRect); in MouseButtonUp() 144 pViewShell->GetViewData()->GetDispatcher(). in MouseButtonUp() 149 pViewShell->SetChartArea( aSourceRange, aZoomRect ); in MouseButtonUp() 195 pViewShell->GetViewData()->GetDispatcher(). in KeyInput() 241 ScViewData* pViewData = pViewShell->GetViewData(); in Activate() 245 pViewShell->MarkDataArea( sal_True ); in Activate() 267 pViewShell->DrawMarkRect(aZoomRect); in Deactivate() 281 pViewShell->SetActivePointer( Pointer( POINTER_CHART ) ); in ForcePointer()
|
| /trunk/main/sd/source/ui/app/ |
| H A D | sdmod2.cxx | 427 ::sd::ViewShell* pViewShell = NULL; in CreateItemSet() 438 pViewShell = pDocSh->GetViewShell(); in CreateItemSet() 439 if (pViewShell != NULL) in CreateItemSet() 440 pViewShell->WriteFrameViewData(); in CreateItemSet() 558 ::sd::ViewShell* pViewShell = NULL; in ApplyItemSet() 569 pViewShell = pDocSh->GetViewShell(); in ApplyItemSet() 570 if (pViewShell != NULL) in ApplyItemSet() 571 pViewShell->WriteFrameViewData(); in ApplyItemSet() 620 if( pViewShell ) in ApplyItemSet() 621 pViewShell->SetRuler( pViewShell->HasRuler() ); in ApplyItemSet() [all …]
|
| /trunk/main/sd/source/ui/slidesorter/controller/ |
| H A D | SlsSelectionManager.cxx | 244 ViewShell* pViewShell = mrSlideSorter.GetViewShell(); in SelectionHasChanged() local 245 if (pViewShell != NULL) in SelectionHasChanged() 247 pViewShell->Invalidate (SID_EXPAND_PAGE); in SelectionHasChanged() 248 pViewShell->Invalidate (SID_SUMMARY_PAGE); in SelectionHasChanged() 249 pViewShell->Invalidate(SID_SHOW_SLIDE); in SelectionHasChanged() 250 pViewShell->Invalidate(SID_HIDE_SLIDE); in SelectionHasChanged() 251 pViewShell->Invalidate(SID_DELETE_PAGE); in SelectionHasChanged() 252 pViewShell->Invalidate(SID_DELETE_MASTER_PAGE); in SelectionHasChanged() 253 pViewShell->Invalidate(SID_ASSIGN_LAYOUT); in SelectionHasChanged() 256 pViewShell->Invalidate (SID_STATUS_PAGE); in SelectionHasChanged() [all …]
|
| H A D | SlsSlotManager.cxx | 389 SlideSorterViewShell* pViewShell in FuSupport() local 391 if (pViewShell != NULL) in FuSupport() 397 pViewShell->ImpSidUndo (sal_False, rRequest); in FuSupport() 404 SlideSorterViewShell* pViewShell in FuSupport() local 406 if (pViewShell != NULL) in FuSupport() 412 pViewShell->ImpSidRedo (sal_False, rRequest); in FuSupport() 427 ViewShell* pViewShell = mrSlideSorter.GetViewShell(); in ExecCtrl() local 437 if (pViewShell != NULL) in ExecCtrl() 438 pViewShell->GetViewFrame()->ExecuteSlot(rRequest); in ExecCtrl() 450 if (pViewShell != NULL) in ExecCtrl() [all …]
|
| /trunk/main/sw/source/ui/app/ |
| H A D | apphdl.cxx | 230 SfxViewShell* pViewShell = pShell->GetViewShell(); in lcl_LoadDoc() local 231 if(pViewShell) in lcl_LoadDoc() 233 if( pViewShell->ISA(SwView) ) in lcl_LoadDoc() 235 pNewView = PTR_CAST(SwView,pViewShell); in lcl_LoadDoc() 240 pViewShell->GetViewFrame()->DoClose(); in lcl_LoadDoc() 828 SfxViewShell* pViewShell = SfxViewShell::GetFirst(); in ConfigurationChanged() local 829 while(pViewShell) in ConfigurationChanged() 831 if(pViewShell->GetWindow()) in ConfigurationChanged() 833 if((pViewShell->IsA(aSwViewTypeId) || in ConfigurationChanged() 834 pViewShell->IsA(aSwPreViewTypeId) || in ConfigurationChanged() [all …]
|
| /trunk/main/sd/source/ui/framework/factories/ |
| H A D | ViewShellWrapper.cxx | 56 ::boost::shared_ptr<ViewShell> pViewShell, in ViewShellWrapper() argument 60 mpViewShell(pViewShell), in ViewShellWrapper() 67 if( bool(pViewShell) ) in ViewShellWrapper() local 69 pViewShell->Resize(); in ViewShellWrapper() 215 ViewShell* pViewShell (mpViewShell.get()); in windowResized() local 216 if (pViewShell != NULL) in windowResized() 217 pViewShell->Resize(); in windowResized() 236 ViewShell* pViewShell (mpViewShell.get()); in windowShown() local 237 if (pViewShell != NULL) in windowShown() 238 pViewShell->Resize(); in windowShown()
|