| /trunk/main/sc/source/core/tool/ |
| H A D | scmatrix.cxx | 46 nRowCount = nR; in CreateMatrix() 47 SCSIZE nCount = nColCount * nRowCount; in CreateMatrix() 51 nColCount = nRowCount = 1; in CreateMatrix() 74 ScMatrix* pScMat = new ScMatrix( nColCount, nRowCount); in Clone() 128 SCSIZE nCount = nColCount * nRowCount; in ScMatrix() 171 SCSIZE nCount = nColCount * nRowCount; in Store() 193 rStream << (sal_uInt16) nRowCount; in Store() 223 SCSIZE nCount = nColCount * nRowCount; in ResetIsString() 242 SCSIZE nCount = nColCount * nRowCount; in DeleteIsString() 508 if (nColCount > mRes.nColCount || nRowCount > mRes.nRowCount) in MatCopy() [all …]
|
| H A D | rangeseq.cxx | 76 long nRowCount = rRange.aEnd.Row() + 1 - rRange.aStart.Row(); in FillLongArray() local 78 uno::Sequence< uno::Sequence<sal_Int32> > aRowSeq( nRowCount ); in FillLongArray() 80 for (long nRow = 0; nRow < nRowCount; nRow++) in FillLongArray() 102 SCSIZE nRowCount; in FillLongArray() local 103 pMatrix->GetDimensions( nColCount, nRowCount ); in FillLongArray() 105 uno::Sequence< uno::Sequence<sal_Int32> > aRowSeq( static_cast<sal_Int32>(nRowCount) ); in FillLongArray() 107 for (SCSIZE nRow = 0; nRow < nRowCount; nRow++) in FillLongArray() 132 long nRowCount = rRange.aEnd.Row() + 1 - rRange.aStart.Row(); in FillDoubleArray() local 134 uno::Sequence< uno::Sequence<double> > aRowSeq( nRowCount ); in FillDoubleArray() 136 for (long nRow = 0; nRow < nRowCount; nRow++) in FillDoubleArray() [all …]
|
| H A D | consoli.cxx | 126 nRowCount(0), in ScConsData() 174 for (SCSIZE j=0; j<nRowCount; j++) in DeleteData() 189 DELETEARR( ppTitlePos, nRowCount ); in DeleteData() 191 DELETESTR( ppRowHeaders, nRowCount ); in DeleteData() 197 if (bRowByName) nRowCount = 0; in DeleteData() 215 ppRefs[i] = new ScReferenceList[nRowCount]; in InitData() 224 ppCount[i] = new double[nRowCount]; in InitData() 225 ppSum[i] = new double[nRowCount]; in InitData() 226 ppSumSqr[i] = new double[nRowCount]; in InitData() 235 ppUsed[i] = new sal_Bool[nRowCount]; in InitData() [all …]
|
| H A D | chartarr.cxx | 215 SCSIZE nRowCount = aRows.size(); in CreateMemChartSingle() local 218 if (nColCount > SHRT_MAX || nRowCount > SHRT_MAX) in CreateMemChartSingle() 221 nRowCount = 0; in CreateMemChartSingle() 231 if ( !nRowCount ) in CreateMemChartSingle() 234 nRowCount = 1; in CreateMemChartSingle() 243 static_cast<short>(nColCount), static_cast<short>(nRowCount) ); in CreateMemChartSingle() 254 for (nRow=0; nRow<nRowCount; nRow++) in CreateMemChartSingle() 289 for (nRow=0; nRow<nRowCount; nRow++) in CreateMemChartSingle() 322 for (nRow=0; nRow<nRowCount; nRow++) in CreateMemChartSingle() 376 SCSIZE nRowCount = GetPositionMap()->GetRowCount(); in CreateMemChartMulti() local [all …]
|
| H A D | chartpos.cxx | 379 SCSIZE nRowCount = 0; in CreatePositionMap() local 445 nRowCount = static_cast< SCSIZE >( pCol->Count()); in CreatePositionMap() 448 nRowCount = 0; in CreatePositionMap() 451 if ( nRowCount > 0 ) in CreatePositionMap() 452 nRowCount -= nRowAdd; in CreatePositionMap() 454 if ( nColCount==0 || nRowCount==0 ) in CreatePositionMap() 476 nRowCount = 1; in CreatePositionMap() 497 …PositionMap = new ScChartPositionMap( static_cast<SCCOL>(nColCount), static_cast<SCROW>(nRowCount), in CreatePositionMap() 516 nRowCount( nChartRows ) in ScChartPositionMap() 518 DBG_ASSERT( nColCount && nRowCount, "ScChartPositionMap without dimension" ); in ScChartPositionMap() [all …]
|
| /trunk/main/svtools/source/brwbox/ |
| H A D | brwbox1.cxx | 129 nRowCount = 0; in ConstructImpl() 960 return nRowCount; in GetRowCount() 1161 long nTmpMin = Min( (long)(nTopRow + nRows), (long)(nRowCount - 1) ); in ScrollRows() 1174 nTmpMin = Min( (long)(nTopRow + nRows), (long)(nRowCount - 1) ); in ScrollRows() 1187 pVScroll->SetRange( Range( 0L, nRowCount ) ); in ScrollRows() 1247 long nOldRowCount = nRowCount; in Clear() 1248 nRowCount = 0; in Clear() 1270 if ( nOldRowCount != nRowCount ) in Clear() 1306 else if (nRow > nRowCount) // maximal = nRowCount in RowInserted() 1307 nRow = nRowCount; in RowInserted() [all …]
|
| H A D | brwbox2.cxx | 180 uRow.pSel->SetTotalRange( Range( 0, nRowCount - 1 ) ); in StateChanged() 181 if ( nRowCount == 0 ) in StateChanged() 948 nRelRow <= nRelBottomRow && (sal_uLong)nTopRow+nRelRow < (sal_uLong)nRowCount; in ImplPaintData() 953 … DBG_ASSERT( (sal_uInt16)(nTopRow+nRelRow) < nRowCount, "BrowseBox::ImplPaintData: invalid seek" ); in ImplPaintData() 954 if ( (nTopRow+long(nRelRow)) < 0 || (sal_uInt16)(nTopRow+nRelRow) >= nRowCount ) in ImplPaintData() 1205 ? nTopRow || ( nRowCount > nMaxRows ) in UpdateScrollbars() 1283 if ( nTopRow > nRowCount ) in UpdateScrollbars() 1285 nTopRow = nRowCount - 1; in UpdateScrollbars() 1291 long nVisibleSize = Min( Min( nRowCount, nMaxRows ), long(nRowCount-nTopRow) ); in UpdateScrollbars() 1293 pVScroll->SetRange( Range( 0, nRowCount ) ); in UpdateScrollbars() [all …]
|
| /trunk/main/sc/inc/ |
| H A D | scmatrix.hxx | 97 SCSIZE nRowCount; member in ScMatrix 223 { rC = nColCount; rR = nRowCount; }; in GetDimensions() 225 { return nColCount * nRowCount; } in GetElementCount() 227 { return nC < nColCount && nR < nRowCount; } in ValidColRow() 229 { return nC * nRowCount + nR; } in CalcOffset() 239 if (nColCount == 1 && nRowCount == 1) in ValidColRowReplicated() 245 else if (nColCount == 1 && rR < nRowCount) in ValidColRowReplicated() 250 else if (nRowCount == 1 && rC < nColCount) in ValidColRowReplicated() 345 return mnValType && IsNonValueType( mnValType[ nC * nRowCount + nR ]); in IsString() 356 … return mnValType && ((mnValType[ nC * nRowCount + nR ] & SC_MATVAL_EMPTY) == SC_MATVAL_EMPTY); in IsEmpty() [all …]
|
| H A D | chartpos.hxx | 45 SCROW nRowCount; member in ScChartPositionMap 62 SCROW GetRowCount() const { return nRowCount; } in GetRowCount() 65 { return nCol < nColCount && nRow < nRowCount; } in IsValid() 68 { return (sal_uLong) nCol * nRowCount + nRow; } in GetIndex() 92 if ( nChartRow < nRowCount ) in GetRowHeaderPosition()
|
| /trunk/main/svx/source/table/ |
| H A D | tablelayouter.cxx | 94 sal_Int32 nRowCount = getRowCount(); in getCellSize() local 96 while( nRowSpan && (aPos.mnRow < nRowCount) ) in getCellSize() 542 const sal_Int32 nRowCount = getRowCount(); in LayoutTableWidth() local 566 for( nRow = 0; nRow < nRowCount; ++nRow ) in LayoutTableWidth() 695 const sal_Int32 nRowCount = getRowCount(); in LayoutTableHeight() local 696 if( nRowCount == 0 ) in LayoutTableHeight() 701 MergeVector aMergedCells( nRowCount ); in LayoutTableHeight() 710 for( nRow = 0; nRow < nRowCount; ++nRow ) in LayoutTableHeight() 789 for( nRow = 1; nRow < nRowCount; ++nRow ) in LayoutTableHeight() 822 for( nRow = 0; nRow < nRowCount; ++nRow ) in LayoutTableHeight() [all …]
|
| H A D | tablemodel.cxx | 147 const sal_Int32 nRowCount = xSourceTable->getRowCountImpl(); in TableModel() local 149 init( nColCount, nRowCount ); in TableModel() 151 sal_Int32 nRows = nRowCount; in TableModel() 162 for( sal_Int32 nRow = 0; nRow < nRowCount; ++nRow ) in TableModel() 641 const sal_Int32 nRowCount = getRowCountImpl(); in notifyModification() local 644 …, "<table columns=\"%ld\" rows=\"%ld\" updated=\"%s\">\n\r", nColCount, nRowCount, mbNotifyPending… in notifyModification() 652 for( sal_Int32 nRow = 0; nRow < nRowCount; ++nRow ) in notifyModification() 774 const sal_Int32 nRowCount = getRowCountImpl(); in insertColumns() local 778 for( sal_Int32 nRow = 0; nRow < nRowCount; ++nRow ) in insertColumns() 856 const sal_Int32 nRowCount = getRowCountImpl(); in removeColumns() local [all …]
|
| H A D | viewcontactoftableobj.cxx | 500 …al_Int32 nX, sal_Int32 nY, bool bHorizontal, sal_Int32 nColCount, sal_Int32 nRowCount, bool bIsRTL) in impGetLine() argument 502 if(nX >= 0 && nX <= nColCount && nY >= 0 && nY <= nRowCount) in impGetLine() 553 const sal_Int32 nRowCount(xTable->getRowCount()); in createViewIndependentPrimitive2DSequence() local 555 const sal_Int32 nAllCount(nRowCount * nColCount); in createViewIndependentPrimitive2DSequence() 584 for(aCellPos.mnRow = 0; aCellPos.mnRow < nRowCount; aCellPos.mnRow++) in createViewIndependentPrimitive2DSequence() 649 … impGetLine(aLeftLine, rTableLayouter, nX, nY, false, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence() 650 … impGetLine(aBottomLine, rTableLayouter, nX, nYBottom, true, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence() 651 … impGetLine(aRightLine, rTableLayouter, nXRight, nY, false, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence() 652 … impGetLine(aTopLine, rTableLayouter, nX, nY, true, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence() 663 nRowCount == nYBottom, in createViewIndependentPrimitive2DSequence()
|
| /trunk/main/sd/source/ui/sidebar/ |
| H A D | PreviewValueSet.cxx | 132 int nRowCount = 0; in CalculateRowCount() local 136 nRowCount = (nItemCount+nColumnCount-1) / nColumnCount; in CalculateRowCount() 137 if (nRowCount < 1) in CalculateRowCount() 138 nRowCount = 1; in CalculateRowCount() 141 return (sal_uInt16)nRowCount; in CalculateRowCount() 156 int nRowCount = nHeight / nItemHeight; in GetPreferredWidth() local 157 if (nRowCount > 0) in GetPreferredWidth() 159 int nColumnCount = (GetItemCount()+nRowCount-1) / nRowCount; in GetPreferredWidth() 173 int nRowCount (CalculateRowCount(CalculateColumnCount(nWidth))); in GetPreferredHeight() local 176 return nRowCount * (nItemHeight + 2*mnBorderHeight); in GetPreferredHeight()
|
| H A D | LayoutMenu.cxx | 287 int nRowCount = nHeight / aItemSize.Height(); in GetPreferredWidth() local 288 if (nRowCount <= 0) in GetPreferredWidth() 289 nRowCount = 1; in GetPreferredWidth() 290 int nColumnCount = (GetItemCount() + nRowCount-1) / nRowCount; in GetPreferredWidth() 317 int nRowCount = (GetItemCount() + nColumnCount-1) / nColumnCount; in GetHeightForWidth() local 318 nPreferredHeight = nRowCount * aItemSize.Height(); in GetHeightForWidth() 374 int nRowCount = CalculateRowCount (aItemSize, nColumnCount); in Resize() local 377 SetLineCount ((sal_uInt16)nRowCount); in Resize() 450 int nRowCount = 0; in CalculateRowCount() local 454 nRowCount = (GetItemCount() + nColumnCount - 1) / nColumnCount; in CalculateRowCount() [all …]
|
| /trunk/main/svx/source/sidebar/ |
| H A D | ColorPanel.cxx | 74 int nRowCount = (GetItemCount() + nColumnCount-1) in GetPreferredHeight() local 76 nPreferredHeight = nRowCount * aItemSize.Height(); in GetPreferredHeight() 104 sal_uInt16 nRowCount = (sal_uInt16)CalculateRowCount(aItemSize, nColumnCount); in Resize() local 107 SetLineCount(nRowCount); in Resize() 118 int nRowCount = 0; in CalculateRowCount() local 122 nRowCount = GetOutputSizePixel().Height() / 30; in CalculateRowCount() 123 if (nRowCount < 1) in CalculateRowCount() 124 nRowCount = 1; in CalculateRowCount() 127 return nRowCount; in CalculateRowCount()
|
| /trunk/main/svx/source/sidebar/debug/ |
| H A D | ColorPanel.cxx | 74 int nRowCount = (GetItemCount() + nColumnCount-1) in GetPreferredHeight() local 76 nPreferredHeight = nRowCount * aItemSize.Height(); in GetPreferredHeight() 104 sal_uInt16 nRowCount = (sal_uInt16)CalculateRowCount(aItemSize, nColumnCount); in Resize() local 107 SetLineCount(nRowCount); in Resize() 118 int nRowCount = 0; in CalculateRowCount() local 122 nRowCount = GetOutputSizePixel().Height() / 30; in CalculateRowCount() 123 if (nRowCount < 1) in CalculateRowCount() 124 nRowCount = 1; in CalculateRowCount() 127 return nRowCount; in CalculateRowCount()
|
| /trunk/main/sw/source/core/unocore/ |
| H A D | unotbl.cxx | 2501 sal_Int16 nRowCount = getRowCount(); in getDataArray() local 2503 if(!nRowCount || !nColCount) in getDataArray() 2510 uno::Sequence< uno::Sequence< uno::Any > > aRowSeq(nRowCount); in getDataArray() 2514 for(sal_uInt16 nRow = 0; nRow < nRowCount; nRow++) in getDataArray() 2562 sal_Int16 nRowCount = getRowCount(); in setDataArray() local 2576 if(rArray.getLength() != nRowCount) in setDataArray() 2581 for(sal_uInt16 nRow = 0; nRow < nRowCount; nRow++) in setDataArray() 2627 sal_Int16 nRowCount = getRowCount(); in getData() local 2629 if(!nRowCount || !nColCount) in getData() 2637 uno::Sequence< uno::Sequence< double > > aRowSeq(bFirstRowAsLabel ? nRowCount - 1 : nRowCount); in getData() [all …]
|
| /trunk/main/ucb/source/cacher/ |
| H A D | cachedcontentresultsetstub.cxx | 254 impl_propagateFetchSizeAndDirection( nRowCount, bDirection ); \ 268 if( nRowCount != 1 ) \ 285 aRet.Rows.realloc( nRowCount ); \ 319 for( ; nN <= nRowCount; ) \ 323 if( nN <= nRowCount ) \ 362 , sal_Int32 nRowCount, sal_Bool bDirection ) in fetch() argument 531 , sal_Int32 nRowCount, sal_Bool bDirection ) in fetchContentIdentifierStrings() argument 541 , sal_Int32 nRowCount, sal_Bool bDirection ) in fetchContentIdentifiers() argument 551 , sal_Int32 nRowCount, sal_Bool bDirection ) in fetchContents() argument
|
| /trunk/main/sd/source/ui/table/ |
| H A D | TableDesignPane.cxx | 226 int nRowCount = (pValueSet->GetItemCount() + nColumnCount - 1) / nColumnCount; in GetHeightForWidth() local 227 if (nRowCount < 1) in GetHeightForWidth() 228 nRowCount = 1; in GetHeightForWidth() 230 nHeight += nRowCount * aItemSize.Height(); in GetHeightForWidth() 476 int nRowCount = (pValueSet->GetItemCount() + nColumnCount - 1) / nColumnCount; in updateLayout() local 477 if (nRowCount < 1) in updateLayout() 478 nRowCount = 1; in updateLayout() 482 pValueSet->SetLineCount ( (nRowCount < nVisibleRowCount) ? (sal_uInt16)nRowCount : 0 ); in updateLayout() 485 pValueSet->SetLineCount ((sal_uInt16)nRowCount); in updateLayout() 490 if( nRowCount < nVisibleRowCount ) in updateLayout() [all …]
|
| /trunk/main/dbaccess/source/ui/misc/ |
| H A D | RowSetDrop.cxx | 136 sal_Int32 nRowCount = 0; in Read() local 143 xProp->getPropertyValue(PROPERTY_ROWCOUNT) >>= nRowCount; in Read() 145 if ( !nRowCount ) in Read() 148 nRowCount = m_xResultSet->getRow(); in Read() 150 OSL_ENSURE(nRowCount,"RowCount is 0!"); in Read() 152 while(m_xResultSet.is() && m_xResultSet->next() && bContinue && nRowCount ) in Read() 154 --nRowCount; in Read()
|
| /trunk/main/sc/source/core/data/ |
| H A D | dpcachetable.cxx | 188 const SCROW nRowCount = getRowSize(); in fillTable() local 190 if ( nRowCount <= 0 || nColCount <= 0) in fillTable() 194 maRowsVisible.reserve(nRowCount); in fillTable() 209 for (SCROW nRow = 0; nRow < nRowCount; ++nRow ) in fillTable() 243 const SCROW nRowCount = getRowSize(); in fillTable() local 245 if ( nRowCount <= 0 || nColCount <= 0) in fillTable() 249 maRowsVisible.reserve(nRowCount); in fillTable() 264 for (SCROW nRow = 0; nRow < nRowCount; ++nRow ) in fillTable()
|
| /trunk/main/sc/source/ui/unoobj/ |
| H A D | funcuno.cxx | 391 void lcl_AddRef( ScTokenArray& rArray, long nStartRow, long nColCount, long nRowCount ) in lcl_AddRef() argument 400 aRef.Ref2.nRow = (SCROW) (nStartRow + nRowCount - 1); in lcl_AddRef() 491 long nRowCount = maSeq.getLength(); in process() local 494 for ( long nRow=0; nRow<nRowCount; nRow++ ) in process() 508 if ( nRowCount && nMaxColCount && !mbOverflow ) in process() 509 lcl_AddRef( mrTokenArr, nStartRow, nMaxColCount, nRowCount ); in process() 652 long nRowCount = aSrcRange.aEnd.Row() - aSrcRange.aStart.Row() + 1; in callFunction() local 654 if ( nStartRow + nRowCount > MAXROWCOUNT ) in callFunction() 663 nDocRow += nRowCount; in callFunction() 665 lcl_AddRef( aTokenArr, nStartRow, nColCount, nRowCount ); in callFunction()
|
| /trunk/main/odk/examples/DevelopersGuide/Charts/ |
| H A D | CalcHelper.java | 213 public XCellRange insertRandomRange( int nColumnCount, int nRowCount ) in insertRandomRange() argument 225 nColumnCount - 1, nRowCount - 1 ); in insertRandomRange() 245 for( nRow = 1; nRow < nRowCount; nRow++ ) in insertRandomRange() 276 public XCellRange insertFormulaRange( int nColumnCount, int nRowCount ) in insertFormulaRange() argument 288 nColumnCount - 1, nRowCount - 1 ); in insertFormulaRange() 292 double fFactor = 2.0 * java.lang.Math.PI / (double)(nRowCount - 1); in insertFormulaRange() 304 for( nRow = 0; nRow < nRowCount; nRow++ ) in insertFormulaRange()
|
| /trunk/main/offapi/com/sun/star/ucb/ |
| H A D | XFetchProviderForContentAccess.idl | 56 @param nRowCount 66 , [in] long nRowCount 80 @param nRowCount 90 , [in] long nRowCount 103 @param nRowCount 113 , [in] long nRowCount
|
| /trunk/main/sc/workben/ |
| H A D | addin.cxx | 442 long nRowCount = aMatrix.getLength(); in transpose() local 444 if ( nRowCount ) in transpose() 450 uno::Sequence<double> aSubSeq(nRowCount); in transpose() 451 for (long nRow=0; nRow<nRowCount; nRow++) in transpose() 462 long nRowCount = aMatrix.getLength(); in transposeInt() local 464 if ( nRowCount ) in transposeInt() 470 uno::Sequence<INT32> aSubSeq(nRowCount); in transposeInt() 471 for (long nRow=0; nRow<nRowCount; nRow++) in transposeInt()
|