Lines Matching refs:aViewData
67 if ( aViewData.GetRefType() == SC_REFTYPE_REF && Help::IsQuickHelpEnabled() ) in ShowRefTip()
69 SCCOL nStartX = aViewData.GetRefStartX(); in ShowRefTip()
70 SCROW nStartY = aViewData.GetRefStartY(); in ShowRefTip()
71 SCCOL nEndX = aViewData.GetRefEndX(); in ShowRefTip()
72 SCROW nEndY = aViewData.GetRefEndY(); in ShowRefTip()
88 ScSplitPos eWhich = aViewData.GetActivePart(); in ShowRefTip()
92 Point aStart = aViewData.GetScrPos( nStartX, nStartY, eWhich ); in ShowRefTip()
93 Point aEnd = aViewData.GetScrPos( nEndX+1, nEndY+1, eWhich ); in ShowRefTip()
101 if ( !bTop && aViewData.HasEditView( eWhich ) && in ShowRefTip()
102 nEndY+1 == aViewData.GetEditViewRow() ) in ShowRefTip()
126 if (aViewData.IsRefMode()) in StopRefMode()
128 aViewData.SetRefMode( sal_False, SC_REFTYPE_NONE ); in StopRefMode()
133 if ( aViewData.GetTabNo() >= aViewData.GetRefStartZ() && in StopRefMode()
134 aViewData.GetTabNo() <= aViewData.GetRefEndZ() ) in StopRefMode()
136 ScDocument* pDoc = aViewData.GetDocument(); in StopRefMode()
137 SCCOL nStartX = aViewData.GetRefStartX(); in StopRefMode()
138 SCROW nStartY = aViewData.GetRefStartY(); in StopRefMode()
139 SCCOL nEndX = aViewData.GetRefEndX(); in StopRefMode()
140 SCROW nEndY = aViewData.GetRefEndY(); in StopRefMode()
142 pDoc->ExtendMerge( nStartX, nStartY, nEndX, nEndY, aViewData.GetTabNo() ); in StopRefMode()
151 ScSplitPos eNew = aViewData.GetActivePart(); in StopRefMode()
167 AlignToCursor( aViewData.GetCurX(), aViewData.GetCurY(), SC_FOLLOW_NONE ); in StopRefMode()
172 ScDocument* pDoc = aViewData.GetDocument(); in DoneRefMode()
173 if ( aViewData.GetRefType() == SC_REFTYPE_REF && bContinue ) in DoneRefMode()
176 sal_Bool bWasRef = aViewData.IsRefMode(); in DoneRefMode()
177 aViewData.SetRefMode( sal_False, SC_REFTYPE_NONE ); in DoneRefMode()
183 if ( bWasRef && aViewData.GetTabNo() >= aViewData.GetRefStartZ() && in DoneRefMode()
184 aViewData.GetTabNo() <= aViewData.GetRefEndZ() ) in DoneRefMode()
186 SCCOL nStartX = aViewData.GetRefStartX(); in DoneRefMode()
187 SCROW nStartY = aViewData.GetRefStartY(); in DoneRefMode()
188 SCCOL nEndX = aViewData.GetRefEndX(); in DoneRefMode()
189 SCROW nEndY = aViewData.GetRefEndY(); in DoneRefMode()
191 pDoc->ExtendMerge( nStartX, nStartY, nEndX, nEndY, aViewData.GetTabNo() ); in DoneRefMode()
199 ScDocument* pDoc = aViewData.GetDocument(); in UpdateRef()
201 if (!aViewData.IsRefMode()) in UpdateRef()
213 if ( nCurX != aViewData.GetRefEndX() || nCurY != aViewData.GetRefEndY() || in UpdateRef()
214 nCurZ != aViewData.GetRefEndZ() ) in UpdateRef()
216 ScMarkData& rMark = aViewData.GetMarkData(); in UpdateRef()
217 SCTAB nTab = aViewData.GetTabNo(); in UpdateRef()
219 SCCOL nStartX = aViewData.GetRefStartX(); in UpdateRef()
220 SCROW nStartY = aViewData.GetRefStartY(); in UpdateRef()
221 SCCOL nEndX = aViewData.GetRefEndX(); in UpdateRef()
222 SCROW nEndY = aViewData.GetRefEndY(); in UpdateRef()
227 aViewData.SetRefEnd( nCurX, nCurY, nCurZ ); in UpdateRef()
229 nStartX = aViewData.GetRefStartX(); in UpdateRef()
230 nStartY = aViewData.GetRefStartY(); in UpdateRef()
231 nEndX = aViewData.GetRefEndX(); in UpdateRef()
232 nEndY = aViewData.GetRefEndY(); in UpdateRef()
237 ScRefType eType = aViewData.GetRefType(); in UpdateRef()
241 aViewData.GetRefStartX(), aViewData.GetRefStartY(), aViewData.GetRefStartZ(), in UpdateRef()
242 aViewData.GetRefEndX(), aViewData.GetRefEndY(), aViewData.GetRefEndZ() ); in UpdateRef()
251 ScDocShell* pDocSh = aViewData.GetDocShell(); in UpdateRef()
252 pDocSh->UpdateOle( &aViewData, sal_True ); in UpdateRef()
266 if ( aViewData.GetRefType() == SC_REFTYPE_FILL && Help::IsQuickHelpEnabled() ) in UpdateRef()
270 aViewData.GetSimpleArea( aMarkRange ); in UpdateRef()
271 SCCOL nEndX = aViewData.GetRefEndX(); in UpdateRef()
272 SCROW nEndY = aViewData.GetRefEndY(); in UpdateRef()
274 if ( aViewData.GetFillMode() == SC_FILL_MATRIX && !(nScFillModeMouseModifier & KEY_MOD1) ) in UpdateRef()
277 SCCOL nCols = nEndX + 1 - aViewData.GetRefStartX(); // Reihenfolge ist richtig in UpdateRef()
278 SCROW nRows = nEndY + 1 - aViewData.GetRefStartY(); in UpdateRef()
284 else if ( aViewData.GetDelMark( aDelRange ) ) in UpdateRef()
292 Point aPos = aViewData.GetScrPos( nEndX+nAddX, nEndY+nAddY, aViewData.GetActivePart() ); in UpdateRef()
306 ScDocument* pDoc = aViewData.GetDocument(); in InitRefMode()
307 ScMarkData& rMark = aViewData.GetMarkData(); in InitRefMode()
308 if (!aViewData.IsRefMode()) in InitRefMode()
310 aViewData.SetRefMode( sal_True, eType ); in InitRefMode()
311 aViewData.SetRefStart( nCurX, nCurY, nCurZ ); in InitRefMode()
312 aViewData.SetRefEnd( nCurX, nCurY, nCurZ ); in InitRefMode()
314 if (nCurZ == aViewData.GetTabNo() && bPaint) in InitRefMode()
320 pDoc->ExtendMerge( nStartX, nStartY, nEndX, nEndY, aViewData.GetTabNo() ); in InitRefMode()
406 sal_Bool bTop = ( aViewData.GetVSplitMode() != SC_SPLIT_NONE ); in UpdateScrollBars()
407 sal_Bool bRight = ( aViewData.GetHSplitMode() != SC_SPLIT_NONE ); in UpdateScrollBars()
408 ScDocument* pDoc = aViewData.GetDocument(); in UpdateScrollBars()
409 SCTAB nTab = aViewData.GetTabNo(); in UpdateScrollBars()
422 if (aViewData.GetHSplitMode()==SC_SPLIT_FIX) in UpdateScrollBars()
423 nStartX = aViewData.GetFixPosX(); in UpdateScrollBars()
424 if (aViewData.GetVSplitMode()==SC_SPLIT_FIX) in UpdateScrollBars()
425 nStartY = aViewData.GetFixPosY(); in UpdateScrollBars()
427 nVisXL = aViewData.VisibleCellsX( SC_SPLIT_LEFT ); in UpdateScrollBars()
428 long nMaxXL = lcl_GetScrollRange( nUsedX, aViewData.GetPosX(SC_SPLIT_LEFT), nVisXL, MAXCOL, 0 ); in UpdateScrollBars()
429 SetScrollBar( aHScrollLeft, nMaxXL, nVisXL, aViewData.GetPosX( SC_SPLIT_LEFT ), bMirror ); in UpdateScrollBars()
431 nVisYB = aViewData.VisibleCellsY( SC_SPLIT_BOTTOM ); in UpdateScrollBars()
432 …long nMaxYB = lcl_GetScrollRange( nUsedY, aViewData.GetPosY(SC_SPLIT_BOTTOM), nVisYB, MAXROW, nSta… in UpdateScrollBars()
433 …SetScrollBar( aVScrollBottom, nMaxYB, nVisYB, aViewData.GetPosY( SC_SPLIT_BOTTOM ) - nStartY, sal_… in UpdateScrollBars()
437 nVisXR = aViewData.VisibleCellsX( SC_SPLIT_RIGHT ); in UpdateScrollBars()
438 …long nMaxXR = lcl_GetScrollRange( nUsedX, aViewData.GetPosX(SC_SPLIT_RIGHT), nVisXR, MAXCOL, nStar… in UpdateScrollBars()
439 …SetScrollBar( aHScrollRight, nMaxXR, nVisXR, aViewData.GetPosX( SC_SPLIT_RIGHT ) - nStartX, bMirro… in UpdateScrollBars()
444 nVisYT = aViewData.VisibleCellsY( SC_SPLIT_TOP ); in UpdateScrollBars()
445 long nMaxYT = lcl_GetScrollRange( nUsedY, aViewData.GetPosY(SC_SPLIT_TOP), nVisYT, MAXROW, 0 ); in UpdateScrollBars()
446 SetScrollBar( aVScrollTop, nMaxYT, nVisYT, aViewData.GetPosY( SC_SPLIT_TOP ), sal_False ); in UpdateScrollBars()
469 if ( aViewData.IsActive() ) in UpdateScrollBars()
471 ScSplitPos eActive = aViewData.GetActivePart(); in UpdateScrollBars()
474 SCCOL nPosX = aViewData.GetPosX(eHWhich); in UpdateScrollBars()
475 SCROW nPosY = aViewData.GetPosY(eVWhich); in UpdateScrollBars()
527 ScDocument* pDoc = aViewData.GetDocument(); in InterpretVisible()
531 SCTAB nTab = aViewData.GetTabNo(); in InterpretVisible()
542 SCCOL nX1 = aViewData.GetPosX( eHWhich ); in InterpretVisible()
543 SCROW nY1 = aViewData.GetPosY( eVWhich ); in InterpretVisible()
544 SCCOL nX2 = nX1 + aViewData.VisibleCellsX( eHWhich ); in InterpretVisible()
545 SCROW nY2 = nY1 + aViewData.VisibleCellsY( eVWhich ); in InterpretVisible()