Lines Matching refs:nRow

570 void ScDPOutput::DataCell( SCCOL nCol, SCROW nRow, SCTAB nTab, const sheet::DataResult& rData )  in DataCell()  argument
575 pDoc->SetError( nCol, nRow, nTab, errNoValue ); in DataCell()
579 pDoc->SetValue( nCol, nRow, nTab, rData.Value ); in DataCell()
596 if ( nRow >= nDataStartRow ) in DataCell()
598 long nIndex = nRow - nDataStartRow; in DataCell()
606 pDoc->ApplyAttr( nCol, nRow, nTab, SfxUInt32Item( ATTR_VALUE_FORMAT, nFormat ) ); in DataCell()
616 void ScDPOutput::HeaderCell( SCCOL nCol, SCROW nRow, SCTAB nTab, in HeaderCell() argument
629 pDoc->SetString( nCol, nRow, nTab, aCaptionBuf.makeStringAndClear() ); in HeaderCell()
664 outputimp.OutputBlockFrame( nMemberStartCol+(SCCOL)nLevel,nRow, nDataStartCol-1,nRow ); in HeaderCell()
666 lcl_SetStyleById( pDoc,nTab, nMemberStartCol+(SCCOL)nLevel,nRow, nDataStartCol-1,nRow, in HeaderCell()
668 lcl_SetStyleById( pDoc,nTab, nDataStartCol,nRow, nTabEndCol,nRow, in HeaderCell()
674 void ScDPOutput::FieldCell( SCCOL nCol, SCROW nRow, SCTAB nTab, const String& rCaption, in FieldCell() argument
677 pDoc->SetString( nCol, nRow, nTab, rCaption ); in FieldCell()
679 lcl_SetFrame( pDoc,nTab, nCol,nRow, nCol,nRow, 20 ); in FieldCell()
687 pDoc->ApplyFlagsTab(nCol, nRow, nCol, nRow, nTab, nMergeFlag); in FieldCell()
689 lcl_SetStyleById( pDoc,nTab, nCol,nRow, nCol,nRow, STR_PIVOT_STYLE_FIELDNAME ); in FieldCell()
692 void lcl_DoFilterButton( ScDocument* pDoc, SCCOL nCol, SCROW nRow, SCTAB nTab ) in lcl_DoFilterButton() argument
694 pDoc->SetString( nCol, nRow, nTab, ScGlobal::GetRscString(STR_CELL_FILTER) ); in lcl_DoFilterButton()
695 pDoc->ApplyFlagsTab(nCol, nRow, nCol, nRow, nTab, SC_MF_BUTTON); in lcl_DoFilterButton()
756 SCROW nRow = rPos.Row(); in GetPositionType() local
764 if (nCol < nTabStartCol || nRow < nTabStartRow || nCol > nTabEndCol || nRow > nTabEndRow) in GetPositionType()
768 if (nCol >= nDataStartCol && nCol <= nTabEndCol && nRow >= nDataStartRow && nRow <= nTabEndRow) in GetPositionType()
771 bool bInColHeader = (nRow >= nTabStartRow && nRow < nDataStartRow); in GetPositionType()
780 if (nRow == nTabStartRow) in GetPositionType()
816 for (long nRow=0; nRow<nRowCount; nRow++) in Output() local
818 SCROW nRowPos = nDataStartRow + (SCROW)nRow; //! check for overflow in Output()
819 const sheet::DataResult* pColAry = pRowAry[nRow].getConstArray(); in Output()
820 long nThisColCount = pRowAry[nRow].getLength(); in Output()
942 for (long nRow=0; nRow<nThisRowCount; nRow++) in Output() local
944 SCROW nRowPos = nDataStartRow + (SCROW)nRow; //! check for overflow in Output()
945 HeaderCell( nColPos, nRowPos, nTab, pArray[nRow], sal_False, nField ); in Output()
946 if ( ( pArray[nRow].Flags & sheet::MemberResultFlags::HASMEMBER ) && in Output()
947 !( pArray[nRow].Flags & sheet::MemberResultFlags::SUBTOTAL ) ) in Output()
951 long nEnd = nRow; in Output()
960 if ( vbSetBorder[ nRow ] == sal_False ) in Output()
963 vbSetBorder[ nRow ] = sal_True; in Output()
978 else if ( pArray[nRow].Flags & sheet::MemberResultFlags::SUBTOTAL ) in Output()
1173 SCROW nRow = rPos.Row(); in GetPositionData() local
1203 aResData.DataFieldIndex = (nRow - nDataStartRow) % nDataFieldCount; in GetPositionData()
1207 if (aData.getLength() > nRow - nDataStartRow && in GetPositionData()
1208 aData[nRow-nDataStartRow].getLength() > nCol-nDataStartCol) in GetPositionData()
1209 aResData.Result = aData[nRow-nDataStartRow][nCol-nDataStartCol]; in GetPositionData()
1216 long nField = nRow - nTabStartRow - 1; // 1st line is used for the buttons in GetPositionData()
1254 long nItem = nRow - nDataStartRow; in GetPositionData()
1298 SCROW nRow = rPos.Row(); in GetDataResultPositionData() local
1306 if (nCol < nDataStartCol || nCol > nTabEndCol || nRow < nDataStartRow || nRow > nTabEndRow) in GetDataResultPositionData()
1313 bool bFilterByRow = (nRow <= static_cast<SCROW>(nTabEndRow - nGrandTotalRows)); in GetDataResultPositionData()
1354 long nItem = nRow - nDataStartRow; in GetDataResultPositionData()
1763 long nRow; in GetPivotData() local
1805 for (nRow=0; nRow<nRowCount; nRow++) in GetPivotData()
1806 if (aIncludeRow[nRow]) in GetPivotData()
1808 nRowPos = nRow; in GetPivotData()
1832 SCROW nRow = rPos.Row(); in IsFilterButton() local
1838 return ( nCol == aStartPos.Col() && nRow == aStartPos.Row() ); in IsFilterButton()
1844 SCROW nRow = rPos.Row(); in GetHeaderDim() local
1855 if ( nRow == nTabStartRow && nCol >= nDataStartCol && nCol < nDataStartCol + nColFieldCount ) in GetHeaderDim()
1864 if ( nRow+1 == nDataStartRow && nCol >= nTabStartCol && nCol < nTabStartCol + nRowFieldCount ) in GetHeaderDim()
1874 if ( nCol == aStartPos.Col() && nRow >= nPageStartRow && nRow < nPageStartRow + nPageFieldCount ) in GetHeaderDim()
1877 long nField = nRow - nPageStartRow; in GetHeaderDim()
1894 SCROW nRow = rPos.Row(); in GetHeaderDrag() local
1906 nRow + 1 >= nMemberStartRow && nRow < nMemberStartRow + nColFieldCount ) in GetHeaderDrag()
1908 long nField = nRow - nMemberStartRow; in GetHeaderDrag()
1961 sal_Bool bSpecial = ( nRow+1 >= nDataStartRow && nRow <= nTabEndRow && in GetHeaderDrag()
1964 if ( bSpecial || ( nRow+1 >= nDataStartRow && nRow <= nTabEndRow && in GetHeaderDrag()
2016 nRow + 1 >= nPageStartRow && nRow < nPageStartRow + nPageFieldCount ) in GetHeaderDrag()
2018 long nField = nRow - nPageStartRow; in GetHeaderDrag()