Lines Matching refs:nColId
351 void OSelectionBrowseBox::ColumnMoved( sal_uInt16 nColId,sal_Bool _bCreateUndo ) in ColumnMoved() argument
353 EditBrowseBox::ColumnMoved( nColId ); in ColumnMoved()
355 sal_uInt16 nNewPos = GetColumnPos( nColId ); in ColumnMoved()
362 for (; aIter != aEnd && ( (*aIter)->GetColumnId() != nColId ); ++aIter,++nOldPos) in ColumnMoved()
493 CellController* OSelectionBrowseBox::GetController(long nRow, sal_uInt16 nColId) in GetController() argument
496 if ( nColId > getFields().size() ) in GetController()
498 OTableFieldDescRef pEntry = getFields()[nColId-1]; in GetController()
526 …electionBrowseBox::InitController(CellControllerRef& /*rController*/, long nRow, sal_uInt16 nColId) in InitController() argument
529 OSL_ENSURE(nColId != BROWSER_INVALIDID,"An Invalid Id was set!"); in InitController()
530 if ( nColId == BROWSER_INVALIDID ) in InitController()
532 sal_uInt16 nPos = GetColumnPos(nColId); in InitController()
1535 sal_uInt16 nColId = GetCurColumnId(); in DeleteFields() local
1555 ActivateCell(nRow , nColId); in DeleteFields()
1560 void OSelectionBrowseBox::SetColWidth(sal_uInt16 nColId, long nNewWidth) in SetColWidth() argument
1568 SetColumnWidth(nColId, nNewWidth); in SetColWidth()
1571 OTableFieldDescRef pEntry = getEntry(GetColumnPos(nColId) - 1); in SetColWidth()
1573 pEntry->SetColWidth(sal_uInt16(GetColumnWidth(nColId))); in SetColWidth()
1580 Rectangle OSelectionBrowseBox::GetInvalidRect( sal_uInt16 nColId ) in GetInvalidRect() argument
1589 Rectangle aFieldRect(GetCellRect( 0, nColId )); // used instead of GetFieldRectPixel in GetInvalidRect()
2085 sal_uInt16 nColId = GetColumnId(GetColumnAtXPosPixel( aMenuPos.X() )); in Command() local
2088 if (nRow < 0 && nColId > HANDLE_ID ) in Command()
2090 if ( !IsColumnSelected( nColId ) ) in Command()
2093 SelectColumnId( nColId ); in Command()
2102 RemoveField(nColId); in Command()
2106 adjustBrowseBoxColumnWidth( this, nColId ); in Command()
2111 else if(nRow >= 0 && nColId <= HANDLE_ID) in Command()
2257 String OSelectionBrowseBox::GetCellText(long nRow, sal_uInt16 nColId) const in GetCellText()
2261 sal_uInt16 nPos = GetColumnPos(nColId); in GetCellText()
2380 String OSelectionBrowseBox::GetCellContents(sal_Int32 nCellIndex, sal_uInt16 nColId) in GetCellContents() argument
2384 if ( GetCurColumnId() == nColId && !m_bInUndoMode ) in GetCellContents()
2387 sal_uInt16 nPos = GetColumnPos(nColId); in GetCellContents()
2403 return GetCellText(nCellIndex, nColId); in GetCellContents()
2408 void OSelectionBrowseBox::SetCellContents(sal_Int32 nRow, sal_uInt16 nColId, const String& strNewTe… in SetCellContents() argument
2411 …sal_Bool bWasEditing = IsEditing() && (GetCurColumnId() == nColId) && IsRowVisible(static_cast<sal… in SetCellContents()
2415 sal_uInt16 nPos = GetColumnPos(nColId); in SetCellContents()
2466 RowModified(nCellIndex, nColId); in SetCellContents()
2473 ActivateCell(nCellIndex, nColId); in SetCellContents()
2478 sal_uInt32 OSelectionBrowseBox::GetTotalCellWidth(long nRow, sal_uInt16 nColId) const in GetTotalCellWidth()
2486 return GetDataWindow().GetTextWidth(GetCellText(nRowId, nColId)); in GetTotalCellWidth()
2490 void OSelectionBrowseBox::ColumnResized(sal_uInt16 nColId) in ColumnResized() argument
2499 sal_uInt16 nPos = GetColumnPos(nColId); in ColumnResized()
2504 EditBrowseBox::ColumnResized(nColId); in ColumnResized()
2516 pEntry->SetColWidth(sal_uInt16(GetColumnWidth(nColId))); in ColumnResized()
2521 sal_uInt32 OSelectionBrowseBox::GetTotalCellWidth(long nRowId, sal_uInt16 nColId) in GetTotalCellWidth() argument
2524 sal_uInt16 nPos = GetColumnPos(nColId); in GetTotalCellWidth()
2531 String strText(GetCellText(nRow, nColId)); in GetTotalCellWidth()