Lines Matching refs:nCol
580 sal_uInt16 ScAutoFmtPreview::GetFormatIndex( size_t nCol, size_t nRow ) const in GetFormatIndex() argument
590 return pnFmtMap[ maArray.GetCellIndex( nCol, nRow, mbRTL ) ]; in GetFormatIndex()
593 const SvxBoxItem& ScAutoFmtPreview::GetBoxItem( size_t nCol, size_t nRow ) const in GetBoxItem() argument
596 …return *static_cast< const SvxBoxItem* >( pCurData->GetItem( GetFormatIndex( nCol, nRow ), ATTR_BO… in GetBoxItem()
599 const SvxLineItem& ScAutoFmtPreview::GetDiagItem( size_t nCol, size_t nRow, bool bTLBR ) const in GetDiagItem() argument
602 …return *static_cast< const SvxLineItem* >( pCurData->GetItem( GetFormatIndex( nCol, nRow ), bTLBR … in GetDiagItem()
607 void ScAutoFmtPreview::DrawString( size_t nCol, size_t nRow ) in DrawString() argument
620 sal_uInt16 nIndex = static_cast< sal_uInt16 >( maArray.GetCellIndex( nCol, nRow, mbRTL ) ); in DrawString()
671 sal_uInt16 nFmtIndex = GetFormatIndex( nCol, nRow ); in DrawString()
672 Rectangle cellRect = maArray.GetCellRect( nCol, nRow ); in DrawString()
769 if ( (nCol == 0) || (nRow == 0) ) in DrawString()
795 for( size_t nCol = 0; nCol < 5; ++nCol ) in DrawStrings() local
796 DrawString( nCol, nRow ); in DrawStrings()
807 for( size_t nCol = 0; nCol < 5; ++nCol ) in DrawBackground() local
810 pCurData->GetItem( GetFormatIndex( nCol, nRow ), ATTR_BACKGROUND ) ); in DrawBackground()
815 aVD.DrawRect( maArray.GetCellRect( nCol, nRow ) ); in DrawBackground()
891 for( size_t nCol = 0; nCol < 5; ++nCol ) in CalcLineMap() local
895 const SvxBoxItem& rItem = GetBoxItem( nCol, nRow ); in CalcLineMap()
897 maArray.SetCellStyleLeft( nCol, nRow, aStyle ); in CalcLineMap()
899 maArray.SetCellStyleRight( nCol, nRow, aStyle ); in CalcLineMap()
901 maArray.SetCellStyleTop( nCol, nRow, aStyle ); in CalcLineMap()
903 maArray.SetCellStyleBottom( nCol, nRow, aStyle ); in CalcLineMap()
905 lclSetStyleFromBorder( aStyle, GetDiagItem( nCol, nRow, true ).GetLine() ); in CalcLineMap()
906 maArray.SetCellStyleTLBR( nCol, nRow, aStyle ); in CalcLineMap()
907 lclSetStyleFromBorder( aStyle, GetDiagItem( nCol, nRow, false ).GetLine() ); in CalcLineMap()
908 maArray.SetCellStyleBLTR( nCol, nRow, aStyle ); in CalcLineMap()