Lines Matching refs:pViewData
61 pViewData( pNewViewData ), in ScViewFunctionSet()
66 DBG_ASSERT(pViewData, "ViewData==0 bei FunctionSet"); in ScViewFunctionSet()
74 return pViewData->GetActivePart(); in GetWhich()
86 SCTAB nTab = pViewData->GetTabNo(); in BeginDrag()
93 pViewData->GetPosFromPixel( aMPos.X(), aMPos.Y(), GetWhich(), nPosX, nPosY ); in BeginDrag()
97 nPosX = pViewData->GetCurX(); in BeginDrag()
98 nPosY = pViewData->GetCurY(); in BeginDrag()
105 pViewData->GetView()->FakeButtonUp( GetWhich() ); // ButtonUp wird verschluckt in BeginDrag()
107 ScMarkData& rMark = pViewData->GetMarkData(); in BeginDrag()
114 sal_Bool bCopied = pViewData->GetView()->CopyToClip( pClipDoc, sal_False, sal_True ); in BeginDrag()
117 sal_Int8 nDragActions = pViewData->GetView()->SelectionEditable() ? in BeginDrag()
121 ScDocShell* pDocSh = pViewData->GetDocShell(); in BeginDrag()
141 Window* pWindow = pViewData->GetActiveWin(); in BeginDrag()
166 SetAnchor( pViewData->GetRefStartX(), pViewData->GetRefStartY() ); in CreateAnchor()
168 SetAnchor( pViewData->GetCurX(), pViewData->GetCurY() ); in CreateAnchor()
174 ScTabView* pView = pViewData->GetView(); in SetAnchor()
175 SCTAB nTab = pViewData->GetTabNo(); in SetAnchor()
185 else if (pViewData->IsAnyFillMode()) in SetAnchor()
201 ScMarkData& rMark = pViewData->GetMarkData(); in SetAnchor()
219 pViewData->GetView()->DoneRefMode( sal_True ); in DestroyAnchor()
221 pViewData->GetView()->DoneBlockMode( sal_True ); in DestroyAnchor()
262 pViewData->GetPosFromPixel( aEffPos.X(), aEffPos.Y(), GetWhich(), in SetCursorAtPoint()
267 if ( pViewData->IsFillMode() || pViewData->GetFillMode() == SC_FILL_MATRIX ) in SetCursorAtPoint()
270 pViewData->GetMouseQuadrant( aEffPos, GetWhich(), nPosX, nPosY, bLeft, bTop ); in SetCursorAtPoint()
271 ScDocument* pDoc = pViewData->GetDocument(); in SetCursorAtPoint()
272 SCTAB nTab = pViewData->GetTabNo(); in SetCursorAtPoint()
290 if ( eWhich == pViewData->GetActivePart() ) in SetCursorAtPoint()
292 if ( pViewData->GetHSplitMode() == SC_SPLIT_FIX ) in SetCursorAtPoint()
296 …pViewData->GetView()->ActivatePart( SC_SPLIT_TOPRIGHT ), bScroll = sal_False, bDidSwitch = sal_Tru… in SetCursorAtPoint()
298 …pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMRIGHT ), bScroll = sal_False, bDidSwitch = sal_… in SetCursorAtPoint()
301 if ( pViewData->GetVSplitMode() == SC_SPLIT_FIX ) in SetCursorAtPoint()
305 …pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMLEFT ), bScroll = sal_False, bDidSwitch = sal_T… in SetCursorAtPoint()
307 …pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMRIGHT ), bScroll = sal_False, bDidSwitch = sal_… in SetCursorAtPoint()
311 pViewData->ResetOldCursor(); in SetCursorAtPoint()
317 ScTabView* pView = pViewData->GetView(); in SetCursorAtCell()
318 SCTAB nTab = pViewData->GetTabNo(); in SetCursorAtCell()
319 ScDocument* pDoc = pViewData->GetDocument(); in SetCursorAtCell()
340 ScTabViewShell* pViewShell = pViewData->GetViewShell(); in SetCursorAtCell()
343 sal_Bool bHide = !bRefMode && !pViewData->IsAnyFillMode() && in SetCursorAtCell()
344 ( nPosX != (SCsCOL) pViewData->GetCurX() || nPosY != (SCsROW) pViewData->GetCurY() ); in SetCursorAtCell()
363 if ( !pScMod->IsModalMode(pViewData->GetSfxDocShell()) ) in SetCursorAtCell()
368 pView->InitRefMode( nPosX, nPosY, pViewData->GetTabNo(), SC_REFTYPE_REF ); in SetCursorAtCell()
371 pView->UpdateRef( nPosX, nPosY, pViewData->GetTabNo() ); in SetCursorAtCell()
375 else if (pViewData->IsFillMode() || in SetCursorAtCell()
376 (pViewData->GetFillMode() == SC_FILL_MATRIX && (nScFillModeMouseModifier & KEY_MOD1) )) in SetCursorAtCell()
383 pViewData->GetSimpleArea( nStartX, nStartY, nDummy, nEndX, nEndY, nDummy ); in SetCursorAtCell()
385 if (pViewData->GetRefType() != SC_REFTYPE_FILL) in SetCursorAtCell()
392 sal_Bool bOldDelMark = pViewData->GetDelMark( aDelRange ); in SetCursorAtCell()
420 pViewData->SetDelMark( ScRange( nDelStartX,nDelStartY,nTab, in SetCursorAtCell()
422 pViewData->GetView()->UpdateShrinkOverlay(); in SetCursorAtCell()
435 pViewData->GetView()-> in SetCursorAtCell()
441 pViewData->GetView()-> in SetCursorAtCell()
448 if ( nStartX != pViewData->GetRefStartX() || nStartY != pViewData->GetRefStartY() ) in SetCursorAtCell()
450 pViewData->GetView()->DoneRefMode(); in SetCursorAtCell()
451 pViewData->GetView()->InitRefMode( nStartX, nStartY, nTab, SC_REFTYPE_FILL ); in SetCursorAtCell()
458 pViewData->ResetDelMark(); in SetCursorAtCell()
459 pViewData->GetView()->UpdateShrinkOverlay(); in SetCursorAtCell()
462 pViewData->GetView()-> in SetCursorAtCell()
513 if ( nRefStX != pViewData->GetRefStartX() || nRefStY != pViewData->GetRefStartY() ) in SetCursorAtCell()
515 pViewData->GetView()->DoneRefMode(); in SetCursorAtCell()
516 pViewData->GetView()->InitRefMode( nRefStX, nRefStY, nTab, SC_REFTYPE_FILL ); in SetCursorAtCell()
522 else if (pViewData->IsAnyFillMode()) in SetCursorAtCell()
524 sal_uInt8 nMode = pViewData->GetFillMode(); in SetCursorAtCell()
531 if (pViewData->GetRefType() != eRefMode) in SetCursorAtCell()
547 pViewData->GetSimpleArea( nStartX, nStartY, nDummy, nEndX, nEndY, nDummy ); in SetCursorAtCell()
549 if (pViewData->GetRefType() != SC_REFTYPE_FILL) in SetCursorAtCell()
564 sal_Bool bHideCur = bAnchor && ( (SCCOL)nPosX != pViewData->GetCurX() || in SetCursorAtCell()
565 (SCROW)nPosY != pViewData->GetCurY() ); in SetCursorAtCell()
587 ScMarkData& rMark = pViewData->GetMarkData(); in SetCursorAtCell()
601 else if ( pViewData->IsSelCtrlMouseClick() ) in SetCursorAtCell()
603 SCCOL nOldX = pViewData->GetCurX(); in SetCursorAtCell()
604 SCROW nOldY = pViewData->GetCurY(); in SetCursorAtCell()
622 pViewData->SetRefStart( nPosX, nPosY, nTab ); in SetCursorAtCell()
639 if (pViewData->IsAnyFillMode()) in IsSelectionAtPoint()
642 ScMarkData& rMark = pViewData->GetMarkData(); in IsSelectionAtPoint()
647 pViewData->GetPosFromPixel( rPointPixel.X(), rPointPixel.Y(), GetWhich(), nPosX, nPosY ); in IsSelectionAtPoint()
648 return pViewData->GetMarkData().IsCellMarked( (SCCOL) nPosX, (SCROW) nPosY ); in IsSelectionAtPoint()
661 if (pViewData->IsAnyFillMode()) in DeselectAll()
667 pViewData->GetView()->DoneRefMode( sal_False ); in DeselectAll()
671 pViewData->GetView()->DoneBlockMode( sal_False ); in DeselectAll()
672 pViewData->GetViewShell()->UpdateInputHandler(); in DeselectAll()
698 pViewData( pNewViewData ), in ScHeaderFunctionSet()
704 DBG_ASSERT(pViewData, "ViewData==0 bei FunctionSet"); in ScHeaderFunctionSet()
727 ScTabView* pView = pViewData->GetView(); in CreateAnchor()
731 …pView->InitBlockMode( static_cast<SCCOL>(nCursorPos), 0, pViewData->GetTabNo(), sal_True, sal_True… in CreateAnchor()
732 pView->MarkCursor( static_cast<SCCOL>(nCursorPos), MAXROW, pViewData->GetTabNo() ); in CreateAnchor()
736 pView->InitBlockMode( 0, nCursorPos, pViewData->GetTabNo(), sal_True, sal_False, sal_True ); in CreateAnchor()
737 pView->MarkCursor( MAXCOL, nCursorPos, pViewData->GetTabNo() ); in CreateAnchor()
744 pViewData->GetView()->DoneBlockMode( sal_True ); in DestroyAnchor()
761 Size aWinSize = pViewData->GetActiveWin()->GetOutputSizePixel(); in SetCursorAtPoint()
773 if ( pViewData->GetHSplitMode() == SC_SPLIT_FIX ) in SetCursorAtPoint()
778 pViewData->GetView()->ActivatePart( SC_SPLIT_TOPRIGHT ), bSwitched = sal_True; in SetCursorAtPoint()
780 pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMRIGHT ), bSwitched = sal_True; in SetCursorAtPoint()
786 if ( pViewData->GetVSplitMode() == SC_SPLIT_FIX ) in SetCursorAtPoint()
791 pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMLEFT ), bSwitched = sal_True; in SetCursorAtPoint()
793 pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMRIGHT ), bSwitched = sal_True; in SetCursorAtPoint()
808 pViewData->GetPosFromPixel( rPointPixel.X(), rPointPixel.Y(), pViewData->GetActivePart(), in SetCursorAtPoint()
813 nPosY = pViewData->GetPosY(WhichV(pViewData->GetActivePart())); in SetCursorAtPoint()
818 nPosX = pViewData->GetPosX(WhichH(pViewData->GetActivePart())); in SetCursorAtPoint()
821 ScTabView* pView = pViewData->GetView(); in SetCursorAtPoint()
822 sal_Bool bHide = pViewData->GetCurX() != nPosX || in SetCursorAtPoint()
823 pViewData->GetCurY() != nPosY; in SetCursorAtPoint()
834 pViewData->GetMarkData().MarkToMulti(); //! wer verstellt das ??? in SetCursorAtPoint()
835 pView->InitBlockMode( nPosX, nPosY, pViewData->GetTabNo(), sal_True, bColumn, !bColumn ); in SetCursorAtPoint()
840 pView->MarkCursor( nPosX, nPosY, pViewData->GetTabNo(), bColumn, !bColumn ); in SetCursorAtPoint()
855 pViewData->GetPosFromPixel( rPointPixel.X(), rPointPixel.Y(), pViewData->GetActivePart(), in IsSelectionAtPoint()
858 ScMarkData& rMark = pViewData->GetMarkData(); in IsSelectionAtPoint()
871 pViewData->GetView()->DoneBlockMode( sal_False ); in DeselectAll()