Lines Matching refs:pViewData
351 …( ScDrawView* pView, SdrPageView* pPV, SdrModel* pDrDoc, const Point& rPos, ScViewData* pViewData ) in lcl_UnLockComment() argument
353 if (!pView && !pPV && !pDrDoc && !pViewData) in lcl_UnLockComment()
356 ScDocument& rDoc = *pViewData->GetDocument(); in lcl_UnLockComment()
357 ScAddress aCellPos( pViewData->GetCurX(), pViewData->GetCurY(), pViewData->GetTabNo() ); in lcl_UnLockComment()
364 …bool bProtectDoc = rDoc.IsTabProtected( aCellPos.Tab() ) || pViewData->GetSfxDocShell()->IsReadOn… in lcl_UnLockComment()
409 pViewData( pData ), in ScGridWindow()
463 SetMapMode(pViewData->GetLogicMode(eWhich)); in ScGridWindow()
525 pViewData->GetDispatcher().Execute( SID_SPELL_DIALOG, SFX_CALLMODE_ASYNCHRON ); in IMPL_LINK()
533 ScDocument* pDoc = pViewData->GetDocument(); in ExecPageFieldSelect()
534 SCTAB nTab = pViewData->GetTabNo(); in ExecPageFieldSelect()
558 ScDBDocFunc aFunc( *pViewData->GetDocShell() ); in ExecPageFieldSelect()
560 pViewData->GetView()->CursorPosChanged(); // shells may be switched in ExecPageFieldSelect()
574 ScDocument* pDoc = pViewData->GetDocument(); in LaunchPageFieldMenu()
575 SCTAB nTab = pViewData->GetTabNo(); in LaunchPageFieldMenu()
581 pViewData->GetMergeSizePixel( nCol, nRow, nSizeX, nSizeY ); in LaunchPageFieldMenu()
582 Point aPos = pViewData->GetScrPos( nCol, nRow, eWhich ); in LaunchPageFieldMenu()
719 SCTAB nTab = pViewData->GetTabNo(); in LaunchDPFieldMenu()
720 ScDPObject* pDPObj = pViewData->GetDocument()->GetDPAtCursor(nCol, nRow, nTab); in LaunchDPFieldMenu()
725 Point aScrPos = pViewData->GetScrPos(nCol, nRow, eWhich); in LaunchDPFieldMenu()
727 pViewData->GetMergeSizePixel(nCol, nRow, nSizeX, nSizeY); in LaunchDPFieldMenu()
747 ScDocument* pDoc = pViewData->GetDocument(); in DoScenarioMenue()
748 SCTAB nTab = pViewData->GetTabNo(); in DoScenarioMenue()
754 pViewData->GetMergeSizePixel( nCol, nRow, nSizeX, nSizeY ); in DoScenarioMenue()
755 Point aPos = pViewData->GetScrPos( nCol, nRow, eWhich ); in DoScenarioMenue()
873 ScDocument* pDoc = pViewData->GetDocument(); in HasScenarioRange()
874 sal_uInt16 nTab = pViewData->GetTabNo(); in HasScenarioRange()
914 ScDocument* pDoc = pViewData->GetDocument(); in DoAutoFilterMenue()
915 SCTAB nTab = pViewData->GetTabNo(); in DoAutoFilterMenue()
921 pViewData->GetMergeSizePixel( nCol, nRow, nSizeX, nSizeY ); in DoAutoFilterMenue()
923 nSizeY = pViewData->ToPixel(pDoc->GetRowHeight(nRow, nTab), pViewData->GetPPTY()); in DoAutoFilterMenue()
924 Point aPos = pViewData->GetScrPos( nCol, nRow, eWhich ); in DoAutoFilterMenue()
1208 pViewData->GetView()->UseScenario( aString ); in FilterSelect()
1226 SCTAB nTab = pViewData->GetTabNo(); in ExecDataSelect()
1227 ScViewFunc* pView = pViewData->GetView(); in ExecDataSelect()
1240 SCTAB nTab = pViewData->GetTabNo(); in ExecFilter()
1241 ScDocument* pDoc = pViewData->GetDocument(); in ExecFilter()
1257 … pViewData->GetView()->MarkRange( ScRange( nStartCol,nStartRow,nAreaTab,nEndCol,nEndRow,nAreaTab)); in ExecFilter()
1258 pViewData->GetView()->SetCursor(nCol,nRow); //! auch ueber Slot ?? in ExecFilter()
1259 pViewData->GetDispatcher().Execute( SID_FILTER, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD ); in ExecFilter()
1344 if ( pViewData->HasEditView( pViewData->GetActivePart() ) ) in ExecFilter()
1347 pViewData->GetViewShell()->UpdateInputHandler(); in ExecFilter()
1350 pViewData->GetView()->Query( aParam, NULL, sal_True ); in ExecFilter()
1354 pViewData->GetView()->ErrorMessage( STR_FILTER_TOOMANY ); in ExecFilter()
1410 SfxInPlaceClient* pClient = pViewData->GetViewShell()->GetIPClient(); in TestMouse()
1413 if ( pViewData->IsActive() && !bOleActive ) in TestMouse()
1415 ScDocument* pDoc = pViewData->GetDocument(); in TestMouse()
1416 SCTAB nTab = pViewData->GetTabNo(); in TestMouse()
1422 if (pViewData->GetSimpleArea( aMarkRange ) == SC_MARK_SIMPLE) in TestMouse()
1424 if (aMarkRange.aStart.Tab() == pViewData->GetTabNo() && mpAutoFillRect) in TestMouse()
1435 if ( lcl_IsEditableMatrix( pViewData->GetDocument(), aMarkRange ) ) in TestMouse()
1436 pViewData->SetDragMode( in TestMouse()
1439 pViewData->SetFillMode( in TestMouse()
1444 pViewData->GetMarkData().MarkToSimple(); in TestMouse()
1457 if ( pViewData->GetTabNo() == aRange.aStart.Tab() ) in TestMouse()
1459 Point aStartPos = pViewData->GetScrPos( aRange.aStart.Col(), aRange.aStart.Row(), eWhich ); in TestMouse()
1460 Point aEndPos = pViewData->GetScrPos( aRange.aEnd.Col()+1, aRange.aEnd.Row()+1, eWhich ); in TestMouse()
1477 pViewData->SetDragMode( in TestMouse()
1490 pViewData->ResetFillMode(); in TestMouse()
1526 SfxViewShell* pViewSh = pViewData->GetViewShell(); in HandleMouseButtonDown()
1555 if (pScMod->IsModalMode(pViewData->GetSfxDocShell())) in HandleMouseButtonDown()
1561 pScActiveViewShell = pViewData->GetViewShell(); // falls auf Link geklickt wird in HandleMouseButtonDown()
1564 sal_Bool bDetective = pViewData->GetViewShell()->IsAuditShell(); in HandleMouseButtonDown()
1565 sal_Bool bRefMode = pViewData->IsRefMode(); // Referenz angefangen in HandleMouseButtonDown()
1567 sal_Bool bEditMode = pViewData->HasEditView(eWhich); // auch bei Mode==SC_INPUT_TYPE in HandleMouseButtonDown()
1579 if ( ( bEditMode && pViewData->GetActivePart() == eWhich ) || !bFormulaMode ) in HandleMouseButtonDown()
1598 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in HandleMouseButtonDown()
1602 pViewData->GetDispatcher().Execute( SID_FILL_SELECT, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD, in HandleMouseButtonDown()
1616 if ( pViewData->GetActivePart() != eWhich ) in HandleMouseButtonDown()
1617 pViewData->GetView()->ActivatePart( eWhich ); in HandleMouseButtonDown()
1621 ScViewSelectionEngine* pSelEng = pViewData->GetView()->GetSelEngine(); in HandleMouseButtonDown()
1627 if (bEditMode && (pViewData->GetRefTabNo() == pViewData->GetTabNo())) in HandleMouseButtonDown()
1632 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in HandleMouseButtonDown()
1637 pViewData->GetEditView( eWhich, pEditView, nEditCol, nEditRow ); in HandleMouseButtonDown()
1638 SCCOL nEndCol = pViewData->GetEditEndCol(); in HandleMouseButtonDown()
1639 SCROW nEndRow = pViewData->GetEditEndRow(); in HandleMouseButtonDown()
1672 if ( pViewData->GetActivePart() != eWhich ) in HandleMouseButtonDown()
1673 pViewData->GetView()->ActivatePart( eWhich ); //! schon oben immer ??? in HandleMouseButtonDown()
1684 pViewData->GetView()->FillCrossDblClick(); in HandleMouseButtonDown()
1712 pViewData->GetViewShell()->SetDrawShell( sal_False ); // kein Draw-Objekt selektiert in HandleMouseButtonDown()
1720 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in HandleMouseButtonDown()
1721 SCTAB nTab = pViewData->GetTabNo(); in HandleMouseButtonDown()
1722 ScDocument* pDoc = pViewData->GetDocument(); in HandleMouseButtonDown()
1733 …pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nRealPosX, nRealPosY, false );//the real r… in HandleMouseButtonDown()
1819 ScViewSelectionEngine* pSelEng = pViewData->GetView()->GetSelEngine(); in HandleMouseButtonDown()
1825 if ( pViewData->GetView()->SelMouseButtonDown( rMEvt ) ) in HandleMouseButtonDown()
1834 pViewData->GetMarkData().SetMarking(sal_True); in HandleMouseButtonDown()
1843 ScDocument* pDoc = pViewData->GetDocument(); in MouseButtonUp()
1844 ScMarkData& rMark = pViewData->GetMarkData(); in MouseButtonUp()
1861 pViewData->GetView()->GetSelEngine()->Reset(); in MouseButtonUp()
1863 if (pViewData->IsAnyFillMode()) in MouseButtonUp()
1865 pViewData->GetView()->StopRefMode(); in MouseButtonUp()
1866 pViewData->ResetFillMode(); in MouseButtonUp()
1881 pFilterBox->GetCol(), pFilterBox->GetRow(), pViewData->GetTabNo() ); in MouseButtonUp()
1896 if (pScMod->IsModalMode(pViewData->GetSfxDocShell())) in MouseButtonUp()
1899 SfxBindings& rBindings = pViewData->GetBindings(); in MouseButtonUp()
1900 if (bEEMouse && pViewData->HasEditView( eWhich )) in MouseButtonUp()
1905 pViewData->GetEditView( eWhich, pEditView, nEditCol, nEditRow ); in MouseButtonUp()
1917 pViewData->GetView()->InvalidateAttribs(); in MouseButtonUp()
1949 ::svl::IUndoManager* pMgr = pViewData->GetDocShell()->GetUndoManager(); in MouseButtonUp()
1959 ScTabViewShell* pViewShell = pViewData->GetViewShell(); in MouseButtonUp()
1977 if (pViewData->IsFillMode() || in MouseButtonUp()
1978 ( pViewData->GetFillMode() == SC_FILL_MATRIX && rMEvt.IsMod1() )) in MouseButtonUp()
1985 pViewData->GetFillData( nStartCol, nStartRow, nEndCol, nEndRow ); in MouseButtonUp()
1989 sal_Bool bIsDel = pViewData->GetDelMark( aDelRange ); in MouseButtonUp()
1991 ScViewFunc* pView = pViewData->GetView(); in MouseButtonUp()
1993 pViewData->ResetFillMode(); in MouseButtonUp()
2000 SCTAB nTab = pViewData->GetTabNo(); in MouseButtonUp()
2012 pViewData->GetDispatcher().Execute( FID_FILL_AUTO, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD ); in MouseButtonUp()
2014 else if (pViewData->GetFillMode() == SC_FILL_MATRIX) in MouseButtonUp()
2016 SCTAB nTab = pViewData->GetTabNo(); in MouseButtonUp()
2021 pViewData->GetFillData( nStartCol, nStartRow, nEndCol, nEndRow ); in MouseButtonUp()
2023 SCCOL nFillCol = pViewData->GetRefEndX(); in MouseButtonUp()
2024 SCROW nFillRow = pViewData->GetRefEndY(); in MouseButtonUp()
2027 ScTabView* pView = pViewData->GetView(); in MouseButtonUp()
2029 pViewData->ResetFillMode(); in MouseButtonUp()
2034 pViewData->GetDocShell()->GetDocFunc().ResizeMatrix( aBlockRange, aEndPos, sal_False ); in MouseButtonUp()
2035 pViewData->GetView()->MarkRange( ScRange( aBlockRange.aStart, aEndPos ) ); in MouseButtonUp()
2038 else if (pViewData->IsAnyFillMode()) in MouseButtonUp()
2041 ScTabView* pView = pViewData->GetView(); in MouseButtonUp()
2043 pViewData->ResetFillMode(); in MouseButtonUp()
2045 pViewData->GetDocShell()->UpdateOle(pViewData); in MouseButtonUp()
2048 sal_Bool bRefMode = pViewData->IsRefMode(); in MouseButtonUp()
2061 (pViewData->GetDocument()-> in MouseButtonUp()
2075 pViewData->GetView()->SetStyleSheetToMarked( pStyleSheet ); in MouseButtonUp()
2076 pViewData->GetView()->DoneBlockMode(); in MouseButtonUp()
2080 pViewData->GetDocument()->SetPageStyle( pViewData->GetTabNo(), in MouseButtonUp()
2083 ScPrintFunc( pViewData->GetDocShell(), in MouseButtonUp()
2084 pViewData->GetViewShell()->GetPrinter(sal_True), in MouseButtonUp()
2085 pViewData->GetTabNo() ).UpdatePages(); in MouseButtonUp()
2097 ScDBFunc* pView = pViewData->GetView(); in MouseButtonUp()
2117 SCTAB nTab = pViewData->GetTabNo(); in MouseButtonUp()
2118 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in MouseButtonUp()
2122 ScAddress aCellPos( nPosX, nPosY, pViewData->GetTabNo() ); in MouseButtonUp()
2135 … pViewData->GetDispatcher().Execute( SID_OUTLINE_SHOW, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD ); in MouseButtonUp()
2142 ScDBDocFunc aFunc( *pViewData->GetDocShell() ); in MouseButtonUp()
2144 pViewData->GetView()->CursorPosChanged(); // shells may be switched in MouseButtonUp()
2153 pViewData->GetView()->ShowDataPilotSourceData( *pDPObj, aFilters ); in MouseButtonUp()
2179 pViewData->GetViewShell()->UpdateInputHandler(); in MouseButtonUp()
2181 if (pViewData->HasEditView(eWhich)) in MouseButtonUp()
2184 EditView* pEditView = pViewData->GetEditView( eWhich ); in MouseButtonUp()
2215 SCTAB nTab = pViewData->GetTabNo(); in MouseButtonUp()
2216 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in MouseButtonUp()
2221 uno::Reference< table::XCell > xCell( new ScCellObj( pViewData->GetDocShell(), aCellPos ) ); in MouseButtonUp()
2242 if ( rMEvt.IsLeft() && pViewData->GetView()->GetSelEngine()->SelMouseButtonUp( rMEvt ) ) in MouseButtonUp()
2245 pViewData->GetView()->UpdateAutoFillMark(); in MouseButtonUp()
2247 SfxDispatcher* pDisp = pViewData->GetViewShell()->GetDispatcher(); in MouseButtonUp()
2279 ScAddress aScAddress( pViewData->GetCurX(), pViewData->GetCurY(), 0 ); in MouseButtonUp()
2287 pViewData->GetView()->InvalidateAttribs(); in MouseButtonUp()
2289 pViewData->GetViewShell()->SelectionChanged(); in MouseButtonUp()
2311 if (pScMod->IsModalMode(pViewData->GetSfxDocShell())) in MouseMove()
2331 if ( pViewData->GetViewShell()->IsAuditShell() ) // Detektiv-Fuell-Modus in MouseMove()
2363 if (bEEMouse && pViewData->HasEditView( eWhich )) in MouseMove()
2368 pViewData->GetEditView( eWhich, pEditView, nEditCol, nEditRow ); in MouseMove()
2393 sal_Bool bEditMode = pViewData->HasEditView(eWhich); in MouseMove()
2396 if ( bEditMode && (pViewData->GetRefTabNo() == pViewData->GetTabNo()) ) in MouseMove()
2401 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in MouseMove()
2406 pViewData->GetEditView( eWhich, pEditView, nEditCol, nEditRow ); in MouseMove()
2407 SCCOL nEndCol = pViewData->GetEditEndCol(); in MouseMove()
2408 SCROW nEndRow = pViewData->GetEditEndRow(); in MouseMove()
2425 sal_Bool bWater = SC_MOD()->GetIsWaterCan() || pViewData->GetView()->HasPaintBrush(); in MouseMove()
2448 if ( !nButtonDown && pViewData->IsPagebreakMode() && in MouseMove()
2483 if ( nButtonDown && pViewData->IsAnyFillMode() ) in MouseMove()
2504 if ( pViewData->GetView()->GetSelEngine()->SelMouseMove( rMEvt ) ) in MouseMove()
2541 if (pWindow == this && pViewData) in PreNotify()
2543 SfxViewFrame* pViewFrame = pViewData->GetViewShell()->GetViewFrame(); in PreNotify()
2593 if (!pViewData->GetView()->IsInActivatePart()) in Tracking()
2622 sal_Bool bRefMode = pViewData->IsRefMode(); in Tracking()
2650 if (bEEMouse && pViewData->HasEditView( eWhich )) in StartDrag()
2655 pViewData->GetEditView( eWhich, pEditView, nEditCol, nEditRow ); in StartDrag()
2668 if (!pViewData->IsActive()) // dropped to different view? in StartDrag()
2670 ScInputHandler* pViewHdl = pScMod->GetInputHdl( pViewData->GetViewShell() ); in StartDrag()
2671 if ( pViewHdl && pViewData->HasEditView( eWhich ) ) in StartDrag()
2680 pViewData->GetView()->GetSelEngine()->Command( aDragEvent ); in StartDrag()
2683 void lcl_SetTextCursorPos( ScViewData* pViewData, ScSplitPos eWhich, Window* pWin ) in lcl_SetTextCursorPos() argument
2685 SCCOL nCol = pViewData->GetCurX(); in lcl_SetTextCursorPos()
2686 SCROW nRow = pViewData->GetCurY(); in lcl_SetTextCursorPos()
2687 Rectangle aEditArea = pViewData->GetEditArea( eWhich, nCol, nRow, pWin, NULL, sal_True ); in lcl_SetTextCursorPos()
2701 ScTabViewShell* pTabViewSh = pViewData->GetViewShell(); in Command()
2719 sal_Bool bEditView = pViewData->HasEditView( eWhich ); in Command()
2723 SdrView* pSdrView = pViewData->GetView()->GetSdrView(); in Command()
2742 lcl_SetTextCursorPos( pViewData, eWhich, this ); in Command()
2746 ScInputHandler* pHdl = pScMod->GetInputHdl( pViewData->GetViewShell() ); in Command()
2762 ScInputHandler* pHdl = pScMod->GetInputHdl( pViewData->GetViewShell() ); in Command()
2763 if ( pHdl && pViewData->HasEditView( eWhich ) ) in Command()
2765 EditView* pEditView = pViewData->GetEditView( eWhich ); // ist dann nicht 0 in Command()
2771 SdrView* pSdrView = pViewData->GetView()->GetSdrView(); in Command()
2804 SfxBindings& rBindings = pViewData->GetBindings(); in Command()
2812 sal_Bool bDone = pViewData->GetView()->ScrollCommand( rCEvt, eWhich ); in Command()
2819 pScMod->IsModalMode(pViewData->GetSfxDocShell()); in Command()
2829 if (pViewData->IsAnyFillMode()) in Command()
2831 pViewData->GetView()->StopRefMode(); in Command()
2832 pViewData->ResetFillMode(); in Command()
2844 pViewData->GetPosFromPixel(aPosPixel.X(), aPosPixel.Y(), eWhich, nCellX, nCellY); in Command()
2845 ScDocument* pDoc = pViewData->GetDocument(); in Command()
2846 SCTAB nTab = pViewData->GetTabNo(); in Command()
2871 sal_Bool bEdit = pViewData->HasEditView(eWhich); in Command()
2880 bEdit = pViewData->HasEditView(eWhich); // hat's geklappt ? in Command()
2887 EditView* pEditView = pViewData->GetEditView( eWhich ); // ist dann nicht 0 in Command()
2928 SCCOL nCurX = pViewData->GetCurX(); in Command()
2929 SCROW nCurY = pViewData->GetCurY(); in Command()
2930 aMenuPos = pViewData->GetScrPos( nCurX, nCurY, eWhich, sal_True ); in Command()
2933 pViewData->GetMergeSizePixel( nCurX, nCurY, nSizeXPix, nSizeYPix ); in Command()
2937 if (pViewData) in Command()
2939 ScTabViewShell* pViewSh = pViewData->GetViewShell(); in Command()
2968 ScTabView* pView = pViewData->GetView(); in SelectForContextMenu()
2973 if ( pViewData->HasEditView(eWhich) ) in SelectForContextMenu()
2976 …SCCOL nEditStartCol = pViewData->GetEditViewCol(); //! change to GetEditStartCol after calcrtl is … in SelectForContextMenu()
2977 SCROW nEditStartRow = pViewData->GetEditViewRow(); in SelectForContextMenu()
2978 SCCOL nEditEndCol = pViewData->GetEditEndCol(); in SelectForContextMenu()
2979 SCROW nEditEndRow = pViewData->GetEditEndRow(); in SelectForContextMenu()
2986 EditView* pEditView = pViewData->GetEditView( eWhich ); // not NULL (HasEditView) in SelectForContextMenu()
3084 else if ( pViewData->GetMarkData().IsCellMarked(nCellX, nCellY) ) in SelectForContextMenu()
3101 …nLockComment( pDrawView, pDrawView->GetSdrPageView(), pDrawView->GetModel(), aLogicPos ,pViewData); in SelectForContextMenu()
3110 pViewData->GetViewShell()->SetDrawShell( sal_False ); // switch shells in SelectForContextMenu()
3125 else if( pViewData->GetViewShell()->MoveCursorKeyInput( rKEvt ) ) in KeyInput()
3128 pViewData->GetRefStartX(), pViewData->GetRefStartY(), pViewData->GetRefStartZ(), in KeyInput()
3129 pViewData->GetRefEndX(), pViewData->GetRefEndY(), pViewData->GetRefEndZ() ); in KeyInput()
3130 SC_MOD()->SetReference( aRef, pViewData->GetDocument() ); in KeyInput()
3132 pViewData->GetViewShell()->SelectionChanged(); in KeyInput()
3136 else if( !pViewData->IsAnyFillMode() ) in KeyInput()
3141 ScTabViewShell* pViewSh = pViewData->GetViewShell(); in KeyInput()
3143 if (pViewData->GetDocShell()->GetProgress()) in KeyInput()
3154 ScTabViewShell* pViewShell = pViewData->GetViewShell(); in KeyInput()
3162 …if (!pViewData->GetView()->IsDrawSelMode() && !DrawHasMarkedObj()) // keine Eingaben im Zeichenmod… in KeyInput()
3188 ShowNoteMarker( pViewData->GetCurX(), pViewData->GetCurY(), sal_True ); in KeyInput()
3202 pViewData->GetMarkData().SetMarking(sal_False); in StopMarking()
3209 sal_Bool bReadOnly = pViewData->GetDocShell()->IsReadOnly(); in UpdateInputContext()
3237 if ( rMousePos.X() < SCROLL_SENSITIVE && pViewData->GetPosX(WhichH(eWhich)) > 0 ) in DropScroll()
3240 && pViewData->GetPosX(WhichH(eWhich)) < MAXCOL ) in DropScroll()
3245 if ( rMousePos.Y() < SCROLL_SENSITIVE && pViewData->GetPosY(WhichV(eWhich)) > 0 ) in DropScroll()
3248 && pViewData->GetPosY(WhichV(eWhich)) < MAXROW ) in DropScroll()
3258 pViewData->GetView()->ScrollX( nDx, WhichH(eWhich) ); in DropScroll()
3260 pViewData->GetView()->ScrollY( nDy, WhichV(eWhich) ); in DropScroll()
3354 ScDocument* pThisDoc = pViewData->GetDocument(); in AcceptPrivateDrop()
3357 if ( pThisDoc->HasChartAtPoint(pViewData->GetTabNo(), PixelToLogic(aPos)) ) in AcceptPrivateDrop()
3387 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in AcceptPrivateDrop()
3410 SCTAB nTab = pViewData->GetTabNo(); in AcceptPrivateDrop()
3582 if ( pViewData->GetDocShell()->IsReadOnly() ) in AcceptDrop()
3602 ScDocShell* pDocSh = pViewData->GetDocShell(); in AcceptDrop()
3614 if ( !rData.pJumpLocalDoc || rData.pJumpLocalDoc == pViewData->GetDocument() ) in AcceptDrop()
3633 ScDocument* pThisDoc = pViewData->GetDocument(); in AcceptDrop()
3635 pViewData->GetTabNo(), PixelToLogic(rEvt.maPosPixel) ); in AcceptDrop()
3718 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in AcceptDrop()
3719 SCTAB nTab = pViewData->GetTabNo(); in AcceptDrop()
3720 ScDocument* pDoc = pViewData->GetDocument(); in AcceptDrop()
3874 ScDocShell* pDocSh = pViewData->GetDocShell(); in DropTransferObj()
3875 ScDocument* pThisDoc = pViewData->GetDocument(); in DropTransferObj()
3876 ScViewFunc* pView = pViewData->GetView(); in DropTransferObj()
3877 SCTAB nThisTab = pViewData->GetTabNo(); in DropTransferObj()
3941 pViewData->GetDocShell()->MoveTable( nSrcTab, nThisTab, !bIsMove, sal_True ); // with Undo in DropTransferObj()
3956 pViewData->GetDispatcher().Execute( nId, SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD, in DropTransferObj()
3966 bDone = pViewData->GetView()->DataPilotMove( aSource, aDestPos ); in DropTransferObj()
3996 pDocSh->UpdateOle( pViewData ); in DropTransferObj()
4042 pDocSh->UpdateOle( pViewData ); in DropTransferObj()
4120 pDocSh->UpdateOle( pViewData ); in DropTransferObj()
4180 pDocSh->UpdateOle( pViewData ); in DropTransferObj()
4225 ScDocShell* pDocSh = pViewData->GetDocShell(); in ExecuteDrop()
4233 ScViewFunc* pView = pViewData->GetView(); in ExecuteDrop()
4241 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in ExecuteDrop()
4269 pViewData->GetView()->PasteDraw( aLogicPos, rData.pDrawTransfer->GetModel() ); in ExecuteDrop()
4281 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in ExecuteDrop()
4288 if ( !rData.pJumpLocalDoc || rData.pJumpLocalDoc == pViewData->GetDocument() ) in ExecuteDrop()
4290 pViewData->GetViewShell()->InsertBookmark( rData.aJumpText, rData.aJumpTarget, in ExecuteDrop()
4296 ScDocument* pThisDoc = pViewData->GetDocument(); in ExecuteDrop()
4297 SdrObject* pHitObj = pThisDoc->GetObjectAtPoint( pViewData->GetTabNo(), PixelToLogic(aPos) ); in ExecuteDrop()
4302 if ( pViewData->GetView()->PasteOnDrawObjectLinked( rEvt.maDropEvent.Transferable, *pHitObj ) ) in ExecuteDrop()
4315 bDone = pViewData->GetView()->PasteDataFormat( in ExecuteDrop()
4333 pViewData->GetPosFromPixel( rPosPixel.X(), rPosPixel.Y(), eWhich, nPosX, nPosY ); in PasteSelection()
4357 pViewData->GetView()->PasteDraw( aLogicPos, pDrawTransfer->GetModel(), sal_False, in PasteSelection()
4358 pDrawTransfer->GetSourceDocID() == pViewData->GetDocument()->GetDocumentID() ); in PasteSelection()
4374 pViewData->GetView()->PasteDataFormat( nFormatId, xTransferable, nPosX, nPosY, &aLogicPos ); in PasteSelection()
4385 if (pViewData->HasEditView(eWhich)) in UpdateEditViewPos()
4390 pViewData->GetEditView( eWhich, pView, nCol, nRow ); in UpdateEditViewPos()
4391 SCCOL nEndCol = pViewData->GetEditEndCol(); in UpdateEditViewPos()
4392 SCROW nEndRow = pViewData->GetEditEndRow(); in UpdateEditViewPos()
4396 sal_Bool bHide = ( nEndCol<pViewData->GetPosX(eHWhich) || nEndRow<pViewData->GetPosY(eVWhich) ); in UpdateEditViewPos()
4398 if ( pViewData->GetTabNo() != pViewData->GetRefTabNo() ) in UpdateEditViewPos()
4405 aRect.Top() = PixelToLogic(GetOutputSizePixel(), pViewData->GetLogicMode()). in UpdateEditViewPos()
4414 Rectangle aPixRect = pViewData->GetEditArea( eWhich, nCol, nRow, this, NULL, sal_True ); in UpdateEditViewPos()
4415 Point aScrPos = PixelToLogic( aPixRect.TopLeft(), pViewData->GetLogicMode() ); in UpdateEditViewPos()
4447 if (pViewData->GetView()->IsMinimized()) in UpdateFormulas()
4460 SCCOL nX1 = pViewData->GetPosX( eHWhich ); in UpdateFormulas()
4461 SCROW nY1 = pViewData->GetPosY( eVWhich ); in UpdateFormulas()
4462 SCCOL nX2 = nX1 + pViewData->VisibleCellsX( eHWhich ); in UpdateFormulas()
4463 SCROW nY2 = nY1 + pViewData->VisibleCellsY( eVWhich ); in UpdateFormulas()
4474 ScDocShell* pDocSh = pViewData->GetDocShell(); in UpdateFormulas()
4476 SCTAB nTab = pViewData->GetTabNo(); in UpdateFormulas()
4480 Point aScrPos = pViewData->GetScrPos( nX1, nY1, eWhich ); in UpdateFormulas()
4486 long nEndPixel = pViewData->GetScrPos( nX2+1, nPosY, eWhich ).X(); in UpdateFormulas()
4494 double nPPTX = pViewData->GetPPTX(); in UpdateFormulas()
4495 double nPPTY = pViewData->GetPPTY(); in UpdateFormulas()
4500 Fraction aZoomX = pViewData->GetZoomX(); in UpdateFormulas()
4501 Fraction aZoomY = pViewData->GetZoomY(); in UpdateFormulas()
4591 ScTabViewShell* pViewShell = pViewData->GetViewShell(); in GetFocus()
4613 ScTabViewShell* pViewShell = pViewData->GetViewShell(); in LoseFocus()
4630 ScInputHandler* pHdl = SC_MOD()->GetInputHdl( pViewData->GetViewShell() ); in HitRangeFinder()
4635 pRangeFinder->GetDocName() == pViewData->GetDocShell()->GetTitle() ) in HitRangeFinder()
4637 ScDocument* pDoc = pViewData->GetDocument(); in HitRangeFinder()
4638 SCTAB nTab = pViewData->GetTabNo(); in HitRangeFinder()
4644 pViewData->GetPosFromPixel( rMouse.X(), rMouse.Y(), eWhich, nPosX, nPosY ); in HitRangeFinder()
4650 Point aNext = pViewData->GetScrPos( nPosX, nPosY, eWhich, sal_True ); in HitRangeFinder()
4653 pViewData->GetMergeSizePixel( nPosX, nPosY, nSizeXPix, nSizeYPix ); in HitRangeFinder()
4830 ScInputHandler* pHdl = SC_MOD()->GetInputHdl( pViewData->GetViewShell() ); in RFMouseMove()
4862 if ( nDx != 0) pViewData->GetView()->ScrollX( nDx, WhichH(eWhich) ); in RFMouseMove()
4863 if ( nDy != 0 ) pViewData->GetView()->ScrollY( nDy, WhichV(eWhich) ); in RFMouseMove()
4869 if ( eWhich == pViewData->GetActivePart() ) //?? in RFMouseMove()
4871 if ( pViewData->GetHSplitMode() == SC_SPLIT_FIX ) in RFMouseMove()
4875 pViewData->GetView()->ActivatePart( SC_SPLIT_TOPRIGHT ); in RFMouseMove()
4877 pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMRIGHT ); in RFMouseMove()
4880 if ( pViewData->GetVSplitMode() == SC_SPLIT_FIX ) in RFMouseMove()
4884 pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMLEFT ); in RFMouseMove()
4886 pViewData->GetView()->ActivatePart( SC_SPLIT_BOTTOMRIGHT ); in RFMouseMove()
4894 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in RFMouseMove()
4935 ScDocShell* pDocSh = pViewData->GetDocShell(); in RFMouseMove()
4949 pViewData->GetView()->SetTimer( this, rMEvt ); // Event wiederholen in RFMouseMove()
4951 pViewData->GetView()->ResetTimer(); in RFMouseMove()
4968 pViewData->GetPosFromPixel( rPos.X(), rPos.Y(), eWhich, nPosX, nPosY ); in GetEditUrlOrError()
4970 SCTAB nTab = pViewData->GetTabNo(); in GetEditUrlOrError()
4971 ScDocShell* pDocSh = pViewData->GetDocShell(); in GetEditUrlOrError()
4979 ScHideTextCursor aHideCursor( pViewData, eWhich ); // before GetEditArea (MapMode is changed) in GetEditUrlOrError()
4983 Rectangle aEditRect = pViewData->GetEditArea( eWhich, nPosX, nPosY, this, pPattern, sal_False ); in GetEditUrlOrError()
5029 MapMode aEditMode = pViewData->GetLogicMode(eWhich); // ohne Drawing-Skalierung in GetEditUrlOrError()
5037 pViewData->GetMergeSizePixel( nPosX, nPosY, nSizeX, nSizeY ); in GetEditUrlOrError()
5105 pViewData->GetView()->SetCursor( nPosX, nPosY ); // Cursor setzen in GetEditUrlOrError()
5142 ScDocument* pDoc = pViewData->GetDocument(); in HasScenarioButton()
5143 SCTAB nTab = pViewData->GetTabNo(); in HasScenarioButton()
5149 Size aButSize = pViewData->GetScenButSize(); in HasScenarioButton()
5154 long nHSpace = (long)( SC_SCENARIO_HSPACE * pViewData->GetPPTX() ); in HasScenarioButton()
5178 aButtonPos = pViewData->GetScrPos( aRange.aEnd.Col()+1, aRange.aEnd.Row()+1, in HasScenarioButton()
5183 aButtonPos = pViewData->GetScrPos( aRange.aEnd.Col()+1, aRange.aStart.Row(), in HasScenarioButton()
5209 SCCOL nPosX = pViewData->GetPosX( eHWhich ); in UpdateVisibleRange()
5210 SCROW nPosY = pViewData->GetPosY( eVWhich ); in UpdateVisibleRange()
5212 SCCOL nXRight = nPosX + pViewData->VisibleCellsX(eHWhich); in UpdateVisibleRange()
5214 SCROW nYBottom = nPosY + pViewData->VisibleCellsY(eVWhich); in UpdateVisibleRange()
5295 SCTAB nTab = pViewData->GetTabNo(); in UpdateCursorOverlay()
5296 SCCOL nX = pViewData->GetCurX(); in UpdateCursorOverlay()
5297 SCROW nY = pViewData->GetCurY(); in UpdateCursorOverlay()
5304 ScDocument* pDoc = pViewData->GetDocument(); in UpdateCursorOverlay()
5311 sal_Bool bVis = ( nX>=pViewData->GetPosX(eHWhich) && nY>=pViewData->GetPosY(eVWhich) ); in UpdateCursorOverlay()
5321 bVis = ( nEndX>=pViewData->GetPosX(eHWhich) && nEndY>=pViewData->GetPosY(eVWhich) ); in UpdateCursorOverlay()
5324 if ( bVis && !bOverlapped && !pViewData->HasEditView(eWhich) && pViewData->IsActive() ) in UpdateCursorOverlay()
5326 Point aScrPos = pViewData->GetScrPos( nX, nY, eWhich, sal_True ); in UpdateCursorOverlay()
5343 pViewData->GetMergeSizePixel( nX, nY, nSizeXPix, nSizeYPix ); in UpdateCursorOverlay()
5348 sal_Bool bFix = ( pViewData->GetHSplitMode() == SC_SPLIT_FIX || in UpdateCursorOverlay()
5349 pViewData->GetVSplitMode() == SC_SPLIT_FIX ); in UpdateCursorOverlay()
5350 if ( pViewData->GetActivePart()==eWhich || bFix ) in UpdateCursorOverlay()
5420 if ( aPixelRects.size() && pViewData->IsActive() ) in UpdateSelectionOverlay()
5477 if ( bAutoMarkVisible && aAutoMarkPos.Tab() == pViewData->GetTabNo() && in UpdateAutoFillOverlay()
5478 !pViewData->HasEditView(eWhich) && pViewData->IsActive() ) in UpdateAutoFillOverlay()
5487 SCTAB nTab = pViewData->GetTabNo(); in UpdateAutoFillOverlay()
5488 ScDocument* pDoc = pViewData->GetDocument(); in UpdateAutoFillOverlay()
5491 Point aFillPos = pViewData->GetScrPos( nX, nY, eWhich, sal_True ); in UpdateAutoFillOverlay()
5494 pViewData->GetMergeSizePixel( nX, nY, nSizeXPix, nSizeYPix ); in UpdateAutoFillOverlay()
5560 SCTAB nTab = pViewData->GetTabNo(); in UpdateDragRectOverlay()
5562 SCCOL nPosX = pViewData->GetPosX(WhichH(eWhich)); in UpdateDragRectOverlay()
5563 SCROW nPosY = pViewData->GetPosY(WhichV(eWhich)); in UpdateDragRectOverlay()
5569 Point aScrPos( pViewData->GetScrPos( nX1, nY1, eWhich ) ); in UpdateDragRectOverlay()
5573 ScDocument* pDoc = pViewData->GetDocument(); in UpdateDragRectOverlay()
5574 double nPPTX = pViewData->GetPPTX(); in UpdateDragRectOverlay()
5575 double nPPTY = pViewData->GetPPTY(); in UpdateDragRectOverlay()
5731 SCTAB nTab = pViewData->GetTabNo(); in UpdateShrinkOverlay()
5732 …if ( pViewData->IsRefMode() && nTab >= pViewData->GetRefStartZ() && nTab <= pViewData->GetRefEndZ(… in UpdateShrinkOverlay()
5733 pViewData->GetDelMark( aRange ) ) in UpdateShrinkOverlay()
5739 Point aStart = pViewData->GetScrPos( aRange.aStart.Col(), in UpdateShrinkOverlay()
5741 Point aEnd = pViewData->GetScrPos( aRange.aEnd.Col()+1, in UpdateShrinkOverlay()
5784 SdrPageView* pPV = pViewData->GetView()->GetScDrawView()->GetSdrPageView(); in getOverlayManager()