Lines Matching refs:nWidth
277 void BrowseBox::InsertHandleColumn( sal_uLong nWidth ) in InsertHandleColumn() argument
281 pCols->Insert( new BrowserColumn( 0, Image(), String(), nWidth, GetZoom(), 0 ), (sal_uLong) 0 ); in InsertHandleColumn()
288 Point(nWidth, 0), in InsertHandleColumn()
289 Size( GetOutputSizePixel().Width() - nWidth, GetTitleHeight() ) in InsertHandleColumn()
301 long nWidth, HeaderBarItemBits nBits, sal_uInt16 nPos ) in InsertDataColumn() argument
305 pCols->Insert( new BrowserColumn( nItemId, rImage, String(), nWidth, GetZoom(), nBits ), in InsertDataColumn()
316 nItemId, rImage, nWidth, nBits, nHeaderPos ); in InsertDataColumn()
324 long nWidth, HeaderBarItemBits nBits, sal_uInt16 nPos ) in InsertDataColumn() argument
328 pCols->Insert( new BrowserColumn( nItemId, Image(), rText, nWidth, GetZoom(), nBits ), in InsertDataColumn()
340 nItemId, rText, nWidth, nBits, nHeaderPos ); in InsertDataColumn()
349 long nWidth, HeaderBarItemBits nBits, sal_uInt16 nPos, in InsertDataColumn() argument
354 pCols->Insert( new BrowserColumn( nItemId, rImage, rText, nWidth, GetZoom(), nBits ), in InsertDataColumn()
366 nItemId, rImage, rText, nWidth, nBits, nHeaderPos ); in InsertDataColumn()
663 void BrowseBox::SetColumnWidth( sal_uInt16 nItemId, sal_uLong nWidth ) in SetColumnWidth() argument
673 nWidth = QueryColumnResize( nItemId, nWidth ); in SetColumnWidth()
674 if ( nWidth >= LONG_MAX || pCols->GetObject(nItemPos)->Width() != nWidth ) in SetColumnWidth()
685 if ( ( (BrowserDataWin*)pDataWin )->bAutoSizeLastCol || nWidth > (sal_uLong)nMaxWidth ) in SetColumnWidth()
687 nWidth = nMaxWidth > 16 ? nMaxWidth : nOldWidth; in SetColumnWidth()
688 nWidth = QueryColumnResize( nItemId, nWidth ); in SetColumnWidth()
696 if( (sal_uLong)nOldWidth == nWidth ) in SetColumnWidth()
713 pCols->GetObject(nItemPos)->SetWidth(nWidth, GetZoom()); in SetColumnWidth()
742 Rectangle aScrRect( nX + std::min( (sal_uLong)nOldWidth, nWidth ), 0, in SetColumnWidth()
745 Control::Scroll( nWidth-nOldWidth, 0, aScrRect, SCROLL_FLAGS ); in SetColumnWidth()
747 getDataWindow()->Scroll( nWidth-nOldWidth, 0, aScrRect, SCROLL_FLAGS ); in SetColumnWidth()
748 Rectangle aInvRect( nX, 0, nX + std::max( nWidth, (sal_uLong)nOldWidth ), USHRT_MAX ); in SetColumnWidth()
770 nItemId ? nItemId : USHRT_MAX - 1, nWidth ); in SetColumnWidth()
1119 long nWidth = 0; in ScrollColumns() local
1126 nWidth += pCols->GetObject(nCol)->Width(); in ScrollColumns()
1129 getDataWindow()->pHeaderBar->SetOffset( nWidth ); in ScrollColumns()
1719 sal_uInt16 nWidth = (sal_uInt16)pColumn->Width(); in GoToColumnId() local
1721 pDataWin->GetSizePixel().Width()-nWidth, sal_False ); in GoToColumnId()
2399 void BrowseBox::ReserveControlArea( sal_uInt16 nWidth ) in ReserveControlArea() argument
2403 if ( nWidth != nControlAreaWidth ) in ReserveControlArea()
2405 OSL_ENSURE(nWidth,"Control aera of 0 is not allowed, Use USHRT_MAX instead!"); in ReserveControlArea()
2406 nControlAreaWidth = nWidth; in ReserveControlArea()