Lines Matching refs:nItemPos
409 sal_uInt16 nItemPos = GetColumnPos( nItemId ); in FreezeColumn() local
410 if ( nItemPos >= pCols->Count() ) in FreezeColumn()
415 if ( pCols->GetObject(nItemPos)->IsFrozen() == bFreeze ) in FreezeColumn()
425 if ( nItemPos != 0 && !pCols->GetObject(nItemPos-1)->IsFrozen() ) in FreezeColumn()
429 BrowserColumn *pColumn = pCols->GetObject(nItemPos); in FreezeColumn()
430 pCols->Remove( (sal_uLong) nItemPos ); in FreezeColumn()
431 nItemPos = nFirstScrollable; in FreezeColumn()
432 pCols->Insert( pColumn, (sal_uLong) nItemPos ); in FreezeColumn()
436 if ( nFirstCol <= nItemPos ) in FreezeColumn()
437 nFirstCol = nItemPos + 1; in FreezeColumn()
442 if ( nItemPos != FrozenColCount()-1 ) in FreezeColumn()
446 BrowserColumn *pColumn = pCols->GetObject(nItemPos); in FreezeColumn()
447 pCols->Remove( (sal_uLong) nItemPos ); in FreezeColumn()
448 nItemPos = nFirstScrollable; in FreezeColumn()
449 pCols->Insert( pColumn, (sal_uLong) nItemPos ); in FreezeColumn()
453 nFirstCol = nItemPos; in FreezeColumn()
457 pCols->GetObject(nItemPos)->Freeze( bFreeze ); in FreezeColumn()
625 sal_uInt16 nItemPos = GetColumnPos( nItemId ); in SetColumnTitle() local
626 if ( nItemPos >= pCols->Count() ) in SetColumnTitle()
631 BrowserColumn *pCol = pCols->GetObject(nItemPos); in SetColumnTitle()
646 if ( GetUpdateMode() && ( pCol->IsFrozen() || nItemPos > nFirstCol ) ) in SetColumnTitle()
668 sal_uInt16 nItemPos = GetColumnPos( nItemId ); in SetColumnWidth() local
669 if ( nItemPos >= pCols->Count() ) in SetColumnWidth()
674 if ( nWidth >= LONG_MAX || pCols->GetObject(nItemPos)->Width() != nWidth ) in SetColumnWidth()
676 long nOldWidth = pCols->GetObject(nItemPos)->Width(); in SetColumnWidth()
679 if ( IsVisible() && nItemPos == pCols->Count() - 1 ) in SetColumnWidth()
701 ( pCols->GetObject(nItemPos)->IsFrozen() || nItemPos >= nFirstCol ); in SetColumnWidth()
713 pCols->GetObject(nItemPos)->SetWidth(nWidth, GetZoom()); in SetColumnWidth()
715 if ( nItemPos != pCols->Count() - 1 ) in SetColumnWidth()
728 for ( sal_uInt16 nCol = 0; nCol < nItemPos; ++nCol ) in SetColumnWidth()
773 if ( nItemPos != pCols->Count() - 1 ) in SetColumnWidth()
950 sal_uInt16 nItemPos = GetColumnPos( nId ); in GetColumnTitle() local
951 if ( nItemPos >= pCols->Count() ) in GetColumnTitle()
953 return pCols->GetObject(nItemPos)->Title(); in GetColumnTitle()