Lines Matching refs:nX

843 sal_Bool ScOutputData::GetMergeOrigin( SCCOL nX, SCROW nY, SCSIZE nArrY,  in GetMergeOrigin()  argument
848 sal_Bool bIsLeft = ( nX == nVisX1 ); in GetMergeOrigin()
851 CellInfo* pInfo = &pRowInfo[nArrY].pCellInfo[nX+1]; in GetMergeOrigin()
864 rOverX = nX; in GetMergeOrigin()
1024 sal_Bool ScOutputData::IsEmptyCellText( RowInfo* pThisRowInfo, SCCOL nX, SCROW nY ) in IsEmptyCellText() argument
1029 if ( pThisRowInfo && nX <= nX2 ) in IsEmptyCellText()
1030 bEmpty = pThisRowInfo->pCellInfo[nX+1].bEmptyCellText; in IsEmptyCellText()
1032 bEmpty = ( pDoc->GetCell( ScAddress( nX, nY, nTab ) ) == NULL ); in IsEmptyCellText()
1034 if ( !bEmpty && ( nX < nX1 || nX > nX2 || !pThisRowInfo ) ) in IsEmptyCellText()
1044 pDoc->GetEffItem( nX, nY, nTab, ATTR_PROTECTION ); in IsEmptyCellText()
1053 ScBaseCell* pCell = pDoc->GetCell( ScAddress( nX, nY, nTab ) ); in IsEmptyCellText()
1070 sal_Bool ScOutputData::IsAvailable( SCCOL nX, SCROW nY ) in IsAvailable() argument
1076 const ScBaseCell* pCell = pDoc->GetCell( ScAddress( nX, nY, nTab ) ); in IsAvailable()
1077 if ( pCell && pCell->GetCellType() != CELLTYPE_NOTE && !IsEmptyCellText( NULL, nX, nY ) ) in IsAvailable()
1082 const ScPatternAttr* pPattern = pDoc->GetPattern( nX, nY, nTab ); in IsAvailable()
1103 void ScOutputData::GetOutputArea( SCCOL nX, SCSIZE nArrY, long nPosX, long nPosY, in GetOutputArea() argument
1116 SCCOL nCompCol = nX; in GetOutputArea()
1382 for (SCCOL nX=nLoopStartX; nX<=nX2; nX++) in DrawStrings() local
1385 CellInfo* pInfo = &pThisRowInfo->pCellInfo[nX+1]; in DrawStrings()
1386 sal_Bool bEmpty = nX < nX1 || pInfo->bEmptyCellText; in DrawStrings()
1388 SCCOL nCellX = nX; // position where the cell really starts in DrawStrings()
1405 if (GetMergeOrigin( nX,nY, nArrY, nOverX,nOverY, bVisChanged )) in DrawStrings()
1419 if ( bEmpty && !bMergeEmpty && nX < nX1 && !bOverlapped ) in DrawStrings()
1438 if ( bEmpty && !bMergeEmpty && nX == nX2 && !bOverlapped ) in DrawStrings()
1442 SCCOL nTempX=nX; in DrawStrings()
1446 if ( nTempX > nX && in DrawStrings()
1448 !pDoc->HasAttrib( nTempX,nY,nTab, nX,nY,nTab, HASATTR_MERGED | HASATTR_OVERLAPPED ) ) in DrawStrings()
1476 if ( nCellY == nY && nCellX == nX && nCellX >= nX1 && nCellX <= nX2 ) in DrawStrings()
1571 GetOutputArea( nX, nArrY, nPosX, nPosY, nCellX, nCellY, nNeededWidth, in DrawStrings()
1892 nPosX += pRowInfo[0].pCellInfo[nX+1].nWidth * nLayoutSign; in DrawStrings()
2159 for (SCCOL nX=0; nX<=nX2; nX++) // wegen Ueberhaengen in DrawEdit() local
2161 if (nX==nX1) nPosX = nInitPosX; // positions before nX1 are calculated individually in DrawEdit()
2163 CellInfo* pInfo = &pThisRowInfo->pCellInfo[nX+1]; in DrawEdit()
2168 SCCOL nCellX = nX; // position where the cell really starts in DrawEdit()
2179 if (GetMergeOrigin( nX,nY, 1, nOverX,nOverY, sal_True )) in DrawEdit()
2186 else if ( nX == nX2 && !pThisRowInfo->pCellInfo[nX+1].pCell ) in DrawEdit()
2190 SCCOL nTempX=nX; in DrawEdit()
2194 if ( nTempX > nX && in DrawEdit()
2196 !pDoc->HasAttrib( nTempX,nY,nTab, nX,nY,nTab, HASATTR_MERGED | HASATTR_OVERLAPPED ) ) in DrawEdit()
2322 SCCOL nXForPos = nX; in DrawEdit()
2739 SCCOL nClipX = ( nX < nX1 ) ? nX1 : nX; in DrawEdit()
2743 pClipMarkCell = &pThisRowInfo->pCellInfo[nX+1]; in DrawEdit()
2976 nPosX += pRowInfo[0].pCellInfo[nX+1].nWidth * nLayoutSign; in DrawEdit()
3035 for (SCCOL nX=0; nX<=nRotMax; nX++) in DrawRotated() local
3037 if (nX==nX1) nPosX = nInitPosX; // positions before nX1 are calculated individually in DrawRotated()
3039 CellInfo* pInfo = &pThisRowInfo->pCellInfo[nX+1]; in DrawRotated()
3046 if ( nX == nEditCol && nY == nEditRow ) in DrawRotated()
3066 pPattern = pDoc->GetPattern( nX, nY, nTab ); in DrawRotated()
3071 pCondSet = pDoc->GetCondResult( nX, nY, nTab ); in DrawRotated()
3073 if (!pCell && nX>nX2) in DrawRotated()
3074 GetVisibleCell( nX, nY, nTab, pCell ); in DrawRotated()
3076 if ( !pCell || IsEmptyCellText( pThisRowInfo, nX, nY ) ) in DrawRotated()
3079 long nCellWidth = (long) pRowInfo[0].pCellInfo[nX+1].nWidth; in DrawRotated()
3096 if (nX<nX1) in DrawRotated()
3104 while (nCol > nX) in DrawRotated()
3128 nOutWidth += (long) ( pDoc->GetColWidth(nX+i,nTab) * nPPTX ); in DrawRotated()
3394 SCCOL nCellX = nX; in DrawRotated()
3403 GetOutputArea( nX, nArrY, nCellStartX, nPosY, nCellX, nCellY, nNeededWidth, in DrawRotated()
3440 if (nX<nX1) in DrawRotated()
3672 nPosX += pRowInfo[0].pCellInfo[nX+1].nWidth * nLayoutSign; in DrawRotated()