Lines Matching refs:nFirstCol
97 void lclSetMergedRange( CellVec& rCells, size_t nWidth, size_t nFirstCol, size_t nFirstRow, size_t … in lclSetMergedRange() argument
99 for( size_t nCol = nFirstCol; nCol <= nLastCol; ++nCol ) in lclSetMergedRange()
105 rCell.mbOverlapX = nCol > nFirstCol; in lclSetMergedRange()
109 rCells[ nFirstRow * nWidth + nFirstCol ].mbMergeOrig = true; in lclSetMergedRange()
153 size_t nFirstCol = nCol; in GetMergedFirstCol() local
154 while( (nFirstCol > 0) && GetCell( nFirstCol, nRow ).mbOverlapX ) --nFirstCol; in GetMergedFirstCol()
155 return nFirstCol; in GetMergedFirstCol()
246 long ArrayImpl::GetColWidth( size_t nFirstCol, size_t nLastCol ) const in GetColWidth() argument
248 return GetColPosition( nLastCol + 1 ) - GetColPosition( nFirstCol ); in GetColWidth()
268 size_t nFirstCol = GetMergedFirstCol( nCol, nRow ); in GetHorDiagAngle() local
270 const Cell& rCell = GetCell( nFirstCol, nFirstRow ); in GetHorDiagAngle()
271 …long nWidth = GetColWidth( nFirstCol, GetMergedLastCol( nCol, nRow ) ) + rCell.mnAddLeft + rCell.m… in GetHorDiagAngle()
586 size_t nFirstCol = mxImpl->GetMergedFirstCol( nCol, nRow ); in GetCellStyleTL() local
588 return ((nCol == nFirstCol) && (nRow == nFirstRow)) ? in GetCellStyleTL()
589 CELL( nFirstCol, nFirstRow ).maTLBR : OBJ_STYLE_NONE; in GetCellStyleTL()
610 size_t nFirstCol = mxImpl->GetMergedFirstCol( nCol, nRow ); in GetCellStyleBL() local
612 return ((nCol == nFirstCol) && (nRow == nLastRow)) ? in GetCellStyleBL()
613 CELL( nFirstCol, mxImpl->GetMergedFirstRow( nCol, nRow ) ).maBLTR : OBJ_STYLE_NONE; in GetCellStyleBL()
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()
637 for( size_t nCurrCol = nFirstCol; !bFound && (nCurrCol <= nLastCol); ++nCurrCol ) 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()
743 rnWidth = nLastCol - nFirstCol + 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()
761 mxImpl->mnFirstClipCol = nFirstCol; in SetClipRange()
846 long Array::GetColWidth( size_t nFirstCol, size_t nLastCol ) const in GetColWidth() argument
848 DBG_FRAME_CHECK_COL( nFirstCol, "GetColWidth" ); in GetColWidth()
850 return GetColPosition( nLastCol + 1 ) - GetColPosition( nFirstCol ); in GetColWidth()
878 size_t nFirstCol = bSimple ? nCol : mxImpl->GetMergedFirstCol( nCol, nRow ); in GetCellPosition() local
880 return Point( GetColPosition( nFirstCol ), GetRowPosition( nFirstRow ) ); in GetCellPosition()
885 size_t nFirstCol = bSimple ? nCol : mxImpl->GetMergedFirstCol( 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()
1025 for( nCol = nFirstCol; nCol <= nLastCol; ++nCol ) in DrawRange()
1030 bool bFirstCol = nCol == nFirstCol; in DrawRange()
1060 double fAngle = mxImpl->GetHorDiagAngle( nFirstCol, nRow ); in DrawRange()
1061 double fTAngle = mxImpl->GetHorDiagAngle( nFirstCol, nRow - 1 ); in DrawRange()
1064 Point aStartPos( mxImpl->GetColPosition( nFirstCol ), mxImpl->GetRowPosition( nRow ) ); in DrawRange()
1065 const Style* pStart = &GetCellStyleTop( nFirstCol, nRow ); in DrawRange()
1066 DiagStyle aStartLFromTR( GetCellStyleBL( nFirstCol, nRow - 1 ), fTAngle ); in DrawRange()
1067 const Style* pStartLFromT = &GetCellStyleLeft( nFirstCol, nRow - 1 ); in DrawRange()
1068 const Style* pStartLFromL = &GetCellStyleTop( nFirstCol - 1, nRow ); in DrawRange()
1069 const Style* pStartLFromB = &GetCellStyleLeft( nFirstCol, nRow ); in DrawRange()
1070 DiagStyle aStartLFromBR( GetCellStyleTL( nFirstCol, nRow ), fAngle ); in DrawRange()
1073 DiagStyle aEndRFromTL( GetCellStyleBR( nFirstCol, nRow - 1 ), fTAngle ); in DrawRange()
1074 const Style* pEndRFromT = &GetCellStyleRight( nFirstCol, nRow - 1 ); in DrawRange()
1075 const Style* pEndRFromR = &GetCellStyleTop( nFirstCol + 1, nRow ); in DrawRange()
1076 const Style* pEndRFromB = &GetCellStyleRight( nFirstCol, nRow ); in DrawRange()
1077 DiagStyle aEndRFromBL( GetCellStyleTR( nFirstCol, nRow ), fAngle ); in DrawRange()
1079 for( nCol = nFirstCol + 1; nCol <= nLastCol; ++nCol ) in DrawRange()
1137 for( nCol = nFirstCol; nCol <= nLastCol + 1; ++nCol ) in DrawRange()