Lines Matching refs:nRow
164 bool ScGridWindow::VisibleRange::isInside(SCCOL nCol, SCROW nRow) const in isInside()
166 return mnCol1 <= nCol && nCol <= mnCol2 && mnRow1 <= nRow && nRow <= mnRow2; in isInside()
176 SCROW nRow; member in ScFilterListBox
198 SCROW GetRow() const { return nRow; } in GetRow()
217 nRow( nNewRow ), in ScFilterListBox()
529 void ScGridWindow::ExecPageFieldSelect( SCCOL nCol, SCROW nRow, sal_Bool bHasSelection, const Strin… in ExecPageFieldSelect() argument
535 ScDPObject* pDPObj = pDoc->GetDPAtCursor(nCol, nRow, nTab); in ExecPageFieldSelect()
540 long nField = pDPObj->GetHeaderDim( ScAddress( nCol-1, nRow, nTab ), nOrient ); in ExecPageFieldSelect()
566 void ScGridWindow::LaunchPageFieldMenu( SCCOL nCol, SCROW nRow ) in LaunchPageFieldMenu() argument
581 pViewData->GetMergeSizePixel( nCol, nRow, nSizeX, nSizeY ); in LaunchPageFieldMenu()
582 Point aPos = pViewData->GetScrPos( nCol, nRow, eWhich ); in LaunchPageFieldMenu()
593 pFilterBox = new ScFilterListBox( pFilterFloat, this, nCol, nRow, SC_FILTERBOX_PAGEFIELD ); in LaunchPageFieldMenu()
617 ScDPObject* pDPObj = pDoc->GetDPAtCursor(nCol, nRow, nTab); in LaunchPageFieldMenu()
622 long nField = pDPObj->GetHeaderDim( ScAddress( nCol-1, nRow, nTab ), nOrient ); in LaunchPageFieldMenu()
717 void ScGridWindow::LaunchDPFieldMenu( SCCOL nCol, SCROW nRow ) in LaunchDPFieldMenu() argument
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()
730 …DPLaunchFieldPopupMenu(OutputToScreenPixel(aScrPos), aScrSize, ScAddress(nCol, nRow, nTab), pDPObj… in LaunchDPFieldMenu()
739 SCROW nRow = rScenRange.aStart.Row(); in DoScenarioMenue() local
740 if (nRow == 0) in DoScenarioMenue()
742 nRow = rScenRange.aEnd.Row() + 1; // Bereich ganz oben -> Button unterhalb in DoScenarioMenue()
743 if (nRow>MAXROW) nRow = MAXROW; in DoScenarioMenue()
754 pViewData->GetMergeSizePixel( nCol, nRow, nSizeX, nSizeY ); in DoScenarioMenue()
755 Point aPos = pViewData->GetScrPos( nCol, nRow, eWhich ); in DoScenarioMenue()
766 pFilterBox = new ScFilterListBox( pFilterFloat, this, nCol, nRow, SC_FILTERBOX_SCENARIO ); in DoScenarioMenue()
871 sal_Bool ScGridWindow::HasScenarioRange( sal_uInt16 nCol, sal_Int32 nRow, ScRange& rScenRange ) in HasScenarioRange() argument
893 bIsInScen = (aRange.aStart.Col() == nCol && aRange.aEnd.Row() == nRow-1); in HasScenarioRange()
897 bIsInScen = (aRange.aStart.Col() == nCol && aRange.aStart.Row() == nRow+1); in HasScenarioRange()
908 void ScGridWindow::DoAutoFilterMenue( SCCOL nCol, SCROW nRow, sal_Bool bDataSelect ) in DoAutoFilterMenue() argument
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()
936 pFilterFloat, this, nCol, nRow, bDataSelect ? SC_FILTERBOX_DATASELECT : SC_FILTERBOX_FILTER ); in DoAutoFilterMenue()
966 pDoc->GetDataEntries( nCol, nRow, nTab, aStrings ); in DoAutoFilterMenue()
974 pDoc->GetString( nCol, nRow, nTab, aString ); in DoAutoFilterMenue()
994 pDoc->GetFilterEntries( nCol, nRow, nTab, true, aStrings, bHasDates); in DoAutoFilterMenue()
1063 ScDBData* pDBData = pDoc->GetDBAtCursor( nCol, nRow, nTab ); in DoAutoFilterMenue()
1106 nCol, nRow, nTab, ATTR_VALIDDATA ))->GetValue(); in DoAutoFilterMenue()
1114 pDoc->GetString( nCol, nRow, nTab, aDocStr ); in DoAutoFilterMenue()
1115 if ( pDoc->HasValueData( nCol, nRow, nTab ) ) in DoAutoFilterMenue()
1117 double fVal = pDoc->GetValue(ScAddress(nCol, nRow, nTab)); in DoAutoFilterMenue()
1198 SCROW nRow = pFilterBox->GetRow(); in FilterSelect() local
1202 ExecDataSelect( nCol, nRow, aString ); in FilterSelect()
1205 ExecFilter( nSel, nCol, nRow, aString, pFilterBox->HasDates() ); in FilterSelect()
1212 ExecPageFieldSelect( nCol, nRow, (nSel != 0), aString ); in FilterSelect()
1222 void ScGridWindow::ExecDataSelect( SCCOL nCol, SCROW nRow, const String& rStr ) in ExecDataSelect() argument
1228 pView->EnterData( nCol, nRow, nTab, rStr ); in ExecDataSelect()
1237 SCCOL nCol, SCROW nRow, in ExecFilter() argument
1243 ScDBData* pDBData = pDoc->GetDBAtCursor( nCol, nRow, nTab ); in ExecFilter()
1258 pViewData->GetView()->SetCursor(nCol,nRow); //! auch ueber Slot ?? in ExecFilter()
2686 SCROW nRow = pViewData->GetCurY(); in lcl_SetTextCursorPos() local
2687 Rectangle aEditArea = pViewData->GetEditArea( eWhich, nCol, nRow, pWin, NULL, sal_True ); in lcl_SetTextCursorPos()
3442 … for (SCROW nRow = aSourceRange.aStart.Row(); bValid && nRow <= aSourceRange.aEnd.Row(); ++nRow ) in AcceptPrivateDrop() local
3446 … pDPObj->GetHeaderPositionData( ScAddress( nCol, nRow, aSourceRange.aStart.Tab() ), aSourceData ); in AcceptPrivateDrop()
4389 SCROW nRow; in UpdateEditViewPos() local
4390 pViewData->GetEditView( eWhich, pView, nCol, nRow ); in UpdateEditViewPos()
4414 Rectangle aPixRect = pViewData->GetEditArea( eWhich, nCol, nRow, this, NULL, sal_True ); in UpdateEditViewPos()