Lines Matching refs:pCols
104 pCols = new BrowserColumns; in ConstructImpl()
193 for ( sal_uInt16 n = 0; n < pCols->Count(); ++n ) in ~BrowseBox()
194 delete pCols->GetObject(n); in ~BrowseBox()
195 delete pCols; in ~BrowseBox()
281 pCols->Insert( new BrowserColumn( 0, Image(), String(), nWidth, GetZoom(), 0 ), (sal_uLong) 0 ); in InsertHandleColumn()
305 pCols->Insert( new BrowserColumn( nItemId, rImage, String(), nWidth, GetZoom(), nBits ), in InsertDataColumn()
306 Min( nPos, (sal_uInt16)(pCols->Count()) ) ); in InsertDataColumn()
328 pCols->Insert( new BrowserColumn( nItemId, Image(), rText, nWidth, GetZoom(), nBits ), in InsertDataColumn()
329 Min( nPos, (sal_uInt16)(pCols->Count()) ) ); in InsertDataColumn()
354 pCols->Insert( new BrowserColumn( nItemId, rImage, rText, nWidth, GetZoom(), nBits ), in InsertDataColumn()
355 Min( nPos, (sal_uInt16)(pCols->Count()) ) ); in InsertDataColumn()
383 nSelectedColId = pCols->GetObject(pColSel->FirstSelected())->GetId(); in ToggleSelectedColumn()
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()
432 pCols->Insert( pColumn, (sal_uLong) nItemPos ); in FreezeColumn()
446 BrowserColumn *pColumn = pCols->GetObject(nItemPos); in FreezeColumn()
447 pCols->Remove( (sal_uLong) nItemPos ); in FreezeColumn()
449 pCols->Insert( pColumn, (sal_uLong) nItemPos ); in FreezeColumn()
457 pCols->GetObject(nItemPos)->Freeze( bFreeze ); in FreezeColumn()
479 if (nPos == 0 && !pCols->GetObject(0)->GetId()) in SetColumnPos()
484 if ( nOldPos >= pCols->Count() ) in SetColumnPos()
506 BrowserColumn *pNextCol = pCols->GetObject(nNextPos); in SetColumnPos()
510 pCols->Insert( pCols->Remove( nOldPos ), nPos ); in SetColumnPos()
597 if ( nColumnPos >= pCols->Count() ) in SetColumnMode()
602 BrowserColumn *pCol = pCols->GetObject(nColumnPos); in SetColumnMode()
626 if ( nItemPos >= pCols->Count() ) in SetColumnTitle()
631 BrowserColumn *pCol = pCols->GetObject(nItemPos); in SetColumnTitle()
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()
718 GetFieldRect(GetColumnId(pCols->Count()-1)).Left(); in SetColumnWidth()
719 pCols->GetObject(pCols->Count()-1)->Width() = nLastColMaxWidth; in SetColumnWidth()
730 BrowserColumn *pCol = pCols->GetObject(nCol); in SetColumnWidth()
773 if ( nItemPos != pCols->Count() - 1 ) in SetColumnWidth()
786 sal_uInt16 nId = GetColumnId( (sal_uInt16)pCols->Count() - 1 ); in AutoSizeLastColumn()
813 delete( pCols->Remove( (sal_uLong) nPos )); in RemoveColumn()
880 unsigned int nOldCount = pCols->Count(); in RemoveColumns()
882 while ( pCols->Count() ) in RemoveColumns()
883 delete ( pCols->Remove( (sal_uLong) 0 )); in RemoveColumns()
911 if ( pCols->Count() != nOldCount ) in RemoveColumns()
951 if ( nItemPos >= pCols->Count() ) in GetColumnTitle()
953 return pCols->GetObject(nItemPos)->Title(); in GetColumnTitle()
969 return (sal_uInt16) pCols->Count(); in ColCount()
1012 nFirstCol + nCols >= (long)pCols->Count() ) in ScrollColumns()
1035 long nDelta = pCols->GetObject(nFirstCol-1)->Width(); in ScrollColumns()
1081 long nDelta = pCols->GetObject(nFirstCol)->Width(); in ScrollColumns()
1121 nCol < pCols->Count() && nCol < nFirstCol; in ScrollColumns()
1125 if ( pCols->GetObject(nCol)->GetId() ) in ScrollColumns()
1126 nWidth += pCols->GetObject(nCol)->Width(); in ScrollColumns()
1710 BrowserColumn* pColumn = pCols->GetObject( nNewPos ); in GoToColumnId()
1868 BrowserColumn *pFirstCol = pCols->GetObject(0); in SelectAll()
1957 BrowserColumn *pFirstCol = pCols->GetObject(0); in SelectRow()
2013 GoToColumnId( pCols->GetObject(nNewColPos)->GetId(), bMakeVisible ); in SelectColumnPos()
2018 if ( !GoToColumnId( pCols->GetObject( nNewColPos )->GetId(), bMakeVisible ) ) in SelectColumnPos()
2039 Size( pCols->GetObject(nNewColPos)->Width(), in SelectColumnPos()
2325 nCol < pCols->Count() && pCols->GetObject(nCol)->GetId() != nColumnId; in ImplFieldRectPixel()
2327 if ( pCols->GetObject(nCol)->IsFrozen() || nCol >= nFirstCol ) in ImplFieldRectPixel()
2328 nColX += pCols->GetObject(nCol)->Width(); in ImplFieldRectPixel()
2330 if ( nCol >= pCols->Count() || ( nCol >= nFrozenCols && nCol < nFirstCol ) ) in ImplFieldRectPixel()
2341 Size( pCols->GetObject(nCol)->Width() - 2*MIN_COLUMNWIDTH, in ImplFieldRectPixel()
2384 for ( nCol = 0; nCol < sal_uInt16(pCols->Count()); ++nCol ) in GetColumnAtXPosPixel()
2386 BrowserColumn *pCol = pCols->GetObject(nCol); in GetColumnAtXPosPixel()
2535 pColSel->SetTotalRange( Range( 0, pCols->Count()-1 ) ); in SetMode()