Lines Matching refs:i_context

484 …void GridTableRenderer::impl_paintCellImage( CellRenderContext const & i_context, Image const & i_…  in impl_paintCellImage()  argument
486 Point imagePos( Point( i_context.aContentArea.Left(), i_context.aContentArea.Top() ) ); in impl_paintCellImage()
488 if ( i_context.aContentArea.GetWidth() > imageSize.Width() ) in impl_paintCellImage()
490 …const HorizontalAlignment eHorzAlign = m_pImpl->rModel.getColumnModel( i_context.nColumn )->getHor… in impl_paintCellImage()
494 imagePos.X() += ( i_context.aContentArea.GetWidth() - imageSize.Width() ) / 2; in impl_paintCellImage()
497 imagePos.X() = i_context.aContentArea.Right() - imageSize.Width(); in impl_paintCellImage()
505 imageSize.Width() = i_context.aContentArea.GetWidth(); in impl_paintCellImage()
507 if ( i_context.aContentArea.GetHeight() > imageSize.Height() ) in impl_paintCellImage()
513 imagePos.Y() += ( i_context.aContentArea.GetHeight() - imageSize.Height() ) / 2; in impl_paintCellImage()
516 imagePos.Y() = i_context.aContentArea.Bottom() - imageSize.Height(); in impl_paintCellImage()
523 imageSize.Height() = i_context.aContentArea.GetHeight() - 1; in impl_paintCellImage()
525 i_context.rDevice.DrawImage( imagePos, imageSize, i_image, nStyle ); in impl_paintCellImage()
529 void GridTableRenderer::impl_paintCellContent( CellRenderContext const & i_context ) in impl_paintCellContent() argument
532 m_pImpl->rModel.getCellContent( i_context.nColumn, m_pImpl->nCurrentRow, aCellContent ); in impl_paintCellContent()
545 impl_paintCellImage( i_context, aImage ); in impl_paintCellContent()
550 impl_paintCellText( i_context, sText ); in impl_paintCellContent()
554 …void GridTableRenderer::impl_paintCellText( CellRenderContext const & i_context, ::rtl::OUString c… in impl_paintCellText() argument
556 if ( i_context.bSelected ) in impl_paintCellText()
558 ::Color const textColor = i_context.bHasControlFocus in impl_paintCellText()
559 …? lcl_getEffectiveColor( m_pImpl->rModel.getActiveSelectionTextColor(), i_context.rStyle, &Style… in impl_paintCellText()
560 …lcl_getEffectiveColor( m_pImpl->rModel.getInactiveSelectionTextColor(), i_context.rStyle, &StyleSe… in impl_paintCellText()
561 i_context.rDevice.SetTextColor( textColor ); in impl_paintCellText()
565 …onst textColor = lcl_getEffectiveColor( m_pImpl->rModel.getTextColor(), i_context.rStyle, &StyleSe… in impl_paintCellText()
566 i_context.rDevice.SetTextColor( textColor ); in impl_paintCellText()
569 Rectangle const textRect( lcl_getTextRenderingArea( i_context.aContentArea ) ); in impl_paintCellText()
570 …sal_uLong nDrawTextFlags = lcl_getAlignmentTextDrawFlags( *m_pImpl, i_context.nColumn ) | TEXT_DRA… in impl_paintCellText()
573 i_context.rDevice.DrawText( textRect, i_text, nDrawTextFlags ); in impl_paintCellText()