Lines Matching refs:pViewData
349 …( ScDrawView* pView, SdrPageView* pPV, SdrModel* pDrDoc, const Point& rPos, ScViewData* pViewData ) in lcl_UnLockComment() argument
351 if (!pView && !pPV && !pDrDoc && !pViewData) in lcl_UnLockComment()
354 ScDocument& rDoc = *pViewData->GetDocument(); in lcl_UnLockComment()
355 ScAddress aCellPos( pViewData->GetCurX(), pViewData->GetCurY(), pViewData->GetTabNo() ); in lcl_UnLockComment()
362 …bool bProtectDoc = rDoc.IsTabProtected( aCellPos.Tab() ) || pViewData->GetSfxDocShell()->IsReadOn… in lcl_UnLockComment()
407 pViewData( pData ), in ScGridWindow()
461 SetMapMode(pViewData->GetLogicMode(eWhich)); in ScGridWindow()
523 pViewData->GetDispatcher().Execute( SID_SPELL_DIALOG, SFX_CALLMODE_ASYNCHRON ); in IMPL_LINK()
531 ScDocument* pDoc = pViewData->GetDocument(); in ExecPageFieldSelect()
532 SCTAB nTab = pViewData->GetTabNo(); in ExecPageFieldSelect()
556 ScDBDocFunc aFunc( *pViewData->GetDocShell() ); in ExecPageFieldSelect()
558 pViewData->GetView()->CursorPosChanged(); // shells may be switched in ExecPageFieldSelect()
572 ScDocument* pDoc = pViewData->GetDocument(); in LaunchPageFieldMenu()
573 SCTAB nTab = pViewData->GetTabNo(); in LaunchPageFieldMenu()
579 pViewData->GetMergeSizePixel( nCol, nRow, nSizeX, nSizeY ); in LaunchPageFieldMenu()
580 Point aPos = pViewData->GetScrPos( nCol, nRow, eWhich ); in LaunchPageFieldMenu()
717 SCTAB nTab = pViewData->GetTabNo(); in LaunchDPFieldMenu()
718 ScDPObject* pDPObj = pViewData->GetDocument()->GetDPAtCursor(nCol, nRow, nTab); in LaunchDPFieldMenu()
723 Point aScrPos = pViewData->GetScrPos(nCol, nRow, eWhich); in LaunchDPFieldMenu()
725 pViewData->GetMergeSizePixel(nCol, nRow, nSizeX, nSizeY); in LaunchDPFieldMenu()
745 ScDocument* pDoc = pViewData->GetDocument(); in DoScenarioMenue()
746 SCTAB nTab = pViewData->GetTabNo(); in DoScenarioMenue()
752 pViewData->GetMergeSizePixel( nCol, nRow, nSizeX, nSizeY ); in DoScenarioMenue()
753 Point aPos = pViewData->GetScrPos( nCol, nRow, eWhich ); in DoScenarioMenue()
871 ScDocument* pDoc = pViewData->GetDocument(); in HasScenarioRange()
872 sal_uInt16 nTab = pViewData->GetTabNo(); in HasScenarioRange()
912 ScDocument* pDoc = pViewData->GetDocument(); in DoAutoFilterMenue()
913 SCTAB nTab = pViewData->GetTabNo(); in DoAutoFilterMenue()
919 pViewData->GetMergeSizePixel( nCol, nRow, nSizeX, nSizeY ); in DoAutoFilterMenue()
921 nSizeY = pViewData->ToPixel(pDoc->GetRowHeight(nRow, nTab), pViewData->GetPPTY()); in DoAutoFilterMenue()
922 Point aPos = pViewData->GetScrPos( nCol, nRow, eWhich ); in DoAutoFilterMenue()
1206 pViewData->GetView()->UseScenario( aString ); in FilterSelect()
1224 SCTAB nTab = pViewData->GetTabNo(); in ExecDataSelect()
1225 ScViewFunc* pView = pViewData->GetView(); in ExecDataSelect()
1238 SCTAB nTab = pViewData->GetTabNo(); in ExecFilter()
1239 ScDocument* pDoc = pViewData->GetDocument(); in ExecFilter()
1255 … pViewData->GetView()->MarkRange( ScRange( nStartCol,nStartRow,nAreaTab,nEndCol,nEndRow,nAreaTab)); in ExecFilter()
1256 pViewData->GetView()->SetCursor(nCol,nRow); //! auch ueber Slot ?? in ExecFilter()
1257 pViewData->GetDispatcher().Execute( SID_FILTER, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD ); in ExecFilter()
1329 if ( pViewData->HasEditView( pViewData->GetActivePart() ) ) in ExecFilter()
1332 pViewData->GetViewShell()->UpdateInputHandler(); in ExecFilter()
1335 pViewData->GetView()->Query( aParam, NULL, sal_True ); in ExecFilter()
1339 pViewData->GetView()->ErrorMessage( STR_FILTER_TOOMANY ); in ExecFilter()
1395 SfxInPlaceClient* pClient = pViewData->GetViewShell()->GetIPClient(); in TestMouse()
1398 if ( pViewData->IsActive() && !bOleActive ) in TestMouse()
1400 ScDocument* pDoc = pViewData->GetDocument(); in TestMouse()
1401 SCTAB nTab = pViewData->GetTabNo(); in TestMouse()
1407 if (pViewData->GetSimpleArea( aMarkRange ) == SC_MARK_SIMPLE) in TestMouse()
1409 if (aMarkRange.aStart.Tab() == pViewData->GetTabNo() && mpAutoFillRect) in TestMouse()
1420 if ( lcl_IsEditableMatrix( pViewData->GetDocument(), aMarkRange ) ) in TestMouse()
1421 pViewData->SetDragMode( in TestMouse()
1424 pViewData->SetFillMode( in TestMouse()
1429 pViewData->GetMarkData().MarkToSimple(); in TestMouse()
1442 if ( pViewData->GetTabNo() == aRange.aStart.Tab() ) in TestMouse()
1444 Point aStartPos = pViewData->GetScrPos( aRange.aStart.Col(), aRange.aStart.Row(), eWhich ); in TestMouse()
1445 Point aEndPos = pViewData->GetScrPos( aRange.aEnd.Col()+1, aRange.aEnd.Row()+1, eWhich ); in TestMouse()
1462 pViewData->SetDragMode( in TestMouse()
1475 pViewData->ResetFillMode(); in TestMouse()
1511 SfxViewShell* pViewSh = pViewData->GetViewShell(); in HandleMouseButtonDown()
1540 if (pScMod->IsModalMode(pViewData->GetSfxDocShell())) in HandleMouseButtonDown()
1546 pScActiveViewShell = pViewData->GetViewShell(); // falls auf Link geklickt wird in HandleMouseButtonDown()
1549 sal_Bool bDetective = pViewData->GetViewShell()->IsAuditShell(); in HandleMouseButtonDown()
1550 sal_Bool bRefMode = pViewData->IsRefMode(); // Referenz angefangen in HandleMouseButtonDown()
1552 sal_Bool bEditMode = pViewData->HasEditView(eWhich); // auch bei Mode==SC_INPUT_TYPE in HandleMouseButtonDown()
1564 if ( ( bEditMode && pViewData->GetActivePart() == eWhich ) || !bFormulaMode ) in HandleMouseButtonDown()
1583 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in HandleMouseButtonDown()
1587 pViewData->GetDispatcher().Execute( SID_FILL_SELECT, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD, in HandleMouseButtonDown()
1601 if ( pViewData->GetActivePart() != eWhich ) in HandleMouseButtonDown()
1602 pViewData->GetView()->ActivatePart( eWhich ); in HandleMouseButtonDown()
1606 ScViewSelectionEngine* pSelEng = pViewData->GetView()->GetSelEngine(); in HandleMouseButtonDown()
1612 if (bEditMode && (pViewData->GetRefTabNo() == pViewData->GetTabNo())) in HandleMouseButtonDown()
1617 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in HandleMouseButtonDown()
1622 pViewData->GetEditView( eWhich, pEditView, nEditCol, nEditRow ); in HandleMouseButtonDown()
1623 SCCOL nEndCol = pViewData->GetEditEndCol(); in HandleMouseButtonDown()
1624 SCROW nEndRow = pViewData->GetEditEndRow(); in HandleMouseButtonDown()
1657 if ( pViewData->GetActivePart() != eWhich ) in HandleMouseButtonDown()
1658 pViewData->GetView()->ActivatePart( eWhich ); //! schon oben immer ??? in HandleMouseButtonDown()
1669 pViewData->GetView()->FillCrossDblClick(); in HandleMouseButtonDown()
1697 pViewData->GetViewShell()->SetDrawShell( sal_False ); // kein Draw-Objekt selektiert in HandleMouseButtonDown()
1705 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in HandleMouseButtonDown()
1706 SCTAB nTab = pViewData->GetTabNo(); in HandleMouseButtonDown()
1707 ScDocument* pDoc = pViewData->GetDocument(); in HandleMouseButtonDown()
1718 …pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nRealPosX, nRealPosY, false );//the real r… in HandleMouseButtonDown()
1804 ScViewSelectionEngine* pSelEng = pViewData->GetView()->GetSelEngine(); in HandleMouseButtonDown()
1810 if ( pViewData->GetView()->SelMouseButtonDown( rMEvt ) ) in HandleMouseButtonDown()
1819 pViewData->GetMarkData().SetMarking(sal_True); in HandleMouseButtonDown()
1828 ScDocument* pDoc = pViewData->GetDocument(); in MouseButtonUp()
1829 ScMarkData& rMark = pViewData->GetMarkData(); in MouseButtonUp()
1846 pViewData->GetView()->GetSelEngine()->Reset(); in MouseButtonUp()
1848 if (pViewData->IsAnyFillMode()) in MouseButtonUp()
1850 pViewData->GetView()->StopRefMode(); in MouseButtonUp()
1851 pViewData->ResetFillMode(); in MouseButtonUp()
1866 pFilterBox->GetCol(), pFilterBox->GetRow(), pViewData->GetTabNo() ); in MouseButtonUp()
1881 if (pScMod->IsModalMode(pViewData->GetSfxDocShell())) in MouseButtonUp()
1884 SfxBindings& rBindings = pViewData->GetBindings(); in MouseButtonUp()
1885 if (bEEMouse && pViewData->HasEditView( eWhich )) in MouseButtonUp()
1890 pViewData->GetEditView( eWhich, pEditView, nEditCol, nEditRow ); in MouseButtonUp()
1902 pViewData->GetView()->InvalidateAttribs(); in MouseButtonUp()
1934 ::svl::IUndoManager* pMgr = pViewData->GetDocShell()->GetUndoManager(); in MouseButtonUp()
1944 ScTabViewShell* pViewShell = pViewData->GetViewShell(); in MouseButtonUp()
1962 if (pViewData->IsFillMode() || in MouseButtonUp()
1963 ( pViewData->GetFillMode() == SC_FILL_MATRIX && rMEvt.IsMod1() )) in MouseButtonUp()
1970 pViewData->GetFillData( nStartCol, nStartRow, nEndCol, nEndRow ); in MouseButtonUp()
1974 sal_Bool bIsDel = pViewData->GetDelMark( aDelRange ); in MouseButtonUp()
1976 ScViewFunc* pView = pViewData->GetView(); in MouseButtonUp()
1978 pViewData->ResetFillMode(); in MouseButtonUp()
1985 SCTAB nTab = pViewData->GetTabNo(); in MouseButtonUp()
1997 pViewData->GetDispatcher().Execute( FID_FILL_AUTO, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD ); in MouseButtonUp()
1999 else if (pViewData->GetFillMode() == SC_FILL_MATRIX) in MouseButtonUp()
2001 SCTAB nTab = pViewData->GetTabNo(); in MouseButtonUp()
2006 pViewData->GetFillData( nStartCol, nStartRow, nEndCol, nEndRow ); in MouseButtonUp()
2008 SCCOL nFillCol = pViewData->GetRefEndX(); in MouseButtonUp()
2009 SCROW nFillRow = pViewData->GetRefEndY(); in MouseButtonUp()
2012 ScTabView* pView = pViewData->GetView(); in MouseButtonUp()
2014 pViewData->ResetFillMode(); in MouseButtonUp()
2019 pViewData->GetDocShell()->GetDocFunc().ResizeMatrix( aBlockRange, aEndPos, sal_False ); in MouseButtonUp()
2020 pViewData->GetView()->MarkRange( ScRange( aBlockRange.aStart, aEndPos ) ); in MouseButtonUp()
2023 else if (pViewData->IsAnyFillMode()) in MouseButtonUp()
2026 ScTabView* pView = pViewData->GetView(); in MouseButtonUp()
2028 pViewData->ResetFillMode(); in MouseButtonUp()
2030 pViewData->GetDocShell()->UpdateOle(pViewData); in MouseButtonUp()
2033 sal_Bool bRefMode = pViewData->IsRefMode(); in MouseButtonUp()
2046 (pViewData->GetDocument()-> in MouseButtonUp()
2060 pViewData->GetView()->SetStyleSheetToMarked( pStyleSheet ); in MouseButtonUp()
2061 pViewData->GetView()->DoneBlockMode(); in MouseButtonUp()
2065 pViewData->GetDocument()->SetPageStyle( pViewData->GetTabNo(), in MouseButtonUp()
2068 ScPrintFunc( pViewData->GetDocShell(), in MouseButtonUp()
2069 pViewData->GetViewShell()->GetPrinter(sal_True), in MouseButtonUp()
2070 pViewData->GetTabNo() ).UpdatePages(); in MouseButtonUp()
2082 ScDBFunc* pView = pViewData->GetView(); in MouseButtonUp()
2102 SCTAB nTab = pViewData->GetTabNo(); in MouseButtonUp()
2103 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in MouseButtonUp()
2107 ScAddress aCellPos( nPosX, nPosY, pViewData->GetTabNo() ); in MouseButtonUp()
2120 … pViewData->GetDispatcher().Execute( SID_OUTLINE_SHOW, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD ); in MouseButtonUp()
2127 ScDBDocFunc aFunc( *pViewData->GetDocShell() ); in MouseButtonUp()
2129 pViewData->GetView()->CursorPosChanged(); // shells may be switched in MouseButtonUp()
2138 pViewData->GetView()->ShowDataPilotSourceData( *pDPObj, aFilters ); in MouseButtonUp()
2164 pViewData->GetViewShell()->UpdateInputHandler(); in MouseButtonUp()
2166 if (pViewData->HasEditView(eWhich)) in MouseButtonUp()
2169 EditView* pEditView = pViewData->GetEditView( eWhich ); in MouseButtonUp()
2200 SCTAB nTab = pViewData->GetTabNo(); in MouseButtonUp()
2201 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in MouseButtonUp()
2206 uno::Reference< table::XCell > xCell( new ScCellObj( pViewData->GetDocShell(), aCellPos ) ); in MouseButtonUp()
2227 if ( rMEvt.IsLeft() && pViewData->GetView()->GetSelEngine()->SelMouseButtonUp( rMEvt ) ) in MouseButtonUp()
2230 pViewData->GetView()->UpdateAutoFillMark(); in MouseButtonUp()
2232 SfxDispatcher* pDisp = pViewData->GetViewShell()->GetDispatcher(); in MouseButtonUp()
2264 ScAddress aScAddress( pViewData->GetCurX(), pViewData->GetCurY(), 0 ); in MouseButtonUp()
2272 pViewData->GetView()->InvalidateAttribs(); in MouseButtonUp()
2274 pViewData->GetViewShell()->SelectionChanged(); in MouseButtonUp()
2296 if (pScMod->IsModalMode(pViewData->GetSfxDocShell())) in MouseMove()
2316 if ( pViewData->GetViewShell()->IsAuditShell() ) // Detektiv-Fuell-Modus in MouseMove()
2348 if (bEEMouse && pViewData->HasEditView( eWhich )) in MouseMove()
2353 pViewData->GetEditView( eWhich, pEditView, nEditCol, nEditRow ); in MouseMove()
2378 sal_Bool bEditMode = pViewData->HasEditView(eWhich); in MouseMove()
2381 if ( bEditMode && (pViewData->GetRefTabNo() == pViewData->GetTabNo()) ) in MouseMove()
2386 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in MouseMove()
2391 pViewData->GetEditView( eWhich, pEditView, nEditCol, nEditRow ); in MouseMove()
2392 SCCOL nEndCol = pViewData->GetEditEndCol(); in MouseMove()
2393 SCROW nEndRow = pViewData->GetEditEndRow(); in MouseMove()
2410 sal_Bool bWater = SC_MOD()->GetIsWaterCan() || pViewData->GetView()->HasPaintBrush(); in MouseMove()
2433 if ( !nButtonDown && pViewData->IsPagebreakMode() && in MouseMove()
2468 if ( nButtonDown && pViewData->IsAnyFillMode() ) in MouseMove()
2489 if ( pViewData->GetView()->GetSelEngine()->SelMouseMove( rMEvt ) ) in MouseMove()
2526 if (pWindow == this && pViewData) in PreNotify()
2528 SfxViewFrame* pViewFrame = pViewData->GetViewShell()->GetViewFrame(); in PreNotify()
2578 if (!pViewData->GetView()->IsInActivatePart()) in Tracking()
2607 sal_Bool bRefMode = pViewData->IsRefMode(); in Tracking()
2635 if (bEEMouse && pViewData->HasEditView( eWhich )) in StartDrag()
2640 pViewData->GetEditView( eWhich, pEditView, nEditCol, nEditRow ); in StartDrag()
2653 if (!pViewData->IsActive()) // dropped to different view? in StartDrag()
2655 ScInputHandler* pViewHdl = pScMod->GetInputHdl( pViewData->GetViewShell() ); in StartDrag()
2656 if ( pViewHdl && pViewData->HasEditView( eWhich ) ) in StartDrag()
2665 pViewData->GetView()->GetSelEngine()->Command( aDragEvent ); in StartDrag()
2668 void lcl_SetTextCursorPos( ScViewData* pViewData, ScSplitPos eWhich, Window* pWin ) in lcl_SetTextCursorPos() argument
2670 SCCOL nCol = pViewData->GetCurX(); in lcl_SetTextCursorPos()
2671 SCROW nRow = pViewData->GetCurY(); in lcl_SetTextCursorPos()
2672 Rectangle aEditArea = pViewData->GetEditArea( eWhich, nCol, nRow, pWin, NULL, sal_True ); in lcl_SetTextCursorPos()
2686 ScTabViewShell* pTabViewSh = pViewData->GetViewShell(); in Command()
2704 sal_Bool bEditView = pViewData->HasEditView( eWhich ); in Command()
2708 SdrView* pSdrView = pViewData->GetView()->GetSdrView(); in Command()
2727 lcl_SetTextCursorPos( pViewData, eWhich, this ); in Command()
2731 ScInputHandler* pHdl = pScMod->GetInputHdl( pViewData->GetViewShell() ); in Command()
2747 ScInputHandler* pHdl = pScMod->GetInputHdl( pViewData->GetViewShell() ); in Command()
2748 if ( pHdl && pViewData->HasEditView( eWhich ) ) in Command()
2750 EditView* pEditView = pViewData->GetEditView( eWhich ); // ist dann nicht 0 in Command()
2756 SdrView* pSdrView = pViewData->GetView()->GetSdrView(); in Command()
2789 SfxBindings& rBindings = pViewData->GetBindings(); in Command()
2797 sal_Bool bDone = pViewData->GetView()->ScrollCommand( rCEvt, eWhich ); in Command()
2804 pScMod->IsModalMode(pViewData->GetSfxDocShell()); in Command()
2814 if (pViewData->IsAnyFillMode()) in Command()
2816 pViewData->GetView()->StopRefMode(); in Command()
2817 pViewData->ResetFillMode(); in Command()
2829 pViewData->GetPosFromPixel(aPosPixel.X(), aPosPixel.Y(), eWhich, nCellX, nCellY); in Command()
2830 ScDocument* pDoc = pViewData->GetDocument(); in Command()
2831 SCTAB nTab = pViewData->GetTabNo(); in Command()
2856 sal_Bool bEdit = pViewData->HasEditView(eWhich); in Command()
2865 bEdit = pViewData->HasEditView(eWhich); // hat's geklappt ? in Command()
2872 EditView* pEditView = pViewData->GetEditView( eWhich ); // ist dann nicht 0 in Command()
2913 SCCOL nCurX = pViewData->GetCurX(); in Command()
2914 SCROW nCurY = pViewData->GetCurY(); in Command()
2915 aMenuPos = pViewData->GetScrPos( nCurX, nCurY, eWhich, sal_True ); in Command()
2918 pViewData->GetMergeSizePixel( nCurX, nCurY, nSizeXPix, nSizeYPix ); in Command()
2922 if (pViewData) in Command()
2924 ScTabViewShell* pViewSh = pViewData->GetViewShell(); in Command()
2953 ScTabView* pView = pViewData->GetView(); in SelectForContextMenu()
2958 if ( pViewData->HasEditView(eWhich) ) in SelectForContextMenu()
2961 …SCCOL nEditStartCol = pViewData->GetEditViewCol(); //! change to GetEditStartCol after calcrtl is … in SelectForContextMenu()
2962 SCROW nEditStartRow = pViewData->GetEditViewRow(); in SelectForContextMenu()
2963 SCCOL nEditEndCol = pViewData->GetEditEndCol(); in SelectForContextMenu()
2964 SCROW nEditEndRow = pViewData->GetEditEndRow(); in SelectForContextMenu()
2971 EditView* pEditView = pViewData->GetEditView( eWhich ); // not NULL (HasEditView) in SelectForContextMenu()
3069 else if ( pViewData->GetMarkData().IsCellMarked(nCellX, nCellY) ) in SelectForContextMenu()
3086 …nLockComment( pDrawView, pDrawView->GetSdrPageView(), pDrawView->GetModel(), aLogicPos ,pViewData); in SelectForContextMenu()
3095 pViewData->GetViewShell()->SetDrawShell( sal_False ); // switch shells in SelectForContextMenu()
3110 else if( pViewData->GetViewShell()->MoveCursorKeyInput( rKEvt ) ) in KeyInput()
3113 pViewData->GetRefStartX(), pViewData->GetRefStartY(), pViewData->GetRefStartZ(), in KeyInput()
3114 pViewData->GetRefEndX(), pViewData->GetRefEndY(), pViewData->GetRefEndZ() ); in KeyInput()
3115 SC_MOD()->SetReference( aRef, pViewData->GetDocument() ); in KeyInput()
3117 pViewData->GetViewShell()->SelectionChanged(); in KeyInput()
3121 else if( !pViewData->IsAnyFillMode() ) in KeyInput()
3126 ScTabViewShell* pViewSh = pViewData->GetViewShell(); in KeyInput()
3128 if (pViewData->GetDocShell()->GetProgress()) in KeyInput()
3139 ScTabViewShell* pViewShell = pViewData->GetViewShell(); in KeyInput()
3147 …if (!pViewData->GetView()->IsDrawSelMode() && !DrawHasMarkedObj()) // keine Eingaben im Zeichenmod… in KeyInput()
3173 ShowNoteMarker( pViewData->GetCurX(), pViewData->GetCurY(), sal_True ); in KeyInput()
3187 pViewData->GetMarkData().SetMarking(sal_False); in StopMarking()
3194 sal_Bool bReadOnly = pViewData->GetDocShell()->IsReadOnly(); in UpdateInputContext()
3222 if ( rMousePos.X() < SCROLL_SENSITIVE && pViewData->GetPosX(WhichH(eWhich)) > 0 ) in DropScroll()
3225 && pViewData->GetPosX(WhichH(eWhich)) < MAXCOL ) in DropScroll()
3230 if ( rMousePos.Y() < SCROLL_SENSITIVE && pViewData->GetPosY(WhichV(eWhich)) > 0 ) in DropScroll()
3233 && pViewData->GetPosY(WhichV(eWhich)) < MAXROW ) in DropScroll()
3243 pViewData->GetView()->ScrollX( nDx, WhichH(eWhich) ); in DropScroll()
3245 pViewData->GetView()->ScrollY( nDy, WhichV(eWhich) ); in DropScroll()
3339 ScDocument* pThisDoc = pViewData->GetDocument(); in AcceptPrivateDrop()
3342 if ( pThisDoc->HasChartAtPoint(pViewData->GetTabNo(), PixelToLogic(aPos)) ) in AcceptPrivateDrop()
3372 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in AcceptPrivateDrop()
3395 SCTAB nTab = pViewData->GetTabNo(); in AcceptPrivateDrop()
3567 if ( pViewData->GetDocShell()->IsReadOnly() ) in AcceptDrop()
3587 ScDocShell* pDocSh = pViewData->GetDocShell(); in AcceptDrop()
3599 if ( !rData.pJumpLocalDoc || rData.pJumpLocalDoc == pViewData->GetDocument() ) in AcceptDrop()
3618 ScDocument* pThisDoc = pViewData->GetDocument(); in AcceptDrop()
3620 pViewData->GetTabNo(), PixelToLogic(rEvt.maPosPixel) ); in AcceptDrop()
3703 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in AcceptDrop()
3704 SCTAB nTab = pViewData->GetTabNo(); in AcceptDrop()
3705 ScDocument* pDoc = pViewData->GetDocument(); in AcceptDrop()
3859 ScDocShell* pDocSh = pViewData->GetDocShell(); in DropTransferObj()
3860 ScDocument* pThisDoc = pViewData->GetDocument(); in DropTransferObj()
3861 ScViewFunc* pView = pViewData->GetView(); in DropTransferObj()
3862 SCTAB nThisTab = pViewData->GetTabNo(); in DropTransferObj()
3926 pViewData->GetDocShell()->MoveTable( nSrcTab, nThisTab, !bIsMove, sal_True ); // with Undo in DropTransferObj()
3941 pViewData->GetDispatcher().Execute( nId, SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD, in DropTransferObj()
3951 bDone = pViewData->GetView()->DataPilotMove( aSource, aDestPos ); in DropTransferObj()
3981 pDocSh->UpdateOle( pViewData ); in DropTransferObj()
4027 pDocSh->UpdateOle( pViewData ); in DropTransferObj()
4105 pDocSh->UpdateOle( pViewData ); in DropTransferObj()
4165 pDocSh->UpdateOle( pViewData ); in DropTransferObj()
4210 ScDocShell* pDocSh = pViewData->GetDocShell(); in ExecuteDrop()
4218 ScViewFunc* pView = pViewData->GetView(); in ExecuteDrop()
4226 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in ExecuteDrop()
4254 pViewData->GetView()->PasteDraw( aLogicPos, rData.pDrawTransfer->GetModel() ); in ExecuteDrop()
4266 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in ExecuteDrop()
4273 if ( !rData.pJumpLocalDoc || rData.pJumpLocalDoc == pViewData->GetDocument() ) in ExecuteDrop()
4275 pViewData->GetViewShell()->InsertBookmark( rData.aJumpText, rData.aJumpTarget, in ExecuteDrop()
4281 ScDocument* pThisDoc = pViewData->GetDocument(); in ExecuteDrop()
4282 SdrObject* pHitObj = pThisDoc->GetObjectAtPoint( pViewData->GetTabNo(), PixelToLogic(aPos) ); in ExecuteDrop()
4287 if ( pViewData->GetView()->PasteOnDrawObjectLinked( rEvt.maDropEvent.Transferable, *pHitObj ) ) in ExecuteDrop()
4300 bDone = pViewData->GetView()->PasteDataFormat( in ExecuteDrop()
4318 pViewData->GetPosFromPixel( rPosPixel.X(), rPosPixel.Y(), eWhich, nPosX, nPosY ); in PasteSelection()
4342 pViewData->GetView()->PasteDraw( aLogicPos, pDrawTransfer->GetModel(), sal_False, in PasteSelection()
4343 pDrawTransfer->GetSourceDocID() == pViewData->GetDocument()->GetDocumentID() ); in PasteSelection()
4359 pViewData->GetView()->PasteDataFormat( nFormatId, xTransferable, nPosX, nPosY, &aLogicPos ); in PasteSelection()
4370 if (pViewData->HasEditView(eWhich)) in UpdateEditViewPos()
4375 pViewData->GetEditView( eWhich, pView, nCol, nRow ); in UpdateEditViewPos()
4376 SCCOL nEndCol = pViewData->GetEditEndCol(); in UpdateEditViewPos()
4377 SCROW nEndRow = pViewData->GetEditEndRow(); in UpdateEditViewPos()
4381 sal_Bool bHide = ( nEndCol<pViewData->GetPosX(eHWhich) || nEndRow<pViewData->GetPosY(eVWhich) ); in UpdateEditViewPos()
4383 if ( pViewData->GetTabNo() != pViewData->GetRefTabNo() ) in UpdateEditViewPos()
4390 aRect.Top() = PixelToLogic(GetOutputSizePixel(), pViewData->GetLogicMode()). in UpdateEditViewPos()
4399 Rectangle aPixRect = pViewData->GetEditArea( eWhich, nCol, nRow, this, NULL, sal_True ); in UpdateEditViewPos()
4400 Point aScrPos = PixelToLogic( aPixRect.TopLeft(), pViewData->GetLogicMode() ); in UpdateEditViewPos()
4432 if (pViewData->GetView()->IsMinimized()) in UpdateFormulas()
4445 SCCOL nX1 = pViewData->GetPosX( eHWhich ); in UpdateFormulas()
4446 SCROW nY1 = pViewData->GetPosY( eVWhich ); in UpdateFormulas()
4447 SCCOL nX2 = nX1 + pViewData->VisibleCellsX( eHWhich ); in UpdateFormulas()
4448 SCROW nY2 = nY1 + pViewData->VisibleCellsY( eVWhich ); in UpdateFormulas()
4459 ScDocShell* pDocSh = pViewData->GetDocShell(); in UpdateFormulas()
4461 SCTAB nTab = pViewData->GetTabNo(); in UpdateFormulas()
4465 Point aScrPos = pViewData->GetScrPos( nX1, nY1, eWhich ); in UpdateFormulas()
4471 long nEndPixel = pViewData->GetScrPos( nX2+1, nPosY, eWhich ).X(); in UpdateFormulas()
4479 double nPPTX = pViewData->GetPPTX(); in UpdateFormulas()
4480 double nPPTY = pViewData->GetPPTY(); in UpdateFormulas()
4485 Fraction aZoomX = pViewData->GetZoomX(); in UpdateFormulas()
4486 Fraction aZoomY = pViewData->GetZoomY(); in UpdateFormulas()
4576 ScTabViewShell* pViewShell = pViewData->GetViewShell(); in GetFocus()
4598 ScTabViewShell* pViewShell = pViewData->GetViewShell(); in LoseFocus()
4615 ScInputHandler* pHdl = SC_MOD()->GetInputHdl( pViewData->GetViewShell() ); in HitRangeFinder()
4620 pRangeFinder->GetDocName() == pViewData->GetDocShell()->GetTitle() ) in HitRangeFinder()
4622 ScDocument* pDoc = pViewData->GetDocument(); in HitRangeFinder()
4623 SCTAB nTab = pViewData->GetTabNo(); in HitRangeFinder()
4629 pViewData->GetPosFromPixel( rMouse.X(), rMouse.Y(), eWhich, nPosX, nPosY ); in HitRangeFinder()
4635 Point aNext = pViewData->GetScrPos( nPosX, nPosY, eWhich, sal_True ); in HitRangeFinder()
4638 pViewData->GetMergeSizePixel( nPosX, nPosY, nSizeXPix, nSizeYPix ); in HitRangeFinder()
4815 ScInputHandler* pHdl = SC_MOD()->GetInputHdl( pViewData->GetViewShell() ); in RFMouseMove()
4847 if ( nDx != 0) pViewData->GetView()->ScrollX( nDx, WhichH(eWhich) ); in RFMouseMove()
4848 if ( nDy != 0 ) pViewData->GetView()->ScrollY( nDy, WhichV(eWhich) ); in RFMouseMove()
4854 if ( eWhich == pViewData->GetActivePart() ) //?? in RFMouseMove()
4856 if ( pViewData->GetHSplitMode() == SC_SPLIT_FIX ) in RFMouseMove()
4860 pViewData->GetView()->ActivatePart( SC_SPLIT_TOPRIGHT ); in RFMouseMove()
4862 pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMRIGHT ); in RFMouseMove()
4865 if ( pViewData->GetVSplitMode() == SC_SPLIT_FIX ) in RFMouseMove()
4869 pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMLEFT ); in RFMouseMove()
4871 pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMRIGHT ); in RFMouseMove()
4879 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in RFMouseMove()
4920 ScDocShell* pDocSh = pViewData->GetDocShell(); in RFMouseMove()
4934 pViewData->GetView()->SetTimer( this, rMEvt ); // Event wiederholen in RFMouseMove()
4936 pViewData->GetView()->ResetTimer(); in RFMouseMove()
4953 pViewData->GetPosFromPixel( rPos.X(), rPos.Y(), eWhich, nPosX, nPosY ); in GetEditUrlOrError()
4955 SCTAB nTab = pViewData->GetTabNo(); in GetEditUrlOrError()
4956 ScDocShell* pDocSh = pViewData->GetDocShell(); in GetEditUrlOrError()
4964 ScHideTextCursor aHideCursor( pViewData, eWhich ); // before GetEditArea (MapMode is changed) in GetEditUrlOrError()
4968 Rectangle aEditRect = pViewData->GetEditArea( eWhich, nPosX, nPosY, this, pPattern, sal_False ); in GetEditUrlOrError()
5014 MapMode aEditMode = pViewData->GetLogicMode(eWhich); // ohne Drawing-Skalierung in GetEditUrlOrError()
5022 pViewData->GetMergeSizePixel( nPosX, nPosY, nSizeX, nSizeY ); in GetEditUrlOrError()
5090 pViewData->GetView()->SetCursor( nPosX, nPosY ); // Cursor setzen in GetEditUrlOrError()
5127 ScDocument* pDoc = pViewData->GetDocument(); in HasScenarioButton()
5128 SCTAB nTab = pViewData->GetTabNo(); in HasScenarioButton()
5134 Size aButSize = pViewData->GetScenButSize(); in HasScenarioButton()
5139 long nHSpace = (long)( SC_SCENARIO_HSPACE * pViewData->GetPPTX() ); in HasScenarioButton()
5163 aButtonPos = pViewData->GetScrPos( aRange.aEnd.Col()+1, aRange.aEnd.Row()+1, in HasScenarioButton()
5168 aButtonPos = pViewData->GetScrPos( aRange.aEnd.Col()+1, aRange.aStart.Row(), in HasScenarioButton()
5194 SCCOL nPosX = pViewData->GetPosX( eHWhich ); in UpdateVisibleRange()
5195 SCROW nPosY = pViewData->GetPosY( eVWhich ); in UpdateVisibleRange()
5197 SCCOL nXRight = nPosX + pViewData->VisibleCellsX(eHWhich); in UpdateVisibleRange()
5199 SCROW nYBottom = nPosY + pViewData->VisibleCellsY(eVWhich); in UpdateVisibleRange()
5280 SCTAB nTab = pViewData->GetTabNo(); in UpdateCursorOverlay()
5281 SCCOL nX = pViewData->GetCurX(); in UpdateCursorOverlay()
5282 SCROW nY = pViewData->GetCurY(); in UpdateCursorOverlay()
5289 ScDocument* pDoc = pViewData->GetDocument(); in UpdateCursorOverlay()
5296 sal_Bool bVis = ( nX>=pViewData->GetPosX(eHWhich) && nY>=pViewData->GetPosY(eVWhich) ); in UpdateCursorOverlay()
5306 bVis = ( nEndX>=pViewData->GetPosX(eHWhich) && nEndY>=pViewData->GetPosY(eVWhich) ); in UpdateCursorOverlay()
5309 if ( bVis && !bOverlapped && !pViewData->HasEditView(eWhich) && pViewData->IsActive() ) in UpdateCursorOverlay()
5311 Point aScrPos = pViewData->GetScrPos( nX, nY, eWhich, sal_True ); in UpdateCursorOverlay()
5328 pViewData->GetMergeSizePixel( nX, nY, nSizeXPix, nSizeYPix ); in UpdateCursorOverlay()
5333 sal_Bool bFix = ( pViewData->GetHSplitMode() == SC_SPLIT_FIX || in UpdateCursorOverlay()
5334 pViewData->GetVSplitMode() == SC_SPLIT_FIX ); in UpdateCursorOverlay()
5335 if ( pViewData->GetActivePart()==eWhich || bFix ) in UpdateCursorOverlay()
5405 if ( aPixelRects.size() && pViewData->IsActive() ) in UpdateSelectionOverlay()
5462 if ( bAutoMarkVisible && aAutoMarkPos.Tab() == pViewData->GetTabNo() && in UpdateAutoFillOverlay()
5463 !pViewData->HasEditView(eWhich) && pViewData->IsActive() ) in UpdateAutoFillOverlay()
5472 SCTAB nTab = pViewData->GetTabNo(); in UpdateAutoFillOverlay()
5473 ScDocument* pDoc = pViewData->GetDocument(); in UpdateAutoFillOverlay()
5476 Point aFillPos = pViewData->GetScrPos( nX, nY, eWhich, sal_True ); in UpdateAutoFillOverlay()
5479 pViewData->GetMergeSizePixel( nX, nY, nSizeXPix, nSizeYPix ); in UpdateAutoFillOverlay()
5545 SCTAB nTab = pViewData->GetTabNo(); in UpdateDragRectOverlay()
5547 SCCOL nPosX = pViewData->GetPosX(WhichH(eWhich)); in UpdateDragRectOverlay()
5548 SCROW nPosY = pViewData->GetPosY(WhichV(eWhich)); in UpdateDragRectOverlay()
5554 Point aScrPos( pViewData->GetScrPos( nX1, nY1, eWhich ) ); in UpdateDragRectOverlay()
5558 ScDocument* pDoc = pViewData->GetDocument(); in UpdateDragRectOverlay()
5559 double nPPTX = pViewData->GetPPTX(); in UpdateDragRectOverlay()
5560 double nPPTY = pViewData->GetPPTY(); in UpdateDragRectOverlay()
5716 SCTAB nTab = pViewData->GetTabNo(); in UpdateShrinkOverlay()
5717 …if ( pViewData->IsRefMode() && nTab >= pViewData->GetRefStartZ() && nTab <= pViewData->GetRefEndZ(… in UpdateShrinkOverlay()
5718 pViewData->GetDelMark( aRange ) ) in UpdateShrinkOverlay()
5724 Point aStart = pViewData->GetScrPos( aRange.aStart.Col(), in UpdateShrinkOverlay()
5726 Point aEnd = pViewData->GetScrPos( aRange.aEnd.Col()+1, in UpdateShrinkOverlay()
5769 SdrPageView* pPV = pViewData->GetView()->GetScDrawView()->GetSdrPageView(); in getOverlayManager()