Lines Matching refs:Width

208 				pHeaderBar->SetItemSize( pCols->GetObject(nPos)->GetId(), pCols->GetObject(nPos)->Width() );  in StateChanged()
228 Invalidate(Rectangle(Point(0, 0), Size(GetOutputSizePixel().Width(), GetTitleHeight() - 1))); in StateChanged()
351 long nOfsX = (!pFirstCol || pFirstCol->GetId()) ? 0 : pFirstCol->Width(); in ToggleSelection()
367 Size( pDataWin->GetSizePixel().Width(), GetDataRowHeight() ) ); in ToggleSelection()
444 pCols->GetObject(0)->Width() : 0, in DrawCursor()
446 Size( pDataWin->GetOutputSizePixel().Width() + 1, in DrawCursor()
487 return pCols->GetObject(nItemPos)->Width(); in GetColumnWidth()
628 long nDataWidth = GetOutputSizePixel().Width(); in Resize()
649 aInvalidArea.Right() = GetOutputSizePixel().Width(); in Resize()
659 long nOfsX = pFirstCol->GetId() ? 0 : pFirstCol->Width(); in Resize()
660 …pHeaderBar->SetPosSizePixel( Point( nOfsX, 0 ), Size( GetOutputSizePixel().Width() - nOfsX, GetTit… in Resize()
686 Point( GetOutputSizePixel().Width(), in Paint()
693 Point( GetOutputSizePixel().Width(), in Paint()
697 Point( pFirstCol->Width(), GetTitleHeight() - 1 ) ); in Paint()
724 if ( pCol->Width() > 4 ) in Paint()
727 Size( pCol->Width()-1, GetTitleHeight()-1 ), in Paint()
732 DrawLine( Point( nX + pCol->Width() - 1, 0 ), in Paint()
733 Point( nX + pCol->Width() - 1, GetTitleHeight()-1 ) ); in Paint()
739 DrawRect( Rectangle( Point( nX, 0 ), Size( pCol->Width(), GetTitleHeight() - 1 ) ) ); in Paint()
744 nX += pCol->Width(); in Paint()
781 if ((rSize.Width() < 3) || (rSize.Height() < 3)) in Draw()
799 Point(aRealPos.X() + aRealSize.Width() - 1, aRealPos.Y())); in Draw()
801 pDev->DrawLine(Point(aRealPos.X() + aRealSize.Width() - 1, aRealPos.Y() + 1), in Draw()
802 Point(aRealPos.X() + aRealSize.Width() - 1, aRealPos.Y() + aRealSize.Height() - 1)); in Draw()
803 pDev->DrawLine(Point(aRealPos.X() + aRealSize.Width() - 1, aRealPos.Y() + aRealSize.Height() - 1), in Draw()
824 long nWidthLogic = PixelToLogic(Size(pCurrent->Width(), 0), MAP_10TH_MM).Width(); in Draw()
825 long nForeignWidthPixel = pDev->LogicToPixel(Size(nWidthLogic, 0), MAP_10TH_MM).Width(); in Draw()
829 pBar->SetItemSize( pCurrent->GetId(), pCurrent->Width() ); in Draw()
835 aRealSize.Width() -= 2; in Draw()
847 Point aHeaderPos(pFirstCol && (pFirstCol->GetId() == 0) ? pFirstCol->Width() : 0, 0); in Draw()
848 Size aHeaderSize(aRealSize.Width() - aHeaderPos.X(), nTitleHeight); in Draw()
860 if (( pFirstCol->GetId() == 0 ) && ( pFirstCol->Width() > 4 )) in Draw()
863 Size( pFirstCol->Width()-1, nTitleHeight-1 ), in Draw()
871 Point( aRealPos.X() + pFirstCol->Width() - 1, aRealPos.Y() + nTitleHeight-1 ) ); in Draw()
872 pDev->DrawLine( Point( aRealPos.X() + pFirstCol->Width() - 1, aRealPos.Y() ), in Draw()
873 Point( aRealPos.X() + pFirstCol->Width() - 1, aRealPos.Y() + nTitleHeight-1 ) ); in Draw()
903 long nForeignWidthLogic = pDev->PixelToLogic(Size(pCurrent->Width(), 0), MAP_10TH_MM).Width(); in Draw()
904 long nWidthPixel = LogicToPixel(Size(nForeignWidthLogic, 0), MAP_10TH_MM).Width(); in Draw()
908 pBar->SetItemSize( pCurrent->GetId(), pCurrent->Width() ); in Draw()
920 …Point aOverallAreaBRPos = _bForeignDevice ? _rRect.BottomRight() : Point( aOverallAreaSize.Width()… in ImplPaintData()
939 ? pCols->GetObject(0)->Width() in ImplPaintData()
969 Size( _rRect.GetSize().Width(), nDataRowHeigt ) ); in ImplPaintData()
1018 Size( pCol->Width(), nDataRowHeigt ) ); in ImplPaintData()
1027 if (pCol->Width()) in ImplPaintData()
1032 Size aFieldSize(pCol->Width(), nDataRowHeigt); in ImplPaintData()
1034 if (aPos.X() + aFieldSize.Width() > aOverallAreaBRPos.X()) in ImplPaintData()
1035 aFieldSize.Width() = aOverallAreaBRPos.X() - aPos.X(); in ImplPaintData()
1062 aPos.X() += pCol->Width(); in ImplPaintData()
1109 Point( aOverallAreaPos.X() + pCols->GetObject(0)->Width() - 1, in ImplPaintData()
1141 aVertPos.X() += pCol->Width(); in ImplPaintData()
1214 aNewSize.Width() = GetOutputSizePixel().Width(); in UpdateScrollbars()
1221 aNewSize.Width() = GetOutputSizePixel().Width() - nCornerSize; in UpdateScrollbars()
1226 sal_uLong nLastCol = GetColumnAtXPosPixel( aDataWinSize.Width() - 1 ); in UpdateScrollbars()
1256 Size( aDataWinSize.Width() - nHScrX, nCornerSize ) ); in UpdateScrollbars()
1295 Point( aDataWinSize.Width(), GetTitleHeight() ), in UpdateScrollbars()
1319 nActualCorderWidth = GetOutputSizePixel().Width() - nControlAreaWidth; in UpdateScrollbars()
1326 Point( GetOutputSizePixel().Width() - nActualCorderWidth, aHScroll.GetPosPixel().Y() ), in UpdateScrollbars()
1343 nWidth += pCols->GetObject(nCol)->Width(); in UpdateScrollbars()
1408 nWidth += pCols->GetObject(nCol)->Width(); in GetFrozenWidth()
1504 long nWidth = GetOutputSizePixel().Width(); in MouseButtonDown()
1512 long nR = nX + pCol->Width() - 1; in MouseButtonDown()
1562 ( nX + pCols->GetObject(nCol)->Width() ) < sal_uInt16(GetOutputSizePixel().Width()); in MouseMove()
1569 sal_uInt16 nR = (sal_uInt16)(nX + pCol->Width() - 1); in MouseMove()
1617 if ( (nDragX - nResizeX) != (long)pCols->GetObject(nResizeCol)->Width() ) in MouseButtonUp()
1620 long nMaxX = pDataWin->GetSizePixel().Width(); in MouseButtonUp()
2129 nWidth = GetDataWindow().GetOutputSizePixel().Width(); in calcHeaderRect()