Lines Matching refs:nRow

304     for ( sal_uInt16 nRow = 0; nRow < EDIT_ROW_COUNT; ++nRow )  in Init()  local
306 mpDelButton[nRow]->SetModeImage( aDelNm, BMP_COLOR_NORMAL ); in Init()
307 mpDelButton[nRow]->SetModeImage( aDelHC, BMP_COLOR_HIGHCONTRAST ); in Init()
322 for ( sal_uInt16 nRow = 0; nRow < EDIT_ROW_COUNT; ++nRow ) in Init() local
324 mpLeftEdit[nRow]->SetGetFocusHdl( aLink ); in Init()
325 mpLeftButton[nRow]->SetGetFocusHdl( aLink ); in Init()
326 mpRightEdit[nRow]->SetGetFocusHdl( aLink ); in Init()
327 mpRightButton[nRow]->SetGetFocusHdl( aLink ); in Init()
328 mpOperator[nRow]->SetGetFocusHdl( aLink ); in Init()
338 for ( sal_uInt16 nRow = 0; nRow < EDIT_ROW_COUNT; ++nRow ) in Init() local
340 mpLeftEdit[nRow]->SetLoseFocusHdl( aLink ); in Init()
341 mpLeftButton[nRow]->SetLoseFocusHdl( aLink ); in Init()
342 mpRightEdit[nRow]->SetLoseFocusHdl( aLink ); in Init()
343 mpRightButton[nRow]->SetLoseFocusHdl( aLink ); in Init()
349 for ( sal_uInt16 nRow = 0; nRow < EDIT_ROW_COUNT; ++nRow ) in Init() local
351 mpLeftEdit[nRow]->SetCursorLinks( aCursorUp, aCursorDown ); in Init()
352 mpRightEdit[nRow]->SetCursorLinks( aCursorUp, aCursorDown ); in Init()
353 mpLeftEdit[nRow]->SetModifyHdl( aCondModify ); in Init()
354 mpRightEdit[nRow]->SetModifyHdl( aCondModify ); in Init()
355 mpDelButton[nRow]->SetClickHdl( LINK( this, ScOptSolverDlg, DelBtnHdl ) ); in Init()
356 mpOperator[nRow]->SetSelectHdl( LINK( this, ScOptSolverDlg, SelectHdl ) ); in Init()
406 for ( sal_uInt16 nRow = 0; nRow < EDIT_ROW_COUNT; ++nRow ) in ReadConditions() local
409 aRowEntry.aLeftStr = mpLeftEdit[nRow]->GetText(); in ReadConditions()
410 aRowEntry.aRightStr = mpRightEdit[nRow]->GetText(); in ReadConditions()
411 aRowEntry.nOperator = mpOperator[nRow]->GetSelectEntryPos(); in ReadConditions()
413 long nVecPos = nScrollPos + nRow; in ReadConditions()
430 for ( sal_uInt16 nRow = 0; nRow < EDIT_ROW_COUNT; ++nRow ) in ShowConditions() local
434 long nVecPos = nScrollPos + nRow; in ShowConditions()
438 mpLeftEdit[nRow]->SetRefString( aRowEntry.aLeftStr ); in ShowConditions()
439 mpRightEdit[nRow]->SetRefString( aRowEntry.aRightStr ); in ShowConditions()
440 mpOperator[nRow]->SelectEntryPos( aRowEntry.nOperator ); in ShowConditions()
454 for ( sal_uInt16 nRow = 0; nRow < EDIT_ROW_COUNT; ++nRow ) in EnableButtons() local
456 long nVecPos = nScrollPos + nRow; in EnableButtons()
457 mpDelButton[nRow]->Enable( nVecPos < (long)maConditions.size() ); in EnableButtons()
607 for ( sal_uInt16 nRow = 0; nRow < EDIT_ROW_COUNT; ++nRow ) in IMPL_LINK() local
609 if( pCtrl == mpLeftEdit[nRow] || pCtrl == mpLeftButton[nRow] ) in IMPL_LINK()
610 pEdit = mpEdActive = mpLeftEdit[nRow]; in IMPL_LINK()
611 else if( pCtrl == mpRightEdit[nRow] || pCtrl == mpRightButton[nRow] ) in IMPL_LINK()
612 pEdit = mpEdActive = mpRightEdit[nRow]; in IMPL_LINK()
613 else if( pCtrl == mpOperator[nRow] ) // focus on "operator" list box in IMPL_LINK()
614 … mpEdActive = mpRightEdit[nRow]; // use right edit for ref input, but don't change selection in IMPL_LINK()
637 for ( sal_uInt16 nRow = 0; nRow < EDIT_ROW_COUNT; ++nRow ) in IMPL_LINK() local
638 if( pBtn == mpDelButton[nRow] ) in IMPL_LINK()
643 long nVecPos = nScrollPos + nRow; in IMPL_LINK()
654 mpEdActive = mpLeftEdit[nRow]; in IMPL_LINK()
716 … for ( sal_uInt16 nRow = 1; nRow < EDIT_ROW_COUNT; ++nRow ) // second row or below: move focus in IMPL_LINK() local
718 if ( pEdit == mpLeftEdit[nRow] ) in IMPL_LINK()
719 pFocus = mpLeftEdit[nRow-1]; in IMPL_LINK()
720 else if ( pEdit == mpRightEdit[nRow] ) in IMPL_LINK()
721 pFocus = mpRightEdit[nRow-1]; in IMPL_LINK()
747 … for ( sal_uInt16 nRow = 0; nRow+1 < EDIT_ROW_COUNT; ++nRow ) // before last row: move focus in IMPL_LINK() local
749 if ( pEdit == mpLeftEdit[nRow] ) in IMPL_LINK()
750 pFocus = mpLeftEdit[nRow+1]; in IMPL_LINK()
751 else if ( pEdit == mpRightEdit[nRow] ) in IMPL_LINK()
752 pFocus = mpRightEdit[nRow+1]; in IMPL_LINK()
867 for (SCROW nRow = aRange.aStart.Row(); nRow <= aRange.aEnd.Row(); ++nRow) in CallSolver() local
869 aVariables[nVarPos++] = table::CellAddress( nTab, nCol, nRow ); in CallSolver()
926 for (SCROW nRow = aLeftRange.aStart.Row(); nRow <= aLeftRange.aEnd.Row(); ++nRow) in CallSolver() local
929 aConstraint.Left = table::CellAddress( aLeftRange.aStart.Tab(), nCol, nRow ); in CallSolver()
933 aRightRange.aStart.Row() + ( nRow - aLeftRange.aStart.Row() ) ); in CallSolver()