Home
last modified time | relevance | path

Searched refs:nColCount (Results 1 – 25 of 78) sorted by relevance

1234

/aoo41x/main/sc/source/core/tool/
H A Drangeseq.cxx82 uno::Sequence<sal_Int32> aColSeq( nColCount ); in FillLongArray()
84 for (long nCol = 0; nCol < nColCount; nCol++) in FillLongArray()
101 SCSIZE nColCount; in FillLongArray() local
103 pMatrix->GetDimensions( nColCount, nRowCount ); in FillLongArray()
138 uno::Sequence<double> aColSeq( nColCount ); in FillDoubleArray()
140 for (long nCol = 0; nCol < nColCount; nCol++) in FillDoubleArray()
157 SCSIZE nColCount; in FillDoubleArray() local
159 pMatrix->GetDimensions( nColCount, nRowCount ); in FillDoubleArray()
198 for (long nCol = 0; nCol < nColCount; nCol++) in FillStringArray()
220 SCSIZE nColCount; in FillStringArray() local
[all …]
H A Dconsoli.cxx125 nColCount(0), in ScConsData()
172 for (SCSIZE i=0; i<nColCount; i++) in DeleteData()
185 DELETEARR( ppCount, nColCount ); in DeleteData()
186 DELETEARR( ppSum, nColCount ); in DeleteData()
187 DELETEARR( ppSumSqr,nColCount ); in DeleteData()
214 for (SCSIZE i=0; i<nColCount; i++) in InitData()
217 else if (nColCount && !ppCount) in InitData()
219 ppCount = new double*[nColCount]; in InitData()
220 ppSum = new double*[nColCount]; in InitData()
230 if (nColCount && !ppUsed) in InitData()
[all …]
H A Dscmatrix.cxx45 nColCount = nC; in CreateMatrix()
47 SCSIZE nCount = nColCount * nRowCount; in CreateMatrix()
51 nColCount = nRowCount = 1; in CreateMatrix()
189 rStream << (sal_uInt16) nColCount; in Store()
508 if (nColCount > mRes.nColCount || nRowCount > mRes.nRowCount) in MatCopy()
512 else if ( nColCount == mRes.nColCount && nRowCount == mRes.nRowCount ) in MatCopy()
580 if (nColCount != mRes.nRowCount || nRowCount != mRes.nColCount) in MatTrans()
692 SCSIZE n = nColCount * nRowCount; in CompareEqual()
710 SCSIZE n = nColCount * nRowCount; in CompareNotEqual()
728 SCSIZE n = nColCount * nRowCount; in CompareLess()
[all …]
H A Dchartarr.cxx197 SCSIZE nColCount = aCols.size(); in CreateMemChartSingle() local
220 nColCount = 0; in CreateMemChartSingle()
225 if ( !nColCount ) in CreateMemChartSingle()
228 nColCount = 1; in CreateMemChartSingle()
252 for (nCol=0; nCol<nColCount; nCol++) in CreateMemChartSingle()
288 for (nCol=0; nCol<nColCount; nCol++) in CreateMemChartSingle()
297 for (nCol=0; nCol<nColCount; nCol++) in CreateMemChartSingle()
384 nColCount = 0; in CreateMemChartMulti()
389 if ( !nColCount ) in CreateMemChartMulti()
392 nColCount = 1; in CreateMemChartMulti()
[all …]
H A Dchartpos.cxx378 SCSIZE nColCount = 0; in CreatePositionMap() local
440 nColCount = static_cast< SCSIZE >( pCols->Count()); in CreatePositionMap()
449 if ( nColCount > 0 ) in CreatePositionMap()
450 nColCount -= nColAdd; in CreatePositionMap()
454 if ( nColCount==0 || nRowCount==0 ) in CreatePositionMap()
464 nColCount = 1; in CreatePositionMap()
497 …pPositionMap = new ScChartPositionMap( static_cast<SCCOL>(nColCount), static_cast<SCROW>(nRowCount… in CreatePositionMap()
515 nColCount( nChartCols ), in ScChartPositionMap()
518 DBG_ASSERT( nColCount && nRowCount, "ScChartPositionMap without dimension" ); in ScChartPositionMap()
551 for ( nCol = 0; nCol < nColCount; nCol++ ) in ScChartPositionMap()
[all …]
/aoo41x/main/svx/source/table/
H A Dtablelayouter.cxx105 sal_Int32 nColCount = getColumnCount(); in getCellSize() local
297 if( nEdgeX < nColCount ) in getVerticalEdge()
543 if( nColCount == 0 ) in LayoutTableWidth()
546 MergeVector aMergedCells( nColCount ); in LayoutTableWidth()
552 maColumns.resize( nColCount ); in LayoutTableWidth()
560 for( nCol = 0; nCol < nColCount; nCol++ ) in LayoutTableWidth()
637 for( nCol = 1; nCol < nColCount; ++nCol ) in LayoutTableWidth()
716 for( nCol = 0; nCol < nColCount; ++nCol ) in LayoutTableHeight()
860 maColumns.resize( nColCount ); in LayoutTable()
988 const sal_Int32 nColCount = rMap.size(); in ClearBorderLayout() local
[all …]
H A Dviewcontactoftableobj.cxx500 if(nX >= 0 && nX <= nColCount && nY >= 0 && nY <= nRowCount) in impGetLine()
523 bMirror = (bIsRTL ? 0 != nX : nX != nColCount); in impGetLine()
552 const sal_Int32 nColCount(xTable->getColumnCount()); in createViewIndependentPrimitive2DSequence() local
553 const sal_Int32 nAllCount(nRowCount * nColCount); in createViewIndependentPrimitive2DSequence()
584 for(aCellPos.mnCol = 0; aCellPos.mnCol < nColCount; aCellPos.mnCol++) in createViewIndependentPrimitive2DSequence()
601 const sal_uInt32 nTextIndex(nColCount * aCellPos.mnRow + aCellPos.mnCol); in createViewIndependentPrimitive2DSequence()
637 const sal_Int32 nX(bIsRTL ? nColCount - aCellPos.mnCol : aCellPos.mnCol); in createViewIndependentPrimitive2DSequence()
647 impGetLine(aLeftLine, rTableLayouter, nX, nY, false, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence()
650 impGetLine(aTopLine, rTableLayouter, nX, nY, true, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence()
660 bIsRTL ? nX == nColCount : 0 == nX, in createViewIndependentPrimitive2DSequence()
[all …]
H A Dtablemodel.cxx149 init( nColCount, nRowCount ); in TableModel()
155 sal_Int32 nColumns = nColCount; in TableModel()
160 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in TableModel()
640 const sal_Int32 nColCount = getColumnCountImpl(); in notifyModification() local
646 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in notifyModification()
812 sal_Int32 nColCount = getColumnCountImpl(); in removeColumns() local
821 if( (nIndex + nCount) > nColCount ) in removeColumns()
822 nCount = nColCount - nIndex; in removeColumns()
854 nColCount = nIndex + nCount + 1; in removeColumns()
933 const sal_Int32 nColCount = getColumnCountImpl(); in insertRows() local
[all …]
H A Dsvdotable.cxx373 const sal_Int32 nColCount = getColumnCount(); in ApplyCellStyles() local
1067 while( rnX <= nColCount ) in CheckTableHit()
1075 if( rnX == nColCount ) in CheckTableHit()
1086 rnX = nColCount; in CheckTableHit()
1263 if( nColCount ) in getText()
1265 CellPos aPos( nIndex % nColCount, nIndex / nColCount ); in getText()
1284 return nColCount * nRowCount; in getTextCount()
1300 if( nColCount ) in setActiveText()
1302 CellPos aPos( nIndex % nColCount, nIndex / nColCount ); in setActiveText()
2342 if( nRowCount && nColCount ) in GetHdlCount()
[all …]
H A Dtablertfexporter.cxx100 const sal_Int32 nColCount = xColumns->getCount(); in Write() local
103 aColumnStart.reserve( nColCount ); in Write()
107 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) try in Write()
148 const sal_Int32 nColCount = mxTable->getColumnCount(); in WriteRow() local
149 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) in WriteRow()
185 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) in WriteRow()
H A Dtablertfimporter.cxx243 sal_Int32 nColCount = mxTable->getColumnCount(); in FillTable() local
246 if( nColCount < mnColMax ) in FillTable()
248 xCols->insertByIndex( nColCount, mnColMax - nColCount ); in FillTable()
249 nColCount = mxTable->getColumnCount(); in FillTable()
254 for( nCol = 0; nCol < nColCount; nCol++ ) in FillTable()
/aoo41x/main/sc/source/filter/xml/
H A Dxmlsubti.cxx83 nColCount = 0; in ScMyTableData()
475 if ( (nSpannedCols > nColCount) && in NewColumn()
479 if (nColCount > 0) in NewColumn()
481 sal_Int32 FirstColsSpanned(nSpannedCols / nColCount); in NewColumn()
483 + (nSpannedCols % nColCount)); in NewColumn()
484 for (sal_Int32 i = 0; i < nColCount - 1; ++i) in NewColumn()
493 aTableVec[nTableCount - 1]->GetRealCols(nColCount - 1) in NewColumn()
551 const sal_Int32 nColCount(pTableData->GetColCount()); in NewTable() local
554 sal_Int32 nTemp(nSpannedCols - nColCount); in NewTable()
555 sal_Int32 nTemp2(nCol - (nColCount - 1)); in NewTable()
[all …]
H A Dxmlcoli.cxx64 nColCount = 1; in ScXMLTableColContext()
80 nColCount = sValue.toInt32(); in ScXMLTableColContext()
147 sal_Int32 nLastColumn(nCurrentColumn + nColCount - 1); in EndElement()
192 GetScImport().GetTables().AddColCount(nColCount); in EndElement()
193 GetScImport().GetTables().AddColStyle(nColCount, sCellStyleName); in EndElement()
/aoo41x/main/sc/source/ui/docshell/
H A Ddocsh8.cxx250 long nColCount = 0; in DBaseImport() local
296 if ( nColCount > MAXCOL+1 ) in DBaseImport()
298 nColCount = MAXCOL+1; in DBaseImport()
309 for (i=0; i<nColCount; i++) in DBaseImport()
318 for (i=0; i<nColCount; i++) in DBaseImport()
361 for (i=0; i<nColCount; i++) in DBaseImport()
388 if ( nColCount > 0 ) in DBaseImport()
730 long nColCount = nLastCol - nFirstCol + 1; in DBaseExport() local
732 uno::Sequence<sal_Int32> aColTypes( nColCount ); in DBaseExport()
810 for (nCol=0; nCol<nColCount; nCol++) in DBaseExport()
[all …]
H A Ddbdocimp.cxx273 long nColCount = 0; in DoImport() local
279 nColCount = xMeta->getColumnCount(); // this is the number of real columns in DoImport()
281 if ( rParam.nCol1 + nColCount - 1 > MAXCOL ) in DoImport()
283 nColCount = 0; in DoImport()
299 if ( nColCount > 0 && xRow.is() ) in DoImport()
301 nEndCol = (SCCOL)( rParam.nCol1 + nColCount - 1 ); in DoImport()
303 uno::Sequence<sal_Int32> aColTypes( nColCount ); // column types in DoImport()
304 uno::Sequence<sal_Bool> aColCurr( nColCount ); // currency flag is not in types in DoImport()
307 for (i=0; i<nColCount; i++) in DoImport()
316 for (i=0; i<nColCount; i++) in DoImport()
[all …]
/aoo41x/main/sw/source/core/unocore/
H A Dunotbl.cxx2503 if(!nRowCount || !nColCount) in getDataArray()
2629 if(!nRowCount || !nColCount) in getData()
2645 uno::Sequence< double > aColSeq(bFirstColumnAsLabel ? nColCount - 1 : nColCount); in getData()
2673 if(!nRowCount || !nColCount) in setData()
2793 if(!nColCount) in getColumnDescriptions()
2799 uno::Sequence< OUString > aRet(bFirstRowAsLabel ? nColCount - 1 : nColCount); in getColumnDescriptions()
2833 if(!nColCount) in setColumnDescriptions()
4112 if(!nRowCount || !nColCount) in getDataArray()
4251 uno::Sequence< double > aColSeq(bFirstColumnAsLabel ? nColCount - 1 : nColCount); in getData()
4391 if(!nColCount) in getColumnDescriptions()
[all …]
/aoo41x/main/sw/source/ui/frmdlg/
H A Dcolex.cxx399 sal_uInt16 nColCount = rCols.Count(); in Paint() local
400 if( nColCount ) in Paint()
406 for(sal_uInt16 i = 0; i < nColCount; i++) in Paint()
417 for(sal_uInt16 i = 0; i < nColCount - 1; i++) in Paint()
439 sal_uInt16 nColCount = rCols.Count(); in SetColumns() local
441 for(sal_uInt16 i = 0; i < nColCount; i++) in SetColumns()
458 if(nColCount && m_aCols.IsOrtho()) in SetColumns()
462 for(i = 0; i < nColCount; ++i) in SetColumns()
468 nColumnWidthSum /= nColCount; in SetColumns()
469 for(i = 0; i < nColCount; ++i) in SetColumns()
/aoo41x/main/sc/source/core/data/
H A Ddpcachetable.cxx189 const SCCOL nColCount = (SCCOL) getColSize(); in fillTable() local
190 if ( nRowCount <= 0 || nColCount <= 0) in fillTable()
199 maFieldEntries.reserve(nColCount); in fillTable()
202 for (SCCOL nCol = 0; nCol < nColCount; ++nCol) in fillTable()
244 const SCCOL nColCount = (SCCOL) getColSize(); in fillTable() local
245 if ( nRowCount <= 0 || nColCount <= 0) in fillTable()
254 maFieldEntries.reserve(nColCount); in fillTable()
257 for (SCCOL nCol = 0; nCol < nColCount; ++nCol) in fillTable()
/aoo41x/main/sc/inc/
H A Dscmatrix.hxx96 SCSIZE nColCount; member in ScMatrix
223 { rC = nColCount; rR = nRowCount; }; in GetDimensions()
225 { return nColCount * nRowCount; } in GetElementCount()
227 { return nC < nColCount && nR < nRowCount; } in ValidColRow()
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()
H A Dchartpos.hxx44 SCCOL nColCount; member in ScChartPositionMap
61 SCCOL GetColCount() const { return nColCount; } in GetColCount()
65 { return nCol < nColCount && nRow < nRowCount; } in IsValid()
86 if ( nChartCol < nColCount ) in GetColHeaderPosition()
/aoo41x/main/sw/source/core/table/
H A Dswnewtable.cxx858 sal_uInt16 nColCount = pBoxes->Count(); in PrepareMerge() local
936 sal_uInt16 nColCount = pBoxes->Count(); in PrepareMerge() local
2035 sal_uInt16 nColCount = rBoxes.Count(); in SwSaveRowSpan() local
2036 ASSERT( nColCount, "Empty Table Line" ) in SwSaveRowSpan()
2037 mnRowSpans.resize( nColCount ); in SwSaveRowSpan()
2066 sal_uInt16 nColCount = pLine->GetTabBoxes().Count(); in RestoreRowSpan() local
2067 ASSERT( nColCount, "Empty Table Line" ) in RestoreRowSpan()
2069 if( nColCount == rSave.mnRowSpans.size() ) in RestoreRowSpan()
2131 sal_uInt16 nColCount = pLine->GetTabBoxes().Count(); in CleanUpBottomRowSpan() local
2132 ASSERT( nColCount, "Empty Table Line" ) in CleanUpBottomRowSpan()
[all …]
/aoo41x/main/sc/workben/
H A Daddin.cxx443 long nColCount = 0; in transpose() local
445 nColCount = aMatrix.getConstArray()[0].getLength(); in transpose()
447 uno::Sequence< uno::Sequence<double> > aRet( nColCount ); in transpose()
448 for (long nCol=0; nCol<nColCount; nCol++) in transpose()
463 long nColCount = 0; in transposeInt() local
465 nColCount = aMatrix.getConstArray()[0].getLength(); in transposeInt()
467 uno::Sequence< uno::Sequence<INT32> > aRet( nColCount ); in transposeInt()
468 for (long nCol=0; nCol<nColCount; nCol++) in transposeInt()
/aoo41x/main/sc/source/ui/unoobj/
H A Dfuncuno.cxx391 void lcl_AddRef( ScTokenArray& rArray, long nStartRow, long nColCount, long nRowCount ) in lcl_AddRef() argument
399 aRef.Ref2.nCol = (SCCOL) (nColCount - 1); in lcl_AddRef()
496 long nColCount = pRowArr[nRow].getLength(); in process() local
497 if ( nColCount > nMaxColCount ) in process()
498 nMaxColCount = nColCount; in process()
500 for (long nCol=0; nCol<nColCount; nCol++) in process()
651 long nColCount = aSrcRange.aEnd.Col() - aSrcRange.aStart.Col() + 1; in callFunction() local
665 lcl_AddRef( aTokenArr, nStartRow, nColCount, nRowCount ); in callFunction()
/aoo41x/main/sw/source/ui/table/
H A Dswtablerep.cxx108 nAllCols = nColCount = rTabCol.Count(); in SwTableRep()
109 pTColumns = new TColumn[ nColCount + 1 ]; in SwTableRep()
118 nColCount --; in SwTableRep()
123 nColCount++; in SwTableRep()
/aoo41x/main/accessibility/source/extended/
H A DAccessibleGridControl.cxx383 int nColCount = m_aTable.GetColumnCount(); in commitTableEvent() local
384 …m_pImpl->m_pTable->getCellVector().erase(m_pCell+nColCount*aChange.FirstRow, m_pCell+nColCount*aCh… in commitTableEvent()
385 …ccessibleCellVector().erase(m_xAccessibleVector+nColCount*aChange.FirstRow, m_xAccessibleVector+nC… in commitTableEvent()

Completed in 191 milliseconds

1234