Home
last modified time | relevance | path

Searched refs:nRowCount (Results 1 – 25 of 79) sorted by relevance

1234

/trunk/main/sc/source/core/tool/
H A Dscmatrix.cxx46 nRowCount = nR; in CreateMatrix()
51 nColCount = nRowCount = 1; in CreateMatrix()
193 rStream << (sal_uInt16) nRowCount; in Store()
508 if (nColCount > mRes.nColCount || nRowCount > mRes.nRowCount) in MatCopy()
512 else if ( nColCount == mRes.nColCount && nRowCount == mRes.nRowCount ) in MatCopy()
520 SCSIZE nStart = i * nRowCount; in MatCopy()
580 if (nColCount != mRes.nRowCount || nRowCount != mRes.nColCount) in MatTrans()
592 SCSIZE nStart = i * nRowCount; in MatTrans()
610 SCSIZE nStart = i * nRowCount; in MatTrans()
692 SCSIZE n = nColCount * nRowCount; in CompareEqual()
[all …]
H A Drangeseq.cxx80 for (long nRow = 0; nRow < nRowCount; nRow++) in FillLongArray()
102 SCSIZE nRowCount; in FillLongArray() local
103 pMatrix->GetDimensions( nColCount, nRowCount ); in FillLongArray()
136 for (long nRow = 0; nRow < nRowCount; nRow++) in FillDoubleArray()
158 SCSIZE nRowCount; in FillDoubleArray() local
194 for (long nRow = 0; nRow < nRowCount; nRow++) in FillStringArray()
221 SCSIZE nRowCount; in FillStringArray() local
284 for (long nRow = 0; nRow < nRowCount; nRow++) in FillMixedArray()
324 SCSIZE nRowCount; in FillMixedArray() local
405 for (nRow=0; nRow<nRowCount; nRow++) in CreateMixedMatrix()
[all …]
H A Dconsoli.cxx126 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()
224 ppCount[i] = new double[nRowCount]; in InitData()
225 ppSum[i] = new double[nRowCount]; in InitData()
242 ppTitlePos = new SCSIZE*[nRowCount]; in InitData()
243 for (SCSIZE i=0; i<nRowCount; i++) in InitData()
278 if (bRowName) nRowCount = 0; in SetFlags()
[all …]
H A Dchartarr.cxx215 SCSIZE nRowCount = aRows.size(); in CreateMemChartSingle() local
221 nRowCount = 0; in CreateMemChartSingle()
231 if ( !nRowCount ) in CreateMemChartSingle()
234 nRowCount = 1; 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()
385 nRowCount = 0; in CreateMemChartMulti()
394 if ( !nRowCount ) in CreateMemChartMulti()
397 nRowCount = 1; in CreateMemChartMulti()
[all …]
H A Dchartpos.cxx379 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()
516 nRowCount( nChartRows ) in ScChartPositionMap()
532 for ( nRow = 0; nRow < nRowCount; nRow++ ) in ScChartPositionMap()
540 for ( nRow = 0; nRow < nRowCount; nRow++ ) in ScChartPositionMap()
[all …]
/trunk/main/svtools/source/brwbox/
H A Dbrwbox1.cxx129 nRowCount = 0; in ConstructImpl()
960 return nRowCount; in GetRowCount()
1248 nRowCount = 0; in Clear()
1307 nRow = nRowCount; in RowInserted()
1324 nRowCount += nNumRows; in RowInserted()
1423 nRow = nRowCount - 1; in RowRemoved()
1428 if ( nRowCount <= 0 ) in RowRemoved()
1440 nRowCount -= nNumRows; in RowRemoved()
1441 if (nRowCount < 0) nRowCount = 0; in RowRemoved()
2583 RowInserted(nRowCount,GetRowCount() - nRowCount,sal_False); in VisibleRowsChanged()
[all …]
H A Dbrwbox2.cxx180 uRow.pSel->SetTotalRange( Range( 0, nRowCount - 1 ) ); in StateChanged()
181 if ( nRowCount == 0 ) in StateChanged()
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()
1297 if ( nRowCount < in UpdateScrollbars()
1683 if ( rEvt.GetRow() >= nRowCount || in MouseButtonDown()
1935 if ( ( GetCurRow() + 1 ) < nRowCount ) in Dispatch()
[all …]
/trunk/main/sc/inc/
H A Dscmatrix.hxx97 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()
378 return !mnValType || IsValueType( mnValType[ nC * nRowCount + nR ]); in IsValue()
391 ((mnValType[ nC * nRowCount + nR ] & SC_MATVAL_EMPTY) == in IsValueOrEmpty()
[all …]
H A Dchartpos.hxx45 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 Dtablelayouter.cxx94 sal_Int32 nRowCount = getRowCount(); in getCellSize() local
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()
853 maRows.resize( nRowCount ); in LayoutTable()
[all …]
H A Dtablemodel.cxx149 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
652 for( sal_Int32 nRow = 0; nRow < nRowCount; ++nRow ) in notifyModification()
774 const sal_Int32 nRowCount = getRowCountImpl(); in insertColumns() local
856 const sal_Int32 nRowCount = getRowCountImpl(); in removeColumns() local
985 sal_Int32 nRowCount = getRowCountImpl(); in removeRows() local
997 if( (nIndex + nCount) > nRowCount ) in removeRows()
998 nCount = nRowCount - nIndex; in removeRows()
[all …]
H A Dviewcontactoftableobj.cxx500 …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 DPreviewValueSet.cxx132 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 DLayoutMenu.cxx287 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()
318 nPreferredHeight = nRowCount * aItemSize.Height(); in GetHeightForWidth()
377 SetLineCount ((sal_uInt16)nRowCount); in Resize()
450 int nRowCount = 0; in CalculateRowCount() local
454 nRowCount = (GetItemCount() + nColumnCount - 1) / nColumnCount; in CalculateRowCount()
456 if (nRowCount < 1) in CalculateRowCount()
457 nRowCount = 1; in CalculateRowCount()
[all …]
/trunk/main/svx/source/sidebar/
H A DColorPanel.cxx74 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 DColorPanel.cxx74 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 Dunotbl.cxx2503 if(!nRowCount || !nColCount) in getDataArray()
2629 if(!nRowCount || !nColCount) in getData()
2673 if(!nRowCount || !nColCount) in setData()
2717 if(!nRowCount) in getRowDescriptions()
2723 uno::Sequence< OUString > aRet(bFirstColumnAsLabel ? nRowCount - 1 : nRowCount); in getRowDescriptions()
2760 if(!nRowCount || rRowDesc.getLength() < (bFirstRowAsLabel ? nRowCount - 1 : nRowCount)) in setRowDescriptions()
4112 if(!nRowCount || !nColCount) in getDataArray()
4173 if(!nRowCount || !nColCount) in setDataArray()
4317 if(!nRowCount) in getRowDescriptions()
4323 uno::Sequence< OUString > aRet(bFirstColumnAsLabel ? nRowCount - 1 : nRowCount); in getRowDescriptions()
[all …]
/trunk/main/ucb/source/cacher/
H A Dcachedcontentresultsetstub.cxx254 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 DTableDesignPane.cxx227 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()
492 aValueSetSize.Height() = nRowCount * aItemSize.Height(); in updateLayout()
[all …]
/trunk/main/dbaccess/source/ui/misc/
H A DRowSetDrop.cxx136 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 Ddpcachetable.cxx188 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 Dfuncuno.cxx391 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 DCalcHelper.java213 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 DXFetchProviderForContentAccess.idl56 @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 Daddin.cxx442 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()

Completed in 155 milliseconds

1234