Lines Matching refs:nFirstRow
97 void lclSetMergedRange( CellVec& rCells, size_t nWidth, size_t nFirstCol, size_t nFirstRow, size_t … in lclSetMergedRange() argument
101 for( size_t nRow = nFirstRow; nRow <= nLastRow; ++nRow ) in lclSetMergedRange()
106 rCell.mbOverlapY = nRow > nFirstRow; in lclSetMergedRange()
109 rCells[ nFirstRow * nWidth + nFirstCol ].mbMergeOrig = true; in lclSetMergedRange()
160 size_t nFirstRow = nRow; in GetMergedFirstRow() local
161 while( (nFirstRow > 0) && GetCell( nCol, nFirstRow ).mbOverlapY ) --nFirstRow; in GetMergedFirstRow()
162 return nFirstRow; in GetMergedFirstRow()
251 long ArrayImpl::GetRowHeight( size_t nFirstRow, size_t nLastRow ) const in GetRowHeight() argument
253 return GetRowPosition( nLastRow + 1 ) - GetRowPosition( nFirstRow ); in GetRowHeight()
269 size_t nFirstRow = GetMergedFirstRow( nCol, nRow ); in GetHorDiagAngle() local
270 const Cell& rCell = GetCell( nFirstCol, nFirstRow ); in GetHorDiagAngle()
272 …long nHeight = GetRowHeight( nFirstRow, GetMergedLastRow( nCol, nRow ) ) + rCell.mnAddTop + rCell.… in GetHorDiagAngle()
587 size_t nFirstRow = mxImpl->GetMergedFirstRow( nCol, nRow ); in GetCellStyleTL() local
588 return ((nCol == nFirstCol) && (nRow == nFirstRow)) ? in GetCellStyleTL()
589 CELL( nFirstCol, nFirstRow ).maTLBR : OBJ_STYLE_NONE; in GetCellStyleTL()
622 size_t nFirstRow = mxImpl->GetMergedFirstRow( nCol, nRow ); in GetCellStyleTR() local
624 return ((nCol == nLastCol) && (nRow == nFirstRow)) ? in GetCellStyleTR()
625 CELL( mxImpl->GetMergedFirstCol( nCol, nRow ), nFirstRow ).maBLTR : OBJ_STYLE_NONE; in GetCellStyleTR()
630 void Array::SetMergedRange( size_t nFirstCol, size_t nFirstRow, size_t nLastCol, size_t nLastRow ) in SetMergedRange() argument
632 DBG_FRAME_CHECK_COLROW( nFirstCol, nFirstRow, "SetMergedRange" ); in SetMergedRange()
638 for( size_t nCurrRow = nFirstRow; !bFound && (nCurrRow <= nLastRow); ++nCurrRow ) in SetMergedRange()
643 if( mxImpl->IsValidPos( nFirstCol, nFirstRow ) && mxImpl->IsValidPos( nLastCol, nLastRow ) ) in SetMergedRange()
644 … lclSetMergedRange( mxImpl->maCells, mxImpl->mnWidth, nFirstCol, nFirstRow, nLastCol, nLastRow ); in SetMergedRange()
741 size_t nFirstCol, nFirstRow, nLastCol, nLastRow; in GetMergedSize() local
742 GetMergedRange( nFirstCol, nFirstRow, nLastCol, nLastRow, nCol, nRow ); in GetMergedSize()
744 rnHeight = nLastRow - nFirstRow + 1; in GetMergedSize()
757 void Array::SetClipRange( size_t nFirstCol, size_t nFirstRow, size_t nLastCol, size_t nLastRow ) in SetClipRange() argument
759 DBG_FRAME_CHECK_COLROW( nFirstCol, nFirstRow, "SetClipRange" ); in SetClipRange()
762 mxImpl->mnFirstClipRow = nFirstRow; in SetClipRange()
859 long Array::GetRowHeight( size_t nFirstRow, size_t nLastRow ) const in GetRowHeight() argument
861 DBG_FRAME_CHECK_ROW( nFirstRow, "GetRowHeight" ); in GetRowHeight()
863 return GetRowPosition( nLastRow + 1 ) - GetRowPosition( nFirstRow ); in GetRowHeight()
879 size_t nFirstRow = bSimple ? nRow : mxImpl->GetMergedFirstRow( nCol, nRow ); in GetCellPosition() local
880 return Point( GetColPosition( nFirstCol ), GetRowPosition( nFirstRow ) ); in GetCellPosition()
886 size_t nFirstRow = bSimple ? nRow : mxImpl->GetMergedFirstRow( nCol, nRow ); in GetCellSize() local
889 return Size( GetColWidth( nFirstCol, nLastCol ) + 1, GetRowHeight( nFirstRow, nLastRow ) + 1 ); in GetCellSize()
1010 size_t nFirstCol, size_t nFirstRow, size_t nLastCol, size_t nLastRow, in DrawRange() argument
1013 DBG_FRAME_CHECK_COLROW( nFirstCol, nFirstRow, "DrawRange" ); in DrawRange()
1023 for( nRow = nFirstRow; nRow <= nLastRow; ++nRow ) in DrawRange()
1031 bool bFirstRow = nRow == nFirstRow; in DrawRange()
1058 for( nRow = nFirstRow; nRow <= nLastRow + 1; ++nRow ) in DrawRange()
1139 double fAngle = mxImpl->GetVerDiagAngle( nCol, nFirstRow ); in DrawRange()
1140 double fLAngle = mxImpl->GetVerDiagAngle( nCol - 1, nFirstRow ); in DrawRange()
1143 Point aStartPos( mxImpl->GetColPosition( nCol ), mxImpl->GetRowPosition( nFirstRow ) ); in DrawRange()
1144 const Style* pStart = &GetCellStyleLeft( nCol, nFirstRow ); in DrawRange()
1145 DiagStyle aStartTFromBL( GetCellStyleTR( nCol - 1, nFirstRow ), fLAngle ); in DrawRange()
1146 const Style* pStartTFromL = &GetCellStyleTop( nCol - 1, nFirstRow ); in DrawRange()
1147 const Style* pStartTFromT = &GetCellStyleLeft( nCol, nFirstRow - 1 ); in DrawRange()
1148 const Style* pStartTFromR = &GetCellStyleTop( nCol, nFirstRow ); in DrawRange()
1149 DiagStyle aStartTFromBR( GetCellStyleTL( nCol, nFirstRow ), fAngle ); in DrawRange()
1152 DiagStyle aEndBFromTL( GetCellStyleBR( nCol - 1, nFirstRow ), fLAngle ); in DrawRange()
1153 const Style* pEndBFromL = &GetCellStyleBottom( nCol - 1, nFirstRow ); in DrawRange()
1154 const Style* pEndBFromB = &GetCellStyleLeft( nCol, nFirstRow + 1 ); in DrawRange()
1155 const Style* pEndBFromR = &GetCellStyleBottom( nCol, nFirstRow ); in DrawRange()
1156 DiagStyle aEndBFromTR( GetCellStyleBL( nCol, nFirstRow ), fAngle ); in DrawRange()
1158 for( nRow = nFirstRow + 1; nRow <= nLastRow; ++nRow ) in DrawRange()