Lines Matching refs:nColIx

271         sal_uInt32 nColIx = GetColumnFromPos( nPos );  in InsertSplit()  local
272 ImplDrawColumn( nColIx - 1 ); in InsertSplit()
273 ImplDrawColumn( nColIx ); in InsertSplit()
294 sal_uInt32 nColIx = GetColumnFromPos( nPos ); in MoveSplit() local
295 if( nColIx != CSV_COLUMN_INVALID ) in MoveSplit()
298 if( (GetColumnPos( nColIx - 1 ) < nNewPos) && (nNewPos < GetColumnPos( nColIx + 1 )) ) in MoveSplit()
304 ImplDrawColumn( nColIx - 1 ); in MoveSplit()
305 ImplDrawColumn( nColIx ); in MoveSplit()
307 AccSendTableUpdateEvent( nColIx - 1, nColIx ); in MoveSplit()
345 sal_uInt32 nColIx = GetColumnFromPos( nPos ); in ImplInsertSplit() local
346 bool bRet = (nColIx < GetColumnCount()) && maSplits.Insert( nPos ); in ImplInsertSplit()
349 ScCsvColState aState( GetColumnType( nColIx ) ); in ImplInsertSplit()
350 aState.Select( IsSelected( nColIx ) && IsSelected( nColIx + 1 ) ); in ImplInsertSplit()
351 maColStates.insert( maColStates.begin() + nColIx + 1, aState ); in ImplInsertSplit()
352 AccSendInsertColumnEvent( nColIx + 1, nColIx + 1 ); in ImplInsertSplit()
353 AccSendTableUpdateEvent( nColIx, nColIx ); in ImplInsertSplit()
363 sal_uInt32 nColIx = GetColumnFromPos( nPos ); in ImplRemoveSplit() local
364 bool bSel = IsSelected( nColIx ) || IsSelected( nColIx + 1 ); in ImplRemoveSplit()
365 maColStates.erase( maColStates.begin() + nColIx + 1 ); in ImplRemoveSplit()
366 maColStates[ nColIx ].Select( bSel ); in ImplRemoveSplit()
367 AccSendRemoveColumnEvent( nColIx + 1, nColIx + 1 ); in ImplRemoveSplit()
368 AccSendTableUpdateEvent( nColIx, nColIx ); in ImplRemoveSplit()
455 sal_uInt32 nColIx = GetFirstSelected(); in GetSelColumnType() local
456 if( nColIx == CSV_COLUMN_INVALID ) in GetSelColumnType()
459 sal_Int32 nType = GetColumnType( nColIx ); in GetSelColumnType()
460 while( (nColIx != CSV_COLUMN_INVALID) && (nType != CSV_TYPE_MULTI) ) in GetSelColumnType()
462 if( nType != GetColumnType( nColIx ) ) in GetSelColumnType()
464 nColIx = GetNextSelected( nColIx ); in GetSelColumnType()
473 …for( sal_uInt32 nColIx = GetFirstSelected(); nColIx != CSV_COLUMN_INVALID; nColIx = GetNextSelecte… in SetSelColumnType() local
474 SetColumnType( nColIx, nType ); in SetSelColumnType()
515 for( sal_uInt32 nColIx = 0; nColIx < nCount; ++nColIx ) in FillColumnDataSep() local
517 if( GetColumnType( nColIx ) != CSV_TYPE_DEFAULT ) in FillColumnDataSep()
520 static_cast< xub_StrLen >( nColIx + 1 ), in FillColumnDataSep()
521 lcl_GetExtColumnType( GetColumnType( nColIx ) ) ) ); in FillColumnDataSep()
531 for( sal_uInt32 nColIx = 0; nColIx < nCount; ++nColIx ) in FillColumnDataFix() local
533 ScCsvExpData& rData = aDataVec[ nColIx ]; in FillColumnDataFix()
535 Min( static_cast< sal_Int32 >( STRING_MAXLEN ), GetColumnPos( nColIx ) ) ); in FillColumnDataFix()
536 rData.mnType = lcl_GetExtColumnType( GetColumnType( nColIx ) ); in FillColumnDataFix()
585 for( sal_uInt32 nColIx = nFromIndex + 1; nColIx < nColCount; ++nColIx ) in GetNextSelected() local
586 if( IsSelected( nColIx ) ) in GetNextSelected()
587 return nColIx; in GetNextSelected()
624 for( sal_uInt32 nColIx = nColIndex1; nColIx <= nColIndex2; ++nColIx ) in SelectRange() local
626 maColStates[ nColIx ].Select( bSelect ); in SelectRange()
627 ImplDrawColumnSelection( nColIx ); in SelectRange()
728 sal_uInt32 nColIx = 0; in ImplSetTextLineSep() local
730 while( *pChar && (nColIx < sal::static_int_cast<sal_uInt32>(CSV_MAXCOLCOUNT)) ) in ImplSetTextLineSep()
738 if( IsValidColumn( nColIx ) ) in ImplSetTextLineSep()
741 sal_Int32 nDiff = nWidth - GetColumnWidth( nColIx ); in ImplSetTextLineSep()
745 for( sal_uInt32 nSplitIx = GetColumnCount() - 1; nSplitIx > nColIx; --nSplitIx ) in ImplSetTextLineSep()
765 ++nColIx; in ImplSetTextLineSep()
787 for( sal_uInt32 nColIx = 0; (nColIx < nColCount) && (nStrIx < nStrLen); ++nColIx ) in ImplSetTextLineFix() local
789 xub_StrLen nColWidth = static_cast< xub_StrLen >( GetColumnWidth( nColIx ) ); in ImplSetTextLineFix()
839 sal_uInt32 nColIx = GetColumnFromX( aPos.X() ); in MouseButtonDown() local
848 else if( IsValidColumn( nColIx ) ) in MouseButtonDown()
850 DoSelectAction( nColIx, rMEvt.GetModifier() ); in MouseButtonDown()
851 mnMTCurrCol = nColIx; in MouseButtonDown()
852 mbMTSelecting = IsSelected( nColIx ); in MouseButtonDown()
871 sal_uInt32 nColIx = GetColumnFromPos( nPos ); in Tracking() local
872 if( mnMTCurrCol != nColIx ) in Tracking()
874 DoSelectAction( nColIx, rMEvt.GetModifier() ); in Tracking()
875 mnMTCurrCol = nColIx; in Tracking()
944 sal_uInt32 nColIx = GetColumnFromX( aPos.X() ); in Command() local
945 … if( IsValidColumn( nColIx ) && (GetFirstX() <= aPos.X()) && (aPos.X() <= GetLastX()) ) in Command()
947 if( !IsSelected( nColIx ) ) in Command()
948 DoSelectAction( nColIx, 0 ); // focus & select in Command()
954 sal_uInt32 nColIx = GetFocusColumn(); in Command() local
955 if( !IsSelected( nColIx ) ) in Command()
956 Select( nColIx ); in Command()
957 sal_Int32 nX1 = Max( GetColumnX( nColIx ), GetFirstX() ); in Command()
958 sal_Int32 nX2 = Min( GetColumnX( nColIx + 1 ), GetWidth() ); in Command()
1208 for( sal_uInt32 nColIx = GetFirstVisColumn(); nColIx <= nLastCol; ++nColIx ) in ImplDrawBackgrDev() local
1209 ImplDrawColumnBackgr( nColIx ); in ImplDrawBackgrDev()
1251 for( sal_uInt32 nColIx = GetFirstVisColumn(); nColIx <= nLastCol; ++nColIx ) in ImplDrawGridDev() local
1252 ImplDrawColumnSelection( nColIx ); in ImplDrawGridDev()
1301 for( sal_uInt32 nColIx = nFirstColIx; nColIx <= nLastColIx; ++nColIx ) in ImplDrawHorzScrolled() local
1302 ImplDrawColumn( nColIx ); in ImplDrawHorzScrolled()